Viewing files

Format by format: what you see, what you can export, and what is not there yet.

Documentation · Viewing files

This page describes GTA V. GTA VI, GTA IV and Red Dead Redemption 2 have their own pages. Changing files is described in Modding.

Textures

Texture dictionaries (.ytd) open like folders: double-click one to list its textures with size, format and mip levels.

View and export

  • Selecting a texture shows it in the preview; selecting a .ytd previews its first texture.
  • Extract… writes DDS files exactly like OpenIV and CodeWalker (DX10 headers for BC7 and other modern formats).
  • Save PNG… writes images.
  • Export openFormats… on a .ytd writes it as OpenIV's .otd with a .dds and .otx per texture.
  • With nothing selected, the whole dictionary is exported into a folder named after it.

Supported layouts

Game versionResource versionFormats
GTA V Legacy13Direct3D 9 formats (DXT1/3/5, …)
GTA V Enhanced5DXGI formats, including BC7

Replacing, adding and removing textures, also those inside models: see Modding.

Models

Drawables (.ydr), fragments such as vehicles (.yft) and drawable dictionaries (.ydd) show in 3D: drag to rotate, scroll to zoom.

Complete models

  • Vehicles come with their wheels on every wheel bone and their liveries.
  • Vehicle mods (tuning parts: bonnets, bumpers, spoilers, …) from the vehicle's <name>_mods.rpf archives are listed under Parts as Mods: bonnet, Mods: spoiler …, hidden at first, each on the bone the game's carcols files put it on. Showing one does not hide the original part it replaces; hide that yourself. The parts also open on their own (sultan_hood_1.yft).
  • Peds are put together from their components (head, hair, upper body, legs, accessories), the first variant of each.
  • Textures come from the model itself, the .ytd next to it (adder.ytd, adder+hi.ytd) and, for vehicles, vehshare.ytd.

The viewer window

Double-click a model to open it in the viewer. It renders on the GPU (Vulkan, DirectX 12, Metal or OpenGL) with a software fallback.

Tab or controlWhat it does
Orbit / Fly (F)Drag and scroll, or fly with W A S D, Q/E for down/up, Shift for faster
PartsShow or hide groups (body, wheels, ped components and their variants) or single parts
MaterialsEvery shader with a readable name; hide it or give it a colour — paint the car
AnimationPlay clips from clip dictionaries: search, play, scrub, speed, loop
CompassThe game's X/Y/Z axes; click a letter to look along that axis
GridA floor grid through the origin (cells sized to the model) and the X, Y and Z axes in red, green and blue; the choice is kept

Export

Export glTF… writes a binary glTF 2.0 file (.glb) with one node per shown part and the textures embedded. Blender and most other 3D tools open it directly. Several models at once: select them and use Extract as → Models as glTF… (see Extracting).

  • Vehicle wheels carry the body's tyre material; interior textures come from the shared interior dictionaries.
  • The games' vertex colours are not a surface colour (baked light and masks), so they are stored as the custom attribute _RAGE_COLOR instead of COLOR_0, which viewers would multiply into the texture.
  • Surfaces the game draws at run time (dials, screens) have no texture.

Export openFormats… (right-click a .ydr, .yft, .ydd or .ytd) writes OpenIV's text formats: .odr (drawable), .oft (fragment), .odd (drawable dictionary) or .otd (texture dictionary), with the meshes (.mesh), the skeleton (.skel) and the textures (.otx with a .dds each) in a folder named after the file. Every shader with its parameters, every detail level, every geometry with all its vertex data (positions, bone weights, colours, all texture coordinates, tangents) is in there, readable and editable as text, and the files go back into the game with Import openFormats… (see Modding).

Animations

Clip dictionaries (.ycd) show what they animate (peds, vehicles, objects) and a list of fitting models, ranked by the bones they share with the clips. Click one, or double-click the file, to open it in the viewer with the animation playing.

In the viewer, peds, vehicles (convertible roofs, doors, …) and props play clips; search for a dictionary such as move_m@generic. Skinning runs on the GPU.

Audio

Audio containers (.awc) open like folders: effects and dialogue list their sounds, music and radio show one multi-channel stream.

Play and save

  • Selecting a sound shows its waveform, length, sample rate and codec.
  • Play (or double-click, or Space) plays it; clicking the waveform jumps.
  • Save WAV… and Extract… write 16-bit .wav files, like OpenIV.

Audio data (.rel)

GTA V's audio configuration files (x64/audio/audio_rel.rpf/config, also in DLC archives) say what the sound engine does with the recordings: sound definitions (sounds.dat54.rel), game data such as vehicles and weapons (game.dat151.rel), speech, curves, categories, the dynamic mixer and synthesizers.

  • Selecting one shows what kind of file it is, how many entries and wave packs it has and its most frequent entry types.
  • The preview lists the entries (name, or hash_XXXXXXXX where only the hash is stored, type and size) with a search field. The search also finds an entry by its real name: adder finds the car's settings in game.dat151.rel.
  • A picked entry shows its decoded fields. Types that are not decoded yet show the references the file marks in them and their bytes.

