Posted February 14, 2022
low rated
![avatar](http://images.gog.com/1b6e697b44247347ef64b3ae3aad288d17c33b660ee00439867a88cf0d2a3419_avm.jpg)
https://www.gog.com/forum/general/so_why_does_the_witcher_3_only_work_when_galaxydll_is_deleted_from_its_subfolders
https://www.gog.com/forum/general/galaxydll_on_offline_installers_possible_huge_issue_down_the_road/page1
https://www.gog.com/forum/general/gog_galaxy_required_in_certain_games/page1
AB2012's post is particularly interesting. I will quote it here in its entirety:
Many GOG games that come with galaxy.dll / galaxy64.dll (as well as related filenames GogGalaxyHooks.dll, GalaxyCSharp.dll, GalaxyCSharpGlue.dll, GalaxyPeer64.dll, Galaxy64.lib, Galaxy64.pdb, etc) will crash / refuse to start with a "can't start because Galaxy is missing from your computer" message if those files are deleted / renamed. This includes : A Hat in Time, Blood Fresh Supply, Crookz The Big Heist, Divinity Original Sin: EE, Kathy Rain, QUBE2, Shadwen, Stardew Valley, etc, and a ton of others.
Some games also come with steam_api.dll / steam_api64.dll included. For some it's completely inactive, harmless and those files can be deleted without issue (eg, Amnesia Dark Descent, Divinity Original Sin EE, etc). For others (eg, QUBE, The Witness, etc), if you delete them the games refuse to start no differently than if you bought them on Steam and tried to run them without the Steam client, suggesting that for some games, the DRM check call to steam_api.dll is hard-coded into the game and the "DRM-Free" version supplied by the devs to GOG basically involves some cheap "auto-Steam-authenticate" loopback code in a replacement dll (little different to how cracks work) instead of actually being removed / supplied from a fresh pre DRM'd build. It doesn't stop you from playing if you don't delete the files, but it does look quite amateurish. In fact if you delete steam_api.dll and Steamworks.NET.dll from the GOG version of Hammerwatch, it crashes and the log file actually states "Failed to initialize Steam"...
Personally I don't mind local dll's that exist to avoid the need to install the client IF it doesn't go online, IF it doesn't interfere with offline gameplay, IF it doesn't affect long-term compatibility (eg, the DLL itself having issues with future Windows), and IF it doesn't cause performance issues. As mentioned in the other thread though, GOG's versions of Bioshocks start up 5x slower than Steam's DRM'd ones and Humble DRM-Free versions and the only difference is Galaxy integration, so I'd definitely like to see whatever is causing that (some network check/ timeout?) removed from those games precisely because it obviously does negatively affect some games.
And what's most important in this discussion, how can you even tell what's going on if you do not own any games on GOG?