Textures (PAA)

Tutorial · 3:06

DayZ does not read PNG files: every texture of a model, an icon or a menu is a PAA file (some newer ones are EDDS). This page shows what is inside a texture (the game's own or yours), converts your PNG or TGA images to PAA with the format and mipmaps the engine expects, and converts a PAA back to PNG so you can paint over it. Its Material button opens an editor for .rvmat materials, the files that tell the game which textures a surface combines. To look at the game's textures you need the DayZ folder set in Settings; converting your own files needs nothing.

The screen

First steps

  1. Open Textures in the rail.
  2. In Game textures, type canteen.
  3. Click canteen_co.paa. The viewer shows the canteen's colour texture.
  4. Read Info: DXT1, 512 × 512, 8 mipmaps, no alpha.
  5. Pick mip 3 in the bar: the same picture at 64 × 64, as the game uses it at a distance.
  6. Click canteen_nohq.paa in the results and compare: DXT5, a normal map.

Take the tour (in the app)

Common tasks

Convert a PNG to PAA

  1. Name the file by what it is: myitem_co.png for colour, myitem_nohq.png for a normal map (see Concepts). Its sides must be powers of two.
  2. In Convert, pick the PNG or TGA as Input. Output becomes the same name with .paa.
  3. Leave PAA format on Auto unless you know you need another one.
  4. Press Convert. The log shows the format, size and number of mipmaps written, and the new PAA opens in the viewer.

Convert every texture of a folder

  1. Press Batch folder… and pick the folder (subfolders are included).
  2. The dialog counts the PNG / TGA files to convert and those whose .paa is already newer than its source. Tick Force to convert these again.
  3. Press Convert N files. Each file gets a .paa next to it; errors are listed in the log.

Get a PNG out of a game texture

  1. Search the texture and open it.
  2. Choose the mipmap (mip 0 is the full size) and press Export PNG.
  3. Paint over the PNG, keep the suffix in the name, and convert it back to PAA.

Check why a texture looks wrong in game

  1. Open your .paa with Open.
  2. In Info, compare format, size and mipmaps with a game texture of the same kind.
  3. Use the A button to see the alpha alone: a colour texture that should be opaque but was saved with an alpha channel is a common cause of see-through items.
  4. Keep the page open while you repaint: the view reloads when the file changes on disk.

Study or copy a game material

  1. Press Material, search in Game materials and click one. It opens read-only.
  2. Read the stages: each names a texture; a badge gives its role (normal map, specular…) and says whether the file is found.
  3. Press Save as… and write it into your mod folder. Change the stage textures to your own (Pick… searches the game or takes a file from disk), then Save.

Tour of the material editor (in the app)

Examples

Concepts

Pitfalls

For agents

Tools of dzt that do the same work without the window:

Files: the page reads .paa, .edds, .dds, .png, .tga from disk or from the game's PBOs. It writes only the converter's output (.paa or .png), the exported PNG, and in the material editor the .rvmat you save (plus one .rvmat.bak).

What the page tells the assistant: the open file (prefixed vfs: for a game texture), its size and mipmap count, the read error if it could not be decoded, the converter's input, and the errors of the conversion log. The material editor's state is not published.

Anchors for studio_guide: textures-open, textures-material, textures-explorer, textures-search, textures-results, textures-viewer, textures-toolbar, textures-channels, textures-export, textures-inspector, textures-info, textures-convert, textures-convert-run, textures-batch, and in the material editor textures-rvmat-list, textures-rvmat-form, textures-rvmat-views, textures-rvmat-preview, textures-rvmat-save, textures-rvmat-save-as.

See also