File Formats Overview
Binary, little-endian file formats.
| File Type | Extension(s) | Parser | Output | Docs | Description |
|---|---|---|---|---|---|
| Sound Effects | .sfx | yes | .wav files (directory extract) | SFX.md | All game sound effects in a single container (MAIN.SFX); 118 raw PCM clips. |
| Dialogue Audio | .rtx | yes | .wav files + index.json (directory extract) | RTX.md | Dialogue text + voice clip container (ENGLISH.RTX) with chunk index footer (RNAV); 4866 entries (3933 voice clips, 933 text-only). |
| Audio | .ogg | — | — | Ogg Vorbis spec | Ogg Vorbis format used for game audio. |
| TEXBSI | .### | yes | .png files (directory extract) + metadata .json | TEXBSI.md | Texture container (TEXBSI.###); indexed-color images with optional palettes and animation. |
| Palette | .col | yes | swatch .png + palette .json | COL.md | 256-color palette files; 776 bytes (8-byte header + 256×RGB). |
| Font | .fnt | yes | .png + BMFont .fnt + glyph .json, or .ttf | FNT.md | Font graphics files—56-byte header + optional palette data. |
| Model | .3d | yes | .glb | 3D | Static 3D models. |
| Animated Model | .3dc | yes | .glb | 3DC | Animated 3D models (multi-frame). |
| ROB Archive | .rob | yes | .glb | ROB.md | Contains world/dungeon model data; used within maps. |
| Map Data | .rgm | yes | .glb + metadata .json | RGM.md | Game map files containing sections for objects, scripts, locations, collisions, etc. |
| World Geometry | .wld | yes | .glb + metadata .json, or map .png set | WLD.md | World geometry/height-map data with 4 sections and 128×128 maps; supports terrain GLB export (and companion RGM merge). |
| Visibility Octree | .pvo | yes | .json | PVO | Pre-computed visibility octree for level geometry culling. |
| Cheat States | .cht | yes | — | CHT.md | Cheat persistence file (REDGUARD.CHT); 256-byte raw dump of 64 u32 LE cheat state slots. |
| SOUP386.DEF | .def | yes | — | SOUPDEF.md | Definition-file format for SOUP callable functions, references/equates, attributes, and global flags. |