• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Use up to 8000+ lines of codes at a time using new Gecko

Y.S.

Smash Cadet
Joined
Feb 24, 2009
Messages
29
Note:
The original patch was made by brkirch, for NTSC-USA, and I just ported it to NTSC-JPN & PAL.



1) Download the latest version of Gecko from the link below, extract it, and copy it to the SD card.
http://wiird.l0nk.org/forum/index.php/topic,3228.html

2) Add the following lines to the "gameconfig.txt" which is placed at the root of the SD card.
(Create a new file if you haven't made the config file yet).

Code:
RSB?01:
codeliststart = 80570000
codelistend = 80580000
poke(800042B8, 60000000)
pokeifequal(803E9930, 4BFECA1D, 803E9930, 60000000)
pokeifequal(803E99A8, 4BFECA1D, 803E99A8, 60000000)
pokeifequal(803E9D5C, 4BFECA1D, 803E9D5C, 60000000)

3) Copy .gct file (which is now able to contain 8000+ codes) to SD:\codes\







------------------------------------------------------------------------------------------------

Double gct method:

Original post on gct loader;
http://www.smashboards.com/showpost.php?p=7025153&postcount=197




NTSC-USA


Put a gct in SD:/Private\Wii\App\RSBE\pf\ with another gct that has the following codes in order in SD:\codes\. It's like the snapshot method only loaded at start up and doesn't need to be encoded. The "File Replacement" code needs to be in the second gct (the one in SD:\Private\Wii\App\RSBE\pf\) else it will conflict with the code loader.



Code:
Dynamic SD Loader v1.1 [Phantom Wings]
205A8080 80456FF0
20BDE868 00000000
04494E5C 805A8440
04BDE868 805A8080
E0000000 80008000
045A855C 01000000
C201CD04 0000000A
38A00000 3C80805A
60848440 7C032000
40820030 3884FC40
80640388 80A4038C
2C050000 4182000C
7C7B1850 90640388
93640390 38A00001
90A40394 38A00001
2C050001 7F64DB78
38A00020 00000000
0401CD08 41820008
C202632C 00000007
3D608003 616BB160
7C0802A6 7C0B0000
4082001C 3D60805A
616B8080 816B0388
7C035800 40820008
4E800020 9421FFE0
60000000 00000000
C201CDA4 00000004
3DC0805A 61CE8080
81CE0388 7C1D7000
40820008 3BC00020
93D80008 00000000
0403B000 48000014


SD Files [Phantom Wings]
225A8000 C0DE8001
065A8000 000000F8
C0DE8001 C0DE9001
C0DE9002 C0DE8002
C0DE8003 C0DE8004
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
FF000000 00000000
00000000 00000000
00000000 00000000
00000000 0000002A
00000000 C0DE8005
C0DE8006 000003C0
00000000 00000000
00000000 C0DE8007
00000000 CCCCCCCC
80456FF0 8062F9E0
00000000 8062F9E0
00000000 8062F9E0
00000000 00000000
00000000 00000000
00000047 45010400
0F08FFFF 00000000
00000000 80457030
0000002A 00000050
00000000 C0DE9003
C0DE9004 0000001A
00F00000 C0DE8008
C0DE9005 C0DE8009
00000000 00000000
00000003 00000002
00000240 00000000
045A817C 805A80FC
045A8190 805A8500
045A8328 70662F00
065A83C0 00000048
00000000 00000000
00000000 805A82CC
00000000 00000002
00000000 00000000
00000000 0000006B
00000000 01010000
00000001 00000000
00003BA3 00000000
00000001 805A8328
065A8440 00000028
80421FE0 805A8440
92650100 00C99B00
00070017 00000000
00000000 00000000
805A84A0 018FD011
065A8480 00000050
805A0030 805A8440
0000002B 00000000
2D36A0D5 2E36B038
2F41D008 30388F86
805A8440 00000000
805A84C0 00000000
00000000 3602F02E
3709306A 3817F05F
805A8440 13017B40
805A84A0 00000000
045A8500 80423738
045A8504 804236A0
065A852C 00000018
0000005B 04028000
0E060001 00000000
00000000 80422F08
065A8550 00000030
00000050 00000000
00000000 01000000
00000000 00000140
919B6660 00000000
00000001 9258F600
00000000 DDDDDDDD
E0000000 80008000


gct Loader [Phantom Wings]
20BDE868 805A8080
285A8584 00FF0000
045A83D0 00000009
045A8408 80570000
025A832C 00410000
065A832B 00000010
52534245 30312E67
63740000 00000000
005A8584 00000001
E0000000 80008000


Execute gct [Y.S.]
20570000 00D0C0DE
20570004 00D0C0DE
04001848 80570008
64000000 00000000
E0000000 80008000
--------------------------------------------
NTSC-JPN


Put a gct in SD:/Private\Wii\App\RSBJ\pf\ with another gct that has the following codes in order in SD:\codes\. It's like the snapshot method only loaded at start up and doesn't need to be encoded. The "File Replacement" code needs to be in the second gct (the one in SD:\Private\Wii\App\RSBJ\pf\) else it will conflict with the code loader.



Code:
Dynamic SD Loader: v1.1 [Phantom Wings, JPN port: Y.S.]
205A7C00 80456D28
20BDE3C8 00000000
044949DC 805A7FC0
04BDE3C8 805A7C00
E0000000 80008000
045A80DC 01000000
C201CD04 0000000A
38A00000 3C80805A
60847FC0 7C032000
40820030 3884FC40
80640388 80A4038C
2C050000 4182000C
7C7B1850 90640388
93640390 38A00001
90A40394 38A00001
2C050001 7F64DB78
38A00020 00000000
0401CD08 41820008
C202632C 00000007
3D608003 616BB13C
7C0802A6 7C0B0000
4082001C 3D60805A
616B7C00 816B0388
7C035800 40820008
4E800020 9421FFE0
60000000 00000000
C201CDA4 00000004
3DC0805A 61CE7C00
81CE0388 7C1D7000
40820008 3BC00020
93D80008 00000000
0403AFDC 48000014


SD Files: [Phantom Wings, JPN port: Y.S.]
225A7B80 C0DE8001
065A7B80 000000F8
C0DE8001 C0DE9001
C0DE9002 C0DE8002
C0DE8003 C0DE8004
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
FF000000 00000000
00000000 00000000
00000000 00000000
00000000 0000002A
00000000 C0DE8005
C0DE8006 000003C0
00000000 00000000
00000000 C0DE8007
00000000 CCCCCCCC
80456D28 8062F540
00000000 8062F540
00000000 8062F540
00000000 00000000
00000000 00000000
00000047 45010400
0F08FFFF 00000000
00000000 80456D68
0000002A 00000050
00000000 C0DE9003
C0DE9004 0000001A
00F00000 C0DE8008
C0DE9005 C0DE8009
00000000 00000000
00000003 00000002
00000240 00000000
045A7CFC 805A7C7C
045A7D10 805A8080
045A7EA8 70662F00
065A7F40 00000048
00000000 00000000
00000000 805A7E4C
00000000 00000002
00000000 00000000
00000000 0000006B
00000000 01010000
00000001 00000000
00003BA3 00000000
00000001 805A7EA8
065A7FC0 00000028
80421C10 805A7FC0
92650100 00C99B00
00070017 00000000
00000000 00000000
805A8020 018FD011
065A8000 00000050
8059FBB8 05A7FC00
0000002B 00000000
2D36A0D5 2E36B038
2F41D008 30388F86
805A7FC0 00000000
805A8040 00000000
00000000 3602F02E
3709306A 3817F05F
805A7FC0 13017B40
805A8020 00000000
045A8080 80423368
045A8084 804232D0
065A80AC 00000018
0000005B 04028000
0E060001 00000000
00000000 80422B38
065A80D0 00000030
00000050 00000000
00000000 01000000
00000000 00000140
919B6660 00000000
00000001 9258F600
00000000 DDDDDDDD
E0000000 80008000


