#2553 closed defect (fixed)
VFS problem with user.cfg on Windows
Reported by: | Itms | Owned by: | wraitii |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 25 |
Component: | Core engine | Keywords: | vfs |
Cc: | Patch: | Phab:D3217 |
Description (last modified by )
I encountered this problem on the alpha16 rcs: my config changes were not remembered.
After a quick research I found out that a file mods/user/config/user.cfg was created in my My Games/ folder (see GameDataPaths). This file was identical to my %appdata/0ad/config/user.cfg but none of the two files was modified by the game.
This only happens for a non-development copy. The reason is the code in GameSetup.cpp, at line 405 a "user" mod is created and at line 465 the use of My Games/ folder is forced with higher priority.
I know issues with VFS are already investigated but I wanted to log this issue somewhere for information.
I solved the problem by removing all the contents of mods/ in My Games/. I can't remember if I touched the files in there nor when.
Change History (9)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Description: | modified (diff) |
---|
Sorry, it was actually mods/user/config/user.cfg. I correct the ticket.
follow-up: 4 comment:3 by , 8 years ago
Another problem noted with user.cfg on IRC: http://irclogs.wildfiregames.com/2016-04-25-QuakeNet-%230ad.log
The user.cfg wasn't created when setting the language, but it was created when changing another setting.
comment:4 by , 7 years ago
Replying to sanderd17:
Another problem noted with user.cfg on IRC: http://irclogs.wildfiregames.com/2016-04-25-QuakeNet-%230ad.log
The user.cfg wasn't created when setting the language, but it was created when changing another setting.
comment:5 by , 7 years ago
What was the problem? What did you try to save (options, languages, etc)?
comment:6 by , 4 years ago
Description: | modified (diff) |
---|---|
Milestone: | Backlog → Alpha 24 |
Patch: | → Phab:D2781 |
Thanks Stan for noticing. This is fixed by Phab:D2781.
comment:7 by , 3 years ago
Cc: | removed |
---|---|
Milestone: | Alpha 24 → Alpha 25 |
Patch: | Phab:D2781 → Phab:D3217 |
Moved to Phab:D3217 I ain't fixing this for A24, somewhat likely to introduce weirdness.
Was it mods/user/user.cfg or mods/user/config/user.cfg?