THANM(1) | General Commands Manual | THANM(1) |
thanm
— Touhou
sprite archive tool
thanm |
[-Vf ] [-l |
-x | -r |
-c ] [archive
[...]] |
The thanm
utility performs various actions
on sprite archives. The following commands are available:
thanm
-l
[-f
] archivethanm
-x
[-f
] archive
[file ...]thanm
-r
[-f
] archive
name file-l
command.thanm
-c
[-f
] archive
input-l
command. It will look for referenced image
files in the current directory.thanm
-V
These options are accepted:
-f
-f
option can be used to ignore certain
errors.The thanm
utility exits with 0 on success,
1 on error.
A few files from TH12 and TH13 contain overlapping entries with different formats. Dumping and recreating these archives will not result in the same archives. The affected pixels seem to all have 0 for alpha though.
One of the scripts in TH95's front.anm lack a sentinel instruction. Dumping and recreating this archive will add a sentinel instruction.
File names may not be properly sanitized when extracting. Furthermode, invalid data may not be properly handled. Do not operate on untrusted files.
March 16, 2018 | thtk-12 |