Skip to content
PORTSNATIVE.
HomeCatalog
Web GamesEmulatorsToolsNews
PORTSNATIVE.

A catalog for discovering ports and related projects. We link to official sources and do not host original game files.

ExploreCatalogMy list
InformationAbout usSuggest a portSupportDonationsLegal notice
© 2026 PortsNative
Back to catalog
MegaManX6Recomp
PORTSNATIVE

MegaManX6Recomp

NATIVE PORTPLATFORMERWINDOWSLINUXMACOSBETA

MegaManX6Recomp

Mega Man X6

OriginPlayStation

TechnologyStatic recompilation (native C/C++)

Available forWindows, Linux, macOS

View official project

About the project

Mega Man X6 es el sexto juego de la serie Mega Man X creado por Capcom. Es el primero que no dirigió el creador de la serie, Keiji Inafune.

Official project information

Author's original READMEOpen on GitHub ↗

MegaManX6Recomp

ALPHA: experimental X + Zero two-player co-op. Latest published alpha: v1.3.2-alpha. Local co-op and basic netplay are playable. Full-campaign play, Internet conditions, and longer sessions still need coverage. v1.2.0 remains the stable release.

This recompilation is a byproduct of developing psxrecomp — the games are the proving ground, the framework is the goal. These are in-development previews, not finished ports — expect rough edges, and depth will keep landing over months, not days. My time for any one title is limited, so I ask for your patience. Contributions are welcome — testing, issues, and PRs to the game or framework all help and will accelerate this game's polish. More on the why at: Recomp + AI: 5 Months Later »

Mega Man X6 (USA, SLUS-01395, disc revision v1.1) statically recompiled to a native PC executable with PSXRecomp — the same framework behind TombaRecomp.

What This Is

This repository contains the game-specific configuration, seeds, tools, and build glue for running Mega Man X6 on the PSXRecomp framework. The game's MIPS code is machine-translated ("recompiled") ahead of time into native C, then compiled into a real Windows program that runs the game's own logic on a faithful simulation of the PS1 hardware (GPU, SPU, GTE, memory cards) plus the recompiled PS1 BIOS. Netplay skips the BIOS shell animation while preserving kernel initialization and disc boot.

It does not contain the Mega Man X6 disc image, a retail PS1 BIOS, generated game code, or any decompiled game C. Release builds include the MIT-licensed OpenBIOS from PCSX-Redux; game data and an optional retail BIOS come from your own legally obtained assets.

The Mods catalog incorporates an adaptation of Mega Man X6 Tweaks, authored by acediez (RHDN project thread). acediez explicitly granted permission to adapt and ship his work as part of Mega Man X6 Recompiled. Every included tweak remains opt-in and disabled by default.

The English retranslation by DuoDynamo is included with his direct redistribution approval and remains opt-in and disabled by default. The extra portrait/palette work credited to MetalWario64 is neither included nor enabled while separate approval remains pending. See mods/preloaded/ATTRIBUTION.md.

Important files:

  • game.toml: runtime / recompiler / video / controller / widescreen config.
  • mods/preloaded/: built-in mod catalog and attribution/permission ledger.
  • seeds/: Ghidra-derived function starts and game-specific seed data.
  • tools/regen.ps1: regenerates the recompiled C output.
  • tools/package_release.ps1: builds the redistributable release zip.
  • psxrecomp-v4 Git submodule: the pinned framework revision.
  • ISSUES.md: game-specific issue log.
  • DISC.md: source-disc identity and verification hashes.
  • WIDESCREEN.md: design notes for the experimental 16:9 mode.

Status

ALPHA — v1.3.2-alpha is the current published co-op prerelease. X and Zero can play together locally or through delay-sync netplay. The co-op mod remains Experimental 0.0.1. Basic netplay has owner playtest coverage; the campaign has not been verified from start to finish.

AreaState
PS1 BIOS bootWorks (real recompiled BIOS)
Disc-detect / bootWorks (loads ROCK_X6.DAT, reaches the engine)
X-vs-Zero / Space Colony intro FMVPlays; opt-in skip features available under Mods
ControllerTwo local input slots; DualShock/analog and rumble supported
X + Zero co-opExperimental 0.0.1; local and delay-sync netplay
Stage gameplayWorks (not yet verified all the way to the end)
Memory-card save / loadWorks (standard PS1 .mcd, emulator-compatible)
RenderersOpenGL is the default and required for co-op; Software remains selectable
Custom RendererExperimental, opt-in; Adaptive or fixed 16:9 / 21:9 / 32:9
Co-op netplay viewFixed 4:3 / 16:9 / 21:9, chosen by the host; both native HUDs anchored

Known issues: see ISSUES.md for the current issue log (including renderer notes) and the remaining enhancement follow-ups.

Enhancements

X + Zero co-op (experimental 0.0.1)

<table> <tr> <td width="50%"><img src=".github/screenshots/mmx6-coop-intro.png" alt="Player one X and player two Zero together in the opening stage, with separate native health bars"></td> <td width="50%"><img src=".github/screenshots/mmx6-coop-recycle-lab.png" alt="X riding Ride Armor alongside player two Zero in Recycle Lab"></td> </tr> <tr> <td align="center"><sub>X and Zero share the opening stage, with independent health.</sub></td> <td align="center"><sub>Two-player Recycle Lab gameplay, including X's Ride Armor.</sub></td> </tr> </table> <p align="center"> <img src=".github/screenshots/mmx6-coop-ultrawide.png" alt="Experimental fixed 21:9 co-op view with expanded scenery and both native health bars"> <br><sub>Fixed 21:9 co-op rendering with both native HUDs anchored to the left.</sub> </p>

Enable X + Zero Co-op on the launcher's Mods page for local play. The bundled mod is marked Experimental, version 0.0.1, and disabled by default. Netplay uses the shared PSX delay-sync transport with X as P1 and Zero as P2. The built-in co-op logic is enabled for both peers; ordinary offline mod selections remain separate. Use identical builds and the supported v1.1 disc and OpenGL renderer. Select your local controller on the launcher's P1/Netplay card, then host or join through Netplay.

Players share a life pool and keep separate health, weapons, and native character progression. The surviving player continues when their partner dies. P2 can hold Select for 1.5 seconds to leave, then tap Select to return with retained health. A dead P2 returns after a new stage or team respawn.

Settings → Display → Netplay aspect offers fixed 4:3, 16:9, and 21:9. Choose it before hosting; the host's choice applies to both peers. Adaptive is excluded. The wide choices use the full enhanced renderer: host background packets, room-edge framing, guarded enemy activation, and native dialogue/effect handling. Window resizing cannot change the match's view or activation bounds. Both native HUDs anchor to the left edge with their normal spacing. Offline widescreen continues to use its Mods selection, including adaptive Fit.

Lobby → Mods → Seamless Loading lets the host choose the resident asset loader for both peers. It prepares the original disc resources in host memory and serves blocking loads through native installation callbacks; gameplay and audio retain normal pacing. Guests follow the host's setting and keep their own offline mod selections. The deprecated host-pacing Fast Loading and CD Speed options are absent from this game's catalog.

Seamless Loading is available for local and netplay sessions in v1.3.2-alpha. Both peers must use the same build.

Bundled OpenBIOS is the default. Co-op netplay skips the BIOS shell animation while running kernel initialization and disc loading normally. A selected retail BIOS remains supported. Ordinary game memory-card saves remain available; rollback and save states are disabled for this milestone because the co-op's host-owned simulation state is not yet serialized.

Validated on two private local peers: OpenBIOS boot with shell skip, both seats' movement through transported input, P2 leave/rejoin with health preserved, native Zero/HUD rendering, and fixed 4:3/16:9/21:9 output. Logged core/device checksums matched across each run. Internet latency/loss, full campaign play, and runtime rematches still need separate validation. The repeatable input test is tools/test_coop_netplay_runtime.py (requires two private debug-enabled peers; use --expected-width 426 for 16:9 or 560 for 21:9; add --enhanced to check both HUD positions and the intro robot beyond the native view).

MegaManX6Recomp supports opt-in enhancement packages without permanently patching your disc. Mega Man X6 Tweaks-derived packages expose their changes as individual launcher features, including configurable animation timing, status adjustments, and optional voice hooks.

<table> <tr> <td width="50%"><img src=".github/screenshots/mmx6-tweaks-title-screen.png" alt="Mega Man X6 Tweaks alternate title screen"></td> <td width="50%"><img src=".github/screenshots/mmx6-tweaks-launcher.png" alt="Mega Man X6 Tweaks features in the launcher"></td> </tr> <tr> <td align="center"><sub>An alternate Japanese-style title screen from Mega Man X6 Tweaks.</sub></td> <td align="center"><sub>Tweaks are enabled and configured feature-by-feature in the launcher.</sub></td> </tr> </table>

The experimental widescreen package renders a genuinely wider 2D field of view instead of stretching the original 4:3 picture.

<p align="center"> <img src=".github/screenshots/mmx6-widescreen-gameplay.png" alt="Mega Man X6 gameplay rendered with the experimental 16:9 widescreen enhancement"> </p>

Features

