massimilianodelliubaldini / galaxy-integration-rpcs3

GOG Galaxy 2.0 Integration with RPCS3
MIT License
22 stars 6 forks source link

fixed game time tracking #28

Open Dayflare opened 3 years ago

Dayflare commented 3 years ago

read game times directly from rpcs3 config file at rpcs3-v0.0.16_win64\GuiConfigs\persistent_settings.dat No need for own time tracking if the emulator keeps track of it, like the cemu plugin.

drawback: the emulator saves on last play time only the date, not the time, so this will show up in gog at the last play time date 00:00 o clock. right after closing the game you will see something like "last played 16 hours ago".

maybe i'm looking into fixing the achievments too.

ManemanFTW commented 1 year ago

hi, did u managed to fix the achievements, i fixed an issue with your branch and changed the game time object to epoch so now that works fine, the last time played is still broken but eh, thats fine.

When it comes to the achievements i did a refactor to that module and managed to get the id of the achievement (it was set to None before) but had no luck with gog. I compared the objects to the documentation and to the xbox official plug in and am sure am sending the right thing, even the logs show success but gog wont show them :c