Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 646
» Latest member: Luca1337
» Forum threads: 1,815
» Forum posts: 14,002

Full Statistics

Online Users
There are currently 87 online users.
» 0 Member(s) | 84 Guest(s)
Applebot, Bing, Google

Latest Threads
MKW Coder/Developer of th...
Forum: Coding & Hacking General Discussion
Last Post: Fifty
5 hours ago
» Replies: 11
» Views: 13,871
Make it to 10,000
Forum: General Discussion
Last Post: Fifty
5 hours ago
» Replies: 7,339
» Views: 5,672,711
Allow Pausing Before Race...
Forum: Offline Non-Item
Last Post: Vega
Yesterday, 07:47 PM
» Replies: 0
» Views: 21
Top 10 Most Influential C...
Forum: Coding & Hacking General Discussion
Last Post: Vega
Yesterday, 03:27 PM
» Replies: 2
» Views: 7,361
Show Ice Cube on Online P...
Forum: Online Non-Item
Last Post: _Ro
Yesterday, 08:23 AM
» Replies: 0
» Views: 37
CPU Control Cycler [Ro]
Forum: Offline Non-Item
Last Post: _Ro
Yesterday, 07:56 AM
» Replies: 7
» Views: 1,021
Thunder Cloud Effect Modi...
Forum: Offline; Item
Last Post: JerryHatrick
01-10-2025, 11:13 PM
» Replies: 11
» Views: 1,099
Miniturbos and Inside Dri...
Forum: Coding & Hacking General Discussion
Last Post: JerryHatrick
01-10-2025, 09:54 AM
» Replies: 1
» Views: 861
Code request???
Forum: Code Support / Help / Requests
Last Post: DrTap
01-09-2025, 06:06 PM
» Replies: 3
» Views: 4,964
CPUs/Online Players Have ...
Forum: Visual & Sound Effects
Last Post: Zeraora
01-09-2025, 02:26 AM
» Replies: 2
» Views: 516

 
  Use Pow Anytime [1superchip]
Posted by: 1superchip - 02-26-2021, 02:01 AM - Forum: Online; Item - Replies (1)

Use Pow Anytime [1superchip]

This code allows you to use a pow in a race whenever you want. Press the Activator and the Pow will be used. This code is server-sided. When using this code you will lose items in your item slot (3 mushrooms -> 2 mushrooms -> 1 mushroom).
This resets the ItemSlotData pow timer making pows unable to be pulled from item boxes for 20 seconds after use.

X = player slot using pow
XXXX = Controller Address
ZZZZ = Button Value

NTSC-U
C0000000 0000000D
3C608034 6063XXXX
A0630000 3960ZZZZ
7D601838 7C005800
40A2004C 3C60809C
8063EE20 2C030000
4182003C 9421FF80
7D8802A6 BC610008
80630014 3880000X
1C840248 7C632214
3C80807D 60849580
7C8803A6 4E800021
B8610008 7D8803A6
38210080 4E800020

PAL
C0000000 0000000D
3C608034 6063XXXX
A0630000 3960ZZZZ
7D601838 7C005800
40A2004C 3C60809C
80633618 2C030000
4182003C 9421FF80
7D8802A6 BC610008
80630014 3880000X
1C840248 7C632214
3C80807B 60841B2C
7C8803A6 4E800021
B8610008 7D8803A6
38210080 4E800020

NTSC-J
C0000000 0000000D
3C608034 6063XXXX
A0630000 3960ZZZZ
7D601838 7C005800
40A2004C 3C60809C
80632678 2C030000
4182003C 9421FF80
7D8802A6 BC610008
80630014 3880000X
1C840248 7C632214
3C80807B 60841198
7C8803A6 4E800021
B8610008 7D8803A6
38210080 4E800020

NTSC-K
C0000000 0000000D
3C608033 6063XXXX
A0630000 3960ZZZZ
7D601838 7C005800
40A2004C 3C60809B
80631C58 2C030000
4182003C 9421FF80
7D8802A6 BC610008
80630014 3880000X
1C840248 7C632214
3C808079 6084FEEC
7C8803A6 4E800021
B8610008 7D8803A6
38210080 4E800020

Source:


.set region, ''
.set UsePlayerID, X #this is the player id that uses the pow

.if (region == 'E' || region == 'e') # RMCE
    .set Pow_use, 0x807d9580
    .set ItemHolder, 0x809bee20
    lis r3, 0x8034
.elseif (region == 'P' || region == 'p') # RMCP
    .set Pow_use, 0x807b1b2c
    .set ItemHolder, 0x809C3618
    lis r3, 0x8034
