Wrong determination of personal directory #7311
Version of OpenTTD
Tested on trunk 90a4737
Normal game runs fine after OpenGRF baseset has been downloaded from ingame, and thus resides in
A patched regression run (one where the custom configuration file
No error is reported.
Regression test execution fails to find the OpenGRF archive, which yields an error.
Steps to reproduce
The following lines of
Then, the following line replicate
The text was updated successfully, but these errors were encountered:
I discovered the following (the line numbers are the ones of some added
I am not even talking about the XDG directories, here:
This issue has been automatically marked as stale because it has not had any activity in the last two months.
One of the key behaviours of the "-c" option is: When OpenTTD writes files without user interaction for selecting a location, it only writes files relative to the config file (i.e. relative to the -c directory). This includes autosaves, screenshots and download content.
That is, it is intended behaviour that SP_AUTODOWNLOAD_DIR refers to the directory of the "-c" option:
So, this issue boils down to
Two possible solutions: