A toolkit for extracting and creating PlayStation 2 TIM2 textures. Originally developed for use with the PlayStation BB Navigator (PSBBN) textures, but adaptable for other projects too.
Extracts images from PlayStation 2 TIM2 format .tm2 textures and saves them as .png images in the current working directory.
Usage:
tm2extract.py [-f|--flatten] <input_file.tm2>
--flattenor-f: removes the alpha channel in the exported PNG- Without this flag, the PNG is exported with the alpha channel preserved
Creates TIM2 format .tm2 textures from an image and saves them to the current working directory. Max resolution 256x256.
Usage:
tm2create.py <input.png>
TM2 Toolkit - Copyright © 2026 by CosmicScale
All scripts written by CosmicScale