Glossary talk:Game data

About this board

Hawaii Beach (talkcontribs)

{{p|uid}} (<path-) takes me here but there's no information about user ids?

Blackbird (talkcontribs)

Well spotted! I guess it should be added below <path-to-game> explanation
EDIT: Added something. Anyone is free to reword it, if need be :)

Reply to "User id not in glossary?"
ToXicKnight (talkcontribs)

Should the template for supporting / not supporting the XDG specifications be be independent for config and save files?


This game follows the XDG Base Directory Specification on Linux.
This game does not follow the XDG Base Directory Specification on Linux.

Often games store their config files within the save location which is at the XDG save location rather than splitting into save and config. For the wiki should we say that it correctly follows the specification for save files but not config files?

For example here (comments in source):

Anonymous (talkcontribs)

We do not really worry about that. As far as I'm concerned, at least using the data path is great. Plus SDL2's SDL_GetPrefPath recommends the data directory, and it's enough of an achievement as it is.

As to FTL, I am not aware of it being a botched job like that - both the config file and the save files are in XDG_DATA_HOME, rather than one always using .local/share as the page implies.

If it uses either path, it's meant to be true. And in fact, it can be both - see Bit.Trip Presents... Runner2: Future Legend of Rhythm Alien, which uses XDG_DATA_HOME, but fails to use XDG_CONFIG_HOME correctly.

ToXicKnight (talkcontribs)

To elaborate on my chain of unhelpful edits, I changed it to say .local/share since I thought it was incorrect using data_home for config files, I didn't consider that it is still a variable even if it is not in the exact technical location available.

Your example with Bit.Trip Presents... Runner2: Future Legend of Rhythm Alien confuses me somewhat. Is it both because the save data is using the variable for data_home and the config is using the absolute fallback location for config_home?

Anonymous (talkcontribs)

Yes, that's the point here. Bit.Trip saves save games to XDG_DATA_HOME, but always uses the fallback for config files, never using XDG_CONFIG_HOME.

Reply to "XDG Path Locations Ambigiuity"

Shouldn't "Installation folder" be named "Path to game"?

Nicereddy (talkcontribs)

Or at least have an obvious note about it also being referred to as "Path to game" seeing as that's what we use in the actual template?

Reply to "Shouldn't "Installation folder" be named "Path to game"?"
There are no older topics