Load gct on startup [Phantom Wings, JPN port: Y.S.]
20BDE3C8 805A7C00
285A8104 00FF0000
045A7F50 00000009
045A7F88 80570000
025A7EAC 00410000
065A7EAB 00000010
5253424A 30312E67
63740000 00000000
005A8104 00000001
E0000000 80008000


Execute gct [Y.S.]
20570000 00D0C0DE
20570004 00D0C0DE
04001848 80570008
64000000 00000000
E0000000 80008000
------------------------------------------------
PAL

Put a gct in SD:/Private\Wii\App\RSBP\pf\ with another gct that has the following codes in order in SD:\codes\. It's like the snapshot method only loaded at start up and doesn't need to be encoded. The "File Replacement" code needs to be in the second gct (the one in SD:\Private\Wii\App\RSBP\pf\) else it will conflict with the code loader.

Code:
Dynamic SD Loader: v1.1 [Phantom Wings, PAL port: Y.S.]
205A9E40 80457570
20BDA868 00000000
04496C5C 805AA200
04BDA868 805A9E40
E0000000 80008000
045AA31C 01000000
C201CF8C 0000000A
38A00000 3C80805A
6084A200 7C032000
40820030 3884FC40
80640388 80A4038C
2C050000 4182000C
7C7B1850 90640388
93640390 38A00001
90A40394 38A00001
2C050001 7F64DB78
38A00020 00000000
0401CF90 41820008
C20262D0 00000007
3D608003 616BB3D8
7C0802A6 7C0B0000
4082001C 3D60805A
616B9E40 816B0388
7C035800 40820008
4E800020 9421FFE0
60000000 00000000
C201D02C 00000004
3DC0805A 61CE9E40
81CE0388 7C1D7000
40820008 3BC00020
93D80008 00000000
0403B278 48000014


SD Files: [Phantom Wings, PAL port: Y.S.]
225A9DC0 C0DE8001
065A9DC0 000000F8
C0DE8001 C0DE9001
C0DE9002 C0DE8002
C0DE8003 C0DE8004
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
FF000000 00000000
00000000 00000000
00000000 00000000
00000000 0000002A
00000000 C0DE8005
C0DE8006 000003C0
00000000 00000000
00000000 C0DE8007
00000000 CCCCCCCC
80457570 806293A0
00000000 806293A0
00000000 806293A0
00000000 00000000
00000000 00000000
00000047 45010400
0F08FFFF 00000000
00000000 804575B0
0000002A 00000050
00000000 C0DE9003
C0DE9004 0000001A
00F00000 C0DE8008
C0DE9005 C0DE8009
00000000 00000000
00000003 00000002
00000240 00000000
045A9F3C 805A9EBC
045A9F50 805AA2C0
045AA0E8 70662F00
065AA180 00000048
00000000 00000000
00000000 805AA08C
00000000 00000002
00000000 00000000
00000000 0000006B
00000000 01010000
00000001 00000000
00003BA3 00000000
00000001 805AA0E8
065AA200 00000028
804266E0 805AA200
92650100 00C99B00
00070017 00000000
00000000 00000000
805AA260 018FD011
065AA240 00000050
805A1DF8 805AA200
0000002B 00000000
2D36A0D5 2E36B038
2F41D008 30388F86
805AA200 00000000
805AA280 00000000
00000000 3602F02E
3709306A 3817F05F
805AA200 13017B40
805AA260 00000000
045AA2C0 80427ED0
045AA2C4 80427E38
065AA2EC 00000018
0000005B 04028000
0E060001 00000000
00000000 80427608
065AA310 00000030
00000050 00000000
00000000 01000000
00000000 00000140
919B6660 00000000
00000001 9258F600
00000000 DDDDDDDD
E0000000 80008000


