Repository navigation
LastTexture is a command-line tool designed for converting .SHTXPS texture files to .PNG and vice versa. It is especially useful for modding and editing textures for games or applications that utilize the .SHTXPS format.
Features
- Convert
.SHTXPSto.PNG: Extract textures from.SHTXPSfiles for easy editing or analysis. - Convert
.PNGto.SHTXPS: Repackage modified.PNGfiles back into the.SHTXPSformat. - Batch Conversion: Convert all files in a folder at once.
- Flexible Output Options: Define output paths or use the input directory by default.
Important Note
When converting .PNG back to .SHTXPS, the image must meet the following criteria:
- Palette Size: The image must have exactly 256 colors in its palette.
Failing to meet this requirement will result in a failed conversion.
Usage
Refer to the README in the repository or the -help command for more detailed instructions on how to use the tool.
Feel free to test, report issues, and suggest improvements.