.elseif (region == 'J' || region == 'j') # RMCJ
    .set Pow_use, 0x807b1198
    .set ItemHolder, 0x809C2678
    lis r3, 0x8034
.elseif (region == 'K' || region == 'k') # RMCK
    .set Pow_use, 0x8079feec
    .set ItemHolder, 0x809B1C58
    lis r3, 0x8033
.else # Invalid Region
    .err
.endif

ori r3, r3, 0xXXXX
lhz r3, 0 (r3)
li r11, 0xZZZZ
and r0, r11, r3
cmpw r0, r11
bne+ end

lis r3, ItemHolder@ha
lwz r3, ItemHolder@l (r3)

cmpwi r3, 0
beq- end

stwu sp, -0x0080 (sp) #Make stack frame
mflr r12 #Backup LR because C0
stmw r3, 0x8 (sp)

lwz r3, 0x14 (r3)
li r4, UsePlayerID
mulli r4, r4, 0x248
add r3, r3, r4

lis r4, Pow_use@h
ori r4, r4, Pow_use@l
mtlr r4
blrl

lmw r3, 0x8 (sp) #Pop stack frame
mtlr r12 #Recover LR because c0
addi sp, sp, 0x0080

end:
blr



Code Creator: 1superchip
Code Contributor: Vega (ASM for pressing multiple buttons)

Print this item

  Launch Any Wii Channel Instead of MKChannel [Vega, Kazuki]
Posted by: Kazuki - 02-25-2021, 10:20 PM - Forum: Incomplete & Outdated Codes - No Replies

This code will launch the desired Wii Channel of your choice instead of MKChannel.
if desired Wii Channel is not exsist, system menu will be launched.

This code does not work for launching the Region Select channel.

(NTSC-U)
c20095f4 00000017
3d80809c 818cd508
2c0c0000 418200a4
818c0000 2c0c0000
41820098 818c0000
2c0c007a 40a2008c
3d608016 616cadbc
48000031 2f746974
6c652fXX XXXXXXXX
XXXXXX2f YYYYYYYY
YYYYYYYY 2f636f6e
74656e74 2f746974
6c652e74 6d640000
7c6802a6 38800001
7d8803a6 4e800021
2c030000 41800024
616cb2e4 7d8803a6
4e800021 3c60UUUU
6063UUUU 3c80LLLL
6084LLLL 4800000c
38600001 38800002
3d80801a 618cd960
7d8803a6 4e800020
88030051 60000000



(PAL)
c2009634 00000017
3d80809c 818c1e38
2c0c0000 418200a4
818c0000 2c0c0000
41820098 818c0000
2c0c007a 40a2008c
3d608016 616cae5c
48000031 2f746974
6c652fXX XXXXXXXX
XXXXXX2f YYYYYYYY
YYYYYYYY 2f636f6e
74656e74 2f746974
6c652e74 6d640000
7c6802a6 38800001
7d8803a6 4e800021
2c030000 41800024
616cb384 7d8803a6
4e800021 3c60UUUU
6063UUUU 3c80LLLL
6084LLLL 4800000c
38600001 38800002
3d80801a 618cda00
7d8803a6 4e800020
88030051 60000000



(NTSC-J)
c2009590 00000017
3d80809c 818c0e98
2c0c0000 418200a4
818c0000 2c0c0000
41820098 818c0000
2c0c007a 40a2008c
3d608016 616cad7c
48000031 2f746974
6c652fXX XXXXXXXX
XXXXXX2f YYYYYYYY
YYYYYYYY 2f636f6e
74656e74 2f746974
6c652e74 6d640000
7c6802a6 38800001
7d8803a6 4e800021
2c030000 41800024
616cb2a4 7d8803a6
4e800021 3c60UUUU
6063UUUU 3c80LLLL
6084LLLL 4800000c
38600001 38800002
3d80801a 618cd920
7d8803a6 4e800020
88030051 60000000



UUUUUUUU = Upper 32 bits of Title ID
LLLLLLLL = Lower 32 bits of Title ID

XXXXXXXXXXXXXXXX = Ascii code of UUUUUUUU
YYYYYYYYYYYYYYYY = Ascii code of LLLLLLLL

Example U/L/X/Y value:

Mii Channel (non-Korean)
UUUUUUUU = 00010002
LLLLLLLL = 48414341
XXXXXXXXXXXXXXXX = 3030303130303032
YYYYYYYYYYYYYYYY = 3438343134333431

