GitHub - michidk/maiko: Native cross-platform runtime for The Elder Scrolls Adventures: Redguard. Built with Rust; requires your own game files. No DOSBox needed.

GitHub

4 min read Original article ↗

Run The Elder Scrolls Adventures: Redguard natively on Windows, Linux and macOS, without DOSBox.
Built from your own copy of the game. No game files included.

Get started · Browser builder · Playing guide · Development

Latest release MIT license Redguard community on Discord

Cyrus on the docks of Stros M'Kai, running natively in Maiko on Windows

Join the Discord and discuss Maiko in #redguard-maiko-recomp.

Disclaimer: AI was used heavily in this reverse engineering project; without AI it would not have been possible.

Features

  • Native, no DOSBox: the original game code runs as a native 64-bit program.
  • Hardware rendering by rustyglide through Vulkan, Direct3D 12, Metal or OpenGL, in a resizable window or fullscreen.
  • The original launcher, drawn from your installation's REDGUARD.EXE, with options for fullscreen, window size, renderer, textures and skipping movies.
  • Original sound, CD music and movies from your GOG game.gog or the Redguard disc.
  • Controller support: Xbox, PlayStation and other gamepads on Windows, Linux and macOS, plugged in at any time and used alongside keyboard and mouse (button layout).
  • Finds your game itself and shares its saves and settings with the GOG/DOSBox version: the game reads and writes them in its own folder.
  • Optional version 5 fixes from the later build 5.0 executable.

Setup

You need the GOG release of Redguard (or the original CD): its RGFX.EXE is the Glide executable Maiko is built from. The Steam release ships only the software-rendered RG.EXE and does not work. Maiko recognizes three builds of RGFX.EXE and refuses any other.

In the browser (easiest): open the Maiko builder, select your RGFX.EXE and wait a few minutes. The build runs in your browser; nothing is uploaded.

Watch the video guide for building, installing and playing on Windows, Mac and Linux.

Play the video guide: build and play Redguard with Maiko

On the command line: download maiko-patcher and the runtime kit for your system from the latest release, install Wasmtime, then:

maiko-patcher build --input /path/to/Redguard/RGFX.EXE --target linux \
  --kit maiko-runtime-kit-linux.zip --output maiko-linux-x64.zip

Use --target windows with the Windows kit, and --v5-fixes for the version 5 fixes. Mac packages come from the browser builder only. See docs/client-builder.md for details.

Play

Extract the ZIP into its own writable folder (not the game folder) and start the launcher: maiko-launcher.exe on Windows, ./maiko on Linux and macOS. It finds your game in the usual GOG, Wine, Heroic and Lutris folders and only asks if it finds nothing. Click Play Redguard.

  • Windows: 64-bit Windows 10 or newer.
  • Linux: x86-64 with glibc 2.36 or newer, Wayland or X11, and a Vulkan or OpenGL driver.
  • macOS: 11 or newer, Intel or Apple Silicon. Follow the launch instructions for the quarantine warning.

Use Game Options in the launcher to configure fullscreen, window size, renderer, textures and skipping movies. The playing guide covers controllers, movies, saves and logs.

Problems

If the screen stays black, choose another Renderer in the launcher's Game Options. When the game crashes, the launcher saves a crash report and offers to open an issue; attach it and say what you were doing. See troubleshooting and known limitations.

Related projects

  • rustyglide: the 3dfx Glide API in Rust on wgpu, and Maiko's renderer. Use it as a Rust library or as a drop-in glide2x.dll / libglide2x.so for any game that needed a Voodoo card.
  • Redguard Preservation: file format, engine and configuration documentation and the rgpre asset tool.
  • Cyrus: Redguard rebuilt in Rust and Bevy, with an asset viewer.

For developers

docs/building.md (source checks), docs/architecture.md (runtime structure) and AGENTS.md (workflow and rules for contributors and coding agents).

Name

Maiko is named after Maiko, the cartographer in Redguard. The name reflects how the project maps the original DOS executable to native code for modern systems.

Advanced use

To start the game directly, run redguard-native on Linux or macOS, or redguard-native.exe on Windows. Command-line options apply to this game executable, not the launcher. For example, on Windows:

redguard-native.exe --fullscreen --skip-intro --load-save 1

See the command-line reference for all options and environment variables. For normal play, configure the game through the launcher's Game Options.

Legal

Maiko is released under the MIT licence. It is an independent fan project, not affiliated with or endorsed by Bethesda Softworks or ZeniMax; The Elder Scrolls and Redguard belong to their owners. Generated packages contain content derived from your own installation and must not be redistributed. Third-party licences are listed in THIRD_PARTY.md.