Allows shrinking and converting carsets and tracks for the game Indy Car Racing 2. Also includes GTREdit - Graphical TREdit tool to simplify mip reduction of ICR2 carsets.
Currently does not correctly support tracks, but carsets do work.
To convert an unpacked carset:
TREdit <unpacked DAT folder> -convert <target folder>
You may have to copy in files outside the dat file like drivers.txt.
To unpack a DAT:
TREdit <path to DAT file> -unpack <output folder>
Files outside the dat file are not currently copied to the output folder.
To extract or explode MIPs from an unpacked track DAT:
TREDit <Unpacked DAT folder> -explode <output folder>
To extract or explode MIPs from an unpacked carset:
TREdit <Unpacked DAT folder> -palette <path to sunny.pcx> -explode <output folder>
The sunny.pcx can be found by unpacking one of the built in track DATs.
TREdit <ShrunkMIPFolder> -palette <pathToSunny,.cx> -track -convert <Mi4Folder>
Features
- Shrinking MIP maps
- 256 colour to 16 colour texture conversion
- Floyd Steinberg colour conversion/dithering