The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
Need to increase the max. open files / file descriptors
by GyB on Monday August 23rd 2010, 13:36
The problem of the crash when you start a new game or the tutorial is clearly indicated in the following line when you start the game from a terminal:
'err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased'
You need to increase the value of the max. opened files in Linux (the default value 1024 is way too low for this game.)
To this, I added the following two lines (as root) to /etc/security/limits.conf:
my_username soft nofile 1024
my_username hard nofile 10000
Additionally, I had to add the following line to /etc/pam.d/login :
session required pam_limits.so
The value of 10000 seems to be sufficient but I haven't played the game for an extended period. After the modification the game works for me and it should be rated better than Garbage.
This was tested on Fedora 13 with Wine-1.3.1 and the 1.2 version of the game.
Please feel free to comment (works or not for you).