Skip to content

Guilty Gear X (PS2, US) matching decompilation 1.0.0

Latest

Choose a tag to compare

@devin-thomas devin-thomas released this 21 Nov 08:26

The first release of the matching decompilation of the original Guilty Gear X for the PlayStation 2, US release (SLUS-20287). The C in src/ compiles back to the game's code byte for byte, and the whole executable rebuilds identical to the one on the disc.

Counts

Game functions from C 3,266 / 3,266
Game code bytes from C 611,804 / 611,804
Game translation units fully C 116 / 116
Rebuilt SLUS_202.87 byte-identical, SHA-256 7e8000d17ba3c74c4793147d5a5dae57c4b1911439b0f9a91a9f8e79461eefc9

VERIFICATION.md records the build that checked this source before release, and ggx-progress.json has the counts per translation unit.

SDK and C runtime

The Sony SDK and C runtime linked into the game are counted separately: 409 / 581 SDK and C-runtime functions are C, in libs/sony-sdk/. The rest stay assembly, which the build generates from your own executable. Finishing the SDK in C is a separate milestone.

Compiler stand-ins

Five functions match through tagged compiler stand-ins: constructs that steer the 1999 compiler rather than the source a programmer would have written. Each is marked FAKEMATCH in the source and explained in FAKEMATCHES.md, with the natural forms that were tried. They are included in the counts above.

Building

You need Linux (or WSL) on x86-64 with the 32-bit C library, Python 3.12+, and SLUS_202.87 from your own disc. No game data is included. The README has the commands: scripts/fetch_toolchain.py downloads and checks EE-GCC 2.9-ee-991111-01 and binutils, and build.py --keep-going rebuilds the executable and fails on any difference.

Lineage

WistfulHopes/ggx, the first X Plus decompilation, has no licence, so none of its code is included. LINEAGE.md records what was checked and how each inherited piece was replaced, and scripts/lineage.py repeats the check against a ggx checkout (0 unexplained items for this release).

Licence

The decompilation is dedicated to the public domain under CC0 1.0. Some files in libs/sony-sdk/ keep their upstream terms; see THIRD_PARTY_NOTICES.md. This is an unofficial fan project, not affiliated with Arc System Works or Sammy.

Credits

  • Lil Gohan (@gohan__FGC, fgc.lilgohan.com) started and led this decompilation and the X Plus one before it.
  • Guilty Gear X was made by Arc System Works.
  • WistfulHopes/ggx, the first decompilation of Guilty Gear X Plus, where the X Plus work began.
  • decomp.me and decompals, for the compiler archive and the toolchain.
  • nathanialf/ico, for SDK and C-runtime reconstructions (MIT).
  • chaoticgd/ccc, for the STABS reader that read the X Plus Korean disc's debug data.
  • splat and spimdisasm, which split the executable at build time.
  • Most of the matching was done by AI agents, Anthropic's Claude and OpenAI's Codex, working under Lil Gohan's direction.

The X Plus decompilation is at guilty-gear-x-plus.