Announcement

Collapse
No announcement yet.

[NEED HELP] Metroid Prime Trilogy (MP1) Rapid Fire

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [NEED HELP] Metroid Prime Trilogy (MP1) Rapid Fire

    Hi all, first time here

    So I've been trying (and failing) to port an Action Replay code. Namely, the Rapid Fire code for Metroid Prime on GameCube. However, it only exists for the NTSC GameCube version:

    Code:
    HZJ2-APNT-E79PR
    6UFV-ND77-FZNWQ
    And when put through GCNCrypt:

    Code:
    01161160 08000000
    04457DA0 404001CE
    And put through ARtoWiiRD (extremely similar):

    Code:
    01161160 00000000
    04457DA0 404001CE


    I've been trying to port this GameCube code to the NTSC Wii version (and eventually the PAL version) as a Gecko code, using a combination of Dolphin's debugger, Cheat Engine and Dolphin Memory Engine to find out which assembly instruction changes the memory address I need, and I've narrowed it down to a MOV instruction at "VCRUNTIME140.memcmp+EB":

    Code:
    mov rsi, r10
    Code:
    7FFCF96712D5 - 48 8B F9 - mov rdi,rcx
    7FFCF96712D8 - 49 8B C8 - mov rcx,r8
    7FFCF96712DB - 49 8B F2 - mov rsi,r10 <<<<<<<<<<<<<
    7FFCF96712DE - F3 A4 - repe movsb
    7FFCF96712E0 - 5E - pop rsi
    
    RAX=00000245A22E8420
    RBX=0000000000007C00
    RCX=0000000000000AA0
    RDX=FFFFFFFFFE8AEC00
    RSI=00000245A0B9E180
    RDI=00000245A22EF580
    RSP=000000DD0F1FF8E8
    RBP=000000DD0F1FF9E9
    RIP=00007FFCF96712DE
    R8=0000000000007C00
    R9=0000000000188420
    R10=00000245A0B97020
    R11=00000245A22E8420
    R12=00007FF7A3705FE0
    R13=01E1E1E1E1E1E1E1
    R14=00007FF7A3706068
    R15=0000000000000004


    At this point I'm stumped. Hell, I don't even know if it's possible. I'm very inexperienced at this and porting an existing code was pretty much my only choice.

    Would anyone who knows what they're doing more than me be able and willing to help? Thanks much
    Last edited by Lanky MikStanky; 10-06-2020, 04:57:18 PM.

  • #2
    I was an absolute fool and hadn't searched the internet well enough. Turns out it already exists:

    0901-AYN0-GMMTY
    149P-W9XK-HJGRM
    H122-J3F6-VWXTK
    0YAX-2NEY-29RMQ

    Comment

    Working...
    X