Repository navigation
SparkIV 0.9.0-alpha.9
Pre-release
Pre-release
Grand Theft Auto VI support is highly experimental. None of its features are finished. Expect files that don't open, wrong names, wrong or missing textures, models and sounds, and decompiled scripts that aren't right. GTA VI archives (Xbox Series and PlayStation 5) are read-only: edit mode is not available for them.
GTA VI: PlayStation 5
- The PS5 version and the Xbox version support the same features: every GTA VI feature in this release works for both.
- The PS5 version opens: choose the folder with
eboot.bin(a decrypted dump). SparkIV reads the keys from it as from the Xbox game, and every archive opens with its file names, the PS5's_concatarchives included. PS5 files carry their own extensions (.ptd,.pmt… instead of.ztd,.zmt). A folder whoseeboot.binisn't GTA VI's is turned down. - Textures (pools and
.ptddictionaries), audio banks, language files, audio metadata, name tables and videos work as on the Xbox. Scripts (.pscript) decompile with the constants and native hashes read fromeboot.bin: all 745 story scripts give the same text as on the Xbox. The shader databases open (17,331 shaders and 912 effects); their AGC programs export as.sgaprog. 4,209 PS5-only files have names, among them the archives of the PS5's bvh8 packs.
GTA VI: 3D models
- Models (
.zdr/.pdr), model dictionaries (.zdd/.pdd) and fragments (.zft/.pft) open in the model viewer, with every level of detail, the parts to show and hide, and the textures from the game's texture pools (the first model takes a few seconds while SparkIV reads the pools' lists). "Export model…" writes Wavefront OBJ (with an MTL file and the textures as PNG, for Blender, 3ds Max and others) or SMD. - The meshes show their shaders' real names (all 217 the models use, found in the game's shader database). Decals (dirt, posters, litter, graffiti), glass and other see-through materials are drawn by their texture's alpha, cut-out materials lose their see-through texels, and lamps glow; the OBJ export marks such textures as opacity maps (
map_d). - Vehicles get their wheels: GTA VI keeps rims and tyres as shared models in
vehicles_wheels.rpf, so a vehicle's file has none. SparkIV takes the vehicle's standard rim and tyre from its metadata, sizes them to the vehicle's far version and puts them on the wheel bones; the Wheels button (GTA VI vehicles only, on by default) hides and shows them. Where the paint is chosen at run time, the body is a neutral grey with its badges and markings. - Fixed: parts turned by 90° (geometries packed with axis code 0;
baller8_hi's rear driveshaft stood upright through the floor); 15 terrain models (*_hd) that didn't open. - Good to know: GTA VI builds rooms and vehicles from several files. A room is a shell plus wall, floor, fittings and dirt layers; a vehicle's detailed body (
baller8_hi.zft) and its far version (baller8.zft) are separate files. Not yet: skinning (animated poses), a fragment's breakable parts, the peds' skin textures (chosen at run time).
GTA VI: audio
- Three more stream formats play and export. XMA2 (Xbox: vehicle engines and other loops) and MP3 (the same sounds on the PS5) are decoded by SparkIV's own C# ports of FFmpeg's decoders; checked against each other, the two builds' versions of a sound line up exactly in time and length and are practically the same signal (correlation 0.9996). 32-bit float PCM (Xbox) plays too.
- New: a viewer for the audio config files (
.relinaudio.rpf\core.metadata.rpf: sounds, game objects, curves, categories, mixer, music, speech …): all objects with type filter, search (name, hash or#number) and sortable columns; the selected object's decoded fields (sounds with the bank and track they play, the sounds they combine, sound sets with their entries); the objects it refers to and the objects that use it, clickable; an overview tab; "Export as text". About 1,300 objects and 450 sound-set entries have names. The metadata files have their real names (config\sounds_common.dat166.rel…), and their name tables (.nametable) open as text. - Many more sound tracks have names: matched with RDR2's track names (
GROWL_01,ANGRY_02…), 791 found through sounds several banks share (dogs, birds, horses, furniture, clothes, vehicle engines), 395 more sound effects (BEAR_SCREAM_04,PARACHUTE_DEPLOY_02…) and 67,115 of the 388,154 ped voice lines (GENERIC_GREET_01,GREET_LUCIA_01…). About 3,000 bank names are verified by a second hash the sound metadata stores; 13 track names that turned out wrong are no longer shown. - Fixed: large files that store some 64 KB parts uncompressed unpack completely (
sounds_common.dat166.relcame out as only its first 64 KB).
GTA VI: file names
- SparkIV ships the names of about 1,000,000 files, so almost every file has its real name. Many of them were found by reditec and PB07; the list is partly based on the GTA6-StringsDatabase by the OpenVI-CE team (used with written permission from i64_re). Archives open quickly on the first start: SparkIV no longer searches all game files for names first.
- Every file's details say how sure its name is: confirmed (the name is also a string in the game data), verified (the path hash matches) or likely (the hash matches, but only a list with many brute-forced names has it). Names that aren't confirmed can be marked: likely in yellow, guessed in yellow italics, with a legend and a tooltip (Settings → Names). The marks are off by default, also where an earlier version had saved them as on. Names no longer carry a "?".
- A file's extension comes from the type the archive stores for it, not from a name list's guess: metadata files show as
.zmtinstead of.binor.psin,navmeshes_swapsno longer as an archive,alligator.awcno longer asalligator.awc.bin, and files of unknown type have no made-up.bin. The sound archives inaudio.rpf\sfxshow with the game's own capitals (Core.RadioStation.flash_fm.rpf).
GTA VI: scripts
- New: a script decompiler for GTA VI. Compiled scripts (
.zscripton the Xbox,.pscripton the PS5) open in the script viewer with four views: Decompiled (readable pseudo-code), Disassembly (every instruction), Natives (the game functions the script calls) and Summary. GTA VI's script bytecode is encoded per game build; SparkIV reads the constants it needs from your game executable, so nothing of the game ships with it, and the game executable must be in the folder you open. - The pseudo-code shows the scripts' object structure: methods are named
Type::Method,thisand declared parameter names are used, objects are built asnew T(a, b), and the libraries a script imports (shared,native,scriptbase…) are found in the neighbouring archives and decoded with it. Hashed strings and 64-bit keys show as their names where SparkIV knows them. It is meant for reading and can't be compiled back. - SparkIV ships 261 native names, each with its confidence and source, so the decompiler shows them without a
natives.jsonof your own (one in%LOCALAPPDATA%\SparkIVor next to the game executable still overrides single names). Most were read off how the story scripts use them (GET_GAME_TIMER,TASK_ENTER_VEHICLE,SET_PED_COMBAT_ATTRIBUTES,_START_CONVERSATION…), some because RDR2's scripts call them with the same values (DISABLE_CONTROL_ACTION); named natives make up well over half of all native calls. Most are guesses and show in yellow italics. Two natives shown asnative@…now have their hashes. - The decompiler writes about two thirds fewer gotos: switches on hashes, if/else and loops are rebuilt, and
typeof(...)shows instead of tiny float numbers.
GTA VI: tested before this release
- Every archive and every texture, model, script, audio bank, audio metadata and text database of both builds was opened, and every XMA2, MP3 and float audio stream decoded in full. Fixed along the way: empty texture dictionaries (
level_design.ztdand 8 more) open as empty instead of failing. - Known gaps: on the Xbox, 1,387 of 357,115 pool textures (0.4 %) need parts of the Xbox BCPack texture codec that SparkIV doesn't decode yet (BC7, BC6H, some history entries); the PS5 build has these textures without BCPack, and all of them open. Two audio entries in
core.residenthave no audio data at all (the same in both builds).
Red Dead Redemption 2
- The script archives (
script_rel,script_mp_relinupdate_2.rpf) and the other archives with the keys 0xC0 and 0xC5 open: SparkIV had filed two keys under the wrong number. Existing setups are corrected automatically, without starting the game again. - Sounds in audio banks (
.awc, Vorbis) play and export as WAV, with the track names of the RDR2 names database (ON_FIRE_01); the alligator's seven underwater bubble sounds are named.
All games
- Audio player: tracks are listed alphabetically; tracks known only by their hash come last.