Author Topic: [FFVIII] Scene.out research (Battle formations structure)  (Read 21144 times)

Maki

  • 0xBAADF00D
  • *
  • Posts: 621
  • 0xCCCCCCCC
    • View Profile
Re: [FFVIII] Scene.out research (Battle formations structure)
« Reply #25 on: 2015-07-30 08:13:02 »
No, I'm pretty sure that the scene.out doesn't contain any camera animations, but pointers or indexes to those animations, which has to be in other files.

This makes sense as replacing stages (renaming levels) crashed game in my test. So yes, scene.out is probably addressing cameras offset, thanks for this! Also:
Battlestages contains only intro animation and maybe final camera position. Battle stages does not contain any other camera animation like winning. Still totally unknown are the first ~0x5d4 bytes. My idea is to run looped analyzer on all stages and see which data is far different from others.

EDIT: r0win.dat has AKAO sequences.

I deleted r0win.dat, went to battle, won it and... HUD dissapeared and nothing happens. Game didn't throw exception nor froze. It's just endless battle.
Looks like this file is whole winning scene. Sound, scripts, camera animation...

FF8 loads only one encounter probably with (128*encounterindex) for 128bytes and MOV's it to FF8_EN.exe+19287DC (01D287DC)

@Update: Found the camera!

MOV:
FF8_EN.exe+10CC98 - mov [eax],dx = FOV
FF8_EN.exe+10CCBB - mov [eax+08],dx = FOV

X:
01D9778C (sint32) [FF8_EN.exe+16C66A - mov [eax],edx]
Y:
01D97790 (sint32) [FF8_EN.exe+16C6AE - mov [eax+04],edx]
Z:
01D97794 (sint32) [FF8_EN.exe+16C6F9 - mov [eax+08],edx]

Yes, scene.out points to camera just as you wrote in first post. Still can't find cameras in file.
« Last Edit: 2015-07-30 11:00:20 by MaKiPL »

JeMaCheHi

  • *
  • Posts: 194
  • You can just call me J!
    • View Profile
    • My YouTube Channel :D
Re: [FFVIII] Scene.out research (Battle formations structure)
« Reply #26 on: 2015-08-01 11:25:37 »
I've been playing around with the unknowns, but doesn't seem to have anything to do with camera stuff. Even if you nullify, or set to the default (the same value use for dummies), the enemies will still have all the same animations. I'm running out of ideas with unknowns so I'll start diggin deeper on the level byte until I have new ones...

Maki

  • 0xBAADF00D
  • *
  • Posts: 621
  • 0xCCCCCCCC
    • View Profile
Re: [FFVIII] Scene.out research (Battle formations structure)
« Reply #27 on: 2015-08-01 11:42:23 »
Maybe it's Odin related? Like this fight can or cannot be zantetsuken'ed.

JeMaCheHi

  • *
  • Posts: 194
  • You can just call me J!
    • View Profile
    • My YouTube Channel :D
Re: [FFVIII] Scene.out research (Battle formations structure)
« Reply #28 on: 2015-08-01 12:04:15 »
Maybe it's Odin related? Like this fight can or cannot be zantetsuken'ed.

Then it should be a global parameter, not a per-enemy parameter... Also, zantetsuken inmunity should be coded in each .dat file... In fact, it's a good point, there's still some unknown fields on .dat files, maybe zantetsuken inmunity is one of those unknowns....