# PSIVRecomp v0.2.0-alpha: Phantasy Star IV runs as a native port on PC, Linux, Mac and Android

> PSIVRecomp v0.2.0-alpha adds a native Phantasy Star IV port built by static recompilation. You supply your own USA dump.

- Published: 2026-11-09T17:21:02Z
- Score: 9/10
- Tags: recomp, port, pc
- Port / platforms: Mega Drive / Genesis -> PC (Windows), Linux / Steam Deck, Mac, Android (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/psiv-recomp-v0-2-0-alpha-phantasy-star-iv/
- Sources: https://github.com/MotaviaWorks/PSIVRecomp

PSIVRecomp v0.2.0-alpha is out as a prerelease. It is a native port of Phantasy Star IV: The End of the Millennium, the Sega Mega Drive (Genesis) RPG, built by static recompilation. The game code gets recompiled into C and built for your machine. The port targets Windows, Linux, macOS and Android.

The repo ships no game data. You need your own dump of the USA cartridge (GM MK-1307-00), in .smd, .bin, .md or .gen form. The README lists widescreen, modern text and rewind as features. The app opens on a launcher with Start game, an Enhanced or Classic mode switch, and Settings. The project is a work in progress, and the milestones sit in docs/PLAN.md.

PsiLok built it with Claude, the Anthropic model, which wrote most of the code. PsiLok handled design, direction, testing, music and art. Commits made with Claude carry a Co-Authored-By line.

## How to try it

1. Install Python 3.10 or newer, plus git. Clone the repo and run `git submodule update --init`.
2. Feed your dump to the prep script: `python tools/prepare_rom.py "path/to/your/dump.smd"`.
3. Run the build tools in order: `python tools/build_disasm.py`, `python tools/validate_decoder.py`, `python tools/resolve.py`, `python tools/emit.py`.
4. Build it. On Windows run `build.bat` (needs VS Build Tools). Elsewhere run `cmake -S . -B build/native && cmake --build build/native`.
5. On Windows, start the game from the project folder with `build\native-Release\psiv.exe`.

Android, the portable Linux build and the macOS build need the SDL3 3.4.20 source, kept outside the repo. The README gives separate steps for each. If your dump sits in your home folder or in `rom/`, it installs itself at first run. Otherwise Start game asks you for the file.
