Register - Login
Views: 99793115
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 04:57:09 AM
Jul - General Game/ROM Hacking - Reading TSA's in NSMB? 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: 61/2014
EXP: 6638520
For next: 12144

Since: 07-26-07

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

Since last post: 113 days
Last activity: 6 days

Posted on 08-11-07 09:54:53 AM Link | Quote
At the time of writing this post, I had..
Posts: 61 ~ Level: 8 ~ Exp: 1897

Crosspost from ABII, as usual.
I have been attempting to add graphics support to my editor, and I have got it to load graphics and TSA/Map16 data. However, I'm still having trouble with the format that defines what objects are displayed, where.
Can anyone help with this?

Here's what I've discovered so far: (Do note that all data to do with the grassland tileset, which I am using for testing, is stored in files named with some combination of "I_M" and "nohara".)
TSA data is stored in the 'bg_pnl' folder.
Object conversion data is stored in the 'bg_unt' folder. (There is a normal file, as in "I_M_nohara.bin" which I describe below, and another, as in "I_M_nohara_hd.bin", which I do not yet know the format for.)
Collision/behaviour data for tiles (I still need to research this) is stored in the 'bg_chk' folder.

What I'm mostly concerned with is the bg_unt folder.
I will explain the format of the normal, non-"_hd.bin" files (from what I know so far):
Each tile is 3 bytes long. (Although I have seen some that are 4 bytes long.)
After a tile, there may be an FE, which defines that the tile placement should go on to the next line.
After a FE, there may be an FF, which defines that the object is complete and another should be started.

Now! I have figured out that the TSA number seems to be the second byte in the 3-byte tiles. (I have not yet researched the 4-byte tiles too much)
Yet, I cannot correspond these to the actual TSAs.
If you would like a copy of the 2.1 beta to help me with this (which includes a tileset and TSA viewer, and a WIP (breaks on 4-byte tiles) viewer for this format) then PM me.

____________________


NSMB Editor 2.0
making awesome SMB remakes since 16/7/07

current progress on Nitro Magic:
UI: in progress
level display: null
everything else: null

Next newer thread | Next older thread
Jul - General Game/ROM Hacking - Reading TSA's in NSMB? New poll - New thread - New reply


Rusted Logic

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

28 database queries.
Query execution time: 0.266344 seconds
Script execution time: 0.005532 seconds
Total render time: 0.271875 seconds