Skip to content

Instantly share code, notes, and snippets.

@mikeyX101
Last active March 28, 2025 04:21
Show Gist options
  • Save mikeyX101/af2af59bbddac0e937dd037038864734 to your computer and use it in GitHub Desktop.
Save mikeyX101/af2af59bbddac0e937dd037038864734 to your computer and use it in GitHub Desktop.
Various Dolphin patches for Mega Man X: Command Mission GC (GXRE08) (Ultrawide, reduced flashing, health multiplier)

Patches I made to play Mega Man X: Command Mission at a higher difficulty AND to avoid losing my eyes while playing it.

0x806A8264:dword:0xC312AAAB
0x806A8268:dword:0x4312AAAB

Remove battle flashing

0x8011AFA0:dword:0x60000000

Remove battle intro flash

0x80120A58:dword:0x60000000

Restore Final Boss Theme

0x8030C410:word:0x0000001A

Multiply enemy health by 2

0x8011383C:dword:0x4BEECB74
0x800003B0:dword:0x1C840002
0x800003B4:dword:0x909D0150
0x800003B8:dword:0x809F0010
0x800003BC:dword:0x1C840002
0x800003C0:dword:0x909D0154
0x800003C4:dword:0x80DF0014
0x800003C8:dword:0x1CC60002
0x800003CC:dword:0x48113480
0x80132D18:dword:0x4BECD6B8
0x800003D0:dword:0x1C000002
0x800003D4:dword:0x901E0150
0x800003D8:dword:0x801F0010
0x800003Dc:dword:0x1C000002
0x800003E0:dword:0x901E0154
0x800003E4:dword:0x801F0014
0x800003E8:dword:0x1C000002
0x800003Ec:dword:0x901E0158
0x800003F0:dword:0x4813293C

Health Code Documentation

# Normal Enemy Load (Including Reinforcements)
8011383c => 4beecb74 (b -> 800003b0)

800003b0 => 1c840002 (mulli r4,r4,2)
800003b4 => 909d0150 (stw r4, 0x0150 (r29))

800003b8 => 809f0010 (lwz r4, 0x0010 (r31))
800003bc => 1c840002 (mulli r4,r4,2)
800003c0 => 909d0154 (stw r4, 0x0154 (r29))

800003c4 => 80df0014 (lwz r6, 0x0014 (r31))
800003c8 => 1cc60002 (mulli r6,r6,2)

800003cc => 48113480 (b -> 8011384c)


# Eject Epsilon Load
80132d18 => 4becd6b8 (b -> 800003d0)

800003d0 => 1c000002 (mulli r0,r0,2)
800003d4 => 901e0150 (stw r0, 0x0150 (r30))

800003d8 => 801f0010 (lwz r0, 0x0010 (r31))
800003dc => 1c000002 (mulli r0,r0,2)
800003e0 => 901e0154 (stw r0, 0x0154 (r30))

800003e4 => 801f0014 (lwz r0, 0x0014 (r31))
800003e8 => 1c000002 (mulli r0,r0,2)
800003ec => 901e0158 (stw r0, 0x0158 (r30))

800003f0 => 4813293c (b -> 80132d2c)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment