Running Continuum under Wine
Patching Wine
To run Continuum under Wine, you'd need to apply a patch to Wine's source code. Copy the text block below into a file, such as cont.diff, and place it at the head directory of Wine's source code.
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 ? */
Run cat cont.diff | patch -p1 to apply the patch file to Wine's source code. Follow with the usual ./configure && make depend && make to build Wine. If you'd wish to have this replace your current Wine installation or to install it globally, run make install as root.
It is important to run winecfg, and goto the drives tab, click drive_c, show advanced, and set the serial number a random number higher than 2000. If you do not, you cannot connect to catid billers, or may cause other issues on ssc billers.
Common Problems
If you have a binary version of wine installed such as rpm, I recommend removing it before setting up and installing the wine source, as not to cause confusion.
Make sure you are running Continuum as at least 16 bit. If having problems with sound, with winecfg, check ALSA driver and switch hardware acceleration to emulation. 8 bit is possible, but you have to check your /etc/X11/xorg.conf (or other) config file to make sure you have 8 bit res listed. Best way to check is if you can't set your desktop depth to 8 bit through display options, its not set in your config (pretty easy to fix).
Chat window will not appear when you Alt-Tab. This is because Continuum doesn't understand that it is minimized under Wine, so it will never start the chat window.
If you get a libwine.so.1 error when trying to run wine global (instead of running the application from its source directory), add the following lines to your /etc/ld.so.conf file: /usr/local/lib and /usr/local/lib/wine. If problems still occur, copy libwin.so.1 to those locations from the winesource/libs directory.
Alt key does not function properly if it is bound to another XIM like kinput2 (e.g. tried to bring up map).
If connecting to a zone causes you to login as ^Banned, please run winecfg and go to the drives tab, select drive_c, Show Advanced, and change the Serial to a random number greater than 2000.
Why It Works
When Continuum runs, one of the first things it does is create another process of itself with some priviliages restricted, such as the ability to call OpenProcess. When the child process attempts to repeat this step, it receives an error that OpenProcess failed, which tell the process that it is the child. The child process then proceeds to run the game.
Since Wine does not properly emulate this parent-child security, this source modification is necessary to get Continuum to run under Wine.