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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 648
» Latest member: TASsy_js
» Forum threads: 1,816
» Forum posts: 14,010

Full Statistics

Online Users
There are currently 67 online users.
» 0 Member(s) | 65 Guest(s)
Bing, Google

Latest Threads
Make it to 10,000
Forum: General Discussion
Last Post: Fifty
4 hours ago
» Replies: 7,345
» Views: 5,676,339
Textures/texture packs in...
Forum: Coding & Hacking General Discussion
Last Post: Vega
7 hours ago
» Replies: 1
» Views: 29
MKW Coder/Developer of th...
Forum: Coding & Hacking General Discussion
Last Post: Fifty
Yesterday, 05:06 AM
» Replies: 11
» Views: 13,912
Allow Pausing Before Race...
Forum: Offline Non-Item
Last Post: Vega
01-11-2025, 07:47 PM
» Replies: 0
» Views: 43
Top 10 Most Influential C...
Forum: Coding & Hacking General Discussion
Last Post: Vega
01-11-2025, 03:27 PM
» Replies: 2
» Views: 7,367
Show Ice Cube on Online P...
Forum: Online Non-Item
Last Post: _Ro
01-11-2025, 08:23 AM
» Replies: 0
» Views: 51
CPU Control Cycler [Ro]
Forum: Offline Non-Item
Last Post: _Ro
01-11-2025, 07:56 AM
» Replies: 7
» Views: 1,040
Thunder Cloud Effect Modi...
Forum: Offline; Item
Last Post: JerryHatrick
01-10-2025, 11:13 PM
» Replies: 11
» Views: 1,142
Miniturbos and Inside Dri...
Forum: Coding & Hacking General Discussion
Last Post: JerryHatrick
01-10-2025, 09:54 AM
» Replies: 1
» Views: 865
Code request???
Forum: Code Support / Help / Requests
Last Post: DrTap
01-09-2025, 06:06 PM
» Replies: 3
» Views: 4,978

 
  New Gecko Codehandler for Wii
Posted by: JoshuaMK - 03-16-2020, 06:27 AM - Forum: Coding & Hacking General Discussion - Replies (19)

The new codehandler! Use this for your gecko modding needs from now on, as it properly handles the cache unlike almost all other codehandlers, and also allows a lot more lines of code than every other codehandler out there!

Download
Source code

UPDATE: @Vega It needs testing, but I made a change that I hope fixes the C0 function call crashes you were having. I need you to test it as I have no memory of which codes caused this issue Tongue

Print this item

  200cc (CTGP Replica)
Posted by: Zeraora - 03-14-2020, 09:58 PM - Forum: Purgatory - Replies (25)

THREAD UPDATE (12/28/2020)
Thread has been closed since Stebler has posted the official 200cc Code.

-Vega



This is a near replica of CTGP's 200cc mode. It has Faster Shells, Cannons, Fast Falling and Lower speed drifting. It doesn't have Brake Drifting. This does replace 150cc.

NTSC-U:
C0000000 0000000A
3D808000 896C5f27
3D40809B 2C0B00EC
6149D728 41820024
2C0B0010 6149C788
41820018 2C0B0054
3D20809A 6129BD68
41820008 61498F68
81290000 2C090000
4d820020 81690B6C
996C04CF 4E800020
048B1138 43110000
048B1428 43FA0000
048B1438 43FA0000
048B1448 42F00000
048B125C 3F0CCCCD
048A12E4 42AA0000
048A0FD8 42960000
048B141C 3F800000
045801FC D00300F4
04590400 C03F0000
280004CE 00000002
048B1138 43480000
048B1428 443B8000
048B1438 443B8000
048B1448 43340000
048B125C 3E99999A
048A12E4 43000000
048A0FD8 431E0000
048B141C 3FC00000
C25801FC 00000002
3D808142 D00300F4
D00C0800 00000000
C2590400 00000007
3D608142 3C804078
908B0804 C14B0804
C1AB0800 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000
E0000000 80008000
C2571CF4 00000005
3D80809B 618C8F68
818C0000 816C0B6C
2C0B0002 4082000C
3D804334 91891134
C0091134 00000000