Riivolution
UUUUUUUU = 00010001
LLLLLLLL = 52494956
XXXXXXXXXXXXXXXX = 3030303130303031
YYYYYYYYYYYYYYYY = 3532343934393536

HBC (LULZ)
UUUUUUUU = 00010001

LLLLLLLL = 4c554c5a
XXXXXXXXXXXXXXXX = 3030303130303031
YYYYYYYYYYYYYYYY = 3463353534633561


Code creator: Vega, Kazuki

Code credits: Vega (Launch Any Wii Channel, Steal-Mii), Megazig (all isfs functions), MrBean35000vr (menu_pointer)

Source
#inject at 0x800095F4 (NTSC-U)
#inject at 0x80009634 (PAL)
#inject at 0x80009590 (NTSC-J)

.set region, '' #Fill in E, P or J within the quotes for your region when Compiling! Lowercase letters can also be used.

.if    (region == 'E' || region == 'e') # RMCE
        .set menu_pointer, 0x809CD508
        .set ISFS_Open, 0xADBC
        .set ISFS_Close, 0xB2E4
        .set The_Addr, 0x801AD960
.elseif (region == 'P' || region == 'p') # RMCP
        .set menu_pointer, 0x809C1E38
        .set ISFS_Open, 0xAE5C
        .set ISFS_Close, 0xB384
        .set The_Addr, 0x801ADA00
.elseif (region == 'J' || region == 'j') # RMCJ
        .set menu_pointer, 0x809C0E98
        .set ISFS_Open, 0xAD7C
        .set ISFS_Close, 0xB2A4
        .set The_Addr, 0x801AD920
.else # Invalid Region
        .abort
.endif

lis r12,menu_pointer@h
lwz r12,menu_pointer@l (r12)
cmpwi r12,0
beq- skip_all
lwz r12,0(r12)
cmpwi r12,0
beq- skip_all
lwz r12,0(r12)

cmpwi r12,0x7A #Mario Kart Channel (from Main Menu)
bne+ skip_all

#~~~~~~~~~~~~~~~~~~~~~#
# Call ISFS_Open #
#~~~~~~~~~~~~~~~~~~~~~#
lis r11,0x8016 #Set 1st half address for all ISFS Functions
ori r12, r11, ISFS_Open
bl file_path

.string "/title/00010002/48414341/content/title.tmd\0"

file_path:
mflr r3
li r4,1

mtlr r12
blrl

cmpwi r3,0
blt set_system_menu

#~~~~~~~~~~~~~~~~~~~~~#
# Call ISFS_Close #
#~~~~~~~~~~~~~~~~~~~~~#

ori r12, r11, ISFS_Close
mtlr r12
blrl

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#    _OSLaunchTitle Arguments    #
# r3 = Upper 32 bits of Title ID #
# r4 = Lower 32 bits of Title ID #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

lis r3, 0x0001 #Example value used just for compilation
ori r3, r3, 0x0002
lis r4, 0x4841
ori r4, r4, 0x4341
b call_OSLaunchTitle

set_system_menu:
li r3, 1
li r4, 2

#~~~~~~~~~~~~~~~~~~~~~#
# Call _OSLaunchTitle #
#~~~~~~~~~~~~~~~~~~~~~#

call_OSLaunchTitle:

lis r12, The_Addr@h
ori r12, r12, The_Addr@l
mtlr r12
blr

skip_all:
lbz r0, 0x0051 (r3) #default instruction

Print this item

  Riivolution and Ocarina codes [Help]
Posted by: DF_BR - 02-24-2021, 05:34 PM - Forum: Code Support / Help / Requests - Replies (2)

Hello, so, I'm tryng to add some codes to Riivolution, the Wiimmfi Patcher (Wiimmfi Patcher [Leseratte] (mkwii.com)) and the speedometer (Pretty Speedometer [stebler] (mkwii.com)), I'm trying to add them to one single .gct, I've tried with the online method and the offline one (Mario Kart Wii Gecko Codes, Cheats, & Hacks - How to make GCT files (mkwii.com)), but when I launch the game, it gives me a black screen and I have to reset the Wii, this only happens if the both codes are in the .gct, if it's only the Wiimmfi, or only the speedometer, it works just fine (Riivolution 1.06, RiiOcarina Ocarina Codes - Riivolution (rvlution.net))

These codes don't work together? I'd like to play via wiimmfi with the speedometer

Print this item

  Make Save Copyable [Kazuki]
Posted by: Kazuki - 02-24-2021, 05:42 AM - Forum: Misc/Other - Replies (1)

This code modifies the "banner.bin" of the saved game so that the saved game can be copied.