Load gct on startup [Phantom Wings, PAL port: Y.S.]
20BDA868 805A9E40
285AA344 00FF0000
045AA190 00000009
045AA1C8 80570000
025AA0EC 00410000
065AA0EB 00000010
52534250 30312E67
63740000 00000000
005AA344 00000001
E0000000 80008000


Execute gct [Y.S.]
20570000 00D0C0DE
20570004 00D0C0DE
04001848 80570008
64000000 00000000
E0000000 80008000
 

TommyDerMeister

Smash Lord
Joined
Jun 24, 2008
Messages
1,837
Location
AZ
WTF H4X!

This is so awesome, just what we needed, and at like 2am when no one else can see it.

Once I get my Wii fixed this week I'm so trying this out.

Thanks for discovering this.
 

xiferp

Smash Apprentice
Joined
May 19, 2008
Messages
159
F yeah. I'll be understanding this as soon as it gets a few pages long so other people ask the dumb questions instead of me.
 

alvicala

Smash Cadet
Joined
Feb 2, 2009
Messages
67
Location
ARGENTINA
COOL! Id like to try it out now, but I have to go to school soon.

RLY, this is pure win. Very, very, very clever.
 

PanzerOceania

Smash Ace
Joined
Feb 2, 2008
Messages
640
Location
Salem, Oregon USA
so now the question becomes, which codes do we want now that it's practically unlimited!

most of the stuff in EX seems fair game to go into the brawlplussery.
 

Revven

FrankerZ
Joined
Apr 27, 2006
Messages
7,550
Location
Cleveland, Ohio
most of the stuff in EX seems fair game to go into the brawlplussery.
I wouldn't waste space for luxuries from EX, we don't need those codes. Also, I'd still much rather wait for the new build of Gecko OS but, I suppose this would be an alternative solution while we wait for Gecko OS. It'll make testing the knockback code that much easier.

In any case, thanks Y.S for your hard work once again. :)
 

Dan_X

Smash Lord
Joined
Mar 14, 2008
Messages
1,335
Location
Boston, MA
So wait. This really works? This is too good! Yeah, I'm at school right now, and won't be able to try this until later on, but wow, I can't wait!!

Has any1 tried this yet? How did it work out? Is this the answer we've all been waiting for?

Thanks Y.S.! I don't know how you guys do it, truly awesome! :)
 

xatm092

Smash Apprentice
Joined
May 27, 2006
Messages
143
Location
Orpington, near London
3. Replace the value at 0x58 with the .gct file's original size (u32)
I'm probably just being dim, but I'm stuck here.

The value at 0x58 is FF (due to the new stuff pasted at the start), but the file's original size? What exactly do you mean? The last value in my original .gct is at 0xF97, but this has 3 hex digits and so doesn't fit. Do I overlap into 0x59 or have I just misunderstood what you mean by original filesize?

Thanks in advance.

EDIT: Sorry, I think I've worked out what I was doing wrong, I should take the FFFFFFFF starting at 0x58 all to be one value.
 

EverAlert

Smash Master
Joined
Mar 4, 2008
Messages
3,433
Location
Australia
NNID
EVAL89
3DS FC
2664-2214-3431
This is pretty **** awesome. While a newer Gecko OS is simpler, this method has its own merits.

As I understand it, the codes aren't activated until the Snapshot is viewed? In essence, this means we have a method where we can play vBrawl, then "turn on" the codes whenever we please.

Does it stack codes (add codes onto the currently activated ones)? As far as I can tell, it does; this allows us to have multiple hacked snapshots, all with different codesets, which we could then activate whenever we want; we could even have a set of codes loaded through Gecko OS (for the sake of example, EX Brawl), which we could then add on to, say, after a tournament is over and it's just friendlies (Brawl+). We're even able to swap in codesets on the fly without restarting Brawl.

I may just be voicing the obvious in this post, but now all we need is a way to turn OFF the codes and we'd have a pretty solid code system within Brawl itself.
 

ratts

