imLinguin / comet

Open Source implementation of GOG Galaxy Communication Service for SDK bundled with GOG games.
GNU General Public License v3.0
117 stars 6 forks source link

STONKS-9800: Stock Market Simulator not connecting to Comet #26

Open kevin-wijnen opened 2 months ago

kevin-wijnen commented 2 months ago

Context

During testing compatibility of several of my GOG library games, I did find another game (similar to Cuphead's previous status) that does not connect to GOG through Comet: STONKS-9800: Stock Market Simulator.

Issue Analysis

Similar to Cuphead previously, Comet wouldn't connect with the game. After installing GalaxyCommunication.exe in its prefix, it still did nothing. (No logs are made when having Comet running and starting or closing the game.)

The game using an older GOG SDK seems unlikely, as the game is an Early Access game that started its first public release on GOG last year on July 17, 2023.

Looking in the game's files, some noteworthy files (and its MD5 hashes) are:

imLinguin commented 2 months ago

Galaxy64.dll hash maps to SDK version 1.150_Windows_MSVC19_64bit|14158336

imLinguin commented 2 months ago

I found the issue, the game links to libraries with debug symbols. This makes it not work even on Windows if the user doesn't have dev environment setup

1245.517:0128:err:module:import_dll Library MSVCP140D.dll (which is needed by L"C:\\GOG Games\\STONKS-9800 Stock Market Simulator\\GOG.dll") not found
1245.518:0128:err:module:import_dll Library VCRUNTIME140D.dll (which is needed by L"C:\\GOG Games\\STONKS-9800 Stock Market Simulator\\GOG.dll") not found
1245.519:0128:err:module:import_dll Library VCRUNTIME140_1D.dll (which is needed by L"C:\\GOG Games\\STONKS-9800 Stock Market Simulator\\GOG.dll") not found
kevin-wijnen commented 2 months ago

I found the issue, the game links to libraries with debug symbols. This makes it not work even on Windows if the user doesn't have dev environment setup

Thanks for figuring it out - sent an email to the dev just now describing the issue for them to fix it in a future patch. I will update the status on this issue when the game gets fixed with a patch. 👍

imLinguin commented 2 months ago

I already contacted the dev on discord as well. They'll look into the issue, it probably comes down to updating the GOG plugin in Gamemaker.