Hacking Kirby's Return to Dreamland, with Classic Controller support

  • Thread starter Cyan
  • Start date
  • Views 46,257
  • Replies 34
  • Likes 4

libertyernie

Well-Known Member
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
Here's a modified version of the Classic Controller patch that uses B for inhale and A for jump. (That's the default setting in Kirby Star Allies and I got used to it.)

Code:
SUKE01
Kirby's Return to Dreamland

Classic Controller (requires MF patch) [crediar] - B/A style v2 [libertyernie]
C206BA44 00000023
7C0802A6 80B50060
48000041 80950000
7CA52378 90B50000
80B50064 4800002D
80950004 7CA52378
90B50004 80B50068
48000019 80950008
7CA52378 90B50008
7C0803A6 4E800020
38C00000 70A40800
2C040000 41820008
60C68000 70A42000
2C040000 41820008
60C60800 70A40200
2C040000 41820008
60C60800 70A40040
2C040000 41820008
60C60200 70A40010
2C040000 41820008
60C60100 70A40020
2C040000 41820008
60C61000 70A40001
2C040000 41820008
60C60002 70A40002
2C040000 41820008
60C60008 70A48000
2C040000 41820008
60C60004 70A44000
2C040000 41820008
60C60001 70A40400
2C040000 41820008
60C60010 70A41000
2C040000 41820008
60C61000 7CC53378
4E800020 00000000
041ABD10 60000000
041ABD84 38600000
*Kirby Star Allies layout, L/R:block, Y:drop power B:inhale/power A:jump

EDIT 7/21/18 - changed "drop power" from X to Y

