[Question] Save file location detection
Hey I have a question. Maybe someone can answer it to me. I wondered how Heroic manages to detect the file location of the save files of a game.
I'm asking because I also want to create something for my own to sync files automatically (with post and pre scripts) to my own cloud as I had some issues with space on GoG. With that said I would only need it for GoG as of now.
I tried to use PCGamingWiki to get the paths but their API isn't giving me a path and parsing the webside data is kind of horrible without any Ids.
Therefor I'm interested in how Heroic manages to do that.
Thank you in advance!
5 Replies
genetic-orange•5mo ago
we ask API of each provider
https://remote-config.gog.com/components/galaxy_client/clients/53652320436400298?component_version=2.0.75
e.g
the number is client id
genetic-orange•5mo ago
which you can find under builds using gogdb for example
https://www.gogdb.org/product/1423049311/build/58175805992563370
GOG Database
Cyberpunk 2077 - Build 58175805992563370
quickest-silverOP•5mo ago
thank you!
genetic-orange•5mo ago
and if you wanted to load yourself builds by game id, thats a different story
I can explain that if you need
quickest-silverOP•5mo ago
I would appreciate it if thats okay