Pages: 1
Posted on 07-15-11, 04:51 pm


Karma: 3752
Posts: 93/2112
Since: 06-28-11
When I want to open it, it stops with an exception.
Can anyone fix that?
Posted on 07-15-11, 06:37 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 307/4457
Since: 06-08-11
Oh, yep. It's because the editor is making guesses about what are the sizes of the palettes. NSBMD's, afaik, don't store the palette sizes.
I've just assumed that the palettes are ordered but in W1.nsbmd they aren't. Maybe sorting them will fix it, but if not, there's little I can do
Posted on 07-15-11, 06:50 pm
Roy Koopa


Karma: 4011
Posts: 175/2722
Since: 06-26-11
Posted by Dirbaio
Oh, yep. It's because the editor is making guesses about what are the sizes of the palettes. NSBMD's, afaik, don't store the palette sizes.
I've just assumed that the palettes are ordered but in W1.nsbmd they aren't. Maybe sorting them will fix it, but if not, there's little I can do

I remember I could open it in a older revision. But I'm not sure.
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 07-15-11, 07:10 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 309/4457
Since: 06-08-11
Nope. That file never worked since the beginning.
And if you open it in NSBMD Viewer, it doesn't work neither (it has no textures) because I based my NSBMD reader on it.

Also, you've put the [BUG] tag in the thread description instead of the thread title, which is bad. I've changed it for you.
Posted on 07-15-11, 07:15 pm
Roy Koopa


Karma: 4011
Posts: 178/2722
Since: 06-26-11
Then it was W3^^ It has many same graphics.
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 07-16-11, 03:59 am
Fuzzy
Full mod

Karma: 1183
Posts: 54/785
Since: 06-28-11
So how exactly does the game know what order to put the palettes if this data isn't stored in the file? Is it hardcoded by NSMB somewhere?
Posted on 07-16-11, 07:53 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 337/4457
Since: 06-08-11
No

NSBMD stores pointers to the start offsets of each palette. That's the only thing that the DS needs to know to use the palettes.
Posted on 07-16-11, 03:28 pm
Fuzzy
Full mod

Karma: 1183
Posts: 57/785
Since: 06-28-11
OK, sorry, I misunderstood your post.
Posted on 08-09-11, 08:36 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 584/4457
Since: 06-08-11
Palettes should be properly ordered in newer revisions, so for example w1.nsbmd opens well.
Still, there's a palette with 0 colors and all the next palettes appear to be offset by one, so this is not completely fixed yet...

I'm going to leave this open as a reminder, as this should be fixed before final release.

Posted on 08-12-11, 03:14 pm
Banned for being a complete idiot.

Karma: 529
Posts: 199/987
Since: 07-09-11
Well, w1.nsbmd can now open without an exception with r210.

In fact, I have it open right now.
Posted on 08-12-11, 04:52 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 598/4457
Since: 06-08-11
Yeah, but there's a palette with length 0, so that means the bug is not completely solved.
Pages: 1