Pages: 1
Posted on 09-08-13, 05:23 pm (rev. 2 by  Hiccup on 09-08-13, 05:23 pm)
Birdo


Karma: 2754
Posts: 681/2091
Since: 06-26-11
Please...

1. Explain why modifying jyotyu discolours coins and other common objects.

2. How to avoid

3. Or fix this problem

Anybody who helps will be credited for my hack.

Yes, I am unaware of any thread answering my question.
Posted on 09-08-13, 05:24 pm


Karma: 3752
Posts: 1945/2112
Since: 06-28-11
Because when you recolor jyotyu you change the palatte.

More files refer to that palette and use the recolored palette.
You need to adapt ALL the files to the palette to have normal colors.
Posted on 09-08-13, 05:26 pm (rev. 3 by  Hiccup on 09-08-13, 05:28 pm)
Birdo


Karma: 2754
Posts: 684/2091
Since: 06-26-11
1. I see the list of all the files that use it. (http://nsmbhd.net/thread/1297-list-of-bitmaps-wich-are-using-the-jyotyu-palette/) But where is the jyotyu pallete?

2. What do you mean adapt them?
Posted on 09-08-13, 05:29 pm


Karma: 3752
Posts: 1946/2112
Since: 06-28-11
It is in the BG_ncl folder. There are 4 palettes.
1 - Golden
2 - Blue
3 - Red
4 - Grey

They are for the 4 different settings in a level (Winter, Grassland, Volcanoe, Underground, ...)
They are called "jyotyu_xxx.ncl" IIRC. (replace xxx with something i can't remember anymore.
Posted on 09-08-13, 05:32 pm (rev. 5 by  Hiccup on 09-08-13, 05:37 pm)
Birdo


Karma: 2754
Posts: 685/2091
Since: 06-26-11
But I did not change the ? block or brick block, just the metal block. And the metal block doesn't change with the pallete.

So how do I adapt them?
Posted on 09-08-13, 05:38 pm (rev. 1 by  Freeze on 09-08-13, 05:38 pm)


Karma: 3752
Posts: 1947/2112
Since: 06-28-11
You need to open all the files stated here: List of Bitmaps wich are using the jyotyu palette
Then you need to open these palettes in the BG_ncl folder:
d_2d_A_J_jyotyu_B_ncl.bin d_2d_A_J_jyotyu_F_ncl.bin d_2d_A_J_jyotyu_ncl.bin d_2d_A_J_jyotyu_R_ncl.bin d_2d_A_J_jyotyu_W_ncl.bin
Export all Bitmaps with all Palettes.
Edit the tiles in that image you want, using a good image editing software.
Import All.

That is it.
Posted on 09-08-13, 05:50 pm
Birdo


Karma: 2754
Posts: 686/2091
Since: 06-26-11
Are you saying those files contain the metal block?

I use paint.net

I know how to do normal tilesets.
Posted on 09-08-13, 05:50 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10020
Posts: 3746/4457
Since: 06-08-11
OR draw the things in the integrated graphics editor without exporting/importing anything. Then it'll work because you're not modifying any palette.
Posted on 09-08-13, 06:01 pm
Birdo


Karma: 2754
Posts: 687/2091
Since: 06-26-11
Sorry...you are ignoring my questions and just suggesting I do something else.

Posted on 09-08-13, 06:05 pm
Fuzzy
Full mod

Karma: 1183
Posts: 681/785
Since: 06-28-11
It happens because when you import graphics with NSMBe, it rebuilds the palette from scratch. When it does this, the colors are not in the same order as they were originally, so anything else that used the same palette will have the colors mixed up.

If you edit it with the built in graphics editor, this doesn't happen because it doesn't rebuild the palette.
Posted on 09-09-13, 06:38 am
Birdo


Karma: 2754
Posts: 688/2091
Since: 06-26-11
* If I extract all the bitmaps of those files, then import them, will it work?


* Or do I simply have to use the existing pallete when editing the tileset?
Posted on 09-09-13, 09:23 am


Karma: 3752
Posts: 1948/2112
Since: 06-28-11
You can do it both ways. It will work then.
Posted on 09-09-13, 03:39 pm (rev. 1 by  Hiccup on 09-09-13, 03:39 pm)
Birdo


Karma: 2754
Posts: 694/2091
Since: 06-26-11
This is my understanding at the moment (link):

http://nsmbhd.net/wiki/Jyotyu_Tileset/


But I don't get how it works.


If you recreate the palletes for one of the bitmaps, doesn't that mess up the tileset?
Posted on 09-09-13, 03:43 pm
Mariomaster

Karma: 8528
Posts: 331/1681
Since: 06-09-12
The best way to edit the Jyotyo-Stuff is to open all pallets and then all bitmaps. Now you click export all bitmaps with all palletes. Then you edit the exported bitmap as you like to. Afer that you click in the editor Import all bitmaps and recreate all palletes. This way you won't get any corruption.
_________________________
GitHub - Kuribo64 - YouTube
Posted on 09-09-13, 03:46 pm


Karma: 3752
Posts: 1952/2112
Since: 06-28-11
That is true:

That is not true:


Second part is not true, because if you export/import each bitmap, the palette would change every time again, messing up the other bitmaps again. So you need to export ALL bitmaps at once with the 5 jyotyu palettes, and import ALL bitmaps at once again. So the palette recreates itself matching up with ALL the objects using the palettes.
Posted on 09-09-13, 04:35 pm
Birdo


Karma: 2754
Posts: 696/2091
Since: 06-26-11
So the core thing is; having all the windows open at the same time?
Posted on 09-09-13, 04:38 pm


Karma: 3752
Posts: 1953/2112
Since: 06-28-11
Open up all the files and all the palettes into ONE window. Then do like I told you before.
Posted on 09-09-13, 06:21 pm (rev. 3 by  Hiccup on 09-10-13, 06:48 am)
Birdo


Karma: 2754
Posts: 697/2091
Since: 06-26-11
Thanks. I actually never understood the pallete window completely, but now I know it is for multiple images.

EDIT:
Isn't this a bit tedious, having to import all those files just for a tiny change to jyotyu?

EDIT2:
Actual question there ^ and here V

Do you actually have to export and import with all palletes for each bitmap, or can you just press save?
Pages: 1