Skip to content

Repository files navigation

Die Texconv-Maschine

Your faithful reddit meme gif to Gamecube renderable pipeline tool.

Encodes many image formats to GC-friendly image formats.

Usage

USAGE:
texconv [OPTIONS]
OPTIONS:
--wrap <VALUE> Wrapping strategy (valid values: clamp, repeat, mirror)
--filter <VALUE> Filter (valid values: near, bilinear, trilinear)
--color-format <VALUE> Output color format (see README for list)
--palette-format <VALUE> Palette color format (see README for list)
--mipmap-min <VALUE> Minimum mipmap level (0-10)
--mipmap-max <VALUE> Maximum mipmap level (0-10)
--in <VALUE> Image file to convert
--out <VALUE> Output file
-h, --help Show this help output.
--color <VALUE> When to use colors (*auto*, never, always).

Example: texconv --in ./testdata/alpha.png --color-format IA8 --out test.bin

See below for color and palette formats (at time of writing not all of them are implemented)

Color formats

ValueDescription
I4Grayscale 4bit (I4)
IA4Grayscale + Alpha 4bit (I4A4)
IA8Grayscale + Alpha 8bit (I8A8)
RGB565Limited color (R5G6B5)
RGBA8Full 8bpc color (A8R8G8B8)
I8Grayscale 8bit (I8)
RGB5A3Limited color and alpha (R4B4G4A3|R5B5G5)
A8Alpha-only 8bit (A8)
CI4Palette-indexed 4bit (CI4)
CI8Palette-indexed 8bit (CI8)

Palette color formats

ValueDescription
IA8Grayscale + Alpha 8bit (I8A8)
RGB565Limited color (R5G6B5)
RGB5A3Limited color and alpha (R4B4G4A3|R5B5G5)

License

AGPL-3.0-only, check LICENSE for full text

About

Turns normal pictures into Gamecube-friendly normal pictures

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages