Recomp / Games / PlayStation
Metal Gear Solid reverse engineering
Matching decompilation of Metal Gear Solid Integral back to C that compiles to the same assembly, starting from the main executables.
Matching decomp Human-led wipAce Combat 3: Electrosphere, recompiled · Animal Crossing decompilation · Armored Core Decompilation
About Metal Gear Solid reverse engineering
mgs_reversing, from the FoxdieTeam group, is a matching decompilation of Metal Gear Solid Integral, the expanded Japanese PlayStation release. The aim is C source that, built with Sony's original PsyQ toolchain, produces exactly the same machine code as the game. It is a reverse-engineering project, not a PC port: what it builds is a PlayStation executable, which you then run in an emulator to test changes.
To use it you need your own copy of Metal Gear Solid Integral; the build compares its output against the hashes of the original executables, and testing requires the original disc image. The tools run on Windows, Linux and macOS, with Python and, outside Windows, Wine. A dev build variant embeds some stage code into the main executable and comes with a helper that relaunches the PCSX-Redux emulator after each rebuild. The README notes that if the main executable changes size the original stage code stops working, and a tool to repack it is only planned.
Both main executables are fully decompiled: the main game executable (SLPM-86247 and SLPM-86248) and SLPM-86249, a variant with changes centred on the VR version of Snake. The remaining work is in the overlays, the per-stage code the game loads for each area, menu and cutscene. Many of those, from the Loading Dock and Heliport through the Tank Hangar and Holding Cell, are marked complete, while others such as the briefing, ranking and photo screens are still in progress, and the overlays for SLPM-86249 are further behind. Open pull requests continue matching the VR and remaining stage overlays. There are no releases.
This is the only Metal Gear Solid Integral project listed on the site.
Facts
- Original
- Metal Gear Solid Integral (PlayStation) (1998)
- Platform
- PlayStation
- Method
- Matching decomp
- Provenance
- Human-led · Repo created 2019, predates AI coding tools (GitHub) what this means
- Status
- wip
- Licence
- none
- Team
- FoxdieTeam
- Started
- 2019-11
- Runs on
- PlayStation
- Needs the original
- Yes: you supply your own legally obtained copy
How to get it legally
This project ships code only. Build or download it from the official repository, then supply data from a copy of Metal Gear Solid Integral (PlayStation) you own. Recomp never links to ROMs, discs or game data.
This project was decompiled by FoxdieTeam. Facts last checked 2026-10-14. Suggest a correction
Sources
Related
All games →Ace Combat 3: Electrosphere, recompiled
Ace Combat 3: Electrosphere
Native Windows build of the PlayStation Ace Combat 3, with MIPS code translated to C and linked against rewritten Psy-Q libraries. Ships a software renderer and an enhanced Vulkan renderer.
Animal Crossing decompilation
Animal Crossing
A fully matching decompilation of the GameCube Animal Crossing, with a companion project for the Japanese e+ release.
Armored Core Decompilation
Armored Core
Matching decompilation of the US PlayStation release of FromSoftware's Armored Core, covering the main executable plus program and mission overlays.
Banjo-Kazooie decompilation
Banjo-Kazooie
Matching decompilation of Rare's Banjo-Kazooie that headlines itself at 100%. It provides the symbols and source later used by Banjo: Recompiled.
Battle Arena Toshinden Recompiled
Battle Arena Toshinden
Static recompilation of the US PlayStation release of Battle Arena Toshinden using psxrecomp, adding optional widescreen, extra-roster mods and two-player rollback netplay.
BattleTanx: Global Assault (PlayStation)
BattleTanx: Global Assault
Matching decompilation of the US PlayStation release of BattleTanx: Global Assault that rebuilds the retail executable, with decoders for the game's asset formats.