PAL:
C0000000 0000000A
3D808000 896C5F27
3D40809B 2C0B00EC
6149D728 41820024
2C0B0010 6149C788
41820018 2C0B0054
3D20809A 6129BD68
41820008 61498F68
81290000 2C090000
4D820020 81690B6C
996C04CF 4E800020
048B5CE8 43FA0000
048B5CF8 43FA0000
048B5D08 42F00000
048B5CD4 3F4CCCCD
048B5CD8 3F666666
048B5CDC 3F800000
048B5CE0 3F333333
048B5B1C 3F0CCCCD
048A5DBC 42AA0000
048A5AB0 42960000
048B5CDC 3F800000
04586A20 D00300F4
04596C24 C03F0000
280004CE 00000002
048B5CE8 443B8000
048B5CF8 443B8000
048B5D08 43340000
048B5CD4 3F4CCCCD
048B5CD8 3F666666
048B5CDC 3FC00000
048B5CE0 3F666666
048B5B1C 3E99999A
048A5DBC 43000000
048A5AB0 431E0000
048B5CDC 3FC00000
C2586A20 00000002
3D808142 D00300F4
D00C0800 00000000
C2596C24 00000007
3D608142 3C804078
908B0804 C14B0804
C1AB0800 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000
E0000000 80008000
C2578558 00000005
3D80809B 618CD728
818C0000 816C0B6C
2C0B0002 4082000C
3D804334 91891134
C0091134 00000000

NTSC-J: Needs Porting

NTSC-K: Needs Porting

Special Thanks to Joshua! He made specific codes that allow for modes to be cc specific. 

RoGamer helped alot with putting the code together as well.

Codes used: Green/Red Shell Speed Modifier (davidevgen) 
Cannon Speed Modifier (RoGamer) 
Speed to Drift Modified (Suppastario) 
Dynamic Gravity v3.0 (JoshuaMK) 
Engine Class Modifier (Leseratte) 
Speed Check Modifier (JoshuaMK) 
CC Tracker (JoshuaMK) 
Bullet Bill Speed Modifier (mdmwii)

Print this item

  200cc Replaces 150cc [JoshuaMK, Leseratte]
Posted by: JoshuaMK - 03-14-2020, 04:57 PM - Forum: Offline Non-Item - No Replies

200cc Replaces 150cc [JoshuaMK, Leseratte]

Anytime 150cc is detected, the speed is properly modded for 200cc.



(NTSC-U)
C2571CF4 00000005
3D80809B 618C8F68
818C0000 816C0B6C
2C0B0002 4082000C
3D804334 91891134
C0091134 00000000
048B141C 3FC00000

(PAL)
C2578558 00000005
3D80809B 618CD728
818C0000 816C0B6C
2C0B0002 4082000C
3D804334 91891134
C0091134 00000000
048B5CDC 3FC00000

(NTSC-J)
C2577ED8 00000005
3D80809B 618CC788
818C0000 816C0B6C
2C0B0002 4082000C
3D804334 91891134
C0091134 00000000
048B4E3C 3FC00000

(NTSC-K)
C25665B0 00000005
3D80809A 618CBD68
818C0000 816C0B6C
2C0B0002 4082000C
3D804334 91891134
C0091134 00000000
048A4154 3FC00000



Source ASM

lis r12, cc_pointer@h
ori r12, r12, cc_pointer@l
lwz r12, 0 (r12)
lwz r11, 0xB6C (r12)
cmpwi r11, 2 #0 = 50cc, 1 = 100cc, 2 = 150cc, 3 = Battle
bne- not_200cc
lis r12, 0x4334
stw r12, 0x1134 (r9)
not_200cc:
lfs f0, 0x1134 (r9)



Code Creators: JoshuaMK, Leseratte

Print this item

  Mii Outfit C [TheLordScruffy]
Posted by: Palapeli - 03-12-2020, 03:16 PM - Forum: Misc/Other - Replies (8)

Mii Outfit C [TheLordScruffy]

This code enables an extra character button already assigned to Mii Outfit C and allows it to be selected, revealing a perfectly functional Mii Outfit C once you add the models.
The content names, already completely functional but missing the files, are like the other Mii Outfits. Like mc_mii_m for a medium sized male Mii.

NTSC-U
C28235B8 00000005
3BBDFFE4 281D000D
41810018 388030C3
7C9DEC30 73A40001
41820008 3B400004
28000001 00000000
C2823BEC 00000005
3BFFFFE4 281F000D
41810018 388030C3
7C9FFC30 73E40001
41820008 3BA00004
28000001 00000000
04550E54 38600001
047DC684 3BC0001B

