Register - Login
Views: 99846944
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-04-22 12:44:35 AM
Jul - NSMB Hacking (Archive) - More Camera Stuff New poll - New thread - New reply
Next newer thread | Next older thread
Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1644/2014
EXP: 6639027
For next: 11637

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 7 days

Posted on 05-02-10 12:31:33 AM Link | Quote
While working on a NSMBW level, I wanted to create an effect similar to the bonus room at the start of 1-2 in NSMB DS - so I started looking at this level to see how all the camera stuff works.

A few months ago, Garmichael discovered that each 256x256 block in the level was treated separately - if a block was empty, the camera cannot scroll into it at all.

There are also several invisible tiles at the start of Tileset 0 (objects 1 to 8) which can control each block - but the use of each tile doesn't seem to be documented anywhere!

Here are the tile behaviours for each:
2A000000, 00000000, 00000000, 00000000, 00000000, 00000000, 23000000, 00000100

Object 1 seems to force a block to be marked as "no scroll", even if it contains tiles.

Object 2 is used /a lot/ in 1-3, but I'm not sure what use it serves (I cannot test right now).

Any of you found any of the others?

____________________
[20:07:36] @Treeki: ikachan say something funny I can put in my signature
[20:07:41] @Ikachan: And it was funny in the can with a syringe.
Hacking Tools: NSMB Editor 5 ยท Nitro / NARC Explorer
Current Project: Reggie! - NSMBWii Level Editor
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 586/-1288
EXP: NaN
For next: 0

Since: 07-28-09

From: Spain

Since last post: 10.8 years
Last activity: 9.9 years

Posted on 05-02-10 03:47:15 PM Link | Quote
The 2nd one is used for marking a block as scrollable, even if its empty...

I have no idea about the other ones...
I've been disassembling the behavior system recently, but without much success: it's enormous. But i've seen some references to these behaviors in the game's code, so they probably do something.

Someone wants to try it out?
Ehm
Member
Level: 49


Posts: 292/533
EXP: 844238
For next: 39645

Since: 06-13-09

From: Canada

Since last post: 4.0 years
Last activity: 4.0 years

Posted on 05-05-10 12:20:30 AM Link | Quote
Originally posted by dirbaio
The 2nd one is used for marking a block as scrollable, even if its empty...



That, sir, is incredibly useful. Thank you =D
Next newer thread | Next older thread
Jul - NSMB Hacking (Archive) - More Camera Stuff New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

29 database queries.
Query execution time: 0.081963 seconds
Script execution time: 0.006459 seconds
Total render time: 0.088422 seconds