These are the framework features that are already working in this build:

  • Native interpolated rendering. Enable Frame Interpolation under Mods to redraw world sprites and scrolling backgrounds at display refresh or 90/120/144/165/240 FPS. Gameplay, audio and animation timing stay unchanged; HUD elements retain their screen positions. Uses OpenGL and defaults off.

  • Two renderers. A GPU OpenGL backend (the default) and a CPU software rasterizer, both selectable in the launcher. Co-op requires OpenGL.

  • Seamless Loading. On first launch the game's stage and menu resources are prepared once from your disc into a verified local cache. Loads the game would show "Now Loading" for are then served from memory through the game's own loader, so stage entry skips the loading screen. Gameplay, audio, CD and WARNING/cutscene timing stay normal; nothing is fast-forwarded. On by default; disable it under Mods to restore original loading. See docs/SEAMLESS_LOADING.md.

  • Opt-in FMV skips. The Capcom logo and opening movie play by default. Separate skip features are available under Mods; the deprecated generic Settings toggle is disabled.

  • Custom Renderer. Enable it in Mods for an adaptive 2D field of view. Fit follows the window without an aspect ceiling; fixed 16:9, 21:9 and 32:9 choices are also available. The default remains stock 4:3. This is an experimental review build; see validation and known limits.

  • DualShock controller by default. MMX6 will not poll buttons until it detects an analog-capable pad, so the runtime presents a DualShock by default. Adjustable stick deadzone; per-player override in the launcher.

  • Supersampling + anti-aliasing. Internal-resolution SSAA (1×–4×) with optional linear present filtering for clean edges.

  • Graphical launcher. OpenBIOS works out of the box. Pick your disc and memory cards, optionally select your own verified retail BIOS, and configure renderer / supersampling / widescreen / controller before launching.

  • Feature-oriented mod loader. The release preloads the adapted MMX6 Tweaks catalog as 15 package families with 203 independently configurable, default-disabled feature rows in the launcher.

Setup

Release Package (recommended)

  1. Download MegaManX6Recomp-v*-windows-x64.zip from Releases and extract it.
  2. Run MegaManX6Recomp.exe. A launcher window opens.
  3. OpenBIOS is selected automatically. Optionally select your legally obtained SCPH1001.BIN in the BIOS row.
  4. Set the game disc: select your legally obtained Mega Man X6 (USA, v1.1, SLUS-01395) disc image. The launcher verifies the ISO9660 header, region, and serial.
  5. Optionally adjust renderer, supersampling, screen look, widescreen, and controller settings, then press Launch. Your choices are remembered.

Accepted disc formats: .cue + .bin (preferred — pick the .cue) and .bin. Do not convert the disc to a 2048-byte "cooked" .iso — that discards the Mode-2 Form-2 XA sectors MMX6 streams its FMV/audio from. If the header or game ID does not match SLUS-01395, the launcher warns and tries to run it anyway.

Selected paths persist next to the executable (disc.cfg and settings.toml). Clear the BIOS row to return from an optional retail selection to OpenBIOS.

Building From Source

Builds on Windows (MSYS2/MinGW).

Requirements:

  • A C/C++ toolchain (MSYS2 mingw-w64-x86_64) and CMake 3.20+.
  • Mega Man X6 (USA, v1.1, SLUS-01395) disc image (.cue + .bin or .bin). Not included. Verify it against DISC.md before reporting regressions.
  • Optional Sony SCPH1001 BIOS ROM (SCPH1001.BIN). Not included.
  • The psxrecomp framework available at the sibling path ../psxrecomp (linked in as the psxrecomp-v4 junction at the psxrecomp-v4.pin SHA), plus a recompiled BIOS in psxrecomp/generated/ (see the framework README).

The recompiler needs the game's PS-X EXE extracted from the disc. A helper is included:

python3 ../psxrecomp/tools/extract_psx_exe.py "mmx6/Mega Man X6 (USA) (v1.1).bin" SLUS_013.95 mmx6/SLUS_013.95

Generate the recompiled C, then build and run:

# Regenerate generated/SLUS_013.95_{full,dispatch}.c from the disc/EXE.
# This also emits the widescreen sites, so a regen is required after changing them.
#   Windows: pwsh tools/regen.ps1
#   (or invoke the recompiler directly:
#    ../psxrecomp/recompiler/build/psxrecomp-game.exe --config game.toml)

cmake -S . -B build -G "Unix Makefiles"
cmake --build build -j16
./build/mmx6-runtime.exe

SDL3 is the default host backend. To build the explicit SDL2 compatibility fallback, add -DPSX_SDL_BACKEND=SDL2 to the configure command above. CMake prints the selected backend and never silently changes it.

