TBAFS
From Just Solve the File Format Problem
TBAFS is an archiver for RISC OS. On RISC OS systems, files in this format typically have a filetype of B21 ("TBAFSarc").
Format details
| File Header | |
|---|---|
| 0 | Word containing "TAFS" |
| 4 | Unknown (0xC8) |
| 8 | Size of the header (0x10) |
| 12 | Unknown (0x90) |
| 16 | Directory header for the root directory |
| Directory header | |
| 0 | Unknown (0x00) |
| 4 | Unknown (0x00) |
| 8 | Offset to array of directory entries |
| 12 | Offset to array of directory entries |
| Directory entry (file) | |
| 0 | Entry type (1) |
| 4 | Load address |
| 8 | Exec address |
| 12 | Uncompressed size |
| 16 | Name (40 bytes, null terminated) |
| 20 | Unknown |
| 24 | Offset to file |
| Directory entry (subdirectory) | |
| 0 | Entry type (2) |
| 4 | Load address |
| 8 | Exec address |
| 12 | Uncompressed size (0) |
| 16 | Unknown |
| 20 | Name (40 bytes, null terminated) |
| 24 | Offset to file |
| Directory entry (blank) | |
| 0 | Entry type (-1) |
| 4 | 0 (60 bytes) |