http://bugs.winehq.org/show_bug.cgi?id=17956
--- Comment #24 from Emmanuel Anne emmanuel.anne@gmail.com 2012-09-27 10:36:21 CDT --- (In reply to comment #23)
Thank you for fixing this problem. But could you also include instructions for how to apply these patches to both vanilla wine and playonlinux for those like myself who have less technical knowledge? It would also allow me to provide some additional feedback on its performance. Thanks again.
Hum, sorry I don't use at all playonlinux, just vaguely heard of it, that's all, so I couldn't tell you if there is a difference to apply these patches (but I doubt it, it's probably the same source base).
Anyway since I posted these, I noticed that every game doesn't support these changes, some seem to launch some secondary exe, and then access it using some instance, and to create this instance they are searching using the exact filename including caps, so if the whole directory has been turned to lower case, it can't find its instance, and it simply crashes ! It means I should also change these functions to ignore the case sensitivity, but so far since the changes are only in 1 dll, I just compile the patched one, and the normal one, and switch from one to the other just by renaming them.
Anyway. Applying these patches is not so difficult, wine is suprisingly easy to compile, even on an amd64 system like mine (but it's still harder on amd64, much easier on i386 native, because you get everything you need from the distribution, no fancy installation to do). Basically you get the latest wine source, either using git or downloading the tar.gz archive, then apply these patches using something like: cd wine patch -p1 < patch it still works with wine-1.5.13. After that, just execute ./configure and it will tell you if something is missing. If so, install the corresponding -dev package, and restart ./configure once it works just run make and then sudo make install If you want to overwrite your distribution's wine, run ./configure --prefix=/usr instead of just ./configure otherwise it will be installed in /usr/local/bin allowing you to choose which wine you want to run.