Jump to content
SubSpace Forum Network

Recommended Posts

Posted (edited)

The fix for wine 1.2!

FROM http://forums.minegoboom.com/viewtopic.php?p=81208#81208

This is a solution for Ubuntu/Kbuntu:

 

mkdir ~/contwine-build
cd ~/contwine-build
sudo apr-get install checkinstall
sudo apt-get build-dep wine
sudo apt-get source wine
cd wine1.2-1.1.31
sed -i '2568 i\\if (access \& PROCESS_VM_WRITE) return NULL;' dlls/kernel32/process.c
./configure
make
sudo checkinstall 

 

wget http://getcontinuum.com/downloads/continuum/Continuum040Setup.exe
wine Continuum040Setup.exe 

 

When i get access to a linux machine i will recompile kernel32.dll.so for ya'll <_<

Edited by Xog
  • 2 weeks later...
Posted (edited)

Can you post it here? site is down for me :)

http://wine.getcontinuum.com/

 

0. If you do not already have wine installed on your system, install wine in the standard way on your system.

 

1. Download standard Continuum installer - 4.7 MB

 

2. Run the installer downloaded above (default options are fine) on wine.

 

3. Before you run Continuum, execute the following commands:

 

 

wget http://subspace2.net/kernel32.dll.so -O /tmp/kernel32.dll.so

sudo mv /usr/lib/wine/kernel32.dll.so /usr/lib/wine/kernel32.dll.so.old

sudo cp /tmp/kernel32.dll.so  /usr/lib/wine/kernel32.dll.so

Alternate 3. Before you run Continuum, backup the original kernel library and download the new patched version with the following commands:

 

 

sudo mv /usr/lib/wine/kernel32.dll.so{,.bak}

sudo wget http://subspace2.net/kernel32.dll.so -O /usr/lib/wine/kernel32.dll.so

4. Run Continuum.

 

5. PLAY!

Edited by Xog
Posted

Can you post it here? site is down for me ;)

http://wine.getcontinuum.com/

 

0. If you do not already have wine installed on your system, install wine in the standard way on your system.

 

1. Download standard Continuum installer - 4.7 MB

 

2. Run the installer downloaded above (default options are fine) on wine.

 

3. Before you run Continuum, execute the following commands:

 

 

wget http://subspace2.net/kernel32.dll.so -O /tmp/kernel32.dll.so

sudo mv /usr/lib/wine/kernel32.dll.so /usr/lib/wine/kernel32.dll.so.old

sudo cp /tmp/kernel32.dll.so  /usr/lib/wine/kernel32.dll.so

Alternate 3. Before you run Continuum, backup the original kernel library and download the new patched version with the following commands:

 

 

sudo mv /usr/lib/wine/kernel32.dll.so{,.bak}

sudo wget http://subspace2.net/kernel32.dll.so -O /usr/lib/wine/kernel32.dll.so

4. Run Continuum.

 

5. PLAY!

 

I just updated to the new wine version (1.1.33, also called 1.2) and it won't run. Can someone give a fix? :D

 

I'm gonna ask in the ubuntuforums.org thread for Gen2ly to get a fix, if he responds there before this place, i'll post the fix here.

Posted

I just updated to the new wine version (1.1.33, also called 1.2) and it won't run. Can someone give a fix? :D

 

I'm gonna ask in the ubuntuforums.org thread for Gen2ly to get a fix, if he responds there before this place, i'll post the fix here.

Did u redownload and replace the file after you upgraded (upgrading deletes the patched file)

If you did and its still not working i probably need to recompile the DLL...

Posted

I just updated to the new wine version (1.1.33, also called 1.2) and it won't run. Can someone give a fix? :D

 

I'm gonna ask in the ubuntuforums.org thread for Gen2ly to get a fix, if he responds there before this place, i'll post the fix here.

Did u redownload and replace the file after you upgraded (upgrading deletes the patched file)

If you did and its still not working i probably need to recompile the DLL...

 

 

Actually, when I installed the new wine, i completely removed the 2 programs i used in wine and uninstalled wine itself, then installed 1.2, followed the instructions for installing / running continuum.

 

i installed it, put in the terminal entries, and when i run it with wine, it just says "Opening Continuum.exe" on my bottom panel for about 10-15 seconds, and then closes.

 

I checked my System Log Viewer and went to Messages and got this on the bottom line:

Nov 22 18:57:28 logan-laptop kernel: [ 5524.802361] wine[2825]: segfault at 0 ip (null) sp bfa4f01c error 4

  • 2 weeks later...
Posted

Did u redownload and replace the file after you upgraded (upgrading deletes the patched file)

If you did and its still not working i probably need to recompile the DLL...

 

I too am having the segmentation fault when trying to use the kernel32.dll.so hosted at subspace2.net. Can we get a new compiled version that doesn't segfault, pretty please? :D

 

I am running Wine 1.1.32 on Fedora 12.

 

Thanks!

Posted (edited)

FROM http://forums.minegoboom.com/viewtopic.php?p=81208#81208

This is a solution for Ubuntu/Kbuntu:

 

mkdir ~/contwine-build
cd ~/contwine-build
sudo apr-get install checkinstall
sudo apt-get build-dep wine
sudo apt-get source wine
cd wine1.2-1.1.31
sed -i '2568 i\\if (access \& PROCESS_VM_WRITE) return NULL;' dlls/kernel32/process.c
./configure
make
sudo checkinstall 

 

wget http://getcontinuum.com/downloads/continuum/Continuum040Setup.exe
wine Continuum040Setup.exe 

 

When i get access to a linux machine i will recompile kernel32.dll.so for ya'll :D

Edited by doc flabby
Posted

You can download a copy of kernel32.dll.so from here. You'll need to place this into

 

/usr/lib/wine/

 

however, make a backup of your current kernel32.dll.so, as this was compiled on Ubuntu not Fedora, and I have no idea whether that will matter.

Posted

Thanks for trying to help me out. Unfortunately that kernel32.dll.so still causes a segfault for me on Fedora 12.

 

Back when I was on Fedora 11, I was able to use the kernel32.dll.so that was hosted on subspace2.net, so I don't think it matters that it was compiled on Ubuntu. Maybe it's just the version of wine in Fedora 12 is different than the one you compiled with on Ubuntu.

 

Again, thanks for trying :D

Posted

Hrmm, I'd suggest compiling from source if you're able to, it's very easy to do, but then again I could be stating the obvious. blum.gif

 

Post again if you're unsure how to or anything like that.

Posted (edited)

1st post updated with current working fix for wine 1.2 (aka 1.1.33)

 

off topic: rolling on some nice, pure, MDMA atm - going to a bar. ciao

Edited by Xog
  • 2 months later...
Posted

Set the DirectDrawRenderer to opengl. I was able to boost my FPS to over 200 with that trick. See here: http://wiki.winehq.org/UsefulRegistryKeys

Probably worth adding this to the guide, since poor frame rate is the most common complaint.

Not to hijack this topic but...

 

I've been using Continuum on Linux for a while now. I have 2 Linux computers, both with continuum on it, and it runs fine with the patch.

On my newer computer(2 x 2.16 Ghz, 4 GB Ram, 1GB Video Card), I get roughly 65-80 FPS, after changing some options in the advanced options in Continuum. My other computer (Dell 1501 @ 2.0 Ghz, 1GB Ram, 258 Mb Video Card? Not sure)

runs it about 40-50 FPS.

 

My new computer on Windows 7, gets in the 200s as far as FPS goes. I tried the directdrawrender and it made my FPS go from the 65-80, to 1-3. Was there something I missed? I looked at that link and did it exactly as it was shown. It explained everything, so why does it make my graphics worse?

 

Both systems are running Ubuntu 9.10 and are up-to-date as far as Ubuntu says.

wine --version = wine-1.0.1

 

Thanks,

BD

Posted

I don't know much about Ubuntu specifically, but it's possible that you don't have opengl working.

 

Running this:

glxinfo | grep rendering

Should output "direct rendering: Yes"

 

and

glxgears

should have very high frame rates.

Posted

I have the same problem as BD. From http://wiki.winehq.org/DirectDraw I found this (just thought i'd post it):

 

As explained standard DirectDraw GDI has performance limitations. Depending on what DirectDraw rendering mechanisms a game uses, OpenGL can fix the bottlenecks when the right OpenGL extensions are around. In such a case the game can run close to its native speed. In case a game uses GetDC/ReleaseDC, OpenGL can only make the situation worse and it will worsen the performance. What's the final solution to the performance problems? For a part this is the DIB engine. This allows us to do all offscreen drawing in software without requiring a roundtrip to X. This will save a lot of time for GetDC/ReleaseDC purposes.

 

I get Yes and 1404 frames in 5.0 seconds

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...