(NTSC-U)
04ae4d84 00000000

(PAL)
04ae9544 00000000

(NTSC-J)
04ae85a4 00000000

(NTSC-K)
04ad7b84 00000000

Print this item

  GeoHit Patcher [CLF78]
Posted by: CLF78 - 02-21-2021, 11:18 AM - Forum: Misc/Other - No Replies

This code lets you patch any of the GeoHit files right after they're loaded in memory. Useful if you only changed a few values and don't want to provide the entire file.

Since this is a customizable code, only the ASM is provided.

Code:
# Hooks (PAL, NTSC-U, NTSC-J, NTSC-K):
# GeoHitTableItem    = 0x8082A410, 0x808168FC, 0x80829A7C, 0x808187D0
# GeoHitTableItemObj = 0x8082A440, 0x8081692C, 0x80829AAC, 0x80818800
# GeoHitTableKart    = 0x8082A470, 0x8081695C, 0x80829ADC, 0x80818830
# GeoHitTableKartObj = 0x8082A4A0, 0x8081698C, 0x80829B0C, 0x80818860

# Free registers = r3, r4, r5

# Original instruction
stw r3, 0(r30)

# Load pointer to data (equivalent of offset 0x6 in the .bin file)
lwz r3, 0x24(r30)

################
# Example Code #
################

# This code patches the Geysers' damage in GeoHitTableKart
# You can do anything you want in this part
# See tockdom for more details on each file' structure

# Load damage type 11
li r4, 0xB

# Store damage to FlamePole_v and FlamePole_v_big
sth r4, 0x974(r3)
sth r4, 0x99C(r3)

Code created by: CLF78

Print this item

  Hello ;)
Posted by: Syara - 02-18-2021, 12:44 PM - Forum: Introductions - Replies (5)

Hello! I was mainly active in the Japanese MKW community.
I've been playing Mario Kart Wii for years, I still create mods.
I like to create various graphics and fonts.

Thanks for watching!

Print this item

  [REQUEST] Add codes into custom track distributions
Posted by: pakrett - 02-15-2021, 11:18 PM - Forum: Code Support / Help / Requests - Replies (2)

Is it possible to add some codes into custom track distributions ? We can put codes in the main.dol of the vanilla mario kart wii but is it possible to do something like that for ct-code or le-code based distributions ?

Print this item

  Code Request 2
Posted by: dime222 - 02-14-2021, 04:37 AM - Forum: Code Support / Help / Requests - Replies (1)

