View Issue Details

IDProjectCategoryLast Update
0024084AI War 2Crash/ExceptionNov 10, 2020 8:35 am
Reportertrabbo Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.627 Hotfix 
Fixed in Version2.629 Ship Cap Hotfix 
Summary0024084: GOG Linux launcher fails
DescriptionI'm using GOG's Linux installer. Yesterday I upgraded from 2.617 to 2.627a. I'm able to launch the game by manually executing it, but not through the system or through GOG's start.sh script. Here is the error I receive:

Running AI War 2 (English)
./start.sh: ./Launch_AIWar2_with_OpenGL: /bin/bash^M: bad interpreter: No such file or directory

There are two problems with the script under "game/Launch_AIWar2_with_OpenGL". Addressing these will allow the game to start from the system menu.
  * That '^M' character in the error message indicates a Windows-style line ending made its way into the file.
  * The final line of the script should read "./AIWar2Linux.x86_64 -force-glcore"
TagsNo tags attached.

Activities

Chris_McElligottPark

Nov 9, 2020 4:20 pm

administrator   ~0059518

Thank you! I have passed your notes along to GOG developer support, who are the ones who create and maintain the installers.

Chris_McElligottPark

Nov 10, 2020 8:34 am

administrator   ~0059524

Thank you for the report!

The fix for that is coming later today

* Corrected the OpenGL launcher script on GOG, thanks to GOG support (it was our error -- thanks to them for figuring it out!).
** It appears that the issue didn't affect all flavors of linux, but it certainly did affect some.

Chris_McElligottPark

Nov 10, 2020 8:35 am

administrator   ~0059525

In the meantime, you can drop these into your folder and it should work after that, too.
Launch_AIWar2_with_OpenGL (50 bytes)   
#!/bin/bash

./"AIWar2Linux.x86_64" -force-glcore 
Launch_AIWar2_with_OpenGL (50 bytes)   
AIWar2_OpenGL.sh (50 bytes)   
#!/bin/bash

./"AIWar2Linux.x86_64" -force-glcore 
AIWar2_OpenGL.sh (50 bytes)   

Issue History

Date Modified Username Field Change
Nov 9, 2020 3:25 pm trabbo New Issue
Nov 9, 2020 4:20 pm Chris_McElligottPark Note Added: 0059518
Nov 10, 2020 8:34 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 10, 2020 8:34 am Chris_McElligottPark Status new => resolved
Nov 10, 2020 8:34 am Chris_McElligottPark Resolution open => fixed
Nov 10, 2020 8:34 am Chris_McElligottPark Fixed in Version => 2.629 Ship Cap Hotfix
Nov 10, 2020 8:34 am Chris_McElligottPark Note Added: 0059524
Nov 10, 2020 8:35 am Chris_McElligottPark File Added: Launch_AIWar2_with_OpenGL
Nov 10, 2020 8:35 am Chris_McElligottPark File Added: AIWar2_OpenGL.sh
Nov 10, 2020 8:35 am Chris_McElligottPark Note Added: 0059525