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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 645
» Latest member: tiktokexpert
» Forum threads: 1,814
» Forum posts: 13,999

Full Statistics

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

Latest Threads
Show Ice Cube on Online P...
Forum: Online Non-Item
Last Post: _Ro
2 hours ago
» Replies: 0
» Views: 12
CPU Control Cycler [Ro]
Forum: Offline Non-Item
Last Post: _Ro
2 hours ago
» Replies: 7
» Views: 986
Thunder Cloud Effect Modi...
Forum: Offline; Item
Last Post: JerryHatrick
11 hours ago
» Replies: 11
» Views: 1,059
MKW Coder/Developer of th...
Forum: Coding & Hacking General Discussion
Last Post: Vega
Yesterday, 09:10 PM
» Replies: 10
» Views: 13,813
Make it to 10,000
Forum: General Discussion
Last Post: Vega
Yesterday, 08:15 PM
» Replies: 7,338
» Views: 5,669,349
Miniturbos and Inside Dri...
Forum: Coding & Hacking General Discussion
Last Post: JerryHatrick
Yesterday, 09:54 AM
» Replies: 1
» Views: 856
Code request???
Forum: Code Support / Help / Requests
Last Post: DrTap
01-09-2025, 06:06 PM
» Replies: 3
» Views: 4,949
CPUs/Online Players Have ...
Forum: Visual & Sound Effects
Last Post: Zeraora
01-09-2025, 02:26 AM
» Replies: 2
» Views: 501
Offline Hide and Seek
Forum: Code Support / Help / Requests
Last Post: FelX
01-08-2025, 03:43 PM
» Replies: 11
» Views: 731
Show Nametags During Coun...
Forum: Visual & Sound Effects
Last Post: _Ro
01-08-2025, 07:48 AM
» Replies: 1
» Views: 666

 
  Allow Mega in a Mega [Unnamed]
Posted by: Unnamed - 02-23-2022, 09:17 AM - Forum: Offline; Item - No Replies

Allow Mega in a Mega [Unnamed]


Normally you cannot get a Mega Mushroom while you are in a Mega Mushroom state. This code removes this rule and allows you to still get a Mega Mushroom.

NTSC-U
047ACD04 60000000

PAL
047BB764 60000000

NTSC-J
047BADD0 60000000

NTSC-K
047A9B24 60000000



Source:
# changed "beq- 0xC" to "nop". This way, the Probability of a Mega will not be zeroed out.


Code Creator: Unnamed

Print this item

  Lightning Shock Length Modifier [1superchip]
Posted by: 1superchip - 02-21-2022, 04:31 AM - Forum: Offline; Item - Replies (1)

Lightning Shock Length Modifier [1superchip]

This code modifies how long each position is shocked for by the lightning.

NTSC-U:
0688D508 00000018
GGGGHHHH IIIIJJJJ
KKKKLLLL MMMMNNNN
OOOOPPPP QQQQRRRR

PAL:
06891A20 00000018
GGGGHHHH IIIIJJJJ
KKKKLLLL MMMMNNNN
OOOOPPPP QQQQRRRR

NTSC-J:
06891070 00000018
GGGGHHHH IIIIJJJJ
KKKKLLLL MMMMNNNN
OOOOPPPP QQQQRRRR

NTSC-K:
0687FE28 00000018
GGGGHHHH IIIIJJJJ
KKKKLLLL MMMMNNNN
OOOOPPPP QQQQRRRR

Value - Place - Default

GGGG = 1st place (0x02B2)
HHHH = 2nd place (0x0285)
IIII = 3rd place (0x0258)
JJJJ = 4th place (0x022B)
KKKK = 5th place (0x01FE)
LLLL = 6th place (0x01C2)
MMMM = 7th place (0x0186)
NNNN = 8th place (0x014A)
OOOO = 9th place (0x010E)
PPPP = 10th place (0x00D2)
QQQQ = 11th place (0x0096)
RRRR = 12th place (0x005A)

Note: Value is signed, max value is 0x7FFF

Code Creator: 1superchip

Print this item

  Play different item receive sound when receiving Shock, Star & Bullet [Ro]
Posted by: _Ro - 02-13-2022, 02:16 AM - Forum: Visual & Sound Effects - No Replies

Play different item receive sound when receiving Shock, Star & Bullet [Ro]

This code allows you to modify what item receive sound the roulette plays when you receive a Shock, Star & Bullet. This code is a request and I decided to make it. Of course it is customizable to any item and sound you want as long as you know what you are doing. The value to put is the revo_kart.brsar sound index of the sound you want. Look up the source to edit it as you desire.

NTSC-U
C278F140 00000004
388000E3 381CFFF8
28000001 4081000C
2C1C000F 40820008
38800XXX 00000000

