+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Project: FF7 NES Graphics Upgrade
Pages: [1] 2
Author Topic: Project: FF7 NES Graphics Upgrade  (Read 865 times)
Vanya
Guest
« on: December 27, 2008, 10:58:55 pm »

Discussion: Revising the graphics of FF7 NES once the translation is complete.

The graphics in the game seem way too similar to FF3. I feel these should be revised to look more like the locations in the original PSX game as closely as possible.

The character gfx could also use an upgrade. As well as the portraits.
Lindblum
Guest
« Reply #1 on: December 28, 2008, 01:01:01 am »

If you want to change the overhead sprites you'll have to do it for every location.  Sprite tilesets appear across the entire ROM, so you'd probably have to search for their tiles' byte sequences to make sure you've found every instance in the file. 
Avatars, enemies, and spells are all coded similarly.  Their tilesets are preceded by data chunks that contain layout maps of tile reference numbers and what I suspect are palette references.  Each object has a local tileset that starts with a local index of 0x00.  Avatars have 4x4 maps.  Spells have three 4x4 contiguous maps to account for their 3-frame animations. 

Please excuse if I'm about to explain things that you already know.

If you have to insert an object larger than the original, then you will need to know how to correct the pointers to all its consecutive objects.  The pointer arrays are almost always at the top of the bank page (a multiple of 0x8000 + 0x10).  These are 2-byte big-endian and point to their corresponding addresses as they appear in the FCEUX hex editor.  $8000-$FFFF is the currently loaded bank of the ROM, so these pointer values will always be above $8000 (The game bank switches by writing the bank# to $5000.  e.g. Soldier tiles are stored at 0x1A00B2, 0x1A0000 = 0x8000*0x34, so it's in bank 0x34).  0x1A0020 is loaded to $8010, and is a pointer to $806B, which is 0x1A007B in the ROM.  The tileset starts at $80A2, so graphic object header is 0x37 (55) bytes.  Notice the 4x6 pattern grid starting at 0x1A0082 (actually I don't understand every byte in there yet).  Since this is the first enemy in the game, play around with 0x1A007B-0x1A00B1 (header) and 0x1A00B2-1A0221 (tiles)  to learn to manipulate its appearance.  Palette references are around the end of the header.  They let you change palettes of 16x16 blocks of the sprite.

Understand all the above and you're pretty much set to figure out the rest.
« Last Edit: December 28, 2008, 09:27:15 am by Lindblum »
Vanya
Guest
« Reply #2 on: December 28, 2008, 03:30:04 pm »

Cool! Thanks for all the info. I'll start looking into what needs to be changed. Meanwhile if anyone has any specific ideas to contribute please feel free to post them here. ^_^
Dr. Mario
Guest
« Reply #3 on: December 30, 2008, 02:22:07 am »

I'm on my wii right now so I can't post them, but I have some mugshots you could use if you wanted
Vanya
Guest
« Reply #4 on: December 30, 2008, 10:33:55 am »

Sweet! I can't wait to see them. ^_^
Lindblum
Guest
« Reply #5 on: December 30, 2008, 02:28:34 pm »

Dr Mario sent them to me once. Unless he has new ones, they're:

Here's something that should help guide you with all the other avatars:
http://www.mediafire.com/?v4ecnng1dzy


I've noticed that enemies have 2 4-byte palettes stored right inside the header, using the standard NES color values.  They start with 0x0F (as the black color).  There are some bytes before the palettes that affect the way the palettes are deployed to the tiles, but I didn't find a pattern.

Let me know if you need savestates.
« Last Edit: December 30, 2008, 02:53:28 pm by Lindblum »
Dr. Mario
Guest
« Reply #6 on: December 30, 2008, 06:39:42 pm »

Those would be them. I'll check out the file you posted to see if I can't do anything with the rest of them.
**EDIT**

2nd draft of all of them
« Last Edit: December 31, 2008, 05:29:24 am by Dr. Mario »
RedComet
Guest
« Reply #7 on: December 31, 2008, 01:19:30 pm »

Now get started on the maps. Wink
Vanya
Guest
« Reply #8 on: December 31, 2008, 02:01:24 pm »

Those mugs are sweet, dude! Nice work.

I'll begin work on the tiles on Jan 2nd.

I'd start today, but I'm hosting a new years part and have to fix my place up.

I'd start tomorrow, but I'll be nursing a hangover. ^_^

Huh

"I was going to edit graphics, but I just played Tetris all day because I was high!"
Lindblum
Guest
« Reply #9 on: December 31, 2008, 04:50:23 pm »

Will the patch go onto the original ROM or the translation?  If for the translation you'll have to specify upon release which version of the translation it patches to.  I'm going to replace some mugshots with better SRW mugshots by the time I'm through.  At this pace it looks like v1.00 may be ready for unveiling in just a couple of weeks.  It probably makes little difference as long as IPS overwrites instead of XOR's the data.
Darkdata
Guest
« Reply #10 on: December 31, 2008, 11:28:18 pm »

Random Notes
Palette for the first area is at $81335
Every area has it\\s own tileset. It's crazy! All the shops each load a different tileset! :S

Sprite doodles to be added later:
« Last Edit: January 01, 2009, 12:05:32 am by Darkdata »
Vanya
Guest
« Reply #11 on: January 01, 2009, 01:02:16 pm »

@Lindblum: I think I should make this for your translation and I was going to wait for v1.0 to be released at least before inserting any graphics. ^_^

@Darkdata: Thanks for that. And please, if you find any more data that could be helpful to this project feel free to post it! ^_^
Dr. Mario
Guest
« Reply #12 on: January 01, 2009, 10:19:35 pm »

Part of Shinra Tower?
Darkdata
Guest
« Reply #13 on: January 02, 2009, 03:54:15 am »

My attempt at it:



Some notes:
It seems like each area uses it's own palette too. The Palette is repeated 3 times thought the rom. (Well, that area's palette).
For added fun, the textbox tile palette is shared with the roof tiles palette (hence the reason it's only simple)
I can't seem to find the tile assembly (meta-tiles) searches for them with wxyz, and wyxz orders do not find them. Could they be compressed?
I tried to copy Dr. Mario's style, unfortunately I still have quite a bit to learn. Tongue
Dr. Mario
Guest
« Reply #14 on: January 02, 2009, 04:27:43 am »

Wow, I really like that. I'm thinking about maybe starting to mess around with some ideas for enemy graphics. I think maybe Reno shouldn't look like some sort of mythical god creature...

Think this might be too big?

This is how the mugs would ACTUALLY have to look color wise. (The blue is a lot harsher than it actually looks in an emulator)
« Last Edit: January 02, 2009, 06:18:15 am by Dr. Mario »
Pages: [1] 2  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC