<!-- Canonical page: https://reversedwithai.com/p/carnage-heart-exa-npuh10188-03113a14 -->
Canonical page: https://reversedwithai.com/p/carnage-heart-exa-npuh10188-03113a14

# Decompiled Carnage Heart EXA (PSP) and implemented a native PC port with Claude

> A non-matching decompilation and SDL3-based PC port for Carnage Heart EXA.

This project provides a non-matching decompilation of Carnage Heart EXA (PSP) and a native PC port using an SDL3-based shim. The implementation includes a chip program interpreter and file I/O support, with startup code execution validated through automated tests.

## Key facts

- Target: Carnage Heart EXA (NPUH10188)
- Category: Games and mods
- Platform: PSP
- Models: Claude
- Tools: splat64, SDL3, cmake, ninja-build, Python 3
- Outcome: Partial
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: ComfyShorts
- Added: 2026-11-29
- Updated: 2026-11-29
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

The project provides a non-matching decompilation of the PSP game Carnage Heart EXA. The author uses splat64 to split the decrypted EBOOT.elf, with build-time scripts handling VFPU instructions, little-endian NaN doubles, and Shift-JIS strings. The repository includes a native PC port that runs decompiled game code against a PSP shim built on SDL3. This port uses a 32-bit build configuration to maintain PSP pointer and struct layouts. The author implemented a file shim for sceIo operations and a hand-written chip program interpreter. Tests verify the file shim and robot record loading. The game's startup sequence, including entry point, C runtime, and initialization, runs up to the first graphics call. Claude Opus 5.5 is credited as a co-author on commits related to the PC port, chip interpreter, and startup path implementation. The project documentation notes that the decompilation is non-matching and requires a user-provided game dump. Source: [Carnage Heart EXA decomp](https://raw.githubusercontent.com/comfyshorts/carnage-heart-exa-decomp/HEAD/README.md).

## Human work and limitations

The project uses a 32-bit build target to ensure compatibility with original PSP struct layouts. The startup path is validated up to the point of graphics initialization.

## Reproduce it

make setup && make split && make check

## AI use in the original source

- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/comfyshorts/carnage-heart-exa-decomp/commits.atom))

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

## Sources

- [Repository](https://github.com/ComfyShorts/Carnage-Heart-EXA-Decomp)

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: ComfyShorts (2026). Decompiled Carnage Heart EXA (PSP) and implemented a native PC port with Claude. Reversed with AI. https://reversedwithai.com/p/carnage-heart-exa-npuh10188-03113a14