Hello There. Since I Was Playing The Mario Kart Wii With Max Item Limiter Modifier Code(https://mkwii.com/showthread.php?tid=242...item+limit) For A LongTime, I Have Some Uncomfortable.
Because When I Setting The Fake Items Boxes And Bananas ETC Are Each Limit Item's Total Numbered 30 Is Over, Some Of Setting The Item Will Disappears Automatically.
So SomeOne Made A Cheat Code That Unlimit Item Code' Please? Just Like A Fake Item Boxes And Bananas ETC Are Can Spawn Up To 100.

Thanks And Have A Nice Day.

Print this item

  Code Request - Don't freeze when using Bullet Bill on battle mode
Posted by: mapnov - 02-10-2021, 09:48 PM - Forum: Code Support / Help / Requests - Replies (5)

Well, the title is self-explanatory. When you use a bullet bill on battle mode, the game instantly freezes (this only happens on console). It would be nice to have an "Anti-Freeze code" for this, so you can't accidentally crash the game when using item cheats on battles (you have no idea how many times this has happened to me lol). Thanks!

Print this item

  Customizable Scorestreaks [TheNinjaKingOW and Vega]
Posted by: Zeraora - 02-10-2021, 08:42 PM - Forum: Offline; Item - Replies (15)

The code will give players items based on how many players you hit. Your streak will reset if you are hit by an item.

NTSC-U:
c258B0D8 00000003
9004000c 3d808000
39600000 996c01b0
60000000 00000000
c258B0B4 00000003
90040008 3d808000
896c01b0 396b0001
996c01b0 00000000
C27E4B88 00000014
2C1F0000 40820094
3D808000 898C01B0
2C0C0003 39600001
38000002 41820074
2C0C0005 39600001
38000003 41820064
2C0C0008 39600003
38000010 41820054
2C0C000C 39600003
38000011 41820044
2C0C000F 39600001
38000009 41820034
2C0C0012 39600001
3800000B 41820024
2C0C0015 39600001
38000007 41820014
2C0C0019 39600001
38000008 40A2000C
91640090 9004008C
8004008C 00000000
c252E968 00000003
38000001 3d808000
618c01b0 39600000
996c0000 00000000

PAL:
c25918FC 00000003
9004000c 3d808000
39600000 996c01b0
60000000 00000000
c258B0B4 00000003
90040008 3d808000
896c01b0 396b0001
996c01b0 00000000
C27EEE98 00000014
2C1F0000 40820094
3D808000 898C01B0
2C0C0003 39600001
38000002 41820074
2C0C0005 39600001
38000003 41820064
2C0C0008 39600003
38000010 41820054
2C0C000C 39600003
38000011 41820044
2C0C000F 39600001
38000009 41820034
2C0C0012 39600001
3800000B 41820024
2C0C0015 39600001
38000007 41820014
2C0C0019 39600001
38000008 40A2000C
91640090 9004008C
8004008C 00000000
c25334B0 00000003
38000001 3d808000
618c01b0 39600000
996c0000 00000000

NTSC-J:
c259127C 00000003
9004000c 3d808000
39600000 996c01b0
60000000 00000000
c2591258 00000003
90040008 3d808000
896c01b0 396b0001
996c01b0 00000000
C27EE504 00000014
2C1F0000 40820094
3D808000 898C01B0
2C0C0003 39600001
38000002 41820074
2C0C0005 39600001
38000003 41820064
2C0C0008 39600003
38000010 41820054
2C0C000C 39600003
38000011 41820044
2C0C000F 39600001
38000009 41820034
2C0C0012 39600001
3800000B 41820024
2C0C0015 39600001
38000007 41820014
2C0C0019 39600001
38000008 40A2000C
91640090 9004008C
8004008C 00000000
c2532E30 00000003
38000001 3d808000
618c01b0 39600000
996c0000 00000000

NTSC-K:
c257F954 00000003
9004000c 3d808000
39600000 996c01b0
60000000 00000000
c257F930 00000003
90040008 3d808000
896c01b0 396b0001
996c01b0 00000000
C27DD258 00000014
2C1F0000 40820094
3D808000 898C01B0
2C0C0003 39600001
38000002 41820074
2C0C0005 39600001
38000003 41820064
2C0C0008 39600003
38000010 41820054
2C0C000C 39600003
38000011 41820044
2C0C000F 39600001
38000009 41820034
2C0C0012 39600001
3800000B 41820024
2C0C0015 39600001
38000007 41820014
2C0C0019 39600001
38000008 40A2000C
91640090 9004008C
8004008C 00000000
c2521508 00000003
38000001 3d808000
618c01b0 39600000
996c0000 00000000

Reset Score if hit

Code:
loc_0x0:
  stw r0, 12(r4)
  lis r12, 0x8000
  li r11, 0x0
  stb r11, 432(r12)




Add point to score if you hit a player
Code:
loc_0x0:
  stw r0, 8(r4)
  lis r12, 0x8000
  lbz r11, 432(r12)
  addi r11, r11, 0x1
  stb r11, 432(r12)




Scorestreak Table
Code:
start:
  lis r12, 0x8000
  lbz r12, 432(r12)

  cmpwi r12, 0x3 #Item 1
  li r11, 0x1
  li r0, 0x2
  beq- store_to_mem

  cmpwi r12, 0x5 #Item 2
  li r11, 0x1
  li r0, 0x3
  beq- store_to_mem

  cmpwi r12, 0x8 #Item 3
  li r11, 0x3
  li r0, 0x10
  beq- store_to_mem
 
  cmpwi r12, 0xC #Item 4
  li r11, 0x3
  li r0, 0x11
  beq- store_to_mem

  cmpwi r12, 0xF #Item 5
  li r11, 0x1
  li r0, 0x9
  beq- store_to_mem

  cmpwi r12, 0x12 #Item 6
  li r11, 0x1
  li r0, 0xB
  beq- store_to_mem

  cmpwi r12, 0x15 #Item 7
  li r11, 0x1
  li r0, 0x7
  beq- store_to_mem

  cmpwi r12, 0x19 #Item 8
  li r11, 0x1
  li r0, 0x8
  bne+ end

store_to_mem:
  stw r11, 144(r4)
  stw r0, 140(r4)

end:




Reset value to 0 if race countdown occurs (if the value you had of the previous race is kept as the same score as a scorestreak, you will start with an item)
Code:
loc_0x0:
  li r0, 0x1
  lis r12, 0x8000
  ori r12, r12, 0x1B0
  li r11, 0x0
  stb r11, 0(r12)

Print this item