# pr-builder Automates Game Decompilation and Recompilation for Linux

> pr-builder, a pre-alpha Python orchestrator for Project-R, automates game decompilation, building, and AI-assisted patching on Linux.

- Published: 2026-11-01T18:33:34Z
- Score: 7/10
- Tags: tool, decomp, recomp
- Port / platforms: - -> Linux / Steam Deck (Tool)
- Web page: https://emu-radar.customfw.xyz/news/pr-builder-project-r-linux-orchestrator/
- Sources: https://github.com/willzmkv/pr-builder

**pr-builder**, a pre-alpha Python orchestrator for Project-R, is now on GitHub. It automates game decompilation and recompilation into native Linux binaries. Built for Python 3.11+, the tool coordinates builds through Unix sockets and calls an AI component for error diagnosis.

When a media event arrives, the tool checks the ROM hash against a registry. If a match exists, it clones the repository, installs dependencies via pacman or yay, and runs the build with make or cmake. Successful builds install the native binary. Failures go to pr-maestro, an AI component, for a diagnosis and patch. If no decompilation project is listed, the tool falls back to launching RetroArch or a standalone emulator.

### How to Try It
1. Install the package in editable mode: `pip install -e .`
2. Run the server: `python -m pr_builder.server`
