MGR-Recompiled

MGR-Recompiled is a port of Metal Gear Rising Revengeance for macOS that allows playing the game with mods.

README

Metal Gear Rising: Revengeance recompiled from the Xbox 360 version using ReXGlue WIP, don't expect good performance. No Win11 build planned since that one works fine on steam

No game files included, You need your own copy of the Xbox 360 game

Play

  1. Download the .dmg from releases
  2. Drag the app to Applications
  3. Pick your disc image (.iso) or extracted game folder
  4. Optional: add DLC and title update 4 (files or folders)

Supported disc: USA/Europe, title ID 4B4E080A, media ID 6CC18291, version 4 Jetstream Sam, Blade Wolf and the VR missions need title update 4 Add DLC later with Add DLC or Title Update… in the app menu

App data: ~/Library/Application Support/MGR-Recompiled/

Mods

1 folder per mod in ~/Library/Application Support/MGR-Recompiled/mods/ Same paths as inside the game archives (pl/pl1010.dat, ui/ui_title_us.dtt) Turn mods on or off in Options > MODS Open the folder with Reveal Mods Folder in the app menu

Convert PC mods first with Convert PC Mod… in the app menu The first time it downloads the mod tools (about 12 MB), your game, saves and settings stay as they are

From a source checkout (needs Python 3, numpy only for mods, not saves)

python3 tools/mods/mgr_modconv.py "<PC mod folder or .zip>"

uses a mod folder, a .zip, a single .dat/.dtt, a TexMod .tpf pack or a PC MGR.sav writes the converted mod into the mods folder, with modconv-report.json Converts archives, textures, models, animations and SOP files TexMod packs need the PC game installed: their hashes are matched to the PC textures Not yet: physics (HKX), audio, movies, .asi/.dll mods Highly beta, do NOT expect this to work all the time

Convert a PC save (the game files are not needed)

python3 tools/mods/mgr_modconv.py "/path/to/MGR.sav" "/path/to/MGR-360"

Writes GameData_00–GameData_02 for non-empty slots and SaveData.header Copy B13EBABEBABEBABE from MGR-360 into ~/Library/Application Support/MGR-Recompiled/user/ Keep a backup of the existing saves before replacing them

Build from source

Needs this exact default.xex (SHA-256) 907c8ebe94f085924f230d815ffa0b89c65ce60adfd00184b047276954ddf443

Needed

  • Extracted game files in private/game (default.xex and media/)
  • Xcode Command Line Tools
  • CMake 3.25+, Ninja, Python 3, Git
  • ReXGlue SDK nightly-20261002-bd833a2a in tools/sdk/mac-arm64/

Setup

git clone https://github.com/ginnfx/MGR-Recompiled.git
cd MGR-Recompiled
git clone https://github.com/rexglue/rexglue-sdk.git vendor/rexglue-sdk
git -C vendor/rexglue-sdk checkout bd833a2
git -C vendor/rexglue-sdk apply ../../patches/xenos-gpu-mgr.patch
git -C vendor/rexglue-sdk apply ../../patches/rexglue-macos-message-box.patch
git -C vendor/rexglue-sdk apply ../../patches/rexglue-stfs-damaged-package.patch
git -C vendor/rexglue-sdk apply ../../patches/rexglue-vfs-longest-mount.patch
git -C vendor/rexglue-sdk apply ../../patches/rexglue-host-dir-order.patch
git -C vendor/rexglue-sdk submodule update --init --depth 1 thirdparty/cli11 thirdparty/imgui thirdparty/FFmpeg thirdparty/libmspack
git clone https://github.com/KhronosGroup/glslang.git vendor/glslang
git -C vendor/glslang checkout f4f1d8a

Build and run

tools/sdk/mac-arm64/bin/rexglue codegen mgr_manifest.toml
scripts/build-optimized.sh
scripts/run.sh

Title update 4 build: run scripts/codegen-tu4.sh, then configure with -DMGR_GAME_VARIANT=tu4 Saves: private/user, logs: private/logs MGR_DEVELOPER_UI=1 opens the F2 settings window

Package

scripts/package-macos.sh

Output goes to dist/ MGR_VERSION sets the version, SIGN_IDENTITY signs with a Developer ID

License

GPL-3.0, see LICENSE and THIRD_PARTY_NOTICES Not affiliated with Konami or PlatinumGames