Register - Login
Views: 99791973
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 04:42:30 AM
Jul - General Game/ROM Hacking - nsbmd/nsbtx/nsbca format documentation? New poll - New thread - New reply
Next newer thread | Next older thread
origamiguy
User
Level: 11


Posts: 18/18
EXP: 5156
For next: 829

Since: 11-08-09


Since last post: 11.4 years
Last activity: 61 days

Posted on 12-12-10 06:15:31 PM (last edited by origamiguy at 12-12-10 04:59 PM) Link | Quote
Okay, so I've been working recently on an NDS hacking library called LibNitrous. You can get the current version of it at the GitHub repository. So far it can read NCLR, NCGR, and NSCR files. In future I intend for it to be able to write files, support many more formats, and (hopefully, eventually) be able to package a playable ROM back together.

I know Treeki's NitroExplorer is open-source, and I would like to use of that code in this library, as long as Treeki is okay with that.
I don't know if his NARCExplorer is also open-source; but if it is, I'd like to use code from that also.

I've been looking around for documentation on the three NDS 3D object formats:
.nsbmd, .nsbtx and .nsbca.
I know that .nsbmd is the model, .nsbtx is texture data, and .nsbca is animation information, but I haven't been able to find any documentation of the actual file formats.

Is anyone able to point me in the direction of some good documentation?

____________________
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 995/-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 12-13-10 03:20:50 PM (last edited by dirbaio at 12-13-10 12:25 PM) Link | Quote
NSMB Editor 5 has limited support for NSBTX files. Right now it should be able to import/export textures.

http://code.google.com/p/nsmb-editor/source/browse/trunk/NSMBe4/NSBMD/NSBTX.cs?r=133

Keep in mind that NSMBe5 is GPL'd so if you use it you have to give credit and all that stuff

also, an incomplete spec of NSBMD: kiwi.ds.googlepages.com/nsbmd.html

EDIT: Also, I recall seeing a tool named NSBMD Viewer which managed to display some NSBMD models, complete, and with textures. It was at the tahaxan forum, but I can't find it. The tahaxan forums (and website) seem to have vanished. It was open sourced, but the code was *very* messy. I used it to figure out most of the texture stuff.
Vinnyboiler
Catgirl
Level: 66


Posts: 605/1045
EXP: 2445439
For next: 16412

Since: 12-27-07

From: London, England

Since last post: 6 days
Last activity: 2 days

Posted on 12-19-10 07:26:32 AM Link | Quote
Originally posted by dirbaio
NSMB Editor 5 has limited support for NSBTX files. Right now it should be able to import/export textures.

http://code.google.com/p/nsmb-editor/source/browse/trunk/NSMBe4/NSBMD/NSBTX.cs?r=133

Keep in mind that NSMBe5 is GPL'd so if you use it you have to give credit and all that stuff

also, an incomplete spec of NSBMD: kiwi.ds.googlepages.com/nsbmd.html

EDIT: Also, I recall seeing a tool named NSBMD Viewer which managed to display some NSBMD models, complete, and with textures. It was at the tahaxan forum, but I can't find it. The tahaxan forums (and website) seem to have vanished. It was open sourced, but the code was *very* messy. I used it to figure out most of the texture stuff.

Do you mean this file

____________________
Follow my SM64 hack here Alternate Reality Mario 64 because I say so
:Also click here for easy to understand SM64 tutorials, For those who wants to learn:
Ninji

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


Posts: 1818/2014
EXP: 6638514
For next: 12150

Since: 07-26-07

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

Since last post: 113 days
Last activity: 6 days

Posted on 12-19-10 09:28:11 AM Link | Quote
You can use my code from NE if you want, although it's kinda crappy (I wrote the original version in VB6 when I was 12, and then converted it to C# later)

As Dirbaio mentioned, there's lots of stuff in the NSMB Editor which works on any DS game (mostly written by him -- the original editor was mine, but he has done a ton of refactoring and improvement on it over the past year) so feel free to use that.

I'll PM you something that you may find useful, as well.

____________________
Jul · The Left Mouse Button · RVLution.net
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 1001/-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 12-19-10 09:54:51 AM Link | Quote
Originally posted by YB

Do you mean this file


Oh, yeah. That one.
Thanks a lot
Next newer thread | Next older thread
Jul - General Game/ROM Hacking - nsbmd/nsbtx/nsbca format documentation? 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.090110 seconds
Script execution time: 0.010075 seconds
Total render time: 0.100185 seconds