NTSC-J
C283D684 00000005
3BBDFFE4 281D000D
41810018 388030C3
7C9DEC30 73A40001
41820008 3B400004
28000001 00000000
C283DCB8 00000005
3BFFFFE4 281F000D
41810018 388030C3
7C9FFC30 73E40001
41820008 3BA00004
28000001 00000000
0454FA38 38600001
047E1D80 3BC0001B

PAL
C283E018 00000005
3BBDFFE4 281D000D
41810018 388030C3
7C9DEC30 73A40001
41820008 3B400004
28000001 00000000
C283E64C 00000005
3BFFFFE4 281F000D
41810018 388030C3
7C9FFC30 73E40001
41820008 3BA00004
28000001 00000000
045500B8 38600001
047E2714 3BC0001B

NTSC-K
C282C3D8 00000005
3BBDFFE4 281D000D
41810018 388030C3
7C9DEC30 73A40001
41820008 3B400004
28000001 00000000
C282CA0C 00000005
3BFFFFE4 281F000D
41810018 388030C3
7C9FFC30 73E40001
41820008 3BA00004
28000001 00000000
0453E110 38600001
047D0AD4 3BC0001B


Assembly Source:
#Mii Outfit C IDs: 0x1C, 0x1D, 0x22, 0x23, 0x28, 0x29

{
#Insert
#NTSC-U 0x808235B8
#NTSC-J: 0x8083D684
#PAL: 0x8083E018
#NTSC-K: 0x8082C3D8
#

  subi r29, r29, 0x1C
  cmplwi r29, 0xD
  bgt- end

  li r4, 0x30C3
  srw r29, r4, r29
  andi. r4, r29, 1
  beq- end

  li r26, 4
end:
  cmplwi r0, 1
}
{
#Insert
#NTSC-U: 0x80823BEC
#NTSC-J: 0x8083DCB8
#PAL: 0x8083E64C
#NTSC-K: 0x8082CA0C
#

  subi r31, r31, 0x1C
  cmplwi r31, 0xD
  bgt- end

  li r4, 0x30C3
  srw r31, r4, r31
  andi. r4, r31, 1
  beq- end

  li r29, 4
end:
  cmplwi r0, 1
}

Print this item

  Check if Time Trials [JoshuaMK]
Posted by: JoshuaMK - 03-08-2020, 04:26 AM - Forum: Misc/Other - Replies (7)

Check if Time Trials [JoshuaMK]

Use this code to have changes be specific to when you are/aren't in Time Trials.



(Region Free)
C0000000 0000000D
3D808000 896C5F27
3D40809B 2C0B00EC
6149D728 41820024
2C0B0010 6149C788
41820018 2C0B0054
3D20809A 6129BD68
41820008 61498F68
81490000 2C0A0000
39200000 912C01FC
41820018 814A1760
2C0A0002 4082000C
39400001 914CXXXX
4E800020 00000000



XXXX = Offset from 0x80000000 to store byte (02FF = 0x800002FF)



Values to check for codes that use this for Time Trial dependent changes:

Time Trials = 1
Any other mode = 0



Code Creator: JoshuaMK
Code Contributors: Leseratte

Print this item

  CC Tracker [JoshuaMK]
Posted by: JoshuaMK - 03-08-2020, 04:19 AM - Forum: Misc/Other - Replies (10)

CC Tracker [JoshuaMK]

Use this code when you want to have changes to the game be CC specific. Tested everywhere except online.



(Region Free)
C0000000 0000000A
3D808000 896C5F27
3D40809B 2C0B00EC
6149D728 41820024
2C0B0010 6149C788
41820018 2C0B0054
3D20809A 6129BD68
41820008 61498F68
81290000 2C090000
4D820020 81690B6C
996CXXXX 4E800020



XXXX = Offset from 0x80000000 to store byte (02FF = 0x800002FF)



Values to check for codes that use this for CC dependent changes:

0 = 50cc
1 = 100cc
2 = 150cc
3 = Battle
4 >= Invalid (Or maybe custom CCs if you want to pull of a MrBean35000vr and extend a key part of the game lol)



Code Creator: JoshuaMK

Print this item

  hello ppl
Posted by: Mewmaster99 - 03-07-2020, 01:19 AM - Forum: Introductions - Replies (4)

I guess I should make one of these. Hello I am Mew. Not the best at many things (mkw coding) but I do try.

Print this item

  How to load gecko codes in Riivolution
