FF6 Hacking
One of my battle backgrounds broke, pls help - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html)
+--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html)
+--- Thread: One of my battle backgrounds broke, pls help (/thread-3514.html)



One of my battle backgrounds broke, pls help - mrTentacle - 08-09-2017

Hi all

Somehow I broke one of the battle backgrounds, WoR - Forest has parts corrupted

Here is a screengrab:
https://drive.google.com/file/d/0B2Be-Swr3f-ddzVnT1YxX0RzNE0/view

The other backgrounds that use the same tiles looks fine, like WoB - Forest, that leads me to believe that the problem isn't related to the graphics but something else.

Anyone know what adresses I should take a look at?


RE: One of my battle backgrounds broke, pls help - seibaby - 08-09-2017

Looks like either corrupted tiles or a corrupted tilemap. Check this page for a list of offsets containing the battle background tile data.
http://www.angelfire.com/pq/jumparound/ff3romOffsets.html

I believe the tilemaps' locations are documented in the ROM map on the FF6hacking Wiki. Not which is which, but where they all are, at least. You could just reinsert the entire range of data from a clean ROM and see if that fixes things.


RE: One of my battle backgrounds broke, pls help - Everything - 08-09-2017

Take a look at your battle background properties at offset 0xE70006. This is the data for the world of ruin forest background. Here's what it means:

Code:
E7/0006: 9A ; load graphics 0x1A to VRAM at $1000 (0x2000 bytes)
E7/0007: FF ; this means don't load graphics to VRAM at $1800
E7/0008: 19 ; load graphics 0x19 to VRAM at $4800 (0x1000 bytes)
E7/0009: 0C : use tile layout 0x12
E7/000A: 0C ; use tile layout 0x12 (this byte is never used)
E7/000B: 31 ; use palette 0x31

From your screenshot, it looks like one of the first two bytes here might be causing the problem.


RE: One of my battle backgrounds broke, pls help - mrTentacle - 08-10-2017

Wow, thank you so much!
I had 9A FE instead of 9A FF for some reason