sharkwouter / minigalaxy

A simple GOG client for Linux
https://sharkwouter.github.io/minigalaxy/
GNU General Public License v3.0
1.1k stars 70 forks source link

"Blake Stone: Aliens of Gold" doesn't execute via Minigalaxy #503

Open LukasThyWalls opened 2 years ago

LukasThyWalls commented 2 years ago

Hello!

About this game: Blake Stone: Aliens of Gold https://www.gog.com/en/game/blake_stone_aliens_of_gold

The game installs, but when i try to launch via Minigalaxy, the dosbox window shows and close and throws this window:

BlakeStoneAliensOfGold_MinigalaxyLaunch

If you launch minigalaxy via terminal, also shows mostly the same via terminal:

Using system's dosbox to launch Blake Stone: Aliens of Gold
No se pudo iniciar Blake Stone: Aliens of Gold
DOSBox version 0.74-3
Copyright 2002-2019 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /home/thywalls/.dosbox/dosbox-0.74-3.conf
MIXER:Got different values from SDL: freq 44100, blocksize 512
ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
DOS keyboard layout loaded with main language code SP for layout sp

If i go to the folder where minigalaxy installed the game, and execute start.sh, the game works normally.

Also to mention, with Blake Stone: Planet Strike, which is very very similar to Aliens of Gold, everything works fine, i can launch the game via minigalaxy without any issue.

Thanks!

sharkwouter commented 2 years ago

Hi @LukasThyWalls, thanks for the report. I do not own this game, but I have seem basically the same issue with several games. I just made a change on the master branch which should resolve this in many cases. It does depend upon if this games is also affected by #506 or not. Could you download the master branch and try again?

LukasThyWalls commented 2 years ago

Just tested with the master version, and it does exactly the same, so the issue is still there.

Noted that always is using linux versions: Aliens of Gold and Planet Strike have linux installers and one works and the other doesn't. I'm not using windows versions at any moment.

Thanks.

sharkwouter commented 2 years ago

Oh that explains a lot. Thanks for testing. Do you have dosbox installed on your machine? If not try installing it and see if it changes anything.

LukasThyWalls commented 2 years ago

I have it installed. In fact i have DOSBox installed via repositories, DOSBox-X via Flatpak and also DOSBox ECE as an AppImage, but that one it can't be say it's "installed".

However, as i said before, Planet Strike works fine and it should almost does the same as Aliens of Gold as there are almost twin games...

But i tried to uninstall DOSBox... and then Aliens of Gold works! Also Planet Strike. I suppose when DOSBox is installed Minigalaxy uses the installed version and not the one that comes with the game, but using the installed conf files from the game?

For Aliens of Gold, the DOSBox conf files are _dosbox_blake_aogsingle.conf and _dosbox_blake_aogsingle.conf, for Planet Strike, the DOSBox conf files are dosboxBlakePS.conf and _dosboxBlakePSsingle.conf.

Both _dosbox_blake_aogsingle.conf and dosboxBlakePS.conf are the main conf files for DOSBox, and both are identical (compared via software).

_dosbox_blake_aogsingle.conf and _dosboxBlakePSsingle.conf are only the autoexec part, and obviously are different but very similar:

_dosbox_blake_aogsingle.conf

[autoexec]
# Lines in this section will be run at startup.

@ECHO OFF
mount C "data"
c:
cls
BS_AOG.EXE
exit

_dosboxBlakePSsingle.conf

[autoexec]
# Lines in this section will be run at startup.

@ECHO OFF
mount C "data"
c:
cls
BS_FIRE.EXE
exit

I don't know exactly how to look what conf files are minigalaxy using when it launch a dosbox game, but maybe what's happening is it is not using the game conf files because the launching parameters are wrong or it's not finding the conf files. IDK...