Module preferences
Vassal stores user preferences - those set in File→Preferences of a module - in a file on your machine. Sometimes, it can be useful to be able to remove all these preferences and do a “factory reset” on a given module, or edit the preferences by hand to get out a predicament. The user preferences are stored in a directory which depends on the Operating System (OS) used.
| OS | Path |
|---|---|
C:\Users\USERNAME\AppData\Roaming\VASSAL\prefs\ |
|
~/Library/Application Support/VASSAL/prefs/ |
|
~/.VASSAL/prefs/ |
Note: On
the directory
C:\Users\USERNAME\AppDatais typically hidden. To access that directory, write the exact path in the location bar of the File Explorer.
The name of the file that a given module’s user preferences are stored in is derived from the title of the module. If the module is called The Greatest Battle of All, then the name of the preference file will be
The_20_Greatest_20_Battle_20_of_20_All
For each character in the module title that is not a letter (
a-zorA-Z) or digit (0-9), is replaced by the code-point (integer representation) of that character, surrounded by two_.
Thus, the user preference of the module The Greatest Battle of All is stored in one of
| OS | Path |
|---|---|
C:\Users\USERNAME\AppData\Roaming\VASSAL\prefs\The_20_Greatest_20_Battle_20_of_20_All |
|
~/Library/Application Support/VASSAL/prefs/The_20_Greatest_20_Battle_20_of_20_All |
|
~/.VASSAL/prefs/The_20_Greatest_20_Battle_20_of_20_All |
General Vassal user preferences
The general user preferences of Vassal - those available from File→Preferences in the Module Manager are stored in
| OS | Path |
|---|---|
C:\Users\USERNAME\AppData\Roaming\VASSAL\prefs\V_Global |
|
~/Library/Application Support/VASSAL/prefs/V_Global |
|
~/.VASSAL/prefs/V_Global |
If you want to “factory reset”, you can delete that file.
Factory-reset everything
If one deletes the Vassal user directory
| OS | Path |
|---|---|
C:\Users\USERNAME\AppData\Roaming\VASSAL\ |
|
~/Library/Application Support/VASSAL |
|
~/.VASSAL |
one effectively does a full “factory reset” of Vassal.