Smash Apprentice
Joined
Mar 19, 2009
Messages
84
I would like to try this but I can't make .gct files out of text files, I've tried before with previous codes using codemanager 1.1 but GeckoOS always freezes when trying to run my codes so I have always had to rely on other people's .gct files.

I see you have uploaded the snapshot code files but you did not upload the small .gct file required to load the snapshot code file.

If you could upload that .gct file with those two codes, or provide a solution to why my codes are failing that would be great.

Does it have to do with Wiird vs. ASM codes? can codemanager only handle one kind? what kind are these?

EDIT:

ok I figured it out, I wasn't giving header's to each code, so now the game loads and I have your EX Brawl snapshot code file, but when I load the game the game isn't changed, when I go to the vault to look at my snapshots on my mem card I saw the garbage looking snapshot but when I clicked on it my wii froze. What am I supposed to do?
 

shanus

Smash Hero
Joined
Nov 17, 2005
Messages
6,055
This post sufficiently confuses me and is awesome at the same time.
 

ratts

Smash Apprentice
Joined
Mar 19, 2009
Messages
84
so I'm trying to understand the steps here.

I have the HBC and GeckoOS

I download one of your snapshot code files and put it in the snapshot folder on my sd card

I make a .gct file with the two codes you listed (15 lines total) and put it in the codes folder on my sd card

I stick it in my wii boot HBC, and boot gecko which applies the code.

then brawl loads, then what? is it supposed to have load the codes then? because mine doesn't

are you supposed to go to the vault and try to load the snapshot from there? when I try that the game freezes.
 

xatm092

Smash Apprentice
Joined
May 27, 2006
Messages
143
Location
Orpington, near London
Yeah you go to the vault and load the snapshot from there. It doesn't freeze for me. Then you go to Brawl and the mod is implemented.

I still haven't successfully made a snapshot file myself though. Every time I try I just get told my snapshot is a corrupt file.

I'm very unclear on what file I'm supposed to "Calculate the file's checksum using crc32, and replace the value at 0x10 with the result" on. Is that the original file or the new file I'm creating?
 

ratts

Smash Apprentice
Joined
Mar 19, 2009
Messages
84
Yeah you go to the vault and load the snapshot from there. It doesn't freeze for me. Then you go to Brawl and the mod is implemented.

I still haven't successfully made a snapshot file myself though. Every time I try I just get told my snapshot is a corrupt file.

I'm very unclear on what file I'm supposed to "Calculate the file's checksum using crc32, and replace the value at 0x10 with the result" on. Is that the original file or the new file I'm creating?
the only thing I can think of is that my .gct file is no good, could you put up a link or pm me with the one you are using that is working for you? (the .gct file, not the snapshot since I already have that from the original post)

perhaps once I know that is working I can figure out how to make my own snapshot code file.
 

Dan_X

Smash Lord
Joined
Mar 14, 2008
Messages
1,335
Location
Boston, MA
Okay, I have some questions:

1. Does loading multiple snapshots overwrite previous codes, or does it simply add to them?

2. Can one literally have a GCT that has like 600lines and have it work? I mean, say I have the plussery, then texture hacks, CSS hacks, whatever--- the extra hacks.

I'm quite confused by the instructions, it's too technical for me.
 

xatm092

Smash Apprentice
Joined
May 27, 2006
Messages
143
Location
Orpington, near London
1. Does loading multiple snapshots overwrite previous codes, or does it simply add to them?

2. Can one literally have a GCT that has like 600lines and have it work? I mean, say I have the plussery, then texture hacks, CSS hacks, whatever--- the extra hacks.
.

1. I'm not 100% sure, but I believe it will overwrite. I hope it does.

2. Yes.
 

FireKirby7

Smash Lord
Joined
Dec 7, 2008
Messages
1,220
Location
Oklahoma
Awesome work, guys!

Now if I only knew how to get this started. XD
The instructions are a bit..... complicated. What's the binary editor? :urg:
 

Roxas215

