NAAE [N64] Super Mario 64

Started by goemon_guy, December 12, 2009, 06:23:29 PM

Previous topic - Next topic

goemon_guy

Have 99 Coins [Goemon_guy]
051A5398 00630078
*Note* Collecting one coin in a level will get you the 100 coin star.

Have 100 Lives + Infinite HP [goemon_guy]
051A539C 00640880
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

dcx2

If these are ports, you should note who you got them from.

There's a few tips I have for you.

1) This code is missing a terminator.

big bomb-omb health modifier
291B827E 0000E15C
011B83EF 000000XX
default 3F80


2) Many of these codes can be made shorter by converting the 16-bit writes.  For example,

[spoiler]height big bomb omb throws you modifier
031137B8 00003C1B
031137BA 0000XXXX
031137C4 0000AD9B
default 4248

would be

051137B8 3C1BXXXX
031137C4 0000AD9B
default 4248
[/spoiler]

3) Redundant if's

[spoiler]Lakitu
291B5A1E 00000860
031B5A1C 00008019
E0000000 80008000
291B5A1E 00000860
031B5A1E 000054A0
E0000000 80008000
outside of castle

would be

291B5A1E 00000860
051B5A1C 801954A0
E0000000 80008000
[/spoiler]

4) Some of these can be fills.  Here's a slider that's better made into a fill

[spoiler]have all normal 120 stars profile D
010719EB 000000FF
030719EC 0000FF01
090719DC 0000007F
000F0001 00000000

would be

010719EB 000000FF
030719EC 0000FF01
010719DC 000F007F[/spoiler]


This one is even better.


[spoiler]have all normal stars (120)
0307188C 0000FFFF
0307188E 0000FFFF
03071890 0000FFFF
03071892 0000FFFF
03071894 0000FFFF
03071896 0000FFFF
03071898 0000FFFF
0107189A 000000FF
0107189B 000000FF
0307189C 000001FF
*fixed
This code has been fixed because viper187 had incorrect values and the code originally gave the player 169 stars

would be

0307188C 0007FFFF
0307189C 000001FF[/spoiler]



5) The advanced codes can be written with strings to become considerably shorter, but it is a tedious process.

[spoiler]starman mario
031A7560 00003C04
031A7562 00008008
031A7564 00009485
031A7566 0000EC20
031A7568 000024A5
031A756A 000000C0
031A756C 0000A485
031A756E 0000EC20
031A7570 0000A485
031A7572 0000EC24
031A7574 0000A485
031A7576 0000EC28
031A7578 0000A485
031A757A 0000EC2C
031A757C 0000A485
031A757E 0000EC38
031A7580 0000A485
031A7582 0000EC3C
031A7584 0000A485
031A7586 0000EC40
031A7588 0000A485
031A758A 0000EC44
031A758C 0000A485
031A758E 0000EC50
031A7590 0000A485
031A7592 0000EC54
031A7594 0000A485
031A7596 0000EC58
031A7598 0000A485
031A759A 0000EC5C
031A759C 0000A485
031A759E 0000EC68
031A75A0 0000A485
031A75A2 0000EC6C
031A75A4 0000A485
031A75A6 0000EC70
031A75A8 0000A485
031A75AA 0000EC74
031A75AC 000003E0
031A75AE 00000008
02F581E0 00008033
02F581E2 0000D3E0
030B94F4 00002400
02F581F0 0000802B
02F581F2 0000D680
030BA5B0 00002819
030BA5B2 00000001

would be

starman mario
071A7560 00000050
3C048008 9485EC20
24A500C0 A485EC20
A485EC24 A485EC28
A485EC2C A485EC38
A485EC3C A485EC40
A485EC44 A485EC50
A485EC54 A485EC58
A485EC5C A485EC68
A485EC6C A485EC70
A485EC74 03E00008
04F581E0 8033D3E0
030B94F4 00002400
04F581F0 802BD680
050BA5B0 28190001[/spoiler]

dcx2

I'm not trying to give you a hard time, I'm just trying to help.

The 07 is just an 06 write to 81XXXXXX memory.  If you have a bunch of consecutive bytes, rather than a series of 02 or 04 codes, you can just make one long 06 code.

Skiller

Quote from: dcx2 on August 02, 2011, 02:20:59 PM
I'm not trying to give you a hard time, I'm just trying to help.

The 07 is just an 06 write to 81XXXXXX memory.  If you have a bunch of consecutive bytes, rather than a series of 02 or 04 codes, you can just make one long 06 code.

lol to funny .. i dont think hes mad i think its more along the lines that More then 1 person said the same thing to him :P
i think Sharkbyte was a bit tired when he posted .. 48h is some time :P but in the end .. the information that Dcx2 gave will help out others as well if they take this kinda Adventrue into the VC porting ..