# Dune: The Battle for Arrakis gets a native C++ port for Windows and Linux

> Developer Real-Gecko released version 1.0 of dune-2-megadrive-recomp, a native C++ port of the 1993 Sega Mega Drive RTS for Windows and Linux.

- Published: 2026-11-24T19:55:19Z
- Score: 9/10
- Tags: pc, recomp, port
- Port / platforms: Mega Drive / Genesis -> PC (Windows), Linux / Steam Deck (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/dune-2-megadrive-recomp-1-0/
- Sources: https://github.com/Real-Gecko/dune-2-megadrive-recomp

Developer Real-Gecko released version 1.0 of [dune-2-megadrive-recomp](https://github.com/Real-Gecko/dune-2-megadrive-recomp), a native C++ port of *Dune: The Battle for Arrakis* for Windows and Linux. The project translates the Motorola 68000 machine code from Westwood Studios' 1993 Sega Mega Drive real-time strategy game into C++ running on SDL3.

Because the original 68000 logic runs natively rather than inside a console emulator, missions, unit behavior, and AI work like they did on the Mega Drive. Music still runs through an emulated YM2612 sound chip via Aaron Giles's ymfm library.

## What the port adds

Version 1.0 layers desktop controls and display tweaks over the original game logic:

- **Wide battle view:** Expands the visible battlefield beyond the original console viewport.
- **Mouse support:** Click to select and command units, drag-select groups, use Shift+click or Shift+drag to adjust selections, and click the radar to jump the camera.
- **Keyboard shortcuts:** Assign control groups with Ctrl+digit, recall them with digit keys (double-tap to center the camera), toggle repair mode with R, sell mode with Q, and jump to the last event with Space.
- **Save games:** Writes progress directly to a local `saves.txt` file.

## How to run and mod it

No copyrighted assets ship with the release. To play, you need your own 1 MB dump of *Dune - The Battle for Arrakis (USA)* matching CRC32 `4dea40ba`.

1. Download `dune2-1.0-Windows-x64.zip` or `dune2-1.0-Linux-x64.tar.gz` from the project's GitHub releases page.
2. Linux users need SDL3 installed from their distribution's package manager; the Windows build bundles `SDL3.dll`.
3. Run `dune2.exe` or `./dune2` and point it to your ROM when prompted.

On first launch, the executable extracts graphics as PNGs, sound effects as WAVs, and maps and text as plain files into a `data/` folder, after which you no longer need the ROM. You can edit those extracted assets directly, provided modified PNG tiles keep the original tile count and edited text or audio files keep their original byte length (INI files may be shorter).

Static recompilation projects have mostly targeted N64 and Xbox 360 titles, so a C++ translation of a 16-bit Mega Drive strategy game with mouse control and open asset folders is a notable outlier.
