User Tools

Site Tools


guide:persist.pack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
guide:persist.pack [2017-03-24 08:36]
skyjake [Contents]
guide:persist.pack [2017-03-24 08:36] (current)
skyjake [modules/Config]
Line 1: Line 1:
 +====== persist.pack ======
 +
 +**persist.pack** is the name of the special resource package where [[:Doomsday 2]] keeps all persistent application data. The package is stored in the user's runtime folder.
 +
 +The package uses the standard Doomsday resource package format (ZIP/PK3 with [[modding:​Info]] metadata).
 +
 +
 +===== Contents =====
 +
 +
 +
 +^ File^ Description |
 +| Info| Metadata about the package. |
 +| modules/​Config| Serialized ''​Config''​ namespace: configuration variables and routines. |
 +| UIState | State of UI widgets. |
 +
 +==== Info ====
 +
 +[[fs:​package|Package metadata]].
 +
 +==== modules/​Config ====
 +
 +The ''​Config''​ [[script:​record|namespace]] contains settings such as:
 +  * automatic updater preferences
 +  * window position and mode
 +  * enabled log levels and alert preferences
 +  * which tabs are visible in Home
 +  * local packages to be loaded when joining a multiplayer game
 +  * overall pixel density setting for the renderer
 +  * audio backend preferences
 +  * folders for locating IWADs and other packages
 +
 +==== UIState ====
 +
 +Persistent state for UI widgets so it can be restored in the future. Used for example for remembering console commands entered in the past.
 +
 +===== Restoring all settings to defaults =====
 +
 +
 +One can delete **persist.pack** to force the engine to restore //all// settings to defaults. (All settings saved in persist.pack,​ that is.) 
 +
 +The ''​-reset''​ option can also be used to do this. ([[version:​1.11]] →)
 +
 +
  
guide/persist.pack.txt · Last modified: 2017-03-24 08:36 by skyjake