Player icon indicating copy to clipboard operation
Player copied to clipboard

[Suggestion] Global data area

Open donmor opened this issue 3 years ago • 1 comments

Player platform:

Windows, Linux, macOS, ...

Currently the EasyRPG Player for PCs is always "portable", even if globally installed using apt. There could be a way to make it possible to keep some data globally:

  1. If working directory is a game directory, just do what it currently do.
  2. If is starting game browser, then try to load data from either ~/.easyrpg or ~/.config/eassyrpg (Linux/Unix), %USERPROFILE%\AppData\Local\easyrpg.
  3. This can be overridden by --portable true/false.
  4. Thing in global data directory can be:
    • RTP data (./rtp)
    • Save data (./saves/<GAME_DIR_NAME>)
    • Soundfont (./soundbank.sf2)
    • RPG_RT.ini (./RPG_RT.ini) (overridden by those in the game directory)
  5. Can be overridden by --rtp-path, --save-path, etc.
  6. games (./games) (scanned and pinned to the top of game browser, separated by a separator line)

donmor avatar Jun 07 '22 17:06 donmor

These are some really good ideas. :-)

Parts of this are already planned or working. See #666 for example for configuration stuff.

At least the RTP can nowadays be installed globally.

The rest is only possible currently with command line switches, which would it make easy to launch from a custom browser like steam.

carstene1ns avatar Jun 07 '22 17:06 carstene1ns