etternagame / etterna

Advanced cross-platform rhythm game focused on keyboard play
https://etternaonline.com/
MIT License
509 stars 136 forks source link

SQLite cache doesn't respect non-portable mode #850

Closed hexptr closed 4 years ago

hexptr commented 4 years ago

Describe the bug

Various issues around the cache:

I'm running on Linux.

To Reproduce Steps to reproduce the behavior:

  1. Start the game
  2. Observe the cache files be written to the wrong place

Expected behavior Expect the cache files to be written out to ~/.stepmania-5.0/Cache

Desktop (please complete the following information):

I will look into this unless this is a known bug that someone already has context on.

poco0317 commented 4 years ago

On one hand non-portable mode is almost entirely removed. On the other, it isn't completely forgotten because we keep having these long discussions that go nowhere talking about how every platform would be better or worse having portability treated in some specific way. I would prefer to remove this option.

hexptr commented 4 years ago

Ah, if the intention is to remove non-portable mode, then I will go ahead and

  1. close this bug
  2. rewrite the AUR package for Etterna on Arch Linux so that it copies the game to the player's homedir before startup (once per upgrade as required) just to avoid having to use weird everyone-can-write-everywhere permissions