# RE knowledge index Confidence: βœ… `CONFIRMED` Β· 🟑 `PROBABLE` Β· ❔ `HYPOTHESIS`. See [README](README.md). Formats we've already reversed are, for now, **documented by their parser + disc round-trip tests** (the executable spec) rather than a prose file β€” the "Spec" column points there. Promote to a prose `structures/…md` file when a format needs behavioural notes beyond layout. ## Data structures / formats | Format | Conf. | Spec (parser + tests) | Notes | |--------|-------|-----------------------|-------| | IPFB `.pak` archive | βœ… | `sylpheed-formats/src/pak.rs` + `tests/pak_idxd_disc.rs` | header + 12-byte TOC, Z1/zlib payloads | | name-hash (TOC keys) | βœ… | `sylpheed-formats/src/hash.rs` | Barrett-reduction hash; recovers original paths | | IDXD object/table | βœ… | `sylpheed-formats/src/idxd.rs` | self-describing; ship/weapon stats verified vs known values | | XPR2 texture + cubemap | 🟑 | `sylpheed-formats/src/texture.rs` | de-tile + A8R8G8B8; **colours unverified** (dynamic item) | | T8aD 2D texture | 🟑 | `sylpheed-formats/src/t8ad.rs` | ~85% decode; **colours βœ… CONFIRMED** ([k8888](structures/texture-color-k8888.md)); ~15% variants deferred | | RATC bundle | 🟑 | `sylpheed-formats/src/ratc.rs` | child listing confirmed; one level deep | | LSTA sprite list | 🟑 | `sylpheed-formats/src/lsta.rs` | inline T8aD frames | | IXUD subtitle | 🟑 | `sylpheed-formats/src/ixud.rs` | timed cues; **movie↔track link unknown** (dynamic item) | | Fonts (ttf/otf/ttc) | βœ… | `sylpheed-formats/src/font.rs` | standard OpenType, parsed via ttf-parser | | XBG7 mesh | 🟑/❔ | `sylpheed-formats/src/mesh.rs` + `tests/mesh_disc.rs` ([xbg7](structures/xbg7-mesh.md)) | weapons/props: declaration-driven variable stride (36 models), GPU-confirmed. **Stage containers: 5662 sub-models across 22 stages** via content-anchored grouped pools (`stage_models`). Quantized hero bodies (DeltaSaber `f004`) still declined | | Capital-ship part placement | 🟑 | `sylpheed-formats/src/ship.rs` (static) + [runtime capture](ship-placement-runtime-capture.md) | hull placement static-exact; external parts approximate statically. **Runtime capture** (Canary F10 β†’ VS-constant WorldView) gives ground truth β€” validated on `e106` destroyer; not yet baked into the viewer | | Weapon fields defaulted on disc | βœ… | [runtime struct](structures/weapon-struct-runtime.md) Β· [DATA SHEET route](weapon-datasheet-runtime.md) | **Solved.** Canary maps guest RAM into `/dev/shm`, so the parsed `Weapon`/`Shell` objects are readable live; their layout is solved against disc ground truth (zero contradictions over 100+ records). All 126 weapons, exact numbers, no story progress needed β€” [4 393 values](captures/weapon-runtime-fields.csv) the disc does not carry. Supersedes the letter-bucket limit of the DATA SHEET route, which now serves as the independent cross-check | | UI screen layout (`.rat`) | βœ…/🟑 | [ui-rat-layout](structures/ui-rat-layout.md) | One pak per UI screen; each RATC = one (context Γ— language) build; every `.t32` sprite has a `.rat` **layout record** (BE u32; 1280Γ—720 design space; scale/tint/X/Y, keyframes for animated elements, `opt ` link to the focused state). **The tutorial PAUSE menu and the title main menu both rebuild pixel-accurately from the disc.** `loop1.rat` (screen-level draw order) not yet decoded | ## Runtime / dynamic-capture technique | Technique | Conf. | Spec | Notes | |-----------|-------|------|-------| | Live guest-memory read | βœ… | [`tools/re-capture/gmem.py`](../../tools/re-capture/gmem.py) | Canary backs the guest address space with `/dev/shm/xenia_memory_*`; guest VAs map in through Xenia's fixed table. Full-RAM search ~0.2 s (sparse, `SEEK_DATA`). No debugger, no emulator patch, game keeps running | | IDXD object layout solver | βœ… | [`tools/re-capture/weapon_runtime.py`](../../tools/re-capture/weapon_runtime.py) | Scan RAM for a class's vtable β†’ enumerate its objects β†’ brute-force `(field, offset, encoding)` against the disc records. Accepts a binding only on **zero** contradictions. Generalizes to any IDXD-backed definition | ## Functions / code paths _None documented yet β€” populated during the dynamic-RE phase._ | Function | Conf. | Reimpl. | Summary | |----------|-------|---------|---------| | β€” | β€” | β€” | β€” |