Muppet Monster Adventure - native recompilation
Muppet Monster Adventure - native recompilation is a native PC port of Muppet Monster Adventure for Windows and Linux that re-renders graphics at higher resolution.
- Type: PC port
- Game: Muppet Monster Adventure
- Runs on Windows
- By darkuni
- Latest release v0.1, 2026-10-31
- Source: https://github.com/darkuni/muppet-monster-adventure-recomp
README
Muppet Monster Adventure - native recompilation
A static recompilation of Muppet Monster Adventure (PlayStation, NTSC-U, SLUS-01238,
Magenta Software / Midway, 2000) to native code. The game's MIPS executable and its 35 code
overlays are translated to C++ and run on Windows (and Linux) with a runtime that replaces the
PlayStation hardware and BIOS. Graphics are re-rendered with OpenGL at higher resolution.
No game data is included. You need your own copy of the game as a .cue/.bin disc image.
Status
- Plays through the intro movies, title screen, new game (Hub tutorial with Pepe), level select and the castle level; saving and loading on the memory card work.
- Verified on the headless Linux test build against a reference emulator. The Windows build is produced by CI.
See NOTES.md for the technical write-up.
Running (Windows)
-
Download the latest
MuppetMonsterAdventure-<version>-win64.zipfrom Releases (or themuppetmonster-win64artifact of any Build Windows run on the Actions tab) and unzip it. -
First run only: put your disc image (a
.chd, orMuppet Monster Adventure.cue+ its.binfile(s)) in agamefolder next tomuppetmonster.exe(or next to the exe itself), then runmuppetmonster.exe- or drag the.cueonto it. One.binper track and single-.binrips both work. -
The disc is imported once into
assets.dat(about 340 MB, a few seconds to a minute) and checked sector by sector to be an exact copy. From then on the game runs fromassets.datand the.cue/.binfiles can be deleted. The finished install is just:muppetmonster.exe SDL2.dll assets.dat (memcard1.mcd, muppetmonster.ini once created)
muppetmonster.exe --import <file.cue> [out.dat] builds the file without starting the game.
Saves go to memcard1.mcd next to the exe - a standard 128 KB PlayStation memory card image, so
saves can be copied to and from emulators. Settings are in muppetmonster.ini.
In-game settings (F1 or Esc, Start+Select on a controller)
| Setting | Options |
|---|---|
| Resolution | 1x (original) to 6x internal resolution (restart); the window follows it (240 lines x the setting, shrunk to fit the desktop) |
| Widescreen 16:9 | wider view of the 3D world |
| VSync, Fullscreen (F11 / Alt+Enter) | |
| Scaling | sharp or smooth |
| Texture filtering | off (original), smooth 3D (2D art and text stay sharp), smooth everything - bilinear on the palette-decoded texels, so transparent edges stay clean |
| Colour | true colour, or the original 15-bit colour with the PlayStation's dither pattern |
| Precise geometry | sub-pixel polygon positions and perspective-correct textures (no wobble or texture warping), PGXP-style |
| Screen filter | off, scanlines, CRT (scanlines + aperture grille + glow; needs a window 600+ pixels tall) |
| Audio resampling | standard, or high quality (windowed-sinc) for the streamed XA music and voices |
| Swap A/B and X/Y | face buttons by position |
| Vibration | DualShock rumble on your controller (off/on, strength 25-100%) |
| Fast CD loading | levels load faster; music and movies stay real-time |
| Game speed | 1x-8x fast-forward (hold Tab for a burst) |
| Frame rate display | game frames per second and emulation speed (100% = a real console) |
| Keyboard keys | rebind every PlayStation button (or reset to defaults) |
| Controller buttons | rebind every PlayStation button to controller buttons, triggers or stick directions |
Controls
Any XInput/SDL gamepad works as a DualShock (analog sticks and rumble when the game enables them).
Controllers SDL has no mapping for are used as generic joysticks (buttons, hats, axes), and a
gamecontrollerdb.txt next to the exe adds more mappings. Start+Select opens the settings menu.
Keyboard defaults: arrows = d-pad, X = Cross, Z = Circle, A = Square, S = Triangle, Q/W = L1/R1,
1/2 = L2/R2, Enter = Start, Backspace = Select, I/J/K/L = right stick, Tab = fast-forward (hold).
Change them in the F1 menu under Keyboard keys (saved in muppetmonster.ini).
Layout
| Path | What it is |
|---|---|
src/recomp.py, src/mips.py | Recompiler: executable + overlays -> src/gen/*.cpp (one C++ function per MIPS function) |
src/gen/ | Generated code (committed so CI can build without the disc) |
src/runtime/ | Runtime: memory map, HLE BIOS (events, threads, interrupts, memory cards), GTE, GPU -> OpenGL, SPU, CD-ROM (XA/CD-DA), MDEC, controllers, timers, DMA |
config/functions.txt | Extra entry points and functions that run in the interpreter |
config/hle.txt | Guest functions replaced by host code |
config/psyq.txt | PsyQ library names found by signature |
tools/ | Disc preparation, disassembler, signature matcher, reference STR/BS decoder |
Regenerating the code
python3 tools/prepare_disc.py "Muppet Monster Adventure.cue" game # executable + overlays
python3 src/recomp.py game config src/gen 300
Building
Linux headless test build (EGL, screenshots): cmake -S src -B build -G Ninja && ninja -C build,
then SHOT_DIR=shots SHOT_EVERY=60 FRAMES=3000 ./build/muppetmonster game.cue.
Windows (cross-compiled with mingw-w64): see .github/workflows/build-windows.yml.
Disclaimer
This is an unofficial fan project. It is not affiliated with, endorsed by, or sponsored by The Jim Henson Company, Midway, Psygnosis, Magenta Software or Sony. Muppet Monster Adventure, the Muppets and all related names and marks belong to their respective owners. This repository and its releases contain no game data (graphics, sound, music, movies): those come from your own legally obtained disc image. The recompiled source and the release exe contain code machine-translated from the game's executables.
License
The project's own code is released under the MIT License. Third-party components keep their own licenses; see THIRD_PARTY_NOTICES.md.