Stronghold 2

No Screenshot

Submit Screenshot
Bugfix release.

Application Details:

Version: 1.2
License: Retail
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 1.3.35

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works


Play the full game

What does not

Nothing Found


What was not tested


Hardware tested


  • GPU:
  • Driver:

Additional Comments

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 --- 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 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

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
ShowArch LinuxDec 25 20111.3.35Yes Yes NoGoldfetter_oml 
CurrentDebian GNU/Linux 6.x "Squeeze"Jul 31 20101.3.0Yes Yes NoBronzean anonymous user 
ShowDebian GNU/Linux Unstable "Sid"Jun 29 20081.0.0Yes Yes NoBronzedeben 
ShowUbuntu 7.10 "Gutsy" i386 (+ variants like Kubuntu)Apr 20 20080.9.60Yes Yes NoGarbagean anonymous user 
ShowUbuntu 7.10 "Gutsy" amd64 (+ variants like Kubuntu)Dec 13 20070.9.50.Yes No NoGarbageJeroen Benckhuijsen 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

Raising the per-application file descriptor limit on your machine

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.

How to use hybrid graphics switch Open Source drivers Intel/AMD, AMD/AMD and improve performance

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


Comments Disabled

Comments for this application have been disabled because there are no maintainers.