ZDoom / gzdoom

GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
http://zdoom.org
GNU General Public License v3.0
2.47k stars 540 forks source link

[Feature] linux XDG Base Directory Specification compliance #2555

Open pirate486743186 opened 5 months ago

pirate486743186 commented 5 months ago

GZDoom version

No response

Which game are you running with GZDoom?

None

What Operating System are you using?

Linux x86_64

If Other OS, please describe

No response

Relevant hardware info

No response

Is your feature request related to a problem? Please describe.

The save files should be saved in .local/share/gzdoom . To be exact.

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

$XDG_DATA_HOME defines the base directory relative to which user-specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.

the config is fine where it is.

Describe the solution you'd like

Yea, this is not super sexy, but standards matter...

Devs don't like moving stuff around in this manner, it's a source of errors. I'm suggesting to implement this when compatibility with current save files brakes. Maybe for version 5.0 .

Describe alternatives you've considered

No response

Add any other context or screenshots about the feature request here.

No response