The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 1 Guest(s)
Recovering Overworld Map Data

#1
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
This is a simple recovery procedure for those who's overworld maps got bugged, most likely with the FF3usME + LE combo, or the LE 'Rouge Editor' bug that leads to a messed up Serpent Trench map, or possibly even something else.

The addresses here are assuming your ROM is HEADERED.

The mission: to copy the map data over from a clean, non-messed up ROM, or a previous ROM with non-messed up data, over to your messed up map(s) ROM.

The overworld map data is located here, and normally looks like:

Regular section usage:
WoB Map/Tiles: $EED434-$EF324F, 24092/24092 bytes
WoR Map/Tiles: $EF4A46-$EF9D16, 21201/21201 bytes
Mini maps: $EFE49B-$EFED25, 0/2187 bytes

You can view this data in usme IF your ROM is expanded, under
'manage expanded ROM'.

If yours does not match up to this, your map data and/or pointers are most likely messed up.

What to do now:

You will want to dump the original map data with a hex editor over to your ROM.
So first, back up your ROM in case you mess up this process, then:

with a clean headered ROM, or a previous working version of your hack if you have made map changes, open the hex editor and go to:
EED434 (hirom) (offset: 002ED434) then select at the top:

Edit, dump binary data, and input:

Starting address: 002ED434 (the address you are at, it should already be there for you.)
Ending address: 002FED25 (where the map data ends, this includes the mini maps as well.)

Then name your file, and hit dump...you will get a binary data file.
Now..

Open your ROM that has the messed up map data, and go to the
same exact starting address, and go ahead and insert the binary data file:
Edit, insert binary data, choose the file and hit yes.

Note that you may not see many if any bytes change, as the data may be further down than you can see. No worries though, it copied over just fine.

IMPORTANT:
You will most likely ALSO need to copy over the map pointers...

The pointers are located at 002EB400 until 002EB460 and covers the compressed map and tiles data and other compressed graphics not related to overworld maps (chocobos, ...)

So do the same dumping and inserting process as you did for the map data for the pointers also, and you should have the map data and pointers back to the original, hit save, and everything should be back to working - you can check the 'Regular section usage' again to see if it all matches up now. If it is NOT, or is even worse, then you messed up somewhere.

It is VERY important to not mess up and insert the binary data at the wrong spot, even if off by 1 byte, or everything will be messed up. I recommend having 2 hex editors open, one with the messed up data, and one with the clean ROM data, at the same address, just to make sure everything looks the same, and matches up exactly, it will make it all that much easier.

Just to make REAL sure you're at the right place:
The overworld map pointers data start with the bytes: 90, B2, EE
The map data starts with the bytes: 10, 8B, 08

Good luck, I hope this helps and saves some hacks! Wink


We are born, live, die and then do the same thing over again.
Quote  
[-] The following 7 users say Thank You to Gi Nattak for this post:
  • Astaroth_ (07-24-2014), Lockirby2 (03-26-2013), madsiur (02-29-2012), QuickFix (02-28-2012), Robo Jesus (01-11-2018), Sczar Atmos (07-15-2013), SSJ Rick (02-28-2012)



Messages In This Thread
Recovering Overworld Map Data - by Gi Nattak - 02-28-2012, 04:25 AM
RE: Recovering Overworld Map Data - by madsiur - 02-28-2012, 07:10 AM
RE: Recovering Overworld Map Data - by QuickFix - 02-28-2012, 06:25 PM
RE: Recovering Overworld Map Data - by Overswarm - 03-20-2012, 08:25 AM
RE: Recovering Overworld Map Data - by madsiur - 03-20-2012, 08:33 AM
RE: Recovering Overworld Map Data - by Overswarm - 03-20-2012, 01:59 PM
RE: Recovering Overworld Map Data - by Tenkarider - 07-23-2014, 11:55 PM
RE: Recovering Overworld Map Data - by Gi Nattak - 07-24-2014, 12:10 AM
RE: Recovering Overworld Map Data - by Tenkarider - 07-24-2014, 04:48 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite