sharkwouter / minigalaxy

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

SimCity 2000 gets stuck on some dosbox window saying "exit" isn't a command #592

Open ell1e opened 10 months ago

ell1e commented 10 months ago

I just tried launching SimCity 2000 and it gets stuck on some dosbox window saying "exit" isn't a command (during that entire process I didn't touch anything, it ran those commands by itself):

Screenshot from 2024-01-16 00-11-10

Am I doing something wrong maybe? :flushed: I installed it via flatpak/flathub, latest version on there, and I'm testing it on an openSUSE Slowroll x64 machine with a GNOME 3 Wayland session

ell1e commented 10 months ago

I'm seeing the same with Lands of Lore 1: Throne of Chaos. Maybe it's a problem with all dosbox games somehow?

sharkwouter commented 10 months ago

Yeah, unfortunately this happens with all dosbox Windows games. I think it's a wine issue. Thanks for reporting, though.

ell1e commented 5 months ago

Is there any known workaround to this? Sorry to eat up anyone's time, just curious. It would be nice if it were possible to launch those games somehow, through minigalaxy.

sharkwouter commented 5 months ago

Yeah, you can install dosbox on your machine. Then it should start.

ell1e commented 5 months ago

Dosbox is already installed!

sharkwouter commented 5 months ago

Oh, my bad. You might want to report this issue here, since you installed using Flatpak: https://github.com/flathub/io.github.sharkwouter.Minigalaxy/issues

ell1e commented 5 months ago

I reported it here now: https://github.com/flathub/io.github.sharkwouter.Minigalaxy/issues/52

ell1e commented 1 month ago

I found out after more experimenting that only some games are affected, which I assume suggests the problem may not be flatpak since dosbox seems to be available but only work correctly sometimes.

Working DOS games:

Broken DOS games:

ell1e commented 3 weeks ago

I noticed that the working DOS games don't have a wine glass icon showing.

Is it possible that minigalaxy tries to detect DOS Games and to use native dosbox on them directly, but messes that up somehow and tries to run dosbox in wine for the failed ones and that's what breaks? Although I don't fully understand why, since I've run dosbox in wine before using Steam and there it usually works perfectly fine. But it would explain the different behavior.

sharkwouter commented 3 weeks ago

Minigalaxy will use the system's Doxbox for Dosbox games that are released for Linux. For Window Dosbox games it will just use wine. Not sure if that helps.

ell1e commented 3 weeks ago

It seems like the Linux Dosbox games work then, and the Windows Dosbox games don't.

ell1e commented 3 weeks ago

Actually, I was incorrect: I just found a Windows Dosbox game that works, Witchaven (the first one of the two combined in this bundle). But it seems like at least a large amount of Windows Dosbox games have this weird Illegal command: "exit". problem, while none of the Linux Dosbox games I tried seem to have it.

ell1e commented 3 weeks ago

Would you be interested in me gifting you one of the affected games so you can try out if it works for you, and if not, figure out how to possibly fix it? (I understand you may still not figure that out, but at least it might raise the chances.)

sharkwouter commented 2 weeks ago

I think for this one, I have some games I could test. Thanks for the offer, though.