[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!
Was this page helpful?