Button Mapping (B to Z)

Discussion in 'Wii - Hacking' started by Kyrs, Sep 8, 2013.

  1. Kyrs
    OP

    Kyrs Newbie

    Newcomer
    8
    2
    Aug 21, 2013
    United States
    I'm pretty sure it can be done, but I have not been able to find enough information about it.
    Basically, I would like to create a cheat file for House of the Dead: Overkill (also 2&3 / any other 'B' restricted shooter) that maps 'B' to 'Z' so I can use rifle attachments. Anyone know how to do this or of a link with info on it?
     
  2. Kyrs
    OP

    Kyrs Newbie

    Newcomer
    8
    2
    Aug 21, 2013
    United States
  3. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,086
    8,586
    Oct 27, 2002
    France
    Engine room, learning
    You can try this :
    http://wiird.l0nk.org/forum/index.php/topic,8138.0.html
    to remap Wiimote+nunchuk buttons.


    unlike the name, it's not universal as each games/developers use their own button mapping. But if they used a common mapping (for example from the same SDK) it could work.
    - copy the code into your GameID.txt file located in sd/txtcodes/ (you may need to give a title : put a line before the first code, for example "Remapping buttons B to Z")
    - replace the part with the comment in a text editor *
    - create the gct (within the loader or with a code manager)
    - enable ocarina in your loader


    * to edit the code :
    this part contains the original button order :
    00010002 00040008 # LLLLRRRR DDDDUUUU
    00100000 00000080 # ++++WWWW NNNNXXXX
    01000200 04000800 # 22221111 BBBBAAAA
    10002000 40008000 # ----ZZZZ CCCCHOME

    like said in the link above, if you want to replace "HOME" (the last 2 bytes : 8000) by simultaneous A + B button, replace 8000 by 0C00
    You can find a button conditional here :
    http://geckocodes.org/index.php?arsenal=2
    Select the button you want, and look at the "Result (wii)" code.

    WWWW = Wiimote shake
    NNNN = Nunchuk shake


    edit :
    swapped B to Z, and Z to B :
    00010002 00040008 # LLLLRRRR DDDDUUUU
    00100000 00000080 # ++++WWWW NNNNXXXX
    01000200 20000800 # 22221111 ZZZZAAAA
    10000400 40008000 # ----BBBB CCCCHOME
     
  4. Kyrs
    OP

    Kyrs Newbie

    Newcomer
    8
    2
    Aug 21, 2013
    United States
    So am I right in thinking the whole code needs to be placed in the .txt file, or just the button-labeled section?

    Edit: It's working: the whole code with the button codes I want (B to Z) switched :D

    Code:
    F6000001 80048100
    2809FFFF 40820008
    D200000C 0000001B
    9421FFB0 BDC10008
    3D808000 48000025
    00010002 00040008
    00100000 00000080
    01000200 04000800
    10002000 40008000
    39C00010 39E00001
    3A000000 3A200000
    7E4802A6 A27F0018
    2C133FDA 41800008
    51E72EB4 A27F0074
    2C133FDA 41800008
    51E73672 7CF37839
    4182000C 7E728A2E
    7E109B78 3A310002
    55EF083C 35CEFFFF
    40A2FFE4 828C1838
    72930060 7E109B78
    72130020 4182000C
    3E6042C8 927F0010
    72130040 4182000C
    3E6042C8 927F0070
    70F30060 7E109B78
    90EC1830 920C1834
    7E878378 B9C10008
    38210050 70E09FFF
    60000000 00000000
    E0000000 80008000
     
    Cyan likes this.