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.
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
- Install the package in editable mode:
pip install -e . - Run the server:
python -m pr_builder.server