Sorry, no ZL/ZR (I don't know what value to edit to add more button mappings, and I decided to keep L/R since I usually use a regular Classic Controller.)

Also looks like if you use MinimaLauncher, the gameconfig.txt for Kirby's Return to Dream Land is included and you don't need it on your SD card.
 
Last edited by libertyernie,

Waveracer

Well-Known Member
Member
Joined
Jul 22, 2016
Messages
230
Trophies
0
XP
395
Country
United Kingdom
For anyone too lazy to make a GCt with the Gamcueb Support (V2) code, here's one.

Let's see if somebody can help me. I am trying to use the classic controller and the GameCube controller to work with this game and I can't get any of them to work. I downloaded the files mentioned on this thread but I don't know exactly which ones to download, where to paste them and what the contents should be, because everyone mentions different ones and the person who explained a bit more one of the files is not available. So I found out that if you click Settings when launching a game on USB Loader GX there is an Ocarina Menu where to download and activate directly the cheats and I tried that. I launched the game but the classic controller still doesn't work. However, I've never activated any cheats before and I don't know if I'm skipping any steps. Also, the cheat says "requires MF patch"?

EDIT (solved):

OK, I think it's working now, I'll double check just in case and I'll try the same for Donkey Kong Country Returns. For those with problems, this is how it is working for me now. I hope that I can help somebody as I've been helped before by other users in here.

First of all, you need to have the Ocarina app, which I didn't have, on the apps folder on your SD card (http://www.mediafire.com/file/c47btk71s7y7kcs/Ocarina.rar).

Secondly, there are two types of files you need for each game, one is a TXT file that has the cheats written (http://geckocodes.org/index.php?c=SUKE01) and the second one is a CGT file that is produced. USB Loader GX or Codemgr (included with Ocarina download) both have the option to create the CGT file. The text file goes in a folder named txtcodes and the GCT files in a folder called codes, as explained in this guide (https://gbatemp.net/threads/ocarina-cheats-guide.468862/). USB Loader GX puts them there by default.

Thirdly, for avoiding the black screen, you need to create another text file with the content posted by boraborawayway on this very thread (http://crediar.no-ip.com/krtdcd.txt).

Additionally, if you are using USB Loader GX, select the game, click on Settings, Game Load, Ocarina > ON.

With the cheat I am using for supporting the Classic Controller you can also use the SNES controller of the Nintendo Club and the SNES controller of SNES Classic Mini, like in any other Wii game that supports the Classic Controller.

I am still trying to figure out how to use super inhale and the GameCube controller.
 
Last edited by Waveracer,

libertyernie

Well-Known Member
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
The Classic Controller code for Kirby doesn't have any code to simulate shaking the remote, whereas the DKCR and NSMB codes do. But in Kirby, instead of shaking, you can press the d-pad in a bunch of different directions quickly.

I think the only exception is the snowball level. For that you will need to shake the remote that the controller is attached to.
 

Waveracer

Well-Known Member
Member
Joined
Jul 22, 2016
Messages
230
Trophies
0
XP
395
Country
United Kingdom
The Classic Controller code for Kirby doesn't have any code to simulate shaking the remote, whereas the DKCR and NSMB codes do. But in Kirby, instead of shaking, you can press the d-pad in a bunch of different directions quickly.

I think the only exception is the snowball level. For that you will need to shake the remote that the controller is attached to.
OK, I am trying that, it's slow and a bit cumbersome but it works. If only it was mapped to another button or two buttons like pressing Y + back...

NSMBW has the classic controller code for the US version but not for the PAL version, the one I have, can I use the NTSC code on the PAL game? If not, does the code for the PAL game exist? Same for DKCR, I have the PAL game, but I don't see the classic controller code for the PAL or the NTSC version. I am looking on geckocodes.org.

EDIT:

The console freezes with the NTSC codes so I suppose that I need the PAL codes. I don't know if I have to update the gameconfig file when adding codes for more games.
 
Last edited by Waveracer,

Xaranar

Member
Newcomer
Joined
Oct 8, 2018
Messages
8
Trophies
0
Age
38
XP
60
Country
United Kingdom
I can’t get the Kirby one to work for me. The gameconfig.txt works just fine to disable memory checks, but the ocarina code just causes the game to boot to a black screen.
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,923
Country
Where to find the GCT patch for the classic controller support, and do I need the one for the black screen too?

I heard there’s a CGT patch for New Super Mario Bros too.

I wonder if one can be made for Sonic Riders Zero Gravity, it supports Wii remote (horizontally or vertically either way) but you need to shake in order to do a dive.
 
Last edited by sonictopfan,

PacBunnyXV07

Well-Known Member
Member
Joined
May 12, 2018
Messages
921
Trophies
0
XP
1,647
Country
United States
I would love it if theres was a homebrew app where you can emulate the wiimote + nunchunk with the gamecube or classic controller.
 

Felold

Active Member
Newcomer
Joined
Sep 25, 2022
Messages
37
Trophies
0
Age
32
Location
Metro City
XP
228
Country
Brazil
Here's all the classic controller patchs I found floating around the forum and a quick glimpse at the end on how It works.
It would be awesome If someone with the knowledge started to do more of these patchs.
One for Other M could mitigate one of the game's most glaring flaws.

.....

SMNE01
New Super Mario Bros Wii

Enable Classic Controller [Thomas83Lin]
C21EB5B8 00000020
38210050 7C0802A6
80BA0060 48000041
809A0000 7CA52378
90BA0000 80BA0064
4800002D 809A0004
7CA52378 90BA0004
80BA0068 48000019
809A0008 7CA52378
90BA0008 7C0803A6
4E800020 70A40200
2C040000 4182000C
3CC07FC0 90DA0010
38C00000 70A40800
2C040000 41820008
60C68000 70A40020
2C040000 41820008
60C60200 70A40040
2C040000 41820008
60C60100 70A40001
2C040000 41820008
60C60002 70A40002
2C040000 41820008
60C60008 70A48000
2C040000 41820008
60C60004 70A44000
2C040000 41820008
60C60001 70A40400
2C040000 41820008
60C60010 70A41000
2C040000 41820008
60C61000 7CC53378
60000000 00000000
041EAE30 39800000
041EAE34 91840000
04019EE0 38000000
040B3B30 38000000
2076DBA8 8804A2DC
0476DBA8 38000000
2076DBE9 8804A2DC
0476DBE8 38000000
E0000000 80008000

*No Tilt Support*
*Works for Version's 2 and 3 not tested on version 1*
*Tested with VBI Hook*
*Not tested with Classic Controller Pro*
Controls:
Y=Run
B=Jump
D-pad=Directional
R=Shake
-\Home\+

notes: When using this code, Shake will no longer work with players not using a classic controller. Also i could have shortened the code some removing unnecessary buttons but i didn't.

.....

SF8E01
Donkey Kong Country Returns

Classic Controller Support
C24A5F70 00000020
38210050 7C0802A6
80B50060 48000041
80950000 7CA52378
90B50000 80B50064
4800002D 80950004
7CA52378 90B50004
80B50068 48000019
80950008 7CA52378
90B50008 7C0803A6
4E800020 70A40004
2C040000 4182000C
38C0012D B0D50186
38C00000 70A40800
2C040000 41820008
60C68000 70A40020
2C040000 41820008
60C60200 70A40040
2C040000 41820008
60C60100 70A40001
2C040000 41820008
60C60002 70A40002
2C040000 41820008
60C60008 70A48000
2C040000 41820008
60C60004 70A44000
2C040000 41820008
60C60001 70A40400
2C040000 41820008
60C60010 70A41000
2C040000 41820008
60C61000 7CC53378
60000000 00000000
04389B90 38A00000
0438710C 28000009


Use mine, I remaped the buttons though:
y : run
b: jump
zr : roll/blow/stomp

.....

SUKE01
Kirby's Return to Dreamland

Classic Controller (requires MF patch) [crediar]
C206BA44 00000023
7C0802A6 80B50060
48000041 80950000
7CA52378 90B50000
80B50064 4800002D
80950004 7CA52378
90B50004 80B50068
48000019 80950008
7CA52378 90B50008
7C0803A6 4E800020
38C00000 70A40800
2C040000 41820008
60C68000 70A42000
2C040000 41820008
60C60800 70A40200
2C040000 41820008
60C60800 70A40020
2C040000 41820008
60C60200 70A40040
2C040000 41820008
60C60100 70A40010
2C040000 41820008
60C61000 70A40001
2C040000 41820008
60C60002 70A40002
2C040000 41820008
60C60008 70A48000
2C040000 41820008
60C60004 70A44000
2C040000 41820008
60C60001 70A40400
2C040000 41820008
60C60010 70A41000
2C040000 41820008
60C61000 7CC53378
4E800020 00000000
041ABD10 60000000
041ABD84 38600000

*Default kirby layout, L/R:block, A:drop power Y:inhale/power B:jump

......

How It works?
Based on Donkey Kong Country Returns code, here is the list of classic controller button activators:

Classic Controller Button Activator = 28200F0A 0000XXXX.
XXXX Values:
0001: Up DPAD.
0002: Left DPAD.
4000: Down DPAD.
8000: Right DPAD.
1000: Minus (Select)
0800: Home.
0400: Plus (Start)
0008: X.
0020: Y.
0040: B.
0010: A.
2000: L.
0080: ZL.
0200: R.
0004: ZR.

In your code, in the line that says "R" button, it ends in "0200". If you refer to the list above, "0200" is the code for R. So if instead you wanted to use X, you would change 0200 and make it 0008. If you wanted to make it "B" you would replace it with "0040".
 
  • Like
Reactions: Levine91

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs