DiscordLog in

About

SixNG Extractor

An asset extractor for your own GTA VI install (Xbox Series build, RPF9 archives). It is meant for personal modding.

There is one Rust core library with two front ends:

  • sixng: a CLI with JSON output, filters, categories and resumable runs.
  • sixng-gui: a desktop app to open an install, browse and search it, preview items and extract a selection.

Game data never goes in git. Indexes, extracted output and scratch files all go under work/ (or any --out you choose). work/ and every *.png/*.dds/*.glb file are in .gitignore.

Updating the Metal-Rust pin

SixNG pins metal-rust and metal-rust-ffi to the same exact Git revision in Cargo.toml, and Cargo.lock must resolve both packages to that same revision. Before updating the pin, verify that the upstream change passes Metal-Rust's inventory, safety, unit and GPU tests. Then update both patches and regenerate the lockfile:

cargo update -p metal-rust -p metal-rust-ffi --precise <commit>
python3 scripts/check_metal_rust_pin.py

The pin checker is part of CI and rejects mismatched or incomplete revisions.

Shaded UV checker + wireframe

Screenshots show the app with a generated demo scene (crates, a barrel and a ground plane), not game content.

BCPack: all six BC formats decode. BCPack is the Xbox Series hardware texture compression, with one codec per BC format and no public specification. About 12 % of the game's textures have their full-size image stored in BCPack. Almost all of them are BC1, which SixNG decodes, so they export at full size. BC3 decodes too (only 17 textures use it), and so do BC7 (1,872 textures), BC4 (40), BC5 (91) and BC6H (98). Their preset tables are fitted, so some blocks can be off (speckles, mostly in BC7 and BC6H). If a chunk ever fails to decode, SixNG uses the largest smaller mip that is stored normally, or a flat fallback colour flagged as texture_fallback in model.json.

Read the rest in the repository.

Versions

More in Tools

See all