Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - N64 hack, anyone? | |
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1000/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-15-04 10:57 AM Link | Quote
For my 1000th post, I bring you what I believe is the first N64 ROM hack ever on this board. W00t! The hack is called "Super W00ting Mario Kart 64". It's to be applied to a US Mario Kart 64 ROM in V64 (BADC) byte order, if yours is a different format, adjust accordingly.
The goods:
-All players have a top speed of about 120 km/h in all modes. (I think it works in Battle Mode too, but there's no speedometer, and I get such an uber-crappy framerate I can't really tell. ) This includes the AI!
-You start with 5 balloons in battle mode. (The text has been updated to show this, too.) Note that the game doesn't know how to count that right, so you'd best keep track yourself. Sometimes a balloon will fly off the wrong person, it all goes wacky, but the game plays fine and the actual counters are still right.

Now, IPS patches can't handle a file this size, and I doubt many of you have RXL patchers (even I don't ), so you'll need to patch it manually in hex. (Tomorrow, or at least soon, I'll release an EXE to do it. I need sleep now, though. )
Go to these addresses in a hex editor (careful, some might not like the big file; Hex Workshop works well), and make the changes listed:

10: 98 33 BE 55 6E 6E F3 93 (Global ROM checksum. For some reason this needs to be correct.)
20: 55 53 45 50 57 52 30 30 49 54 47 4E 4B 4D 52 41 36 54 20 34 (Internal name, changed so as not to conflict with save files. Tip: It's "SUPERW00TINGMKART64 " in ABCD order. Byteflipped, that comes out as "USEPWR00ITGNKMRA6T 4".)
3C: 48 48 (Maker ID)
6C46E: 04 (Number of starting balloons, minus one)
E317C: CD 43 00 00, repeated 24 times.(Top speeds)
F0C30: 35 (Text)

You have to make all the changes, or the checksum will be wrong and it won't work. Have fun!

BTW, the various data I found:
E317C: Top Speeds for each character: 50cc, 100cc/Time Trial(?), 150cc/battle(?)
6C46E: Number of balloons you start with, 16-bit. (To find in other versions, search for "3C01801900095040002A082124080002" (ABCD byte order). The 0002 is what you want.)
The text I didn't document, it's all ASCII, go find it yourself.
Also, for anyone curious, RAM address 0x80000000 appears to map to 0x75C in a PJ64 save state. States are in DCBA byte order, but RAM is ABCD.

[edit] Had the wrong checksum.


(edited by HyperHacker on 06-15-04 01:58 AM)
(edited by HyperHacker on 06-15-04 02:02 AM)
(edited by HyperHacker on 06-15-04 02:03 AM)
(edited by HyperHacker on 06-15-04 02:05 AM)
(edited by HyperHacker on 06-15-04 01:35 PM)
HammerGuy

Goomba
Level: 10

Posts: 16/26
EXP: 3237
For next: 1177

Since: 03-16-04
From: Fort Wayne, IN

Since last post: 21 days
Last activity: 11 hours
Posted on 06-15-04 11:18 AM Link | Quote
Congrats on your 1000th post! I'm believing this is the very first N64 Hack ever done. Do you think this is the start of what could be new teritory (N64 Hacking)? I don't think that will be around for another 2 years. Can't wait for the Exe file to patch for I'm not real good with Hex Editors.
JJ64

Boo
Level: 45

Posts: 347/919
EXP: 640956
For next: 19208

Since: 05-22-04
From: Green Bay, WI

Since last post: 441 days
Last activity: 269 days
Posted on 06-15-04 05:37 PM Link | Quote
Progress is good. Eventually there could even be a Super Mario 64 hack, etc.
Kitten Yiffer

Purple wand
Furry moderator
Vivent l'exp����¯�¿�½������©rience de signalisation d'amusement, ou bien !
Level: 135

Posts: 2395/11162
EXP: 28824106
For next: 510899

Since: 03-15-04
From: Sweden

Since last post: 3 hours
Last activity: 4 min.
Posted on 06-15-04 06:40 PM Link | Quote
Heh, yes IPS files can only handle files under 8 MB. Or at least they can only change the first 8 MB of a file I heard. I'm not surprised becuse IPS files have around since the 80's. It's old. :p
Acmlm

Torosu
heh
Level: 51

Posts: 767/1173
EXP: 981994
For next: 31944

Since: 03-15-04
From: Somewhere that isn't outside of Sherbrooke, Québec, Canada

Since last post: 39 days
Last activity: 3 hours
Posted on 06-15-04 08:37 PM Link | Quote
I thought it was 16MB, and Mario Kart 64 is 12MB


Well I tried it, but the checksum didn't work (mine is in ABCD order) ... and I'm sure I did all the changes correctly (byteswapping them), so ...
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1002/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-15-04 10:33 PM Link | Quote
Doh! That checksum's wrong. I accidentally put some of the speeds at '43C0' instead of '43CD'. Try this one (BADC):
98 33 BE 55 6E 6E F3 93
*Updates other post*
(FYI: If the checksum is wrong, PJ64 will give you an 'endless loop' error.)

Originally posted by HammerGuy
I'm believing this is the very first N64 Hack ever done.

Most certainly not, but it's the first I've seen on this board since the crash. It was actually simple to do, thanks to the N64 originally being designed to use CDs (I think so, anyway). When a game runs, the code and data that's being used gets copied into RAM. (Given that it's 4MB of RAM and a 12MB ROM, I'm willing to bet just about all the code is in RAM at any given time, and resources (graphics, sound, tracks etc) are loaded as needed.) This makes it much easier to ASM hack using Gameshark codes. Codes for Super Speed and Change Starting Balloon Count already existed, so it was a simple manner of going to that RAM address without the codes on, copying about 16 bytes (something very unlikely to be found twice) and searching for it in ROM. (For top speeds, since it's not ASM and is stored different than in ROM, I just searched for the normal speed value repeated a few times. ) The text, of course, was a simple manner of searching for 'balloon', the header is right there when you open it, and I have a checksum repair program to do the hard part. )

