Command Reference - Command Data Types

Textures are stored in a DS-specific texture format. No problem, because a converter is included in the tools folder (if you don't have a tools folder, you need to download the "+ Source" release). Open up a command prompt and browse to "tools/texmex-0.04". Then run "texmex format filename" to convert the file. Replace format by -1 to convert to A3I5 format, -6 for A5I3 and -4 for RGB256.

    A3I5        3-bit alpha, 32 colors
    A3I5        5-bit alpha, 8 colors
    RGB256      no alpha, 256 colors

##### Typical Usage

We want to use chen.png as our boss texture. So first we convert to the format we want (A3I5 in this case):

    texmex -1 "c:/temp/chen.png"

That generates two files: chen.dta and chen.pal. We copy those to "games/game_template/normal/stage1", and open "games/game_template/normal/stage1.ini". Then we add the line:

    tex_boss=chen:A3I5

to override the default boss texture with our new image.