Missing Savefiles - please warn if started from ~/.config/openttd/ #8073
Version of OpenTTD
OpenTTD 1.9.3 (Debian Linux)
Show my savefiles
expected savefiles not visible, due to selection of wrong path (~/.config/openttd/save instead of ~/.local/share/openttd/save)
Steps to reproduce
start openttd from your home, save game, quit openttd; goto config directory (cd ~/.config/openttd), start openttd from there, recent saved savefile gone. quit openttd; go back to home (cd ~) and start openttd from there, savefile visible again.
Haven't looked a the code, if this is on purpose or not, in any case it was a good scare. So please add a warning, at least on the shell, if started from an special place (looks like it only applies if starting from the configdirectory, every other location I tested didn't provoke this behavior).
The text was updated successfully, but these errors were encountered:
@ Eddi-z: Thanks. What should I've learnt there? The problem is not that it behaves differently for a reason (or without one). The problem is, that for a normal user it is not easy to see why it sudden behaves different and that it is somehow intended. Therefor a small hint "found savefiles in .config/save, but also found *.sav in ~/.local/share/openttd (likely due to respect of $XDG_DATA_HOME) - dismiss/remeber_dismissed" would be helpful. If you don't pay attention to the directory you're in when starting openttd -and who does all the time?- it appears as if your computer has lost the files. Scary experience.
There have been several changes and fixes to how we look-up files and folders. I think this is mostly fixed (mainly due to #8357).
Both notes are unlikely to ever happen in normal usage. So as long as you started the game once normally, you can now safely start it from
If this isn't fixed for you, feel free to reopen :)