Opened 10 years ago
Last modified 3 years ago
#2553 closed defect
VFS problem with user.cfg on Windows — at Initial Version
Reported by: | Itms | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 25 |
Component: | Core engine | Keywords: | vfs |
Cc: | Patch: |
Description
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/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.