PAL (Untested)
C279814C 00000004
388000E3 381CFFF8
28000001 4081000C
2C1C000F 40820008
38800XXX 00000000

NTSC-J (Untested)
C27977B8 00000004
388000E3 381CFFF8
28000001 4081000C
2C1C000F 40820008
38800XXX 00000000

NTSC-K (Untested)
C278650C 00000004
388000E3 381CFFF8
28000001 4081000C
2C1C000F 40820008
38800XXX 00000000

Code:
Write to:
NTSC-U: 8078F140
PAL: 8079814C
NTSC-J: 807977B8
NTSC-K: 8078650C

Source:
li r4, 0xE3           #Play original item receive sound
subi r0, r28, 8     #Subtract R28 (item ID) value by 8 and stores to R0
cmplwi r0, 1       #Checks if R0 is less than the value of 1 (8 - 8 shock ID) = 0 (8 - 9 star ID) = -1
ble custom         #If value is less than one, play custom receive sound
cmpwi r28, 0xF   #Checks if received item is Bullet
bne end             #If not equal, don't do anything, skip to end (return)
custom:             #Custom receive sound label
li r4, 0xXXX        #Play custom receive sound (revo_kart.brsar sound index ID)
end:                  #End of the function (return)

Code by: Ro
Code credits: Seeky (helped me short it and taught me a different way to do checks that saves lines. Thank you very much!)

Print this item

  Separated Countdown Count Sounds
Posted by: _Ro - 02-13-2022, 02:06 AM - Forum: Visual & Sound Effects - Replies (2)

Separated Countdown Count Sounds [Ro]

This code will separate the countdown count sounds to allow the user to play different sounds (and any) on each count number. This is useful for modders who want to customize their countdown sounds to have a voice saying the number (inspired on the old classic starting music song edit). This will work in Battle as well. The values are the revo_kart.brsar index of the song - adding new entries should work for this. 

NTSC-U
C2835D50 00000004
38800XXX 2C060001
41800000 4181000C
38800YYY 48000000
38800ZZZ 00000000

PAL (Untested)
C28577E0 00000004
38800XXX 2C060001
41800000 4181000C
38800YYY 48000000
38800ZZZ 00000000

NTSC-J (Untested)
C2856E4C 00000004
38800XXX 2C060001
41800000 4181000C
38800YYY 48000000
38800ZZZ 00000000

NTSC-K (Untested)
C2845BA0 00000004
38800XXX 2C060001
41800000 4181000C
38800YYY 48000000
38800ZZZ 00000000

Code:
Write to:
NTSC-U: 80835D50
PAL: 808577E0
NTSC-J: 80856E4C
NTSC-K: 80845BA0

Source:
# Initialise as 3 by default
li r4, 0xXXX #Countdown Count '3' Sound

cmpwi r6, 1
blt end # 3
bgt num1

# Flows into num2 anyway without a branch
num2:
li r4, 0xYYY #Countdown Count '2' Sound
b end

num1:
li r4, 0xZZZ #Countdown Count '1' Sound

end:

Code created by: Ro
Code credits: Seeky (for small optimazion and help)

Print this item

  Mario Kart Wii - Service Pack (MKW-SP)
Posted by: stebler - 02-07-2022, 10:38 AM - Forum: Coding & Hacking General Discussion - Replies (11)

Mario Kart Wii - Service Pack (MKW-SP)

Authors: stebler et al.

Mario Kart Wii - Service Pack is an experimental, open-source, cross-platform mod for MKW aiming to provide a variety of features and improvements over the base game.

Current features:
- A new save system allowing for more than 4 licenses, ghosts saved on the SD card (or equivalent) as separate files with additional metadata (and read-only support for the CTGP format), custom settings and no region lock.
- A way to replay or race against up to 11 ghosts at once, with (in replays) the ability to switch between ghosts like in live view, tags for every ghost (can be configured to display the name, finish time or creation date) and a tailored selection UI.
- A native-looking speedometer, an option to show Mii heads on the minimap and various UI and UX improvements.
- Many others such as 200cc, My Stuff including differential patching or ghost solidity options.

Planned features:
- (0.2) Track packs with in-game selection and updates and an improved UI with cups replaced with a simple sortable list and track previews.
- (0.2) Several existing and unique features for custom tracks.
- (0.2) An in-game updater for MKW-SP itself.
- (0.3) Online support with a a custom client-server protocol, allowing for cheat-prevention, race recordings, lag-free spectator mode and reconnecting in the middle of a race.
- (0.3) A revamped team mode with friendly fire, up to 6 teams and some kind of in-game communication for random matchmaking.

