Metal Gear Solid PSX reimpl repo
This project aims to completely reverse engineer Metal Gear Solid Integral for PlayStation back to C source code which when compiled produces the same assembly code.
At this moment SLPM_862.47/SLPM_862.48/SLPM_862.49 main executables are 100% decompiled. However, even though this is a substantial milestone, a significant amount of work
is still left to decompile overlays - making it possible to boot into every game level and clean up already decompiled code.
The repository builds or aims to build the following artifacts:
SLPM_862.47/SLPM_862.48 (main executable)
Status
✔️ 100% decompiled! The next goals for this artifact are to clean up the decompiled code, find cleaner matches and make it shiftable.
Size
626 KB
SHA256
4b8252b65953a02021486406cfcdca1c7670d1d1a8f3cf6e750ef6e360dc3a2f
Building
python build.py
SLPM_862.49 (main executable)
Status
✔️ 100% decompiled! This executable is based on SLPM_862.47 (main executable), but with many small changes, especially around chara/snake_vr (a variant of Snake actor).
Size
616 KB
SHA256
c370f8e41ec8fb78238bfe2ddbfc25a6d37ec8f0972c86ebfde075ecd4ee8dca
Building
python build.py --variant=vr_exe
Metal Gear Solid Integral dynamically loads additional per-stage executable code that is required to play a particular stage of the game. The main executable contains the game engine, as well as the most common actors used throughout the stages.
Overlays on SLPM-86247/SLPM-86248
Status
Work in progress.
Individual overlay progress:
Click to expand
abst
46 KB
Abstract (Save/Load Menu)
✔️ 100% decompiled!
brf
125 KB
Briefing
Work in progress
camera
54 KB
JPEG Photo Menu
Work in progress
change
12 KB
Disc Change
✔️ 100% decompiled!
d00a
122 KB
Loading Dock (Cutscene)
✔️ 100% decompiled!
d01a
57 KB
Heliport (Cutscene)
✔️ 100% decompiled!
d03a
18 KB
Holding Cell (Cutscene)
✔️ 100% decompiled!
d11c
14 KB
Communication Tower B (Cutscene)
✔️ 100% decompiled!
d16e
65 KB
Underground Base (Cutscene)
✔️ 100% decompiled!
d18a
96 KB
Supply Route (Cutscene)
Work in progress
d18ar
96 KB
Supply Route (Cutscene) (RED)
Work in progress
demosel
16 KB
Demo Theater
✔️ 100% decompiled!
ending
40 KB
Ending Demo (SCENE 28-1)
✔️ 100% decompiled!
endingr
40 KB
Ending Demo (SCENE 28-1) (RED)
✔️ 100% decompiled!
opening
42 KB
Opening Demo (SCENE 01-1)
✔️ 100% decompiled!
option
26 KB
Options Menu
✔️ 100% decompiled!
preope
25 KB
Previous Operations
✔️ 100% decompiled!
rank
139 KB
Ranking Screen
Work in progress
roll
39 KB
Staff Roll
✔️ 100% decompiled!
s00a
120 KB
Loading Dock
✔️ 100% decompiled!
s01a
137 KB
Heliport
✔️ 100% decompiled!
s02a
130 KB
Tank Hangar
✔️ 100% decompiled!
s02b
129 KB
Tank Hangar
✔️ 100% decompiled!
s02c
132 KB
Tank Hangar (Before Contacting Meryl)
✔️ 100% decompiled!
s02d
126 KB
Tank Hangar (After Contacting Meryl)
✔️ 100% decompiled!
s02e
132 KB
Tank Hangar (After Torture)
✔️ 100% decompiled!
s03a
75 KB
Holding Cell
✔️ 100% decompiled!
s03ar
75 KB
Holding Cell (RED)
✔️ 100% decompiled!
s03b
66 KB
Medical Room
✔️ 100% decompiled!
s03c
84 KB
Medical Room
✔️ 100% decompiled!
s03d
101 KB
Holding Cell
Work in progress
s03dr
101 KB
Holding Cell (RED)
Work in progress
s03e
38 KB
Holding Cell (vs. Soldiers)
✔️ 100% decompiled!
s03er
38 KB
Holding Cell (vs. Soldiers) (RED)
✔️ 100% decompiled!
s04a
94 KB
Armory
✔️ 100% decompiled!
s04b
116 KB
Armory South (vs. Ocelot)
✔️ 100% decompiled!
s04br
116 KB
Armory South (vs. Ocelot) (RED)
✔️ 100% decompiled!
s04c
100 KB
Armory South
✔️ 100% decompiled!
s05a
130 KB
Canyon
Work in progress
s06a
127 KB
Warhead Storage Building 1F
✔️ 100% decompiled!
s07a
130 KB
Warhead Storage Building B1
✔️ 100% decompiled!
s07b
141 KB
Commander's Room
Work in progress
s07br
141 KB
Commander's Room (RED)
Work in progress
s07c
73 KB
Warhead Storage Building B1
✔️ 100% decompiled!
s07cr
73 KB
Warhead Storage Building B1 (RED)
✔️ 100% decompiled!
s08a
86 KB
Warhead Storage Building B2
✔️ 100% decompiled!
s08b
133 KB
Laboratory
Work in progress
s08br
133 KB
Laboratory (RED)
Work in progress
s08c
60 KB
Corridor
✔️ 100% decompiled!
s08cr
60 KB
Corridor (RED)
✔️ 100% decompiled!
s09a
121 KB
Caves
✔️ 100% decompiled!
s09ar
121 KB
Caves (RED)
✔️ 100% decompiled!
s10a
135 KB
Underground Passage
❌ Work not started
s10ar
135 KB
Underground Passage (RED)
❌ Work not started
s11a
87 KB
Communication Tower A
Work in progress
s11b
97 KB
Communication Tower Roof
❌ Work not started
s11c
65 KB
Communication Tower B
✔️ 100% decompiled!
s11d
60 KB
Communication Tower A Wall
Work in progress
s11e
113 KB
Communication Tower B Elevator
✔️ 100% decompiled!
s11g
105 KB
Communication Tower B Roof
Work in progress
s11h
97 KB
Communication Tower B Roof (vs. Hind D)
❌ Work not started
s11i
75 KB
Communication Tower Walkway
✔️ 100% decompiled!
s12a
107 KB
Snowfield
✔️ 100% decompiled!
s12b
96 KB
Snowfield (After vs. Sniper Wolf)
✔️ 100% decompiled!
s12c
95 KB
Snowfield (After vs. Sniper Wolf)
✔️ 100% decompiled!
s13a
130 KB
Blast Furnace
✔️ 100% decompiled!
s14e
108 KB
Cargo Elevator
❌ Work not started
s15a
89 KB
Warehouse
❌ Work not started
s15b
38 KB
Warehouse North
✔️ 100% decompiled!
s15c
129 KB
Warehouse
Work in progress
s16a
63 KB
Underground Base (1F)
✔️ 100% decompiled!
s16b
10 KB
Underground Base (2F)
✔️ 100% decompiled!
s16c
109 KB
Underground Base (3F)
✔️ 100% decompiled!
s16d
121 KB
Underground Base (Control Room)
✔️ 100% decompiled!
s17a
140 KB
Supply Route (vs. REX)
❌ Work not started
s17ar
140 KB
Supply Route (vs. REX) (RED)
❌ Work not started
s18a
133 KB
Supply Route (vs. Liquid)
❌ Work not started
s18ar
133 KB
Supply Route (vs. Liquid) (RED)
❌ Work not started
s19a
120 KB
Escape Route (Garage)
❌ Work not started
s19ar
120 KB
Escape Route (Garage) (RED)
❌ Work not started
s19b
110 KB
Escape Route (Tunnel)
Work in progress
s19br
110 KB
Escape Route (Tunnel) (RED)
No open issues yet, or sync has not completed.