Read-only. Decoded in full are the common sound types of dat54 (simple, wrapper, looping, sequential, multitrack, streaming, randomized and switch sounds, sound sets and lists) and the plain list types of dat151.

Supported

PCM and IMA ADPCM (GTA V Legacy), MPEG audio (GTA V Enhanced), single sounds and multi-channel streams, and Rockstar's audio encryption. The audio key comes from the key blob used during setup.

Metadata (XML)

Map placements (.ymap), archetypes (.ytyp), .ymt, manifests (.ymf), cutscenes (.cut) and .pso files show as XML, formatted like CodeWalker's export. Double-click (or Show as XML) opens a window with two views. Files that are XML text already (handling.meta, vehicles.meta, .xml, …) open in the same window.

Structure

The file as a tree — entities, archetypes, cutscene objects — labelled with type and name (CEntityDef #3 · dt1_tc_ufocore, CHandlingData #2 · ADDER). The selected node's values show as a table with readable names (fTotalDuration → Total duration). A filter finds names and values anywhere in the file, also a name where only its hash is written.

  • Summary: under the header, what the file is and its key figures: for a map file the entities by detail level, interiors and extents; for an archetype file the archetypes and the dictionaries they use; for vehicle, ped, handling and weapon lists the entries and their names.
  • Explained values: a hash shows its name where it is known, numeric flags list their set bits, and fields with a known unit say so (lodDist in metres, positions as x, y, z).
  • Links: a value that names another file (a model, a texture, clip or physics dictionary, a map or archetype file) has Open: the model opens in the viewer, the dictionary in the main window, the map in 3D. The context menu also has Show in folder and Search for this name.
  • Lists as tables: a list of structures of one type offers Show as table, with a column per field, sorting by a click on a header and a filter.

XML

The XML with syntax colours and line numbers. Open as text shows converted XML in the text editor for copying; for XML text files the button reads Edit as text and opens the file itself for editing. Export XML… saves name.ymap.xml.

Names and encodings

  • All three binary encodings are read: RSC meta resources, PSO and RBF.
  • Hashes show as names where the name is known; unknown ones as hash_XXXXXXXX.
  • Saving XML back into the game files will come later.

Maps

Tools → Map of the game (3D)… shows the world around the camera for GTA V, GTA IV and GTA VI: fly through it and the surroundings load as you go. For GTA V and GTA IV this is the detailed near field (about 250 m around the camera); the distant low-detail world is not drawn.

A map placement file (.ymap) opens in the metadata window with Show in 3D: every object the file places, with its model and textures, interiors included.

  • The detailed objects of an area are in its …_strm_N.ymap files; the others hold distant stand-ins.
  • The list on the right names every model with how often it is placed, to show or hide it.
  • Export glTF… writes the shown objects as one .glb scene.

Cutscenes

A cutscene (.cut) opens in the metadata window with a Cutscene tab: its length and its cast — people, vehicles, props, the camera, lights and audio.

Play the whole scene

Play whole cutscene shows every actor with its animation, where the cutscene puts it:

  • through the cutscene camera, with its field of view, or with a free camera (drag or scroll);
  • with play, pause and scrubbing;
  • with the map around it — buildings, interiors and props in reach — lit by the cutscene's lights.

Play animation opens a single actor in the viewer instead.

Not shown

Particle effects (smoke, sparks) and decals (dirt and stains). Without a GPU the scene is drawn in software, smaller and without lights.

Collisions, paths and nav meshes

FilesWhat you see
Collisions (.ybn)Meshes, spheres, capsules, boxes and cylinders, coloured by material (CONCRETE, METAL, GRASS, …)
Path nodes (.ynd)The road (blue) and footpath (orange) network of a map area
Recordings (.yvr, .ywr)Routes cars drive and people walk in missions, with start and end
Nav meshes (.ynv)Where peds can walk, coloured by ground, pavement, road, water, interiors, tracks, slopes

All open in the viewer. The Materials tab hides or recolours each kind; collisions export to glTF.

Particles

Particle dictionaries (.ypt) list their effects (such as bul_gravel_heli), emitters and particle rules. Their models — debris, shells, bottles — show side by side; double-click the file to browse its textures.

Scripts

Compiled scripts (.ysc) show their size, functions, natives and strings. Double-click opens the disassembly: one instruction per line, functions, labels at jump targets, text next to every STRING and the hash of every native call.

Native names appear once you load a list in the NativeDB format (natives.json): Help → Load native names…. OpenRAGE ships none.

Scaleform movies and videos

  • Scaleform movies (.gfx, menus and HUD) show their size, frame rate, exported symbols and images. Export as SWF… turns one into a Flash file for tools such as JPEXS or Ruffle.
  • Bink videos (.bik) show size, frame rate, length and audio tracks, and with FFmpeg installed a frame from the middle. Double-click plays the video in your video player (VLC, mpv, …).

Text tables

  • Game text (.gxt2) opens in the text editor in OpenIV's .oxt form: one 0xHASH = text line per string.
  • Audio name tables (.nametable) show one name per line; .ugc files open as JSON.
  • Export as text… writes .oxt or .txt. Saving back is described in Modding.