It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hello people.

As some of you might know, there is a mod loader for Stardew Valley called SMAPI (or Stardew Modding API). If you have Stardew Valley on Steam, there is some wizardry you can do to make Steam start the mod loader + mods, and you still get achievements and playtime.

I was wondering whether there was something like that you can do with GOG Galaxy; basically modifying it in a way that makes Galaxy launch SMAPI, and you still get achievements and playtime (adding a launch option or something).
No posts in this topic were marked as the solution yet. If you can help, add your reply
I think that the best way to do this is to enter the game files, grab the smapi version and rename it stardewvalley.exe. Make sure to rename the original stardewvalley.exe into stardewvalley.exe.bak or something along those lines. However, I'm certain there are easier ways to do this. Hope it helps! :)

Make sure to back up the save data before attempting this to be safe, though!
Post edited July 09, 2018 by Rosalumina
avatar
Rosalumina: I think that the best way to do this is to enter the game files, grab the smapi version and rename it stardewvalley.exe. Make sure to rename the original stardewvalley.exe into stardewvalley.exe.bak or something along those lines. However, I'm certain there are easier ways to do this. Hope it helps! :)

Make sure to back up the save data before attempting this to be safe, though!
I already tried this, it doesn't work because SMAPI targets the original exe when running, and if you change the name of the original exe, smapi can't detect it.

Could it be possible to use command line arguments to tell gog galaxy to use the smapi exe on startup?
If so, i don't know how command lines work, so does anybody know what line should be used?
The https://www.gog.com/forum/general/executable_name_change_in_gog_galaxy]
last post
[/url] explains how to do it


no idea what's up with that mess of a link, at least it's clickable
Post edited October 06, 2018 by flickas
high rated
avatar
flickas: The https://www.gog.com/forum/general/executable_name_change_in_gog_galaxy]
last post
[/url] explains how to do it

no idea what's up with that mess of a link, at least it's clickable
Solution is to find "goggame-[randomnumbers].info" in the game installation folder and open it with notepad. Find "path" and change "Stardew Valley.exe" to "StardewModdingAPI.exe". Remember to restart gog galaxy after doing so or it won't work (speaking from an hour of wasted time not realizing that) Hope this helps someone down the line.
avatar
flickas: The https://www.gog.com/forum/general/executable_name_change_in_gog_galaxy]
last post
[/url] explains how to do it

no idea what's up with that mess of a link, at least it's clickable
avatar
Rabiku: Solution is to find "goggame-[randomnumbers].info" in the game installation folder and open it with notepad. Find "path" and change "Stardew Valley.exe" to "StardewModdingAPI.exe". Remember to restart gog galaxy after doing so or it won't work (speaking from an hour of wasted time not realizing that) Hope this helps someone down the line.
There is now a new way I've found. Your sollution didn't work for me. In GOG Galaxy 2.0 go to the game. Click right of 'Play' on the two lines with circles, then go to 'Manage installation' and then 'Configure'. There you can add a custom executable. Search in your game folder and select 'StardewModdingAPI.exe' and set that as 'Default executable'.