Pages: 1
Posted on 11-18-24, 12:39 am
Mole
I do things sometimes

Karma: 1037
Posts: 365/366
Since: 08-07-17
This is intended to demonstrate a practical use-case for the palette abuse technique  MeroMero detailed on his tile-share thread, taking advantage of the unused second palette for the top bg of the titlescreen (as it seems to be always loaded) to gain an extra 255 colours for use in the jyotyu tileset, as even minor edits to that tileset can be somewhat troublesome. These colours will stay constant between jyotyu palettes
You'll need to download this (file 1) and this (file 2). It may be a good idea to do this in a throwaway rom, unless you've planned ahead.

1. Open a bitmap big enough for the tiles you want to add and d_2d_I_M_free_demo_castle_ncl.bin. Add the second palette to your bitmap.

2. Import your graphics, overwriting the palette (here I'm demonstrating with this impractical rainbow tile). Save.


3. Import (file 1) into your rom somewhere. Open it and add the second palette.


4. Open the bitmap for the jyotyu tileset. Export both the bitmap with your graphics and the graphics for the jyotyu tileset individually, using the rainbowy palette from (file 1).

5. In an external image editor of your choice, open both exported images and add the tiles from the bitmap containing your graphics to the jyotyu tileset bitmap where theres space (the tiles with the s are your safest bets) and save it.

6. Back in NSMBe, import the modified jyotyu bitmap over the original one using the "Import this bitmap with existing palette" option. Save and close out of the graphics editor.


7. Import (file 2) into your rom somewhere, export the jyotyu palette, and decompress the jyotyu palette in your rom.

8. Open the jyotyu palette and (file 2) in NSMBe's hex editor, select everything from (file 2), copy it, and paste it all at the very end of the jyotyu palette. Save and recompress the jyotyu palette.

9. Open the jyotyu tileset in NSMBe's tileset editor and add your graphics to the map16 using the all-orange palette for them. Set tile behaviours and make tile objects as normal (and perhaps add tile descriptions, as your tiles won't be visible in NSMBe), then save.


10. Reimport the jyotyu palette you exported earlier.

Assuming you followed everything right, and that I am right, everything should work alright.
Pages: 1