<!-- Canonical page: https://reversedwithai.com/p/operation-carnage-1996-dos-16242770 -->
Canonical page: https://reversedwithai.com/p/operation-carnage-1996-dos-16242770

# Recompiled Operation Carnage (DOS) into a native PC and Android port with Claude

> A byte-matching decompilation and cross-platform port of the 1996 DOS game Operation Carnage.

Operation Carnage Decomp provides a byte-matching decompilation of the original 1996 DOS executable, enabling native ports for Windows, Linux, and Android using SDL2 and OpenGL ES.

## Key facts

- Target: Operation Carnage (1996, DOS)
- Category: Games and mods
- Platform: Windows, Linux, Android
- Models: Claude
- Tools: CMake, SDL2, Android Studio, GCC, MinGW
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: wootbeer
- Added: 2026-11-22
- Updated: 2026-11-22
- Sources reviewed: 2026-11-28 (editor)

## What was done

The Operation Carnage Decomp project provides a byte-matching decompilation of the original 1996 DOS executable, CARNAGE.EXE. The decomp builds back to the exact bytes of the original CARNAGE.EXE. Using this codebase, the project implements a native PC port utilizing SDL2 and an Android port using OpenGL ES and OpenSL ES. The author credits Claude Opus 5.5 as a co-author for the development of the Android port, including the settings menu, touch controls, and virtual keyboard integration. The PC and Android ports share core game logic and system abstraction layers, with game behavior maintained at a 1:1 ratio with the original DOS release, including existing bugs. The project requires original game assets from a licensed copy to function. Current limitations include a simple audio mixer that replaces the original DiamondWare Sound ToolKit, which the author notes requires further testing. Build instructions are documented for GCC on Linux, MinGW for Windows, and Android Studio. Further details are available at [https://raw.githubusercontent.com/wootbeer/opcarnagedecomp/HEAD/README.md](https://raw.githubusercontent.com/wootbeer/opcarnagedecomp/HEAD/README.md).

## Reproduce it

Builds require CMake and a C++14 compiler. Run 'cmake -S . -B build' followed by 'cmake --build build --config Release'.

## AI use in the original source

- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/wootbeer/opcarnagedecomp/commits.atom))

Excerpts checked against the source on 2026-11-22.

## Sources

- [Repository](https://github.com/wootbeer/opcarnagedecomp)

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: wootbeer (2026). Recompiled Operation Carnage (DOS) into a native PC and Android port with Claude. Reversed with AI. https://reversedwithai.com/p/operation-carnage-1996-dos-16242770