...But enough blathering. Get the auto-patch! Needs VB6 Runtimes and comdlg32.ocx, get them at microsoft.com or google, if you're us.ing XP you should already have them, yadda yadda yadda. Source code is included, and for Pete's sake, read the text file first!
Craig3410

Paragoomba
Level: 15

Posts: 32/76
EXP: 16178
For next: 206

Since: 03-16-04
From: Fayetteville, AR

Since last post: 4 days
Last activity: 4 days
Posted on 06-16-04 12:35 AM Link | Quote
An N64 hack. Thank you thank you thank you.

And I just looked it up; the IPS file limit is 16 MB.
FuSoYa
Defender of Relm
Level: 26

Posts: 73/255
EXP: 99529
For next: 2746

Since: 03-15-04
From: Moon

Since last post: 7 days
Last activity: 7 hours
Posted on 06-16-04 02:25 AM Link | Quote
And even for larger files, if all the changes are below the 16 MB mark, LIPS should still be able to correctly create/apply IPS patches for it.
Xkeeper 2.0

Hammer Brother
Local ModeratorAdministratorLocal Moderator
Again... :P
Level: 49

Posts: 98/1091
EXP: 880818
For next: 3065

Since: 03-15-04

Since last post: 5 hours
Last activity: 3 hours
Posted on 06-16-04 03:06 AM Link | Quote
Actually, I think this is the 2nd N64 hack. I remember a text hack of OoT once...
Acmlm

Torosu
heh
Level: 51

Posts: 768/1173
EXP: 981994
For next: 31944

Since: 03-15-04
From: Somewhere that isn't outside of Sherbrooke, Québec, Canada

Since last post: 39 days
Last activity: 3 hours
Posted on 06-16-04 03:19 AM Link | Quote
w00t, now it works, and I've had some fun with it I messed around with the speed settings (trying values other than 43 CD 00 00), and here's some things I got ...


I changed 43 to 45, and most slopes made me fly high (over walls)


Max speed = 0 ... but I could still turn around and run backwards


Now at about 15km/h ... what a great race that was


A few quick runs with 43 FF 00 00, no shortcuts


And it definitely works in battle mode, how else could I drop that far?


Also, try changing 43 to C3, it'll act like you're constantly on jump arrows (like in Peach's and Donkey Kong's courses) ... you'll go fast without even holding A, and it's really hard to control
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1004/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-16-04 04:10 AM Link | Quote
You got that to work? I tried a few higher values, some worked, but generally the game just crashed or it was too fast to play. (Biggest problem is that Mushrooms bring you up just past top speed, so a higher value may work but crash when you use a Mushroom.) At 15K, your time is about the time I got at normal speed. (That is, real time, using RGB Emulation mode. Averages about 5 FPS. )
C3 should make you go backward. Guess the game doesn't quite know WTF to do at that point.
I guess next time I can use an IPS, then. Hehe.

