Repository navigation
Releases
WWE WrestleMania XIX v0.4.4
WWE WrestleMania XIX - v0.4.4
controllers: one canonical profile, positional/nintendo classes, no profile
rewriting, first-pad fallback + hot-plug
This is the generic controller system ported from WWE WrestleMania X8 v0.1.4.
The per-device profile generator is gone.
What changed
- ONE static GCPadNew.ini (canonical SDL positional bindings). It is written
only when missing and never rewritten - not at launch, not on a layout
change, not on a device change. - Two layout classes: positional (default) and nintendo (A<->B and X<->Y so the
printed labels match). D-pad, sticks and triggers are never swapped. - The class is resolved per pad, in the input layer, from SDL's gamepad type
(Switch Pro / JoyCon), with one small vendor fallback for 8BitDo pads that
report a standard type while using Nintendo order: 05ac:0004 plus the 8BitDo
HID ids c82d:0060/0061/0160/0161/0360/0660/0960. A user override wins:
controller_class = auto|positional|nintendoin config.ini, or
--controller-layout. - Device binding no longer depends on the profile's Device line: at input init
the runtime checks whether the configured pad is connected and otherwise
binds the first SDL gamepad in memory (the file is untouched). A 2 s watcher
repeats the check, so a pad that appears after launch binds without a
restart. - Deleted: the profile generator, per-device GUID tables, DetectControllerMapping
and the a>b rule, the D-pad swap heuristics, profile migration, the 16
per-family default profiles and tools/make-controller-profiles.ps1. - Legacy config keys (
controller,controller_profile,controller_layout)
and the old headless flags (--pad-info,--write-pad-profile,--pad-guid,
--pad-layout,--check-migration) still parse and never fail; they are
ignored.
Startup line (players quote it, we triage with it):
controller: name="SDL/0/Xbox One Controller" guid=0300fa675e040000ff02000000007801 class=auto dpad=normal profile=static
Why this fixes "PlayStation works, Xbox does not"
The old path wrote a profile naming one pad found by a launch-time scan. If the
scan missed the Xbox pad (SDL teardown, sleeping wireless pad, different driver
name), the profile pointed at a device that did not exist and nothing bound -
while a DualSense row happened to match. Now the profile is device-agnostic:
binding falls back to the first pad in memory, so a present Xbox pad always has
input even with a stale profile line.
Two defects in the reference that this port fixes
SetLayoutClassOverride()writes the atomic in LayoutClass.h, but the
reference'sClassifyGamepadread a second, file-static atomic in
SDLGamepad.cpp - so its--controller-layoutoverride was a no-op. This
port reads the shared override.EnsurePadBound()usedGetDefaultDeviceString(), which returns the
highest-priority device - the keyboard. The "first pad" fallback therefore
bound "DInput/0/Keyboard Mouse" and the pad still had no input. This port
picks the firstSDL/...device.
Verification
Offline (powershell -File tools\test-controller-layouts.ps1), 11 checks:
canonical profile contents (positional A/B/X/Y, plain D-pad, triggers, single
[GCPad1]), write-once, keyboard variant, legacy flags exit 0, every class value
accepted, junk class rejected. All pass.
Real runs (visible windows) on the pads available here:
- Xbox One Controller (045e:02ff, XInput):
class=auto, canonical profile
written once, 59.94 fps, clean stop. --controller-layout nintendo: startup line reportsclass=nintendo.- Profile naming a missing pad ("Ghost Pad") plus the Xbox pad connected:
controller: configured device missing; bound "SDL/0/Xbox One Controller",
profile text unchanged (still Ghost Pad), game boots. - Profile byte-for-byte unchanged across launches.
Not verified on this host: a real Nintendo-class pad (Switch Pro / 8BitDo in
Switch mode), physical hot-plug (would need unplugging a pad) and button-order
press tests. The class code paths are covered offline; the watcher is covered by
the stale-profile run above.
WWE WrestleMania XIX v0.4.3
WWE WrestleMania XIX - v0.4.3
8BitDo over Bluetooth and DualSense Edge follow-up to the v0.4.1/v0.4.2
controller work. No rendering or memory-card changes.
8BitDo Pro 2 over Bluetooth showed the wrong A/B (and was sometimes not seen)
SDL's Windows controller database has no row for 8BitDo in Bluetooth mode: the
05000000c82d00000660000000010000 ("8BitDo Pro 2") row that lists
a:b1,b:b0 is compiled only for Linux. On Windows the pad therefore arrives
with no live mapping, and layout detection fell back to the vendor id 0x2DC8,
which was not in the table - so the profile was written in the standard
positional order and A/B (and X/Y) came out swapped against the printed labels.
If SDL also failed to classify the device as a gamepad, no profile was written
at all and the pad looked unrecognised.
Fix: 8BitDo's own HID ids are now resolved by product, matching SDL's own
HIDAPI driver:
Nintendo order (a:b1,b:b0): SF30 Pro 0x6000/0x6100, SN30 Pro 0x6001/0x6101,
Pro 2 0x6003/0x6006, Pro 3 0x6009
standard order: everything else at 0x2DC8 (Ultimate, 64)
A live SDL mapping still wins when one exists, so USB mode and XInput mode are
unaffected. Existing auto-generated profiles migrate on the next start because
detection now reports Nintendo.
Diagnostics: a joystick that SDL gives no gamepad mapping to is now named in
the startup output, because a Bluetooth 8BitDo in the wrong mode lands there:
[input] joystick without a gamepad mapping: name="..." guid=...
(no profile written; put the pad in its XInput/Switch mode or enable
SDL HIDAPI)
DualSense Edge
Re-verified end to end: 054C:0DF2 resolves to the PlayStation family on both
USB (030000004c050000f20d000000007801) and Bluetooth
(050000004c050000f20d000000000000), with the standard body and dpad=normal.
The earlier "Edge doesn't read at all" report was against v0.3.2, which had no
Edge handling; it has been supported since v0.4.0.
Offline matrix
tools\test-pad-layouts.ps1 now covers 22 cases, all passing:
Xbox 360 (plain/XInput), Xbox One, Series 0B12/0B22, Elite S1, Elite S2
USB+BT, Xbox name-only, DualSense, DualSense Edge USB+BT, 8BitDo Pro 2
(USB Nintendo mode, Bluetooth with and without a live mapping), Switch-mode
Pro over Bluetooth, 8BitDo Pro 2 in Bluetooth XInput mode, 8BitDo Pro 2
XInput mode, Ultimate, 64, Switch Pro, reversed D-pad.
Caveats
- No physical 8BitDo or DualSense Edge on the build host: results above are
offline (GUID + SDL driver mapping strings) plus one live DualSense. Players
should confirm with the startup line:
[input] pad0 name=... guid=... layout=... buttons=... dpad=... mapping=... source=... device=... - If a Bluetooth 8BitDo still reports
controller: 0 SDL gamepad(s) detected
plus the "joystick without a gamepad mapping" line, the pad is in a mode SDL
cannot map; pair it as a Switch Pro (Start+B) or in XInput mode (Start+X). - The in-game LOAD round trip of a memory-card save remains unobserved;
card-level write/read is proven.
Install
Unzip over your install (keep game_data/). Auto-generated controller profiles
migrate on first run; hand-edited profiles are left alone.
WWE WrestleMania XIX v0.4.2
WWE WrestleMania XIX - v0.4.2
Hotfix for the startup error dialog introduced by the v0.4.1 controller +
memory-card work. v0.4.1 could abort at startup with:
An error occurred.
Condition: GImGui != 0 && "No current context. Did you call
ImGui::CreateContext() and ImGui::SetCurrentContext()?"
File: ...\imgui.cpp
Line: 4985
Function: GetIO
Ignore and continue?
What happened
The ImGui context was created in exactly one place: the renderer's
OnScreenUI::Initialize, which runs after the core has started. Anything that
touched a UI surface before that - the OSD message queue, the statistics
window, the debug text - called ImGui::GetIO() with no current context and
tripped the assert.
v0.4.1 made more work happen before the renderer is up: controller detection and
profile migration on every start, the memory-card slot migration, and the
GC/ directory tree. Combined with the v0.4.0 SDL teardown that v0.4.1
reverted, a machine could reach a UI path before any context existed. The
dialog offers "Ignore and continue", but it must never appear.
Fix
game.exe: create the ImGui context beforeRuntime::Create, so it exists
before the core, the OSD queue or the statistics code can run.launcher.exe: create the context at the top ofmain, before config load,
controller enumeration and profile writing.OnScreenUI::Initializenow adopts an existing context instead of creating a
second one, so the renderer still configures fonts, style and the vertex
format exactly as before.
Both init paths are idempotent: if a context already exists it is reused.
Also in this release (from v0.4.1)
Controller
- Xbox pads work. v0.4.0 quit SDL before the runtime started, so the Windows
XInput/RAWINPUT/WGI paths never enumerated a standard Xbox pad and the
generated profile pointed at a device that did not exist (pad0 connected=0). - Layout and D-pad resolve per pad from that pad's own GUID and live SDL
mapping; pad 1 no longer swaps A/B on pad 2. 8BitDo stays scoped to the live
a/b order. Device ids match the runtime's own numbering. One truthful
startup line (layout= buttons= dpad= mapping= source= device=).
Memory card
- Saves no longer hang on "checking memory card in slot A". Slot A is a raw
16 MB card (SlotA = 1), slot B is empty (SlotB = 255= None, not Dummy),
GC/<region>is created before EXI init, and existing installs are migrated
by both the launcher and the game.
Verified: fresh card 16,777,216 bytes; the game's save wrote a directory entry
(GW9E / 78 / /wmx9_sys) with the card SHA changing from
EA5170CF...A2D8A2C5 to 1C2B0319...21AC327; a second boot read the card and
left it byte-identical.
Caveats
- The startup assert could not be reproduced on the build host with either
v0.4.1 or v0.4.2 (many boots: windowed, fullscreen, their config, an Xbox pad
attached). The fix removes the precondition - a UI call with no current
context - rather than a single known call site. If it still appears, send
the dialog title and the exact line/function plusLogs\ModernGekko.log. - Controllers were verified offline against SDL's database (18-case matrix) and
with a live DualSense; Xbox owners should confirm with the startup line. - An in-game LOAD round trip of a memory-card save was not observed; card-level
read/write is what is proven. - Updating from v0.4.0 moves saves from
GC\<region>\Card A\*.gcito
GC\MemoryCardA.<region>.raw. The old folder is left untouched but unused.
Install
Unzip over your install (keep game_data/), or extract to a new folder and
point it at your disc again. Existing auto-generated controller profiles are
migrated; hand-edited profiles are left alone.
WWE WrestleMania XIX v0.4.1
WWE WrestleMania XIX - v0.4.1 (hotfix)
Controller and memory-card fix. Rendering, performance and disc handling are
unchanged from v0.4.0.
Controller caveat: detection was verified offline against SDL's controller
database and the driver mapping strings, plus one live DualSense run on the
build host. No physical Xbox 360 / One / Series / Elite pad was available, so
Xbox owners should confirm. Send the startup line from the log:
[input] pad0 name="..." guid=... layout=... buttons=... dpad=... mapping=... source=... device="..."
Xbox controllers: pad detected but nothing worked
v0.4.0 started game.exe by opening SDL with SDL_Init(SDL_INIT_VIDEO | SDL_INIT_GAMEPAD) and then calling SDL_Quit() before the emulator started.
That tore SDL down again, so Dolphin's SDL input backend had to initialise the
joystick drivers itself, from its own worker thread and without video.
HIDAPI pads (DualSense, DualSense Edge, Switch Pro, 8BitDo over Bluetooth/USB
mode) still came up that way. The Windows XInput / RAWINPUT / WGI paths that
enumerate a standard Xbox pad did not, so the profile named
SDL/0/<pad> but the runtime only ever had DInput/Keyboard Mouse:
[input] pad0 default device='SDL/0/Xbox Series X Controller'
[input] pad0 connected=0
The pad was detected in the log and bound nothing. Reproduced and fixed with
the runtime's own device list; after the fix the same run shows
[input] device: SDL/Xbox Series X Controller and the profile resolves.
Fix: open the gamepad subsystem with SDL_InitSubSystem and leave it up, as
v0.3.x did. No SDL_Quit() before the game starts.
The Xbox button layout was never wrong: every Xbox GUID (360 028E, One
02EA, Series 0B12/0B22, Elite 02E3/0B00/0B05) resolves to layout=Xbox,
dpad=normal and the standard body, byte-identical to v0.3.2.
Other controller fixes
-
A profile is only ever written when a pad is present, and an existing
auto-generated profile is only rewritten when the live mapping now disagrees
(migration). Custom profiles are still left alone. -
Layout and D-pad are resolved per pad from that pad's own GUID and live SDL
mapping. Before, pad 1's decision was applied to every pad, so a Switch Pro or
8BitDo in Nintendo mode on port 1 swapped A/B on an Xbox pad on port 2. -
8BitDo stays scoped to the live
a/border: Pro 2 in Nintendo mode swaps,
Pro 2 in XInput mode and the Ultimate/64 stay standard. The a>b rule is not
applied to non-8BitDo rows, so Xbox and PlayStation mappings are unaffected. -
Xbox Series 0B22 (and every other 045E product) resolves to the Xbox family
by GUID; the matrix covers 0B12 and 0B22. -
The device id written into
GCPadNew.ininow counts the same way the runtime
does (per name over every SDL joystick it adds), soSDL/<id>/<name>is the
string the runtime resolves. -
"Xbox Wireless Controller"no longer resolves to the PlayStation family
through the old"wireless controller"name rule. -
Profile migration now also runs when
config.inialready names a controller.
Players who picked their pad in the launcher used to keep an uncorrected
profile forever. -
The launcher's Controller page "Detected:" label uses the same live-mapping
resolution as the generator, so 8BitDo no longer shows "Generic", and it
shows when the D-pad L/R swap is active. No DualSense or DualSense Edge
mirroring was found in this tree: both resolve todpad=normal. -
One startup line instead of two (the second one hard-coded
dpad=normaland
contradicted the first):[input] pad0 name="Xbox Series X Controller" guid=0300...7801 layout=Xbox
buttons=normal dpad=normal mapping=live source=mapping-positional
device="SDL/0/Xbox Series X Controller"mapping=live|nonesays whether SDL had a mapping for the GUID,source=
says what decided the layout (mapping-nintendo,mapping-positionalor
guid).
Saving hangs on "checking memory card in slot A"
Shared fix from the Aggressive Inline project (same ModernGekko/Dolphin runtime
family). Slot A was never configured, so every install used Dolphin's default
MemoryCardFolder device with an empty GC/<region>/Card A, and the runtime
never created the GC/ tree before EXI init. The game's card probe then never
completed and the save screen hung. SlotB = 0 (Dummy) additionally makes the
game report "THE DEVICE IN SLOT B IS NOT SUPPORTED".
Applied:
Config/Dolphin.ini:[Core] SlotA = 1(raw 16 MB card) and
SlotB = 255(None = empty slot), forced on every start by both the launcher
andgame.exe. Existing installs are repaired even when the keys are absent
or set toSlotB = 0.Runtime::Create:UICommon::CreateDirectories()between
SetUserDirectoryandUICommon::Init(DolphinQt order), soGC/USA,
GC/EUR,GC/JAPexist beforeExpansionInterface::Initresolves the card
path. The runtime also setsMAIN_SLOT_A/MAIN_SLOT_Bdirectly, so the
card is right even if the ini was never written.recomplauncher.json:Core/SlotA = 1,Core/SlotB = 255inensure,
alwaysandnew, so RecompLauncher-only installs get them too.
Verified on a fresh user dir (no GC/), headless, clean stop through the
automation stop command:
before: GC exists = False
after: GC/EUR GC/JAP GC/USA MemoryCardA.USA.raw SRAM.raw
Dolphin.ini: SlotA = 1 / SlotB = 255
MemoryCardA.USA.raw 16,777,216 bytes sha256 EA5170CF...A2D8A2C5
No GC/USA/Card A folder is created (that would mean the folder device), and a
second boot leaves the card byte-identical. A legacy install with
SlotB = 0 and no SlotA is repaired to 1 / 255 and produces the same
16 MB card.
Caveat for testers (from the shared pattern): a savestate restores the EXI
device type, so a state made before this fix re-enables the GCI folder. Test
cards with a fresh user dir and the automation stop command - a force-kill
skips the card flush and leaves no .raw file.
Save / load evidence: on a fresh card the game wrote its system file and the
card carries a real directory entry:
empty formatted card 16,777,216 sha256 EA5170CF...A2D8A2C5
after the game save 16,777,216 sha256 1C2B0319F9EB88877D74393CE500FE0B2FD3AAC8B970E65B96EF27A0A21AC327
entry 0 gamecode GW9E company 78 name /wmx9_sys
Booting again with that card kept the SHA unchanged after a clean exit, so the
game read the existing card instead of reformatting it. A UI-level
"LOADING " round trip was not observed; the card-level read is what is
proven here. Note the empty-card hash varies per format (the header carries a
serial), so only compare the same file before and after.
Offline layout matrix
tools\test-pad-layouts.ps1 asserts layout, D-pad and the generated
Buttons/A for 18 cases against the real launcher binary, no hardware needed:
Xbox 360 (plain + XInput GUID), Xbox One, Xbox Series (0B12, 0B22),
Xbox Elite S1, Elite S2 USB, Elite S2 BT, Xbox name-only fallback,
DualSense, DualSense Edge USB + BT, 8BitDo Pro 2 Nintendo mode,
8BitDo Pro 2 XInput mode, 8BitDo Ultimate, 8BitDo 64, Switch Pro,
synthetic reversed D-pad
result: 18 / 18 PASS
Install
Unzip over v0.4.0 (or into a new folder) and keep your user folder. Existing
auto-generated profiles are migrated on first run; hand-edited profiles are
left alone.
WWE WrestleMania XIX v0.4.0
WWE WrestleMania XIX — v0.4.0
Controller and disc-format release. Game rendering and performance are
unchanged from v0.3.2.
8BitDo A/B/X/Y layout fix
8BitDo ships several layouts under one vendor id. The Pro 2 in Nintendo mode
reports a:b1,b:b0, so a positional binding put GameCube A on the physical B
button and A/B plus X/Y came out reversed.
Detection now reads the live SDL button mapping for the device GUID instead of
trusting the product name:
- Pro 2 Nintendo mode (USB and Bluetooth) -> Nintendo layout, A/B and X/Y
swapped to match the printed labels. - Pro 2 in XInput mode -> standard layout.
- Ultimate and 64 stay standard, as before.
Existing auto-generated profiles are migrated to the corrected layout on first
run; hand-edited or manually chosen profiles are left alone.
Startup log line, so you can check what was detected:
[input] pad0 name="8BitDo Pro 2" guid=03000000c82d00000660000011010000 layout=Nintendo buttons=swapped dpad=normal
DualSense Edge and Xbox Elite Series 1 / 2
Identified by USB vendor/product in the SDL GUID, not by name:
- DualSense Edge (054C:0DF2) uses the standard DualSense layout.
- Xbox Elite Series 1 (045E:02E3) and Series 2 (045E:0B00 USB, 045E:0B05
Bluetooth) use the standard Xbox layout. - Paddles and the Edge Fn button are deliberately unmapped: the GameCube pad
has no equivalent input. Map them in your pad software if you want them to
duplicate a standard button.
Native RVZ support
You can now drop a Dolphin .rvz disc image straight into setup. There is no
RVZ to ISO conversion step.
The launcher reads the RVZ container natively and extracts exactly the same
files an ISO produces. Verified on this disc: 4227 entries, tree aggregate
3fc07252dc1232f8ca0268e5882099886604d49be96c49289d94dd2345531350 from both
the .iso and the .rvz, with zero content differences.
The dev pipeline also accepts either container:
powershell -File tools\extract-disc.ps1 -Disc game.rvz -Out work\game
Please verify
Controllers were validated offline against the SDL controller database and
synthetic GUIDs; physical hardware confirmation is still requested.
- 8BitDo Pro 2 in Nintendo mode: face buttons A/B and X/Y read correctly, and
the D-pad direction is right. - 8BitDo Ultimate or 64: unchanged standard layout.
- DualSense Edge: behaves like a standard DualSense.
- Xbox Elite Series 1 / 2: behaves like a standard Xbox pad.
If anything is off, send the one startup line from the log:
[input] pad0 name="..." guid=... layout=... buttons=... dpad=...
Install
- Unzip anywhere.
- Run launcher.exe.
- Browse for your .iso or .rvz. Setup extracts it into game_data.
- Press PLAY.
No game data is included. You need your own USA dump
(1,459,978,240 bytes, CRC-32 635116c6).
Known issues
- The launcher hashes the extracted files at startup, so a ready install shows
a black window for ~20 s before the UI appears. - Launcher parity with the guide's chapter 15 is partial (no MSAA/VSync/volume
exposure, no card import UI, no close-timeout kill). - The static core is CPU-bound in a four-wrestler match (~50 fps); switch CPU
core to JIT for a locked 60 there.
WWE WrestleMania XIX v0.3.2
Controller support works without the launcher.
RecompLauncher starts game.exe directly, so no launcher ever wrote Config\GCPadNew.ini and the pad was dead there. game.exe now enumerates SDL gamepads at startup and writes a profile when none exists, then loads it immediately.
- Xbox, Xbox 360, Xbox Series, DualSense, DualShock 4/3, Switch Pro, Joy-Con, Steam Deck, 8BitDo, generic SDL and DirectInput pads
- Nintendo pads get A/B and X/Y swapped so the printed labels match
- Auto-detected: verified from a clean install that game.exe created SDL/0/Xbox One Controller and the runtime reported it connected
- 14 profiles still ship in defaults/ for manual setups
Everything else is unchanged from v0.3.1: static recompilation at 59.94 Hz in menus, entrances and normal matches, ~50 fps in a four-wrestler Fatal 4-Way, JIT selectable in the launcher or with --core jit.
No game data is included. You need your own USA ISO (1,459,978,240 bytes, CRC-32 635116c6).
WWE WrestleMania XIX v0.3.1
WWE WrestleMania XIX — static recompilation, first release
A native Windows port of the retail GameCube release (GW9E78), produced by
statically recompiling the game's PowerPC executable with DolRecomp and running
it on a Dolphin-derived runtime (ModernGekko).
This release contains NO game data. You must supply your own legally dumped
USA disc image.
Requirements
- Windows 10/11 x64
- Vulkan-capable GPU (OpenGL works too)
- Your own WWE WrestleMania XIX (USA) ISO
Redump size: 1,459,978,240 bytes
Redump CRC-32: 635116c6
A .rvz will not work with setup. Convert it to .iso first.
Install
- Download and unzip anywhere.
- Run launcher.exe.
- Browse for your ISO. Setup extracts it into game_data\ and shows progress.
- The launcher switches to READY. Press PLAY.
game.exe also runs on its own and reads game_data\ beside itself.
Controls
The launcher detects your pad and generates the profile. Xbox, Xbox 360,
Xbox Series, DualSense, DualShock 4/3, Switch Pro, Joy-Con, Steam Deck, 8BitDo,
generic SDL and DirectInput pads are covered. Nintendo pads get A/B and X/Y
swapped so the labels match; the Controller page has a Button layout override.
Keyboard fallback: Space = A, Left Shift = B, Enter = Start, WASD = stick,
IJKL = C-stick, arrows = D-pad.
Performance
- Menus, entrances and normal matches: 59.94 Hz (full speed).
- Fatal 4-Way with four CPU wrestlers is the heaviest scene and runs around
50 fps on the static core. Switch CPU core to JIT for a locked 60 there. - The static module was tuned to 50.5 fps from a 38.8 fps stock build:
loop budget 4096, call depth 128, -march=x86-64-v3, PGO trained on real
gameplay, and the frame-limiter spin at 0x8027BA24 skipped.
Known issues
- The launcher hashes the extracted files at startup, so a ready install shows
a black window for ~20 s before the UI appears. - Launcher parity with the guide's chapter 15 is partial: MSAA/SSAA/AF/VSync/
volume are not exposed, there is no memory-card import UI, and closing the
launcher does not kill a stuck game after a timeout. - The static core is CPU-bound; the remaining gap in a four-wrestler match is
the scalar paired-single emulation in the runtime.
Verification
- Disc ID GW9E78, retail DOL SHA-256
627b899760d0b820c049ad29f96a613da1c43d35dd4a1456e581cc620bae9fb7 - Runtime log shows fallback=0, smc_failed=0
- RecompLauncher manifest validates with 0 schema errors
Licence
Project code GPL-3.0. DolRecomp GPL-3.0; ModernGekko and Dolphin
GPL-2.0-or-later (aggregate GPL-3.0). Launcher art from SteamGridDB, used with
permission. WWE and all related marks are trademarks of their respective
owners. Unofficial fan project, no affiliation.