CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Games
Archived Discussion about CrossOver Games, Forum closed.

The following comments are owned by whoever posted them. We are not responsible for them in any way.

overriding a dll.so

Is it possible to override one of the built-in dll.so files with a third party one? For instance, Continuum needs kernel32.dll.so replaced with a patched version to function correctly (see http://wine.getcontinuum.com/) - I don't think the overrides in winecfg are what I'm looking for.

You can copy the kernel32.dll.so to C:\windows\system32\kernel32.dll ( no .so) and set the override to "native" in winecfg. I don't know if it works for kernel32 or ntdll, but it surely works for other dlls like d3d9.dll or d3d8.dll

Well, before I override this... I'm sure you've modified kernel32.dll.so from wine.

Is this patch really needed? If yes, is there any way I can get a copy of kernel32.dll.so with this patch, including your patches?

The patch in question:

diff --git a/dlls/kernel/process.c b/dlls/kernel/process.c
index 33f9ee1..d50cb7d 100644
--- a/dlls/kernel/process.c
+++ b/dlls/kernel/process.c
@@ -2460,6 +2464,7 @@ HANDLE WINAPI OpenProcess( DWORD access,
     OBJECT_ATTRIBUTES   attr;
     CLIENT_ID           cid;

+if (access & PROCESS_VM_WRITE) return NULL;
     cid.UniqueProcess = (HANDLE)id;
     cid.UniqueThread = 0; /* FIXME ? */

Edit: I should mention that it appears to be working using their instructions (replacing kernel32.dll.so from ./lib/wine) but I have not yet tested using any other application since, nor have I tested the game prior to patching. I suppose I could do this, but I would rather spare pain if doing either will cause... issues.

You can download our modified sources from our website(producs->source I think). I hope we didn't forget to upload the cxgames sources...

I only see the source for 7.0.0, has the code for kernel32.dll.so changed since then?

Yes, it is very likely that it did change. I asked andrew to update the source archive. Otherwise, feel free to file a ticket for this or write a mail to sales@codeweavers.com. The LGPL license entitles you to receive the source of the LGPL parts in CrossOver.

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMzNzU5ODAxLCJjc3JmX3Rva2VuIjoiVllGeGtmV3U5cEpXdXdidyIsImdkcHIiOjB9