ran-j

    ran-j/PS2Recomp

    Playstation 2 Static Recompiler & Runtime Tool to make native PC ports

    developer-tools
    ps2
    recompile
    reverse-engineering
    static-recompilation
    tool
    C++
    GPL-3.0
    3.8K stars
    249 forks
    3.8K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 214 days ago, with 22 contributors on GitHub.

    Use Cases & Benefits

    • Translates PlayStation 2 ELF binaries into C++ code for native execution on modern platforms without emulation.
    • Enables static recompilation of PS2 games with configurable function stubbing and patching for flexible porting.
    • Use for porting PS2 games to PC by converting MIPS R5900 instructions into compilable C++ code.
    • Use for reverse-engineering PS2 binaries to analyze and modify game logic at the instruction level.
    • Use for developing custom runtimes that simulate PS2 hardware features to run recompiled code natively.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    GPL 3.0

    Copyleft: distributing software that includes it generally requires releasing your source under the same license.

    Community files

    • README: present

    Watch-outs

    • GPL-style copyleft: including it in distributed software generally requires releasing your source under the same license.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    PS2Recomp is a tool designed to statically recompile PlayStation 2 ELF binaries into C++ code that can be compiled for any modern platform. This enables running PS2 games natively on PC and other platforms without traditional emulation.

    Parsing a PS2 ELF file to extract functions, symbols, and relocations Decoding the MIPS R5900 instructions in each function Translating those instructions to equivalent C++ code Generating a runtime that can execute the recompiled code

    The translated code is very literal, with each MIPS instruction mapping to a C++ operation. For example, addiu $r4, $r4, 0x20 becomes ctx->r4 = ADD32(ctx->r4, 0X20);.

    Excerpt from the ran-j/PS2Recomp README on GitHub (GPL-3.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    249+135

    Open issues

    219+165

    Compared with peers in Developer Tools

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    ran-j/PS2Recomp compared with Developer Tools repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    stablyai/orca116.8K+6.6K40today
    affaan-m/ECC297.9K+5.2K6335 days ago
    DietrichGebert/ponytail185.3K+5.1K607 days ago
    herdrdev/herdr48.3K+1.7K5922 days ago
    The-PR-Agent/pr-agent15.1K+1.5K6411 days ago
    ran-j/PS2Recomp3.8K—27214 days ago
    Category median116.8K+5.1K60—

    Discover Repositories

    Search across tracked repositories by name or description