Monday, June 15, 2009

Wine fun #2

Forgot to mention that the quick fix to solve the issue I was having, was to change the device mapping so that it doesn't have one pointing to the root of the filesystem anymore. On default wine makes a mapping for drive Z to the root of the filesystem, hence why it was able to find and open /dev/random. So the easy fix was to change the Z drive mapping in ~/.wine/dosdevices

Now I just have to find out why the game bombs out when pixel shaders are enabled...

2 comments:

Nathan said...

What I would have done:

change the .exe not to open /dev/random but /dev/aandom (or something). Although it is very probable this is against their EULA...

Karl Vogel said...

Issue with that (appart from the EULA thingy) is that you will have to do this for every executable that tries to open /dev/random, whereas just making sure they can't find /dev by changing the wine mapping works for everything.