Program to handle colour palettes, heightmaps and textures from the 1995 title Big Red Racing.
The following file types from Big Red Racing are supported.
.COL
colour palettes.MPH
heightmaps.RAW
textures.TM
textures (require a colour palette to be given)
The latest binaries for Windows, Debian and macOS are available at GitHub Releases.
To decode a given image DECALS.TM
with palette DEFAULT.COL
to a GIF decals.gif
, execute the following.
red-image -d DECALS.TM DEFAULT.COL decals.gif
To encode a given GIF decals.gif
with palette DEFAULT.COL
to a image DECALS.TM
, execute the following.
red-image -e decals.gif DEFAULT.COL DECALS.TM
Compilation requires a C compiler and CMake.
To generate the build files, execute the following from the root project folder.
cmake . -B build
To build the project, execute the following from the root project folder.
cmake --build build
You can find the output binaries in the bin
folder.