Author Topic: Enemy Attack Data  (Read 3838 times)

The Skillster

  • *
  • Posts: 2284
  • Loving every Final Fantasy
    • View Profile
Enemy Attack Data
« on: 2004-09-18 15:07:28 »
Hello guys,
its been awhile since Ive been here,
Im finally got the money to sort out my battered PC,
And a decent Temp Job to go with it.
Now I was looking at the Monster 7777 fever thread, I was wondering have you guys figured how to edit the scene.bin to adjust attack data for enemies?
is there a command line/GUI program someone could make to input adjustments?
just a thought since im so out of it at the moment

L. Spiro

  • *
  • Posts: 797
    • View Profile
    • http://www.memoryhacking.com/index.php
Enemy Attack Data
« Reply #1 on: 2004-10-02 13:39:52 »
This post is old but it seems it was ignored for whatever reason.

Yes, it is possible to do what you ask, but in my case I just won’t.
I have too many other projects and simple tools aren’t my thing.  If I make a tool I like to give it every possible feature, and I definitely don’t have the time to do that on a new project.

I still have to add G-Zip capabilities to my own game so it can extract the files (I prefer to write my own rather than import one, but I may consider importing if writing one is too large of a hassle).


L. Spiro

The Skillster

  • *
  • Posts: 2284
  • Loving every Final Fantasy
    • View Profile
Enemy Attack Data
« Reply #2 on: 2004-10-03 13:10:11 »
hi, thanks for posting never the less.
Can someone tell me how to edit this data manually then
PLEASE :)

L. Spiro

  • *
  • Posts: 797
    • View Profile
    • http://www.memoryhacking.com/index.php
Enemy Attack Data
« Reply #3 on: 2004-10-04 05:54:58 »
You can make your own (right?) by using the z-library files (free) to unzip and rezip the files.

http://www.gzip.org/zlib/

There are also documents which explain how the scene.bin file is composed.
The file is in chunks of 0x2000 bytes.
Each chunk has an 0x40-byte header.
Each four bytes of the header is a pointer to a gzip file (0xFFFFFFFF meaning no files are left in that chunk and you should move on to the next chunk).  The pointers are actually only 0.25 of the offset where they point (so take each pointer, multiply by 4, and that is the final offset of the gzip file).
There are 256 gzipped files.

Using the library from their site you can easily unzip and rezip them.
Packing them back into scene.bin needs to be done carefully, however.


L. Spiro

The Skillster

  • *
  • Posts: 2284
  • Loving every Final Fantasy
    • View Profile
Enemy Attack Data
« Reply #4 on: 2004-10-07 06:31:54 »
hi, im not bothered about the packing and unpacking (theres already a program out that does that on this forum), im looking where the enemy stats/attack data is, as you might have seen on another thread someone has edited a scene file to increase a bosses stats

L. Spiro

  • *
  • Posts: 797
    • View Profile
    • http://www.memoryhacking.com/index.php
Enemy Attack Data
« Reply #5 on: 2004-10-07 07:49:35 »
It’s all in scene.bin  You just need to use one of the various documents on this site that describe the enemy file format.

I was decoding this data years ago (as you recall) but I lost my notes.
When you un-g-zip the files, each file has 3 or fewer enemies.  The enemies are stored in the same way as described by the enemy formats here, and then ones I posted in the remake forums.

You may notice that when you un-g-zip the files you see the three enemy names in most of them, in capital letters (but the first letter is a “random” character).  All of that enemy’s data is stored from its name on to the next enemy’s name.
Immediately following its name is its level, dexterity, luck, etc.


L. Spiro

mirex

  • *
  • Posts: 1645
    • View Profile
    • http://mirex.mypage.sk
Enemy Attack Data
« Reply #6 on: 2004-10-07 09:01:41 »
Look for Halkun's document "Gears". It has documentation of scene.bin inside ... you can acquire it by clicking on his www button ... or clicking here: http://the-afterm.ath.cx/gears/
duh i see its somehow offline... i could send it to you by mail or something
--edit--
I could not, this computer where i have gears on the disk has restricted internet access.

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Enemy Attack Data
« Reply #7 on: 2004-10-07 12:23:01 »
Naru's power supply blew out... It's fixed now ^_^

I have officaly replaced every componat on naru now.