fceux icon indicating copy to clipboard operation
fceux copied to clipboard

(REQUEST) Add a way to edit a tiles attributes such as assigned palette?

Open AstarOfDavid opened this issue 1 year ago • 0 comments

(Not sure if putting a request here is the proper place) I'd like to request that in the "NAME TABLE VIEWER" when you select a TILE where it gives you info, such as location tile address palette address etc. that you can "alter/edit" these values then save the ROM.

To be more specific, I'll use Castlevania 1 as a quick example (because I know it's easy to find this example, since it's at the very start of the game).

When the first level starts, there is a statue which is made of 8 tiles, however 2 of these tiles are set to use the 2nd palette block (3F04), while the other 6 are set to use the 1st palette block (3F00). CV1 - TILE PALETTE ASSIGNMENT

CV1 - TILE PALETTE ASSIGNMENT 2

Is there a way in this "Name Table Viewer" to set which palette a tile uses?

If not can I request you add an editor here - where you can change for example "TILE 1D" from using "palette 3F04" to use "3F00" and then save the Rom.... this way all 8 tiles in this statue will use the 1st palette block? (Also making sure that this does not affect the curtains in the next screen's palette - as the curtains use palette "3F04" .) CV1 - TILE PALETTE ASSIGNMENT 3

Maybe even adding under "Table viewer" a "location editor" so I could move "Tile 1D" from "5,18" to say "5,20" then save ROM...

(perhaps having a small "apply" button next to each attribute that greys out once applied, in other words you can edit these values and none of the are applied until you press the button, so you know which attributes have been inserted/applied before you save the rom)

Adding this feature would be really helpful! (As a side note is there a way to do this via Hex editing? What would I "look/search" for in the "HEX view ROM" to find the palette attribute at the 0023E1? I see there is a D6 in this address- so among the hex here... which one changes which palette block this tile area uses?) CV1 - TILE PALETTE ASSIGNMENT 4

However, it would be even better if within "Tile Table Editor" one could right click on any tile and choose a tile (from the loaded tiles) to place there. And or move this tile to another location and be able to save the edits to the ROM.

To be more specific I'll explain in more detail what I am attempting to do. I'll use Castlevania III as an example, when entering the swamp area there is a tree displayed right in front of you, HOWEVER there is an error in the tile layout. Castlevania III (Edit) As you can see the original displays the wrong tile here it's displaying TILE 90 and 91 - when it should be 4A and 4B...

I made the above image by editing these values in the PPU - BUT I CANNOT FIND - were to change this in the ROM? I'd like help figuring out CVIII - Swap PPU Data

As you'll note just changing the TILE from 90 to 4A it still uses the same palette - thus being able to edit the palette as well in the ROM would be equally important, so I can save the ROM with the corrected tiles!

Thanks so much for having so many great ROM editing features in FCEUX!!!

AstarOfDavid avatar Jan 15 '24 21:01 AstarOfDavid