Multiple chunks of the same ID
IFFChunkTool » Devlog
Designing IFFChunkTool I was not aware that IFF files can contain multiple chunks with the same chunk ID. For example system preferences files. "ENV:Sys/font.prefs" contains 3 'FONT' chunks.
Release 1.1 adds support for such chunks. They are enumerated and may be referenced by chunk ID plus ordinal number separated by a dot. For example 'FONT.0', 'FONT.1' and so on. ID without a number means chunk 0, so the system is backwards compatible.
LIST operation mode adds numbers when there is more than one chunk of given ID. Modes: DUMP, EXTRACT, REMOVE, REPLACE and INSERT (in AFTER argument) accept enumerated chunks.
A small example. Inserting 'ABCD' chunk after the second 'FONT' chunk in a file:
IFFChunkTool ENV:Sys/font.prefs INSERT ABCD "some contents" AFTER FONT.1 TO RAM:modified.prefs
Files
iffchunktool-1.1.lha 12 kB
11 days ago
Get IFFChunkTool
IFFChunkTool
A command-line tool for manipulating IFF file chunks.
More posts
- 1.0 Release15 days ago
- More features added17 days ago
- The first feature complete version19 days ago
- Refactoring, added functionality25 days ago
Leave a comment
Log in with itch.io to leave a comment.