[edit] I'm gonna use your screenshots on my site, since I get a lot of graphic bugs on mine.


(edited by HyperHacker on 06-15-04 07:20 PM)
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 225/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 06-16-04 08:52 AM Link | Quote
Sounds like fun! Especially after seeing Acmlm's screen shots! XD

My problem is this: My CPU is 233 MHz, so N64 emulation is not an option.

However, I do actually have Mario Kart 64 for my N64, and I have a GameShark Pro, so I was wondering: Can this be made into a GS code I can use? Or am I outta luck?
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1008/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-16-04 09:02 PM Link | Quote
Sure, that's how I developed and tested it.
810F6BA4 43CD
810F797C 43CD
810F8754 43CD
810F952C 43CD
810FA304 43CD
810FB0DC 43CD
810FBEB4 43CD
810FCC8C 43CD
8106B86E 0004
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 229/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 06-17-04 02:17 AM Link | Quote
Meh. It doesn't seem to matter anymore. I think my GS died. Stupid damn thing.

Thanks, though.

Dunno if these will do you any good, but here's the small list of GS codes I have for MK64. Maybe you can do something with them...?

Have Extra Option Open
8118ED12 FF00

Stop Timer
800DC599 0000

Lakitu Fast Drop-Off
800F6A59 0000
800F6A59 007C

Cruise Control P1
800F6A2D FFFF

Nearly Unpassable
8102A4AD 0010

Ultimate Speed P1 (110)
D00F6915 0010
810F6A10 45FF
windwaker

Ball and Chain Trooper
WHY ALL THE MAYONNAISE HATE
Level: 61

Posts: 61/1797
EXP: 1860597
For next: 15999

Since: 03-15-04

Since last post: 4 days
Last activity: 6 days
Posted on 06-17-04 06:24 AM Link | Quote
Originally posted by skateboarder11
Actually, I think this is the 2nd N64 hack. I remember a text hack of OoT once...


Ocarina of Time: Attack of the Monkeys.

Dude, that's a pretty sweet hack. Now you just need a patch .
Acmlm

Torosu
heh
Level: 51

Posts: 771/1173
EXP: 981994
For next: 31944

Since: 03-15-04
From: Somewhere that isn't outside of Sherbrooke, Québec, Canada

Since last post: 39 days
Last activity: 3 hours
Posted on 06-17-04 07:14 AM Link | Quote
I beat all 4 circuits at 150cc with the 43 FF 00 00 speed (makes it more like 300cc ), that was interesting ... some of the courses are pretty easy and I had a large lead in 1st, but others (like Choco Mountain, Banshee Boardwalk, Bowser's) were much harder because I kept falling down or running into things In Peach's, the big jump threw me all the way into the castle (or rather, near the waterfall), so I had better chances if I turned left and tried to take a shortcut (which wasn't even that great either because I landed too far) ...

Wario Stadium would be pretty funny with low max speed, the jump near the end would be impossible
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1046/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-18-04 09:42 PM Link | Quote
Originally posted by windwaker101
Originally posted by skateboarder11
Actually, I think this is the 2nd N64 hack. I remember a text hack of OoT once...


Ocarina of Time: Attack of the Monkeys.

Which I would get where?
iamhiro1112

Armos
Level: 35

Posts: 55/487
EXP: 259927
For next: 20009

Since: 03-27-04
From: sd

Since last post: 18 days
Last activity: 7 days
Posted on 06-22-04 04:44 AM Link | Quote
Since this form of hacking could be considered a rom hack will anyone make some kind of Rom patching utility and perhaps a gameshark code inserter?

I used to be good at gs code hacking and I could be among people who could create these new form of hacks.
Schnauzer

Paratroopa
Level: 21

Posts: 42/148
EXP: 43345
For next: 6598

Since: 04-02-04
From: Bucaramanga (Colombia)

Since last post: 11 days
Last activity: 11 days
Posted on 06-23-04 09:38 PM Link | Quote
This topic remember me the APRIL FOOL'S DAY.

AGRRRR!
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1110/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-24-04 08:35 AM Link | Quote
Yeah, except this one's real.
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - N64 hack, anyone? | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.018 seconds.