Textures, meshes and sounds
REDcode shows game files the way they look and sound, not only as data. Each viewer opens with a click, from your project or straight from Game Assets, with nothing to extract first.
| On this page | |
|---|---|
| Textures | The texture viewer |
| Meshes in 3D | The 3D view, its light, and which items use a mesh |
| Animations | On their own page, Animations: play, make and edit clips, with the Animation Timeline |
| Streaming sectors | A piece of the game’s world in 3D: on its own page, The sector view |
| Sounds | The audio player, and its link to the Lip Sync editor |
| The game’s sound effects | Browse and play all 73,000, and replace one |
Textures
A texture (.xbm) is a picture the game wraps onto a shape or shows in its interface. It opens in the texture viewer: the image over a checkerboard, so you can see what’s transparent, with its size.
| Button | Does |
|---|---|
| Fit | Scales the image to the pane |
| 1:1 | One texture pixel per screen pixel |
| Pixels | Sharp, blocky scaling, to see single pixels |
The same viewer opens .dds and .tga files, which VS Code can’t show. In the Project view, PNG, JPG, BMP and TIFF open in it too, because a black texture is invisible in VS Code’s own preview on a dark theme. In VS Code’s own Explorer those files keep VS Code’s preview: right-click one there and choose Open With…, then REDcode Texture, to get the viewer.
To see a texture’s settings (its format, compression, flags), open it in the CR2W editor: see Editing game files. To change the picture, export it to PNG, edit it in any image editor, and import it back.

Meshes in 3D
A mesh (.mesh) is a 3D shape. It opens on a 3D view inside the CR2W editor. Tree shows the file’s data; 3D goes back.
| To | Do |
|---|---|
| Orbit | Drag |
| Pan | Right-drag, or Shift-drag |
| Zoom | Mouse wheel |
| Fit the model in view | Frame |
Two words first. A mesh is made of parts, called submeshes, and each part has a material. An appearance is one set of materials for those parts: the same jacket shape in black leather, in red, with a logo. One mesh usually has several.
- The Appearance list switches between the mesh’s appearances. Each submesh then shows the material that appearance gives it.
- The list on the right turns each submesh on and off, with its material name and triangle count.
- The toolbar picks the LOD, the level of detail: the game keeps simpler copies of a shape to draw at a distance. The most detailed comes first.
- It also turns on and off the wireframe, the bounding box and the ground grid, and shows the triangle count and the size in metres.
- Find Items lists the items in the game that wear this mesh. See Which items use a mesh.
- Open in EDGEmat puts the mesh on EDGEmat’s Desk with the appearance shown open, to change its materials.
- Drag the splitter between the 3D view and the list to widen the list for long names. Double-click it for the default width. The width is kept for the window, and the animation view shares it.
- Tree and back to 3D keeps the view as you left it: the camera, and in the other 3D views the animation and the sectors loaded.

Good to know:
- Game meshes are coloured by material, not textured.
- With EDGEmat installed, the view shows the materials as EDGEmat renders them, approximately. Once EDGEmat sends them, see-through materials are drawn as glass and glowing parts glow, lit or not. See EDGEmat in 3D.
- Another tool can open the view on a given look, or switch an open tab to it, such as EDGEmat’s View in 3D on a look’s row.
- The view shows the saved file. Save to see your edits.
.glband.gltffiles, such as a mesh you exported to Raw, open in the same viewer. A model that carries its own materials and textures, such as one from Blender, shows them; Shading switches to flat colours.
The light
The mesh, animation and sector views light a model more like the game does. There is an environment for metal and gloss to reflect, and highlights are toned down so they don’t turn flat white.
| Control | Does |
|---|---|
| Light | Sets the brightness, from 0.5× to 2.5×. A dark material is easier to read at 1.5× or more |
| Fixed light | Keeps the light still while you turn the model, to see how shine moves over it |
The light you pick is the one the next 3D view opens with, in the same window.
Which items use a mesh
Find Items, in the 3D view’s toolbar, answers “which item is this?”. It looks through TweakDB, the game’s database, for the items whose look shows the mesh. The first time takes about 10 seconds, while TweakDB loads.
- Items that show the appearance you’re looking at come first, then items showing other appearances of the mesh.
- Pick a row to open the item’s TweakDB record. The buttons on a row copy the record name, for REDnode’s Console or a tweak, or open the item’s
.appfile.
Each row shows how the item reaches the mesh:
| On the row | What it is |
|---|---|
| The item’s name in the game, and its record | The item, as the inventory shows it and as TweakDB knows it |
| The record’s appearance name | The look the item asks for |
The .app look |
The entry in an .app file that the name leads to. An .app file is a list of looks, each naming the meshes it shows |
| The mesh appearance | The set of materials that look uses on this mesh |
It works for clothing and similar items: shoes, jackets, outfit sets, glasses, helmets, masks, food and drinks. It does not work for weapons, which choose their look another way. For a mesh no item shows, it lists the .app looks that use it, to open instead.

Try it. In Game Assets, filter for converse mesh and open s1_055_pma_shoe__converse.mesh. Pick red_yellow_graphic in the Appearance list and press Find Items. You should see Items.CasualShoes_01_basic_01, the Sunny Ammo synthetic high-tops, at the top.
Animations
An animation file (.anims) opens on a 3D view of a body playing it. It has its own page, Animations: playing a clip on a body with its muscles, synced sets, making clips from words for an NPC or for V, editing them in steps or on the Animation Timeline, Edit in Blender, and keeping them in the EDGE Library.
Streaming sectors
A streaming sector (.streamingsector), a piece of the game’s world, opens on a 3D view with every mesh drawn where the game puts it. It has its own page: The sector view, with moving round, picking a thing and its materials, selecting many things, the sectors that reach in as layers, changing many things at once, and sector scripts.
Sounds
A sound file opens in the audio player. Most .wem files in the game are voice lines, in the localization folders. .opus files open in it too.
- The player shows the sound’s waveform. Click or drag on it to jump to a point.
- Play and Loop sit below it.
Spaceplays and pauses. - The toolbar shows the time, codec, channels and sample rate.
- Save… writes the sound to a file.
- Open in EDGEwave hands the sound to EDGEwave, the EDGE sound studio. See Working with other tools.
- Lip Sync shows on a voice line the game has lip sync for, a moment after the sound loads. It opens the Lip Sync editor at that line.
WAV, Ogg, MP3 and FLAC files keep VS Code’s own preview, and offer the player under Open With….

The game’s sound effects
The game’s sound effects aren’t separate files you can browse. About 73,000 sounds are packed together, with an index file that groups them into events, such as a gunshot or a door, each with a few variations. Each sound is known by a number, its hash.
REDcode: Browse Game Sounds, in the Game Assets ... menu, opens that index as a list.
- Type in the filter box to narrow the list by event name, tag or hash. All the words must match, for example
revol reload. - Click a row to play its first sound, or a number to play that variation.
- The arrow keys step through the list and play as they go.
- Copy Hash copies the hash of the sound that’s playing. Replace… replaces it with your own. Save… writes it as an
.opusfile. - Open in EDGEwave works here too.
Event names come from WolvenKit’s list of events for game version 1.6. It names about 10,900 of the 16,100 events that have sounds; the rest show only their hash.

Replacing a sound
You can replace any of the game’s sound effects with a WAV file of your own, in one step. It needs a project open; without one, Replace… offers New Project or Open Folder.
- In the game sound list, play the sound you want to replace and press Replace….
- If the event plays one of several sounds at random, REDcode asks: Replace All puts your WAV in for every one of them, Only This One for the one you picked. Replace only one and you hear yours only some of the time.
- Pick your WAV.
- Press Pack and Play in the message, with the game running under REDnode, or Pack and Install and start the game.
| After | You should see |
|---|---|
| Step 3 | Your WAV copied to source\raw\sounds\<hash>.wav, named by the sound’s hash, and imported at once: the Project view selects the new sound pack (sfx_container_<number>.opuspak) under Archive, beside a new sound index (sfx_container.opusinfo). Earlier replacements in the project stay. Replacing a sound you already replaced asks first |
| Step 4 | In the game, your sound plays where the old one did |
Try it. Filter the list for cmn_generic_work_inhaler, the sound of an NPC using an inhaler. It plays one of four sounds: press Replace…, then Replace All 4, and pick a WAV. Pack and Play, and watch an NPC use an inhaler.
Good to know:
- This was tested in the game by REDcode’s developer, with the inhaler above.
- You can still do it by hand: save a WAV named by the hash (Copy Hash) anywhere under
source\raw, and press Import from Raw on it. - No rules for the WAV (length, mono or stereo, sample rate) are written down. Staying close to the original’s length and channels is the careful choice.
- Every mod that replaces sounds carries its own copy of the game’s one sound index. Two such mods can’t both win: the game uses one index.
- With REDnode in the game, Pack and Play can swap a sound mod into the running game. See Sound mods.
Voice lines (.wem) can be exported to Ogg to listen to or edit elsewhere, but not imported back yet. See Export and import.
EDGEwave, the EDGE sound studio, builds on this to edit and mix sounds.