• v0.2.0 0aea8a28fe

    github-bot released this 2026-11-28 02:18:33 +00:00 | 13 commits to main since this release

    @⁠nineforge0 on GitHub · 2026-11-28 02:18 UTC · original

    What's new

    Encryption & archives

    • 22 key schedules in 7 families (was 9 keys / 1 family) — every archive in the corpus now opens
    • Offset bit 32 fix: archives >64 GiB (levels.rpf, 70.9 GiB) now parse correctly; bit 0 of the record flags word carries the 33rd offset bit
    • Nested PSIN index paths: forge9 psin script.rpf 1/10 addresses entry 10 of nested archive 1

    PSIN binary-XML

    • Full DOM decoder: IFF-chunk chain, struct/enum schemas (LSCH/LENM), block layout, attribute types, pool reference encoding
    • XML export: forge9 psin archive.rpf INDEX --xml renders any PSIN entry as XML
    • Schema database: forge9 schema-db harvests struct/enum definitions across archives with dedup — 6,710 structs, 1,132 enums in the retail data
    • Object graph parser: forge9 object-graph decodes the typed pointer forest in script.rpf — 30,683 records, 483 roots, 67 types

    Character models

    • --bind flag: force-bind texture keys to materials: --bind diffuse=HEXKEY resolves drawables whose textures are composed at runtime (faces, skin)
    • Lucia's head exported with skin textures via --bind, 8,983 vertices at LOD 0

    Hash dictionary

    • Base dictionary: 36,952 names
    • Import script for 1.36M community hashes: ./examples/import_hashes.sh → data/extended.dict
    • 48% → ~95% estimated name coverage for DOM attributes and schema entries

    Documentation

    • 18 format documents with KNOWN/UNKNOWN separation
    • New: psin_format.md — complete PSIN binary-XML reference (406 lines)
    • Updated: rpf9_format.md (22 keys), key_families.md, head_composite.md

    Full command list (33 commands)

    info · list · stats · diff · harvest · schema-db · catalog · extract · hexdump · replace · psin · tree · repack · search · ped-meta · hash · awc · shaders · pipelines · fssm · isa · disasm · bink · resource · model · check-positions · texture · bcpack-analyze · object-graph · mod init · mod make · mod verify · mod apply


    Build from source: cargo install --git https://github.com/nineforge0/forge9 --tag v0.2.0


    Assets on GitHub (not copied here):

    Downloads
  • v0.1.0 0098f2ab90

    github-bot released this 2026-11-24 07:19:03 +00:00 | 109 commits to main since this release

    @⁠nineforge0 on GitHub · 2026-11-24 07:23 UTC · original

    forge9 v0.1.0

    First release of the RPF9 archive toolkit.

    Features

    • Decrypt + Encrypt: Full T-table cipher roundtrip (CBC, 9-key keyring)
    • Nested RPF9: Recursive tree traversal with dual record layouts
    • PSIN parser: Game data struct/enum definitions with name resolution
    • Repack: Full archive rebuild with TOC re-encryption
    • Search: Filter entries by magic, extension, size, or content grep
    • Hash dictionary: 50+ built-in joaat hashes, extensible via --dict
    • In-place replacement: Same-size payload swap without TOC changes
    • Format detection: Sniffs zlib-inflated content heads

    Commands

    forge9 info, list, tree, psin, search, extract, hexdump, replace, repack, hash
    

    Notes

    • Crypto material (tables.bin, keys.bin) must be provided by the user from their own copy
    • macOS arm64 binary attached; build from source for other platforms with cargo build --release

    Assets on GitHub (not copied here):

    Downloads