Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Brandon Villar 9f5bd4e01a
Merge pull request #205 from TrinitronClient/bc7-alpha-round2
BCPack BC7: second round of preset alpha refits (9 slots)
2026-11-24 23:15:16 -05:00
formats BCPack BC7: second round of endpoint preset alpha refits (9 slots) 2026-11-24 23:13:38 -05:00
structure Shader databases and effect records in full; strand passes and ray-tracing geometry 2026-11-24 23:03:11 -05:00
tool Vehicles: display and make names from the text tables 2026-11-23 13:00:25 -05:00
LEGAL.md LEGAL: describe the repo as format notes, not the SixNG tool 2026-11-20 14:53:24 -05:00
LICENSE GTA VI asset format docs and SixNG tool guide (2026-11-20) 2026-11-20 14:47:50 -05:00
README.md RPF9 payload: drop the 'not encrypted' claim 2026-11-24 18:44:22 -05:00
THIRD-PARTY-NOTICES.md Notices: say what bcpack-rs was used for 2026-11-23 12:05:31 -05:00

GTA6 Asset Info

Technical notes on the asset formats of GTA VI (Xbox Series build): how the archives, textures, models and map data are laid out, what is understood, and what is still unknown.

Everything here was worked out from the data itself: headers, statistics over many samples, and checking decoded output by eye. Nothing has been confirmed against game code or official documentation. This repository holds documentation only: no game files, no extracted assets, no keys. Read LEGAL.md.

Formats

Area Pages
Containers RPF9 archives · Resources and pages
Textures Texture dictionaries · Xbox tiling · ttpf stores · BCPack
Models Drawables, fragments and vehicles
Map data Meta resources · Placements and batches · Interiors
World Collision · Navmesh · Lights · Road graph
Materials Vehicle paint and tables · Material classes
Other PSO, RBF, BVH4, audio, animation, body shape, video, UI, world height map · Radio stations
Byte-level notes Index · RPF9 container · Resources and textures · Audio (ADAT) · PSO and object graph · ttpf stores · Models and shaders

The format index has the conventions. Every page gives each field a confidence level and ends with its open questions. The structure/ pages give the same formats as raw byte facts, each with the test behind it.

State of knowledge

As of 2026-11-21, from one retail Xbox Series install. Other builds may differ.

Area Understood Not yet
RPF9 archives header layout; payload stored as zlib streams the table of contents is encrypted, so there are no file names or paths
Resources system/graphics pages, pointers, names inside resources some unnamed resources
Textures dictionary textures; Xbox tiling for BC formats; ttpf stores with AMD Gfx10 layouts (BC and all uncompressed formats); BCPack lane decoding; all six codecs decode (every one of the 357 K store textures readable at full size; BC3–BC7 with fitted tables); embedded tint palettes BCPack byte-exact reconstruction (fitted BC3–BC7 tables); where the real mip count is stored
Models vertex streams, meshlet index buffers, LODs, skeletons, skinning (incl. u16 bone indices; ped clothing with 8 influences through a bone palette to the shared ped skeleton), shaders' texture references; shader names (all) and most parameter names texture names (64-bit hash), constant buffers
Vehicles parts, damage and mod-kit parts, wheel mounts; model info, spawn configurations (body colour, rim, tyre), weighted paint-colour lists, handling records how the wheel scale sizes the shared wheels, secondary colours, liveries, many handling fields
Peds clothing skinning (8 influences, bone palette, shared 596-bone skeleton); head faces through material presets (893 of 1,657 heads); body-shape presets, the control → rig-input map and the pose-rig format, which runs; strand hair and fur (20,010 grooms, §19), cloth particles and edges, head identity deltas head skinning, faces of the other heads, which groom belongs to which ped, two rig ops, lower-LOD rigs, rig input names
Map data self-describing meta resources; entities, LOD hierarchy and LOD parents (99 %), archetypes, grass and prop batches, interiors with rooms and entity sets prefab placement, some hashed fields
Collision bounds geometry and primitives, surface ids and their names (ELF hash; 257 of 398 ids named, 84 % of triangles, plus DEFAULT for the default id, inferred); inferred surface categories for 98.3 % of area names of the other surface ids (unreadable part of the material XML)
Navmesh tiles, polygons, road flag most other flags
Lights position, colour, type, intensity, range, cones, hour mask a few fields
Road graph nodes, links, lanes, speed limits, street names, 34 of 51 node flags, junctions, traffic-light phases some link flags
Video 515 Bink 2 files, stored uncompressed and carved by header; frame index; per-track audio packet framing; all 515 decode with a public Bink 2 decoder; 276 more in three content packs; minigame movies identified 720p artifacts not checked frame by frame; original names
UI graphics 75 named dictionaries (loading screens, HUD, gauges); the UI texture store (10,013 sprite atlases, 90 % complete) BCPack parts, menu layouts, a minimap tile set (none found)
Text the localised text tables (14,482 in data.rpf, 4.21 M strings, one table per language), key lookup, variant groups, subtitle labels and markup the language of each table, most label names, variant selection
Audio ADAT container, chunk tags, Opus framing, codec ids (PCM16, float32 PCM, XMA2, Opus); music streams with 1–8 Opus sub-streams (stems) a few header fields
PSO data big-endian section headers, little-endian block table (v22 and unversioned script layouts), the LSCH schema (joaat field names), LSNS framing; 2,225 of 2,281 files in data.rpf decode; one serialised object graph (30,683 records) 56 files in the older layout, LSNS record meanings, enums, most struct names
Shaders cache layout, shader names, native RDNA2 code spans inside DXBC wrappers decoding to a readable form, runtime shader selection and bindings

Biggest open problems

  • BCPack, the Xbox Series hardware texture codec. The entropy stream decodes for all six codecs, and all six decode to BC blocks (BC3, BC4, BC5, BC6H and BC7 with fitted history tables, so some blocks speckle). Byte-exact reconstruction is not established for any codec. Status and how to resume.
  • Collision surface names: the id is 18 + elf(name) % 32749, but part of the material XML does not inflate, so 140 of 398 ids have no name yet. §13.2.
  • The RPF9 TOC is encrypted.
  • Vehicle data: colours, wheel choice and handling are decoded, but how the wheel scale sizes the shared wheel models, the secondary colours and the liveries are not.

Conventions

  • Offsets are hexadecimal, little-endian unless stated.
  • Hashes are hex. Where a field or enum name is known, it is the case-sensitive joaat ("one-at-a-time") hash of that name.
  • The game is RAGE Z-up, right-handed, metres. glTF output conventions are Y-up: gltf(x, y, z) = rage(x, z, −y).
  • Confidence: confirmed (holds over many samples, output checked by eye), inferred (consistent with the data, not proven), unknown.

Tool notes

The tool/ folder documents the extractor these notes were worked out with: its commands and the files it writes.

Licence

GPL-3.0; see LICENSE. This covers these notes only, not anything from the game.