Assets.txt
From KK's Wiki
Revision as of 23:05, 16 June 2020 by Krzysiek (Talk | contribs) (Created page with "Category:dreadtool The ''assets.txt'' file controls what assets are imported, and how the import process is performed. === File Structure === The file is a list of defin...")
The assets.txt file controls what assets are imported, and how the import process is performed.
File Structure
The file is a list of definition entries. Using one of the following keywords:
- palette
- gfxgroup
Example assets.txt file could have the following structure:
palette Main { ... define palette 'Main' here ... } palette HUD { ... define palette 'HUD' here ... } ... define other palettes if needed ... gfxgroup Textures { ... specify group contents ... } ... define other groups and/or palettes ...
Comments
The file accepts both C-style single line comments, and shell-style comments.
// This is a comment. # This is a comment too.
Palette definition
A palette is defined by specifying color values and dithering options.
- Color