Kuribo64
Views: 8,537,956 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
06-22-18 12:48 PM
Guest:

0 users reading Replacing unused actors. | 1 bot

Main - NSMB2 hacking - Replacing unused actors. New reply


shibboleet
Posted on 02-24-17 12:13 AM (rev. 2 of 02-24-17 12:13 AM) Link | #81532
Fun shit. I managed to load in the unused FlagSwitchRandom, Wanwan, and SearchKiller. All 3 of these actors are not assigned a sprite which made my job a million times more difficult (not really).

To replace the actors with the unused ones, I simply "rerouted" the profile arrays to point to the new actors, rather than the old. So to view them, simply use these commands in NTRClient. Notice, the last argument is the PID. Make sure it's correct before you submit this.

FlagSwitchRandom

(replaces sprite 86):
Write(0x5F17F8, (0x34, 0x99, 0x55, 0x0), pid=0x28)
Write(0x5F17FC, (0x30, 0xC9, 0x55, 0x0), pid=0x28)

It also uses these nybbles:
1-2 Triggering ID 1
3-4 Target ID
5-6 Triggering ID 2
7-8 Triggering ID 3
9-10 Triggering ID 4

Then the sprite randomly picks one of these.

Wanwan

(replaces sprite 244):
Write(0x5F1970, (0x10, 0xA6, 0x55, 0x0), pid=0x28)
Write(0x5F1974, (0x88, 0xD1, 0x55, 0x0), pid=0x28)

Looks like a checkbox at nybble 5 because all but 1 bit are cleared for this sprite.

SearchKiller

(replaces sprite 118):
Write(0x5F1D68, (0x10, 0xA6, 0x55, 0x0), pid=0x2A)
Write(0x5F1D6C, (0x88, 0xD1, 0x55, 0x0), pid=0x2A)

It's a bullet bill that chases after you. I didn't look very much into this actor.

____________________
a


Main - NSMB2 hacking - Replacing unused actors. New reply

Page rendered in 0.016 seconds. (2048KB of memory used)
MySQL - queries: 26, rows: 190/190, time: 0.012 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2017-11-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.