Posted by: Seeky - 03-06-2020, 08:44 PM - Forum: HBC & General Wii Softmodding - Replies (14)

If you don't already have the homebrew channel, follow the guide for your console: Wii Wii U

If you don't already have Riivolution, download it from here and extract the contents of the zip to your apps folder (if you don't already have one, create it on the root of your sd card).

If you haven't already made a GCT, see Vega's guide (other methods exist too, personally I use CheatManager).

First of all you need to put your GCT file in the right place and name it correctly. Create a folder named codes on the root of your sd card (if it doesn't already exist) and place your gct inside. Now you need to rename it to the ID of the game your codes are for (PAL MKWii would be RMCP01.gct, for example - others can be found here).

Next you will need to download a riivolution patch, which you can get here. Extract the contents of this zip file to the root of your SD card. This patch supports any game, not just MKWii.

Now you just need to load the game. Open riivolution, switch to the ocarina page (will be open already if you don't have any other xmls downloaded) and set OCARINA_CODES to Enabled and OCARINA HANDLER to GXDRAW HOOK. Now just press launch and the game will load with your gecko codes applied.

If you ever want to change the codes you're using, just make a new GCT and replace the one in your codes folder.

Print this item

  Disconnect Bluetooth [WiiBrew]
Posted by: Vega - 03-04-2020, 03:25 AM - Forum: Code Support / Help / Requests - Replies (1)

After reading the WiiBrew article listed below, I wrote this up in ASM really quick. Most likely you will just freeze. Either due to C0 codetype not being able to do IOS function calls or I jacked up the Vector Pointers...

Disconnect Wii Remote Bluetooth [WiiBrew]

Wiibrew C code - https://wiibrew.org/wiki//dev/usb/oh1

This code is to constantly d/c the bluetooth on the Wiimote. So basically it disables the wii remote for your game.

This code is wii-game-universal, as long as you have the game's function addresses for the 3 IOS functions listed in the XYZ values.

X values = Function Address for IOS_Open
Y values = Function Address for IOS_Ioctvl
Z values = Function Address for IOS_Close

Region-Free
00000FA0 00000020
00000FC0 00000000
02000FE0 00000000
02001000 00000000
02001020 00000300
00001040 00000000
04001060 030C0000
060009B0 00000048
XXXXXXXX YYYYYYYY
ZZZZZZZZ 00000000
80000FA0 00000001
80000FC0 00000001
80000FE0 00000002
80001000 00000002
80001020 00000002
80001040 00000001
80001060 00000003
C0000000 00000012
7D8802A6 9421FF80
BC610008 3FE08000
4800001D 2F646576
2F757362 2F6F6831
2F353765 2F333035
00000000 7C6802A6
38800002 819F09B0
7D8803A6 4E800021
2C030000 41800038
7C7E1B78 38800000
38A00006 38C00001
3CE08000 60E709C0
819F09B4 7D8803A6
4E800021 7FC3F378
819F09B8 7D8803A6
4E800021 B8610008
38210080 7D8803A6
4E800020 00000000

#MKW PAL IOS FUNCTIONS!

IOS_Open, 0x801938F8
IOS_Ioctlv, 0x801945E0
IOS_Close, 0x80193AD8


---
#C0

.macro push_stack
    mflr r12
    stwu sp, -0x80 (sp)
    stmw r3, 0x8 (sp)
.endm

.macro pop_stack
    lmw r3, 0x8 (sp)
    addi sp, sp, 0x80
    mtlr r12
.endm

push_stack

lis r31, 0x8000 #For loading shit

bl the_string

.string "/dev/usb/oh1/57e/305"
.align 2

the_string:
mflr r3
li r4, 2

#IOS Open
lwz r12, 0x09B0 (r31)
mtlr r12
blrl

cmpwi r3, 0
blt- _error

mr r30, r3
li r4, 0
li r5, 6
li 6, 1

lis r7, 0x8000
ori r7, r7, 0x09C0

#IOS_Ioctvl
lwz r12, 0x09B4 (r31)
mtlr r12
blrl

#No return value check? Ok.

mr r3, r30

#IOS_Close
lwz r12, 0x09B8 (r31)
mtlr r12
blrl

_error:
pop_stack

Print this item

  Is there a gliding code yet?
Posted by: TenaciousSP - 03-03-2020, 05:24 PM - Forum: Coding & Hacking General Discussion - Replies (1)

I want to know this, since I made a concept for a gliding code, which is attached to the message.

Print this item