Pages: 1
Posted on 12-09-11, 07:17 pm
Roy Koopa


Karma: 4011
Posts: 1085/2722
Since: 06-26-11
Revision: 298
Suggestion: I think it would be nice to add colors if needed. For example the quicksand uses 16 colors or so. Then if I want to have more, the palette gets extended if I import a image with more colors.
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 12-09-11, 07:22 pm


Karma: 3752
Posts: 798/2112
Since: 06-28-11
But sometimes it won't work. Like for example the title screen textures use 16 colours. If you make the palette bigger, the colours get shown wrong (in the editor they are right, but ingame they are wrong). I've tested that.

Otherwise, nice suggestion
Posted on 12-09-11, 09:23 pm
Fuzzy
Full mod

Karma: 1183
Posts: 333/785
Since: 06-28-11
I don't think this is possible. The way graphics work in NSMB you are limited to the number of available colors.
Posted on 12-09-11, 09:42 pm


Karma: 3752
Posts: 799/2112
Since: 06-28-11
Posted by Piranhaplant
I don't think this is possible. The way graphics work in NSMB you are limited to the number of available colors.

If you do it manuylly, it works most of the time.
Posted on 12-09-11, 10:11 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 1257/4456
Since: 06-08-11
2D graphics have a limited amount of colors, which are 16 or 256 depending on which file it is.

For 3D graphics (the quicksand) it depends. There are many, many different formats, the smallest has max 4 colors (LOL) and they go up to 256 colors, and then there's an unlimited-color format that takes 16 bit per pixel. see here.

Sometimes palettes inside NSBTX files have less colors, so in theory you can extend them and get more colors, though that would mean rebuilding the whole NSBTX file, which the editor can't do right now.

How did you add more colors manually,  Freeze?
Posted on 12-10-11, 08:36 am


Karma: 3752
Posts: 801/2112
Since: 06-28-11
Posted by Dirbaio
How did you add more colors manually,  Freeze?

I just added some code of different NSBTX-files. Then the files had 256 colours and they were also shown right in the game. Me and ray also resized the image in those NSBTX-files, but then the palette did not work properly anymore.
Posted on 12-10-11, 02:35 pm
Buster Beetle


Karma: 379
Posts: 436/464
Since: 06-29-11
Posted by NsmB_PrO
Posted by Dirbaio
How did you add more colors manually,  Freeze?

I just added some code of different NSBTX-files. Then the files had 256 colours and they were also shown right in the game. Me and ray also resized the image in those NSBTX-files, but then the palette did not work properly anymore.


How did you re-size the image?
Posted on 12-10-11, 02:44 pm


Karma: 3752
Posts: 803/2112
Since: 06-28-11
Wow, please don't ask me that.
I really cannot remember. I just had to change some of the code.
Pages: 1