Kuribo64
Views: 19,851,455 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-28-24 05:02 PM
Guest:

0 users reading NSMB2 -- layer 0 still functional? | 1 bot

Main - NSMB2 hacking - NSMB2 -- layer 0 still functional? Hide post layouts | New reply


Arisotura
Posted on 04-01-16 01:27 PM Link | #69307
You know how NSMBW has three possible tile layers. 1 is the one you walk on, 2 is for background decoration, and 0 is a foreground layer used to hide secrets.


NSMB2 might still have partial support for layer 0, but this needs research.


According to a code snippet Mariomaster showed on IRC, the game attempts to load all three layers (or atleast do something with them, for now it's not clear what).


Layer 0 was tested by skawo and nothing showed up. There are two possibilities:

a) it's unimplemented beyond loading
b) it's implemented but isn't rendered (it's likely that the associated effect wasn't ported to the 3DS)



Will tell you more about this when I get access to my non-crappy computer again.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

shibboleet
Posted on 04-03-16 12:25 AM (rev. 2 of 04-03-16 12:25 AM) Link | #69390
There's a zone setting you have to change.
I'm not very sure on which zone value it is, but one of them controls how it renders.

____________________
a

Arisotura
Posted on 04-03-16 04:33 PM Link | #69410
oh, interesting


well, gonna investigate the whole shit

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Hiccup
Posted on 08-16-16 11:29 AM Link | #76176
Bumping this thread: Mariomaster, did you find anything on this in the level format?

RicBent
Posted on 12-07-19 06:41 PM (rev. 3 of 12-07-19 06:46 PM) Link | #98352

.arm

.global DrawLayer0
DrawLayer0:
ldr r0, [r7] @ tileset related class
mov r1, r5 @ area id
mov r2, #2 @ layer id
bl 0x004016A4 @ check if layer exists
cmp r0, #0
beq DrawLayer0_return

mov r0, r4 @ this
mov r1, r6 @ drawMgr->_10
mov r2, #2 @ layer id
bl 0x001C9368

DrawLayer0_return:
ldr r0, [r7] @ restored original instruction
mov r2, #1 @ restore r1
b 0x001CA6D4

DrawLayer0:
type: branch
link: false
func: DrawLayer0
addr: 0x001CA6D0

[thumbnail]

whoops

____________________
GitHub - YouTube - NSMBHD


Main - NSMB2 hacking - NSMB2 -- layer 0 still functional? Hide post layouts | New reply

Page rendered in 0.023 seconds. (2048KB of memory used)
MySQL - queries: 28, rows: 206/206, time: 0.009 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.