Author Topic: (Sorry for noob-ness) FFVII: mods for psx version only  (Read 20924 times)

Gemini

  • *
  • Posts: 260
  • Not learner's Guru
    • View Profile
    • Devil Hackers
Re: (Sorry for noob-ness) FFVII: mods for psx version only
« Reply #25 on: 2010-03-23 00:04:25 »
a) Bits of the executable don't look for files, but go to particular sectors and tracks expecting data, so we'd have to disassemble parts of the executable and change these locations, and
b) We can't create PSOne data lookup-tables / filesystem data from scratch.
a) Those allocation tables are incredibly easy to locate, some even stored in the most obvious locations (FIELD.BIN contains the whole thing for the FIELD folder, just like ENEMY1-6 indexes are stored inside BATTLE.X). Most of them, if not all, use a simple lba+size (sometimes padded to sector) format.
b) It's really possible to, but not necessary. I've expanded the hell out of some overlays and data files, and guess what? The game doesn't refuse to work with them. Models follow the same procedure.

Quote
If you know differently, though, I'd be very interested to hear how I could exceed the limits of the KERNEL.BIN.
You mean the RAM limits or size on disk? I haven't analysed the first case (even though it should be a static array, meaning it's pretty hard to expand), but the second is very possible to do and my personal tools already take care of it.
« Last Edit: 2010-03-23 00:41:18 by Gemini »

Bosola

  • Fire hazard!
  • *
  • Posts: 1752
    • View Profile
    • My YouTube Channel
Re: (Sorry for noob-ness) FFVII: mods for psx version only
« Reply #26 on: 2010-03-23 14:27:21 »
That's excellent, and makes things very different for my mod project. As for the KERNEL, I meant the space on disc. One issue, though - how would I go about importing a file larger than the original onto the ISO? Is this something your tools can handle?

I know one thing: I'm going to take a look at your tools NOW!

Gemini

  • *
  • Posts: 260
  • Not learner's Guru
    • View Profile
    • Devil Hackers
Re: (Sorry for noob-ness) FFVII: mods for psx version only
« Reply #27 on: 2010-03-24 00:24:29 »
One issue, though - how would I go about importing a file larger than the original onto the ISO? Is this something your tools can handle?
My tools inject KERNEL.BIN somewhere else in the ISO (forgot exactly where, but it's an unused area so who cares) and update the index/size values for it inside INIT\YAMADA.BIN, which also contains several other initialization index/size pairs. The same procedure was used for other files that grew bigger, like FIELD.BIN and BATTLE.X.

Bosola

  • Fire hazard!
  • *
  • Posts: 1752
    • View Profile
    • My YouTube Channel
Re: (Sorry for noob-ness) FFVII: mods for psx version only
« Reply #28 on: 2010-03-24 10:08:51 »
Amazing! You really are the Playstation Guru!