Expand description
Pack lifecycle and metadata operations: open, create, save, close, flags, settings and notes.
Constantsยง
- AUTOSAVE_
FOLDER_ ๐SIZE_ WARNING - Size of the autosave folder, in bytes, over which a warning is logged after each autosave (25 GB).
- CA_
PACKS_ ๐NAME - Name of the pack with all the CA packs of the selected game merged.
- DEFAULT_
PACK_ ๐EXT - Extension appended to
DEFAULT_PACK_STEMwhen materialising a new Packโs filename. - DEFAULT_
PACK_ ๐STEM - Stem used to seed names for newly created Packs (
new_pack.pack,new_pack_2.pack, โฆ).
Functionsยง
- derive_
new_ ๐pack_ name - Derives a pack name for new (unsaved) packs no open pack has, like โnew_pack.packโ, โnew_pack_2.packโ, etc.
- note_
entry ๐ - Returns a note as an API entry.
- save_
autosave ๐ - Saves a pack as a new autosave in a folder, removing the oldest autosaves over the amount to keep.