Kuribo64
Views: 10,317,189 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
01-19-20 01:31 PM
Guest:

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

Main - NSMB2 hacking - NSMB2 -- layer 0 still functional? New reply


Arisotura
Posted on 04-01-16 09:27 AM 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-02-16 08:25 PM (rev. 2 of 04-02-16 08:25 PM) 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 12: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 07:29 AM Link | #76176
Bumping this thread: Mariomaster, did you find anything on this in the level format?

RicBent
Posted on 12-07-19 01:41 PM (rev. 3 of 12-07-19 01: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? New reply

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