To build the redistributable Windows release (regens, builds with the launcher, bundles assets + cache, and zips it): pwsh tools/package_release.ps1.

Configuration

Most options are exposed in the launcher and persist to settings.toml. The underlying defaults live in game.toml:

  • [video] — renderer (opengl / software), supersampling (1–4), antialiasing, texture_filtering, aspect_ratio (4:3 / 16:9).
  • [controller] — default_analog (DualShock on by default), deadzone.
  • [runtime] — disc_speed (kept at 1x), turbo_loads, fast_boot, overlay_cache.
  • [widescreen]* — 2D widescreen projection / background-streamer hooks (gen-time; changing these requires a regen and overlay-cache rebuild).

Controls

PSX buttonKeyboard
D-Pad Up / Down / Left / RightArrow keys
CrossX
SquareZ
CircleS
TriangleA
L1 / R1Q / W
L2 / R2E / R
StartEnter
SelectRight Shift
TurboTab (hold)
FullscreenF11 / Alt+Enter

A game controller (Xbox, PlayStation, or any SDL-recognized pad) is supported via SDL when connected. MMX6 expects an analog pad, so a DualShock/analog controller is presented by default.

PSX buttonXbox controller
D-Pad Up / Down / Left / RightD-pad or left stick
CrossA
CircleB
SquareX
TriangleY
L1 / R1LB / RB
L2 / R2LT / RT
StartMenu
SelectView / Back

Release builds include input.ini next to MegaManX6Recomp.exe. Edit it to change controller device index, deadzone, or button mapping.

Memory Cards

Save and load work. The runtime uses standard PS1 memory-card images (.mcd / .mcr) compatible with DuckStation, PCSX-Redux, Mednafen, ePSXe, and similar emulators. Cards are stored in the saves directory and managed in the launcher's memory-card UI. Runtime memory-card files are local artifacts and must not be committed.

Help make your game faster — just by playing

Why isn't the game already at full speed everywhere? Most of MMX6's code is converted ("recompiled") into a fast native program ahead of time. But PlayStation games don't keep all of their code in memory at once — they stream extra chunks of code off the disc as you reach new areas (these chunks are called overlays; MMX6 streams most of its game logic from ROCK_X6.DAT). We can't convert a chunk we've never seen, and the only way to see it is for someone to actually visit that area. Until then, that area's code runs in a slower compatibility mode.

Releases ship a head start. The cache folder next to the executable contains pre-converted native code for areas covered so far, and that work is reused across launches. While you play, the runtime records newly visited areas into overlay_captures.json and your own cache grows automatically.

Please do not post overlay_captures.json publicly. It contains verbatim snapshots of the game's code read from your disc, which is copyrighted material — keep it on your own machine, alongside your disc image.

Development Rules

  • Use the real recompiled BIOS and real hardware simulation in PSXRecomp.
  • No HLE BIOS shims, no stubs, no fake events, no hand-edited generated files.
  • Framework changes go in mstan/psxrecomp, not here.
  • Game binaries, generated code, memory cards, Ghidra databases, and build outputs stay local.
  • See CLAUDE.md for project-specific rules.

License

PolyForm Noncommercial 1.0.0. See LICENSE.

Mega Man X6 is copyright Capcom. This repository contains none of the game's original binaries or assets. Release packages include PCSX-Redux OpenBIOS under the MIT notice in bios/OpenBIOS.LICENSE; they contain no retail BIOS, game assets, or disc data. The release executable and bundled cache folder contain statically recompiled (machine-translated) builds of the game's code.


<p align="center"> <sub><b>R.A.I.D. — Retro AI Development</b> · a Discord for AI-assisted retro reverse-engineering, decomp &amp; recomp</sub> </p> <p align="center"> <a href="https://discord.gg/Ad9BwSzctP"><img src=".github/raid-discord.png" alt="Join the Retro AI Development (R.A.I.D.) Discord" width="200"></a> </p>

See original-disc AOT overlays for the verified inventory, reusable extraction method, release checks, and coverage limits.

v1.2.0 rendering update

Game-code sprite and scrolling-background interpolation above 60 Hz, with stable HUD and current animation cells. Includes the current audited adaptive-widescreen renderer and object activation/retention bounds so visible scenery loads before entering the view. Keeps encounter and script-controller activation guards.

Read official guide
CALIFICACIÓN
—
Loading votes…
Advertisement

PROJECT FILE

Project type
NATIVE PORT
Genre
Platformer
Status
beta
Original platform
PlayStation
Technology
Static recompilation (native C/C++)
Version
—
Updated
—

Target platforms 3

Windows
Linux
macOS
View on GitHub
Advertisement