http://bugs.winehq.org/show_bug.cgi?id=17818
Pascal * snapcase@live.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |snapcase@live.de
--- Comment #70 from Pascal * snapcase@live.de 2010-02-26 13:42:37 --- (In reply to comment #67)
Created an attachment (id=26242)
--> (http://bugs.winehq.org/attachment.cgi?id=26242) [details]
glsl_shader.c: ugly hack, RoM "needs" 255/256 vertex constants, so only cut off ONE
I got good, bad and ugly news. Bad news is, I slept not much last night... ;) Good news is, because I PLAYED ROM all night on an ATI 4870. :-) Ugly news is, I had to use a very very bad hack.
USE THIS AT YOUR OWN RISK! THIS MAY BREAK WHATEVER ELSE IN NEW AND UNEXPECTED WAYS. (RoM couldn't be more broken on ATI, so this is kinda progress...) THIS STILL REQUIRES THE GFX BOARD TO HAVE AT LEAST 256 SHADERS!
I use a specific wine tree to play RoM, not overriding the default tree I use for everything else. I recommend you do that, too, if you try this.
This is not for the faint-at-heart and requires you to patch and compile wine yourself. Deviations due to not using git are your choice.
So... Download the patch somewhere as glsl_shader.diff. Go there and issue the following list of commands:
# get the tree into <current directory>/wine-git git clone git://source.winehq.org/git/wine.git `pwd`/wine-git cd ./wine-git # set to 1.1.38 git reset --hard 4fc02f4a34ca127a8943c2d8d14432f588ac2788 # undo breakage of shdocvw git show ff06efd1eb54f4a3f7b2f29e9b2c81f002b8e33f | patch -p1 -R # apply ugly hack (under whatever name you saved the attachment) patch -p0 <../glsl_shader.diff # build (add -j3 to use 3 cores, i.e. 'make -j3') ./configure && make depend && make # play with *this* wine (add WINEPREFIX in front if you set one) `pwd`/wine /path/to/RoM/Runes\ of\ Magic.exe
Strangely, this hack doesn't work for me. I created a new folder, opened a terminal and went to the freshly created directory, there I executed the commands. When I try to start RoM with this Wine, all I see is the grey "Clientupdate.exe" window, which closes after a few seconds, and then I see an error message. I use an ATI HD 4650 with the latest fglrx drivers, Amd Athlon X4 (4*2,6 GHz), 4GB RAM and Kubuntu Jaunty. Check here to see my terminal output after trying to launch RoM: