RATools icon indicating copy to clipboard operation
RATools copied to clipboard

[feature request] fetch achievements and notes from server

Open Jamiras opened this issue 7 years ago • 2 comments

To dump scripts currently, you have to first open the game in the emulator so the code notes and achievements are available locally. This is because they're fetched using the user's credentials, and RATools doesn't currently support logging in.

Need some way for the user to enter their credentials, and to cache the resulting token in a manner similar to the way the emulators do. Then the token can be used to retrieve the code notes and achievements for games the user may not even have.

Jamiras avatar Jan 24 '18 02:01 Jamiras

I predict an issue with it: how can RATools put the CodeNotes/Achievements files in the correct Cache directory?

As far as I realize RATools know nothing (and don't even need to know) about the emulated system.

Maybe that ini file should have fields like nesCacheDir, snesCacheDir, etc...

meleu avatar Jan 24 '18 15:01 meleu

based on what I commented above I had the following idea:

  • split RACachDirectory to system specific entries, like nesCacheDir, snesCachDir, genesisCacheDir, etc...
  • when loading CodeNotes/Achievements for an arbitrary game ID, put those files in the right *CacheDir, based on the console to which this game belongs.
  • if this entry is invalid or inexistent, open a dialog to let the user choose a CacheDir to the respective console.

meleu avatar Jan 24 '18 16:01 meleu