Qhimm.com Forums
Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: Bosola on 2010-05-03 15:32:33
-
Here's the contents of the YAMADA.BIN file, with annotations
66 02 00 00 00 00 00 00 67 02 00 00 D2 33 00 00
0266h = LBA of YAMADA.BIN in hex 0267h = LBA of WINDOW.BIN 33d2h = Size of WINDOW.BIN
6E 02 00 00 68 57 00 00 1B 45 00 00 76 04 00 00
026Eh = LBA of KERNEL.BIN 5768h = length of KERNEL.BIN 451Bh = LBA of BROM.X 0476h = Length of BROM.X
1C 45 00 00 56 32 00 00 23 45 00 00 12 FD 01 00
451Ch = LBA of TITLE.BIN 3256h = length of TITLE.BIN 4523h = LBA of BATTLE.X 01fd12h = Size of BATTLE.X
63 45 00 00 40 16 00 00 66 45 00 00 00 20 04 00
4563 = LBA of BATINI.X 1640h = Length of BATINI.X 4566h = LBA of SCENE.BIN 042000h = Length of SCENE.BIN
EA 45 00 00 1E 0E 00 00 EC 45 00 00 40 16 00 00
45EAh = LBA of BATRES.X 0e1eh = Length of BATRES.X LBA of CO.BIN CO.BIN length
Using this information, it should be possible to get over the the space limitations on the KERNEL and SCENE .BINs by inserting the file somewhere else on the ISO and altering the YAMADA info accordingly.
-
waitwaitwaitwaitwaitwaitwaitwait....WAT?
You found the LBA lookup table for the PSX?
OMGOMGOMG :)
-
One of the many, anyway.
-
I should really get around to looking at that source code of yours, Gemini. Am I right in assuming FF7 likes the simple LBA+size format? I might try searching for other vals and locating the LBA etc. data for a few other significant files.
-
what would be really cool is that we can update the FF7 file project with this information
-
Am I right in assuming FF7 likes the simple LBA+size format?
Yup, they're all like that. AFAIK, the rest of the tables are stored inside main exe, FIELD\FIELD.BIN, BATTLE\BATTLE.X, WORLD\WORLD.BIN, and probably some other file dealing with mini-game overlays (tho I'm not completely sure about these ones).
-
They will have to be in their own area all bunched together, probably near the end, as they will need to be updated after the disk image is made.
-
Good places to look.
Any thoughts on methods to move the files around? I note that each sector is footed with data CD Mage flags up as ECC (posting on a different partition, so can't verify if that's what it's actually called) - something I haven't been able to find info about. Is this error correction data? Would we have to modify this data if we move the files around, or preserve it?
-
Hi there.
I'm a newbie to FF7 hacking an am currently experimenting with stuff.
I made a modified "WINDOW.BIN" (http://forums.qhimm.com/index.php?topic=17605.msg250208#msg250208) that is larger than the original.
I tried adjusting the size of "WINDOW.BIN" accordingly in "YAMADA.BIN", rebuilt the ISO with psximager, and ran it through ECCRegen. The game still won't load.
I think I need to change the LBA value, too. How do I calculate what value to change it too? And would I need to change the LBA values off all the files listed after "WINDOW.BIN"?