Advertisement
EvilRobot666

[MKWii] Button Activator Generator (Source)

Jan 10th, 2016
528
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*MKWii Button Activator Generator by EvilRobot*/
  2.  
  3. /*Original Code by ??? (IDK who made Button Activator Code)*/
  4.  
  5. /*---------------------------*/
  6. #Edit here:
  7.  
  8. .set CONTROLLER,0x57E2
  9. .set BUTTON,0x1000
  10.  
  11. /*If you want to have Multiple Button(s) to Activate a Code, then add a '+' then choose another BUTTON VALUE.
  12. Ex: If you want to Press (-) + DPad Up + (2) (Wii Wheel/Nunchuk), then this is what you put in .set BUTTON:
  13. 0x1000 + 0x0008 + 0x0100*/
  14.  
  15.  
  16. /*
  17. =====[CONTROLLER VALUE:]=====
  18. #PAL
  19. 0x57E2 = Wii Wheel/Nunchuk    [1]
  20. 0x5842 = Classic Controller   [1]
  21. 0x8200 = GameCube Controller  [Port 1]
  22.  
  23. #NTSC-U
  24. 0x1462 = Wii Wheel/Nunchuk    [1]
  25. 0x14C2 = Classic Controller   [1]
  26. 0x3E80 = GameCube Controller  [Port 1]
  27.  
  28. =====[BUTTON VALUE:]=====
  29. #Wii Wheel/Nunchuk
  30. 0x0001 = DPad Left
  31. 0x0002 = DPad Right
  32. 0x0004 = DPad Down
  33. 0x0008 = DPad Up
  34. 0x0010 = (+)Plus
  35. 0x0100 = (2)
  36. 0x0200 = (1)
  37. 0x0400 = (B)
  38. 0x0800 = (A)
  39. 0x1000 = (-)Minus
  40. 0x2000 = (Z)[Nunchuk]
  41. 0x4000 = (C)[Nunchuk]
  42. 0x8000 = HOME
  43.  
  44. #Classic Controller
  45. 0x0001 = DPad Up
  46. 0x0002 = DPad Left
  47. 0x0004 = (Z)[Right]
  48. 0x0008 = (X)
  49. 0x0010 = (A)
  50. 0x0020 = (Y)
  51. 0x0040 = (B)
  52. 0x0080 = (Z)[Left]
  53. 0x0200 = (R)
  54. 0x0400 = (+)
  55. 0x1000 = (-)
  56. 0x2000 = (L)
  57. 0x4000 = DPad Down
  58. 0x8000 = DPad Right
  59.  
  60. #GameCube Controller
  61. 0x0001 = DPad Left
  62. 0x0002 = DPad Right
  63. 0x0004 = DPad Down
  64. 0x0008 = DPad Up
  65. 0x0010 = (Z)
  66. 0x0020 = (R)
  67. 0x0040 = (L)
  68. 0x0100 = (A)
  69. 0x0200 = (B)
  70. 0x0400 = (X)
  71. 0x0800 = (Y)
  72. 0x1000 = START
  73. */
  74.  
  75. /*---------------------------*/
  76.  
  77. .short 0x2834
  78. .short CONTROLLER
  79. .short 0xFFFF - BUTTON
  80. .short BUTTON
  81. .long ,,0xE0000000
  82. .long 0x80008000
  83.  
  84. /*---------------------------*/
  85.  
  86. /*
  87. Use asmwiird.exe to Compile the Source into a GCT Code.
  88. Remember to Delete the First Line (C2000000 00000004) and the Last Line (60000000 00000000).
  89. Replace 00000000 00000000 with your Code.
  90. Useless but it works and this is a just-for-fun Project ^-^
  91. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement