Small script that will convert TM2 files to the GIM format used by the Ace Combat games released for the PS2.
ACE COMBAT TM2 TO GIM CONVERTER
by death_the_d0g
About:
This script will convert TM2 files to the texture format used by the Ace Combat PS2's trilogy so they can be added to these games via any GIM injector.
Requirements:
-Have Python version 3.8.5 or newer installed in your computer.
-TM2 files to convert.
Usage:
Place your TM2 files in the TM2_IN folder then run the ACE COMBAT TM2 to GIM converter script file. It will grab all the available TM2 files, convert them to GIM files and place them in the GIM_OUT folder so they can be used for livery injections later.
Notes:
-The TM2 files must use a resolution of 512x512, have an exact file size of 263232 bytes and begin with a proper TIM2 header, otherwise the script will ignore them when processing the contents of the TM2_IN folder.
-If you are converting textures for AC04, usthe script with the [AC04] filename, otherwise use the [ACZ] one.
Special Thanks:
BelkanLoyalist (@ Twitter and ModDB) for testing.
Contact:
death_the_d0g @ Twitter and ModDB
Charles Charleston @ Youtube