Smash Lord
Joined
Dec 21, 2008
Messages
1,882
Location
The World That Never Was
This code sounds great but i have no idea even where to start.

But can one simply load a single screenshot with say

brawl+
sd hack
custom textures
css
music hacks

Can all that be put on one single .gct?
 

ShortFuse

Smash Lord
Joined
May 23, 2007
Messages
1,523
Location
NJ/NYC
Good stuff. I'll help out by making a GCT into Snapshot converter into Brawl+ Tweaker. Seems simple enough. I was thinking of using PW's SD code reader and loading a file from the SD, write to memory and data inject that way, but this works too.

I'm really limited by the fact I STILL haven't gotten my USB Gecko in the mail. It's taking way too long.

I could twiddle my thumbs but I'll see if I can get a GCT to Snapshot in Brawl+ Tweaker for tonight. Good stuff. Good stuff indeed.
 

ShortFuse

Smash Lord
Joined
May 23, 2007
Messages
1,523
Location
NJ/NYC
ShortFuse, work on getting it working manually first :D
It doesn't seem that hard. I don't have my Wii in front of me though. :-/
I'm assuming this will allow you to use different sets of Snapshots, meaning different Brawl+ Codes can be used, depending on what snapshot file is selected.

Btw, where are you writing this in the memory to? 0x80570000 ?
 

Dan_X

Smash Lord
Joined
Mar 14, 2008
Messages
1,335
Location
Boston, MA
Shortfuse, could you by chance explain this process a bit? I mean, I can't figure out how to do this snapshot thing, and I'd love to use this tomorrow at school. This needs to be explained in noob terms for the unintelligent like myself.
 

xatm092

Smash Apprentice
Joined
May 27, 2006
Messages
143
Location
Orpington, near London
ShortFuse I hope you're not asking me that.

Anyway, my problem is the checksum - it says to use crc32 on "the file", and I'm trying to work out what that is. I've decrypted one of the example screenshots (the The Brawlplusery: NTSC-U, 9th March 2009, Version 3.3 Beta) and I can't work out how he managed to get 08B511DA using crc32. I've tried using that on so many variations of the original file - just the code, the code with the header, the code with and without the extra 0's on the end... none of them produce a checksum of 08B511DA. I'm having the same problem for the other files btw, it's not just this one.

So if you can tell me which part of the file to checksum, I would be very very grateful.

As soon as I know this I'll make a nice youtube video for the noobs.
 

pikpikcarrotmon

Smash Rookie
Joined
Feb 25, 2008
Messages
24
Well now my brains are all kinds of scrambled. I've got absolutely no idea how to do any of this binary stuff, but on the other hand, I simply must do it! Brawl+ and texture hacks together... augh! Gotta figure it out!
 

Dan_X

Smash Lord
Joined
Mar 14, 2008
Messages
1,335
Location
Boston, MA
ShortFuse I hope you're not asking me that.

Anyway, my problem is the checksum - it says to use crc32 on "the file", and I'm trying to work out what that is. I've decrypted one of the example screenshots (the The Brawlplusery: NTSC-U, 9th March 2009, Version 3.3 Beta) and I can't work out how he managed to get 08B511DA using crc32. I've tried using that on so many variations of the original file - just the code, the code with the header, the code with and without the extra 0's on the end... none of them produce a checksum of 08B511DA. I'm having the same problem for the other files btw, it's not just this one.

So if you can tell me which part of the file to checksum, I would be very very grateful.

As soon as I know this I'll make a nice youtube video for the noobs.
Hopefully some1 can answer your questions, because I'd really appreciate that youtube video! ;)
 

Sanu

Smash Champion
Joined
Dec 22, 2005
Messages
2,179
crc32 is just a program that automatically generates the checksum for any particular file <__<

http://www.codeproject.com/KB/recipes/crc32.aspx

Edit: Oh, maybe I didn't read/skimmed over most of the posts. Nevermind. I'm fairly sure though that the "file" he mentioned was referring to the altered gct file itself.
 
Top Bottom