TeamVanilla Workshop

OpenCF Asset Viewer

A desktop viewer for CrossFire's .rez archives: models, weapons, maps and sounds, looked at and listened to straight from the files. View only: it never edits anything.

On this page 3

The OpenCF asset viewer is a desktop program for browsing CrossFire's .rez archives without touching the game client. Point it at an archive and walk through models, weapons, maps and sounds, looked at and listened to straight from the files. It never writes anything back: view only, so nothing in the game folder can be changed by accident.

What it opens

Asset kindWhat you see
Models and weaponsThe mesh in a 3-D viewport with orbit, zoom and wireframe. Textures are applied when the archive carries them beside the geometry.
MapsWorld geometry and prop placement rendered together, with a free camera to fly through.
SoundsWaveform preview and instant playback, with volume, looping and a scrub bar.
TexturesEvery texture in its native resolution, with mip levels and channel isolation.
String tablesThe full 45,089-message table, searchable by key or text.

Built on CFireSDK

Every file reader in the viewer comes from CFireSDK, the same header-only C++ library available as a standalone SDK. That means the parsing code is shared, tested and documented in one place rather than hidden inside the viewer. If you want to read .rez archives from your own program, start with the SDK instead of reverse-engineering the viewer.

How it works

The viewer is a native Windows application drawn with VanGUI. It reads archives in memory-mapped mode so that only the pages you actually look at are loaded from disk, which keeps memory use proportional to what is on screen rather than the size of the archive. Navigation follows a tree: archives at the top, folders inside them, then individual assets, each opening in its own tab.