Assets.txt
From KK's Wiki
This page is still under construction - much of the infrmation is still to be filled
File Structure
The assets.txt file controls what assets are imported, and how the import process is performed.
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. Use the following syntax.
- $xxx (color definition)
A dollar sign $ within palette definition adds one color to the palette. 3 hex digits specify the value of red, green and blue components, 4 bits per component (Amiga OCS precision).
$000 // black
$222 // gray ramp
$333 // |
$555 // |
$777 // |
$BBB // |
$FFF // white
$343 // green ramp
$573 // |
$774 // |
$004 // blue
$320 // brown
$431 // brown
$CA5 // yellow
$C00 // red
$600 // |