EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
1.01k stars 192 forks source link

Remote Storage for Savegames #1213

Open rygos opened 7 years ago

rygos commented 7 years ago

Allow to specify a remote storage for Savegames. The EasyRPG Player could then read through a JSON API with a server corresponding Savegames. For example, the web player already uses such a system. For example, you could access the Savegames anywhere without having to download them manually and upload them later. The problem at this point is that the player must also be able to recognize the correct game and its version. For that I wrote another ticket.

Ghabry commented 7 years ago

Indirectly depends on #1085 because that could be part of a custom FS provided by the VFS layer. Like we alread do it in emscripten.

Ghabry commented 7 years ago

How do you plan to do the authentification? Putting an API-Token in the JSON?

For the savegame list the current emscripten solution used on rmarchiv (dictionary with keys 1-15 and value base64(lsd) could be used.

rygos commented 7 years ago

Yes, that could be used already. Note: I am talking about the offline player. Not the WebPlayer.

Yes, I would use the JSON structure of the web server for the data transfer, makes the most sense. For authentication I would suggest to use jwt (JSON Web token).