Play the full game
What does not
What was not tested
The game installs and run fine but it crashes after a while caused by a "broken" wav file. I have used this small script to find out which files causes the crash, and autoremove them from the configuration that this sound file will never be used again. Put this script inside the game folder next to the .exe file (change the GAMEPATH variable to your needs): #--- Begin of Stronghold2.sh --- GAMEPATH="/usr/local/games/Stronghold2" cd $GAMEPATH BROKENWAV=`grep -B5 "Unhandled page fault" wine.debug.log |grep 'wine_nt_to_unix_file_name'|cut -d'"' -f4|sed 's/^.*\/fx\///g' ` BROKENWAV2=`echo $BROKENWAV|tr '/' '\'` if [ `echo $BROKENWAV2 | wc -c` -gt 3 ];then echo "Crash recognized !!! (excluding soundfile)" echo -e "REMOVING FILE:\t$BROKENWAV2" echo "sed -i 's/",$BROKENWAV2"//g' fx/sh2_sounds.csv" >.tmpremove sed -i 's/\\/\\\\/g' .tmpremove chmod +x .tmpremove if [ ! -d "./fx/bkup" ];then mkdir "./fx/bkup";fi cp -f fx/sh2_sounds.csv fx/bkup/sh2_sounds.csv-before.$BROKENWAV2 sh .tmpremove echo "$BROKENWAV" >> removed.list else echo "No Crash recognized - Game is starting normal." fi rm wine.debug.log; WINEDEBUG=+file wine Stronghold2.exe &>wine.debug.log #---End of Stronghold2.sh with this script I started the game appx. 40 times and run into a crash. The time inbetween the crashes was getting higher and higher, after the appx. 40 crashes, the game runs fine. Also tested with older wine versions, works fine also with wine 1.0. List of files marked as broken: applepick_08.wav arrow_flt_15.wav blank.wav building_sm_destroy_01.wav building_sm_destroy_02.wav cow_moo_09.wav deathfx\dth_fem_003.wav deathfx\dth_fem_007.wav deathfx\dth_fem_010.wav deathfx\dth_fem_011.wav deathfx\dth_fem_011.wav deathfx\dth_fem_012.wav deathfx\dth_fem_013.wav deathfx\dth_fem_014.wav deathfx\dth_fem_015.wav deathfx\dth_fem_017.wav deathfx\dth_fem_018.wav deathfx\dth_fem_020.wav deathfx\dth_fem_021.wav deathfx\dth_fem_022.wav deathfx\dth_fem_023.wav deathfx\dth_fem_024.wav deathfx\dth_fem_025.wav deathfx\dth_fem_026.wav deathfx\dth_fem_028.wav deathfx\dth_fem_030.wav dth_fem_011.wav fx2\dog_bark_B_02.wav fx2\dog_bark_B_06.wav fx2\pitch_scoop_05.wav sq_bighit_05.wav sq_bighit_06.wav sq_bighit_07.wav sq_pulley_lower_01b.wav sq_pulley_raise_01d.wav sq_smallhit_03.wav sq_smallhit_04.wav sq_smallhit_07.wav sq_smallhit_08.wav stckpitch1.wav wolf_die_03.wav woodrattle_20.wav
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Arch Linux||Dec 25 2011||1.3.35||Yes||Yes||Gold||fetter_oml|
|Current||Debian GNU/Linux 6.x "Squeeze"||Jul 31 2010||1.3.0||Yes||Yes||Bronze||an anonymous user|
|Show||Debian GNU/Linux Unstable "Sid"||Jun 29 2008||1.0.0||Yes||Yes||Bronze||deben|
|Show||Ubuntu 7.10 "Gutsy" i386 (+ variants like Kubuntu)||Apr 20 2008||0.9.60||Yes||Yes||Garbage||an anonymous user|
|Show||Ubuntu 7.10 "Gutsy" amd64 (+ variants like Kubuntu)||Dec 13 2007||0.9.50.||Yes||No||Garbage||Jeroen Benckhuijsen|
When starting Stronghold 2 on most machines it will silently fail because it cannot open enough files at once.
You can raise this limit, adding (as root)
* soft nofile 65535
* hard nofile 65535
to /etc/security/limits.conf (replace the * with your username if you believe these limits are anything but stupid and would be unsafe to raise for all users) and logging out and back in.
The limits currently in effect can be checked using ulimit -Sn and ulimit -Hn.
This should work for any app, if you have Intel + AMD or AMD + AMD with open source drivers.
If you have laptop with hybrid graphics cards. You can launch game with command:
env DRI_PRIME=1 vblank_mode=0 wine ~/path/to/your/exe/file
In case of using command, you get swich to powerful graphics card and disable vsync for more FPS.
If you have Mesa drivers 17.x.x or more, you can use this command:
env DRI_PRIME=1 mesa_glthread=true vblank_mode=0 wine ~/path/to/your/exe/file
Last command is most best in performance that you can get in this moment, you can use it for any wine application that you need. But argument mesa_glthread=true may not always work, so if your app crash, remove it.
For Steam users, you can set environment variable of any applications in properties.
DRI_PRIME=1 mesa_glthread=true vblank_mode=0 %command%
(It will work only with native Steam for Linux) For Wine, you have to start Steam or game with those arguments