Links:
Download: v0.1.12
Website: https://mkw-sp.com
GitHub: https://github.com/mkw-sp/mkw-sp
DIscord: https://discord.gg/TPSKtyKgqD
Showcase video: https://www.youtube.com/watch?v=KF3y3nQneBo

Print this item

  Stop the game from evaluating controller input
Posted by: Wiimm - 01-28-2022, 09:43 PM - Forum: Code Support / Help / Requests - No Replies

I built a hook into LE_CODE that changes internal values for certain controller inputs. In particular, I have defined 2 buttons ALT1 and ALT2 for each controller type, which are never used together in the standard game (compare http://wiki.tockdom.com/wiki/LE-CODE/Con...ns#Buttons).

My problem: I would like to ensure that the game does not receive any controller input as soon as ALT1 and ALT2 are pressed. Does anyone of you have an idea how and where the game receives and evaluates the inputs?

Print this item

  Hybrid Drift v2.0 [Ismy, CLF78]
Posted by: TheIsmy64 - 01-21-2022, 04:21 PM - Forum: Offline Non-Item - Replies (2)

I've been working on this code for a while. Basically, if you select Automatic Drift in the menu, you can both drift automatically and manually during the same race (one excludes the other, you can't do both at the exact same time, though). Whenever the player isn't drifting, the default mode is Automatic Drift, so wheelie nudging is possible without losing speed.

Shoutouts to CLF78 and stebler for helping me with Ghidra, documentation and with some ASM stuff.

Big thanks to CLF78 again for v2.0 where it fixed the B button behavior on Wiimote and the buggy glitchy camera.

Showcase on rDKM Time Trials
Commented Assembly Code
Updated THP movie for the drift selection screen


PAL
C2578DCC 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C257930C 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C257DFA8 00000004
80030014 540C04A5
4182000C 60000010
90030014 80030004
60000000 00000000
C257E018 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C257E108 00000003
540006F7 4082000C
38000000 900301C8
60000000 00000000
C257E3C4 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C2594AA8 00000005
807E0004 70640084
41820018 809E0014
54840734 909E0014
54630104 907E0004
7FC3F378 00000000
0059450E 00000020
04594A60 60000000
045A35BC 38600000
02745AB0 00004800
028CB70A 00000000


NTSC-U
C2572568 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C2572AA8 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C2577744 00000004
80030014 540C04A5
4182000C 60000010
90030014 80030004
60000000 00000000
C25777B4 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C25778A4 00000003
540006F7 4082000C
38000000 900301C8
60000000 00000000
C2577B60 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C258E284 00000005
807E0004 70640084
41820018 809E0014
54840734 909E0014
54630104 907E0004
7FC3F378 00000000
0058DCEA 00000020
0458E23C 60000000
04598584 38600000
02735BE4 00004800
028C6202 00000000


NTSC-J
C257874C 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C2578C8C 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C257D928 00000004
80030014 540C04A5
4182000C 60000010
90030014 80030004
60000000 00000000
C257D998 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C257DA88 00000003
540006F7 4082000C
38000000 900301C8
60000000 00000000
C257DD44 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C2594428 00000005
807E0004 70640084
41820018 809E0014
54840734 909E0014
54630104 907E0004
7FC3F378 00000000
00593E8E 00000020
045943E0 60000000
045A2F3C 38600000
0274511C 00004800
028CA85A 00000000


NTSC-K
C2566E24 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C2567364 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C256C000 00000004
80030014 540C04A5
4182000C 60000010
90030014 80030004
60000000 00000000
C256C070 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C256C160 00000003
540006F7 4082000C
38000000 900301C8
60000000 00000000
C256C41C 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C2582B00 00000005
807E0004 70640084
41820018 809E0014
54840734 909E0014
54630104 907E0004
7FC3F378 00000000
00582566 00000020
04582AB8 60000000
04591614 38600000
02733E70 00004800
028B9BA2 00000000

Print this item

  DBZ BT3 Transform to Whoever & Whenever [Vega]
Posted by: Vega - 01-03-2022, 01:52 AM - Forum: General Discussion - No Replies

Had some issues in the past trying to make this code. The other day I decided to do some more decomp and finally figured out everything I needed to do to make this possible. Shy

This game is a lot of fun!

Print this item

  at what PAL address is this value located?
Posted by: weeg - 12-31-2021, 11:00 AM - Forum: Code Support / Help / Requests - Replies (1)

[Image: JO7sjKY.png]
i tried to find it the 0x808B5FC4 vtable, without success

Print this item

  How to set a breakpoint on a pointer in Dolphin?
Posted by: weeg - 12-25-2021, 08:50 PM - Forum: Coding & Hacking General Discussion - Replies (1)

how do i set a breakpoint on a pointer in dolphin?

Print this item