$ cd ~/projects Redguard Preservation ──────────────────────────────────────────────────── Reverse-engineered file format specs, engine documentation, and a Rust CLI for The Elder Scrolls Adventures: Redguard. tags: Rust, Reverse Engineering, Game Development ──────────────────────────────────────────────────── ## Inspect and convert Redguard assets The `rgpre` CLI scans a game installation, prints decoded file structures, and converts proprietary assets into open formats. Export textured models and worlds as GLB, images as PNG or GIF, dialogue and sound effects as WAV, and decoded records as JSON. The tools need your own copy of Redguard and ship no game data. Redguard Preservation documentation https://michidk.github.io/redguard-preservation/ Redguard Preservation on GitHub https://github.com/michidk/redguard-preservation ──────────────────────────────────────────────────── ## Use the CLI or library Install the CLI with `cargo install redguard-preservation`. Start with `rgpre scan ` to find supported files, then use `read` to inspect a file or `convert` to export it. Textured model and scene exports use a palette and game asset directory. Rust applications can reuse the parsers through the `rgpre` library; a C-compatible shared library supports other engines. Rust API documentation https://docs.rs/redguard-preservation Redguard Preservation package https://crates.io/crates/redguard-preservation ──────────────────────────────────────────────────── ## cyrus [cyrus](/projects/cyrus) uses this research and parsing library to rebuild Redguard in Rust and Bevy. Its separate asset viewer opens models, worlds, textures, fonts, scripts, and audio in native and browser versions. The game rebuild is still in development. Both applications require your own game files. cyrus website https://michidk.github.io/cyrus/ cyrus on GitHub https://github.com/michidk/cyrus Open the cyrus asset viewer https://michidk.github.io/cyrus/viewer/ ──────────────────────────────────────────────────── ## Maiko and foundational research [Maiko](/projects/maiko) takes a different approach to running Redguard. It translates the original executable and replaces DOS services so the original game can run natively on Windows, Linux, and macOS. [rustyglide](/projects/rustyglide) provides its Glide renderer. I also contribute to RGUnity, a Unity reimplementation of Redguard whose foundational research has helped my work on Redguard Preservation. Maiko website https://michidk.github.io/maiko/ Maiko on GitHub https://github.com/michidk/maiko rustyglide on GitHub https://github.com/michidk/rustyglide RGUnity on GitHub https://github.com/RGUnity/redguard-unity ──────────────────────────────────────────────────── $ ls ~/pages > about curl -L lohr.dev > projects curl -L lohr.dev/projects > blog curl -L lohr.dev/blog > stats curl -L lohr.dev/stats > contact curl -L lohr.dev/contact ──────────────────────────────────────────────────── https://lohr.dev