Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 4075  / 1 Year ago, wed, december 28, 2022, 10:51:53

When I run Amnesia: Dark Descent or Superbrothers: Sword & Sworcery, the games are stretched across both my monitors, like this:



enter image description here



Limbo crashes on start-up:



enter image description here



How can I solve these problems?


More From » nvidia

 Answers
1

All Games work after some tweaking:



Amnesia, Sword & Sworcery, Psychonauts, Super Meat Boy:



These are SDL games, and like all SDL games, they will act strangely if you have two monitors. To run them on only the primary display:



SDL_VIDEO_FULLSCREEN_DISPLAY=0 /opt/amnesia/Launcher.bin64 - note this will probably be called "Launcher.bin32" or similar on 32-bit systems.



SDL_VIDEO_FULLSCREEN_DISPLAY=0 /opt/swordandsworcery/run.sh



I didn't need to do any further tweaking with these and they seem to work perfectly.



NOTE: To apply this tweak to all SDL games such that they can be run this way from the dash, just add



SDL_VIDEO_FULLSCREEN_DISPLAY=0



to /etc/environment on a new line and then reboot.



Limbo:



I had a lot more trouble with this game. With dual head enabled the game crashes with a segfault. Normally this can be avoided by running wine in explorer virtual desktop mode (I have to do this with almost any wine game) however, in this came, Limbo is bundled with a custom wine where explorer mode doesn't work. I had to use the distro-supplied wine instead, and then it works correctly, but you have to run it with the normal startup scripts once to get the ~/.limbo directory created, so:



/opt/limbo/launch-limbo.sh - if this works, great, if not:



sudo apt-get install wine1.4



cd ~/.limbo/limbo/drive_c/Program Files/limbo/ - you MUST cd or the game will crash



wine explorer /desktop=limbo,1920x1200 limbo.exe - replace 1920x1200 by your desired resolution



To start the application like this when launched form the dash:



sudo gedit /opt/limbo/launch-limbo.sh


comment out the existing code and add:



cd ~/.limbo/limbo/drive_c/Program Files/limbo/
wine explorer /desktop=limbo,1920x1200 limbo.exe


Again, replace 1920x1200 by your desired resolution



Bastion



You can launch it in windowed mode at pretty much any resolution by adding options while launching:



cd /opt/bastion/Bastion/
./Bastion.bin.x86_64 -windowed -x 1680 -y 1000


(My monitors have 1680x1050 & I subtracted 50p for the Unity top bar - so its kinda fullscreen)



To launch the game in windowed mode with the dash-shortcut:



cd /opt/bastion/Bastion/
sudo gedit bastion64.sh


And add " -windowed -x 1680 -y 1000" (without quotes, with desired resolutions) after "LD_LIBRARY_PATH=lib64:. ./Bastion.bin.x86_64".


[#37924] Friday, December 30, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
irripri

Total Points: 164
Total Questions: 111
Total Answers: 107

Location: South Georgia
Member since Sun, Aug 8, 2021
3 Years ago
irripri questions
Mon, Aug 29, 22, 03:19, 2 Years ago
Thu, Mar 30, 23, 01:56, 1 Year ago
Thu, Dec 30, 21, 08:53, 2 Years ago
;