News:

11 March 2016 - Forum Rules

Main Menu

Sprite graPhics and intro screens

Started by Pikachumanson, November 10, 2012, 02:48:18 PM

Previous topic - Next topic

Pikachumanson

I tried to find the graphics in hex editor using the values i have found in the ppu. But my search was fruitless. Let's say I want to change the title screen by doing tile map editing. Do i need asm to do that?

Jorpho

I'll assume by your reference to "ppu" that you're referring to an NES game, but I'm not sure why you're looking for graphics using a hex editor.  Why not just say which game you're looking at?  No need to be coy.

Open up the ROM in Tile Molester.  If you can't find the tiles for the title screen, then yes, the graphics are probably compressed (or the title screen is otherwise algorithmically generated) and you will probably need to know assembly language in order to find out how to edit it.
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

Pennywise

I would recommend settling down and providing as much detail as possible to get the best help.

To clarify, ASM is the ability to read and understand the code in a game. Generally it is not required for simple editing in most cases.

Some times you get lucky and the entire tile map for the title screen is stored uncompressed in the ROM. The best way to find this data is to fire up FCEUX and get to the screen in question,  open the nametable viewer and find the PPU address of the tiles you want to edit. You'll then want to open the hex editor in the emulator and view the PPU memory and go to the PPU address you saw in the nametable viewer.

The tilemap data will always be stored uncompressed within the PPU itself, so search for a string of bytes from the PPU in the ROM and see if you get any hits. Chances are you'll find what you're looking for. Now, some games use a simple form of compression called RLE and I've seen it used in title screen data before, but it's quite easy to figure out. A lot of Konami games like to use it. If you're still reading this, you either screwed up somehow or the game is a little more complicated and requires you to set a write breakpoint in PPU to find where the tilemap data comes from.

Pikachumanson

Thanks for your replies Jorpho and Pennywise. You guys were right on the money!