<!-- Canonical page: https://reversedwithai.com/p/darksun-shattered-lands-native-claude -->
Canonical page: https://reversedwithai.com/p/darksun-shattered-lands-native-claude

# Recompiled Dark Sun: Shattered Lands (DOS 1993) to a native program instead of DOSBox, with Claude

> A 1993 RPG leaving DOSBox for a native build.

The 16-bit SSI RPG runs as translated C on a small emulated PC layer: intro, menus and the first arena scene play with the original music and speech drivers.

## Key facts

- Target: Dark Sun: Shattered Lands (DOS, 1993)
- Category: Games and mods
- Platform: Windows and Linux (SDL)
- Models: Claude Fable 5.1
- Tools: Claude Fable, pcrecomp
- Outcome: Partial
- License: GPL-3.0
- Checks: Source available: yes; Repro steps: not reported; Real hardware: no; Verified by others: not reported
- Author: [daaki85](https://github.com/daaki85)
- Added: 2026-10-19
- Updated: 2026-10-19
- Sources reviewed: 2026-10-19 (editor)

## What was done

A static recompilation translates the 16-bit DOS code of Dark Sun: Shattered Lands into C and compiles it natively for Windows and Linux, on a small emulated PC layer for the BIOS, VGA, timer, mouse and XMS rather than a full DOSBox install. The README does not mention AI. The AI commit census counts all 142 commits as AI-credited, from 16 October to 7 November 2026, with Claude Fable 5.1 named on 140.

## Building and playing it

A memory image of the game is built from the player's GOG copy, functions are located with helper tools, and the project's own scripts lift them into C. The sound drivers are translated too, so the original FM music and digital speech play as the game expects. The repository contains no game data or code: everything derived from the disc is generated on the player's machine and kept out of git.

The README calls it a prototype, in play, with no date. The intro, the main menu, START GAME, the first scene in the arena of Draj with its scripted fight, and walking the party all run. Status and design docs are committed. Wake of the Ravager is planned for the same program, and the Obsidian Edition mod is to be carried over. The data CD path for the 1994 expansion is already mapped in the build scripts while its port remains future.

You need the GOG release of the game. Install the games from GOG, unzip darksun-recompiled-windows-x64.zip and double-click dsun.exe, which finds the games; docs/PLAYING.md is the how-to. Building from source needs Python 3, GCC or MinGW-w64, CMake, Ninja and SDL2.

Sources:
- https://github.com/daaki85/darksun-recompiled

## What the commit history shows

144 of 144 commits in the public repository credit an AI, over 13 days between 2026-10-16 and 2026-11-16. Credited: Claude (version not given) (144), Claude Fable 5.1 (142), Claude Opus 5.5 (2).

Measured by this site from public git history.

## Questions about Dark Sun: Shattered Lands (DOS, 1993)

### What is the Dark Sun: Shattered Lands (DOS, 1993) project?

The 16-bit SSI RPG runs as translated C on a small emulated PC layer: intro, menus and the first arena scene play with the original music and speech drivers. It is listed under Games and mods for Windows and Linux (SDL).

### Which AI model was used on Dark Sun: Shattered Lands (DOS, 1993)?

The entry names Claude Fable 5.1. The tools named alongside are Claude Fable and pcrecomp.

### Did the AI reverse engineering of Dark Sun: Shattered Lands (DOS, 1993) work?

Its author reports that it partly works. Checks recorded: source available yes, real hardware no.

### Is the source code for Dark Sun: Shattered Lands (DOS, 1993) available?

Yes. The code, patches or tooling are public: https://github.com/daaki85/darksun-recompiled. Licence: GPL-3.0.

## Sources

- [Repository](https://github.com/daaki85/darksun-recompiled)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: daaki85 (2026). Recompiled Dark Sun: Shattered Lands (DOS 1993) to a native program instead of DOSBox, with Claude. Reversed with AI. https://reversedwithai.com/p/darksun-shattered-lands-native-claude
