Author Topic: FF7 crash - battles with Tife or Aerith  (Read 7659 times)

Dolraith

  • Guest
FF7 crash - battles with Tife or Aerith
« on: 2010-04-19 06:59:52 »
Hi, just like the topic says, I'm having crashing issues whenever i have Tifa or Aerith in the party. The game goes through the swirl normally, and then it freezes on the very first frame after the swirl (mostly in the blinds). I currently have: a fresh install, the 1.5.1 Remix patch, and the 0.7.7b OpenGL driver (both of them excellent work). The install order also the order i listed them in. I am getting a "Oops! Something very bad has happened" message.  I have found, through extraneous digging, that if i replace the battle.lgp file that the remix generates with the one from the install disc, the game does not crash anymore. However, I am extremely leery of such solutions, as it halfway defeats the whole purpose of the patch.
I am running Vista 32, with an nVidia GeForce 9500M GS, Intel core 2 duo @ 2.20 Ghz, and 3 gigs of ram.

I've tried re-downloading the remix patch, and re-installing the game (multiple times), and running btoh the hardcore and the normal modes, both crash, which make me think whatever is wrong isn't in the battle.lgp file, but rather in something that the remixed battle.lgp is referrencing. I wish I could get more info on what particular file it is trying to reference, but that "Unhandled exception" is all i can get.

I thought at first it might be the location, or a specific battle (the first one after you get Tifa), buut, i downloaded a couple saved games, and the crash still happens in other areas. I can do a million fights with Cloud / Barret / Red XIII / Yuffie, but the first battle with Aerith or Tifa in the team....crash.

I know you are going towant to see this, so here it is:

APP.LOG (with 0.7.7b):
INFO: FF7/FF8 OpenGL driver version 0.7.7b
INFO: Auto-detected version: FF7 1.02 US English
INFO: NVIDIA Corporation GeForce 9500M GS/PCI/SSE2 3.2.0
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1024x768, output resolution 1024x768, internal resolution 1280x960
INFO: FBO extension detected, using fast scaling/postprocessing path
INFO: FFMpeg movie player plugin loaded
INFO: FFMpeg version SVN-r21874, Copyright (c) 2000-2010 Fabrice Bellard, et al.
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
initializing sound...
creating dsound primary buffer
reading audio file
loading static sounds
sound initialized
INITIALIZING MIDI...
selecting device 0:Microsoft GS Wavetable Synth, mid=1, pid=27,
midi data type: GENERAL MIDI
using midi data file: C:\Program Files\Square Soft, Inc.\Final Fantasy VII\Data\midi\midi.lgp
midiOutGetVolume returned: ffffffff
MIDI INITIALIZED
set music volume: 127
MIDI set volume: 127
100% of 127 = 127
set music volume: 127
MIDI set master volume: 100
MIDI set volume: 127
100% of 127 = 127
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
INFO: C:\Program Files\Square Soft, Inc\Final Fantasy VII\movies\eidoslogo.avi; rawvideo/null 364x353, 15.000000 FPS, duration: 0.066667, frames: 1
INFO: C:\Program Files\Square Soft, Inc\Final Fantasy VII\movies\sqlogo.avi; mpeg4/mp3 640x480, 15.000000 FPS, duration: 247.466667, frames: 3712
set music volume trans: 127->0, step=60
MIDI set volume trans: 127->0; step=60
MIDI stop - OK
MIDI stop - OK
END OF CREDITS!!!
Entering MAIN
set music volume: 127
MIDI set volume: 127
100% of 127 = 127
Exiting MAIN
START OF MENU SYSTEM!!!
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
MIDI play: 31
reading midi file: DOKUBO.mid
current volume: 127
MIDI is playing SUCCESSFULLY!!!
Field Quit
Entering MAIN
MIDI play: 7
reading midi file: BAT.mid
current volume: 127
MIDI is playing SUCCESSFULLY!!!
Exiting MAIN
Entering FRAME_INITIALIZE SWIRL
Exitting FRAME_INITIALIZE SWIRL
Swirl sound_effect1
stop_sound
End of Swirl sound_effect1
Entering FRAME_QUIT SWIRL
Exitting FRAME_QUIT SWIRL
Entering MAIN
Exiting MAIN
[BATTLE] Entering FRAME_INITIALIZE
[BATTLE] Scene# 378
[BATTLE] Exitting FRAME_INITIALIZE
GLITCH: broken p file: vertextype == VERTEX in CLOUD.W09
ERROR: unhandled exception

I appreciate any ideas.


Edit: ooh found a person with a similar problem: http://forums.qhimm.com/index.php?topic=8965.0
The screenshot looks exactly right. His fix, however is not really suitable for me, as i want the whole remix package, not just a couple modules.

Edit 2: Found something veery interesting. I downgraded Aali's patch back down to whatever the Remix patch included. The crashes went away all right, buuut, I think the root of the problem stayed. Here's the new APP.LOG, in which i first fought a battle with a barrett / cait sith / cloud team, and then entered one with a cloud / tifa / aerith team and then quit:
« Last Edit: 2010-04-19 08:24:10 by Dolraith »

Dolraith

  • Guest
Re: FF7 crash - battles with Tife or Aerith
« Reply #1 on: 2010-04-19 08:29:04 »
Sorry for the double-post, it wouldn't fit into one :(

Ahhh, i'll have to cut the APP.LOG up anyway, it's over 4k characters, but here's the interesting parts:

INFO: Auto-detected version: FF7 1.02 US English
INFO: FFMpeg movie player plugin loaded
INFO: FFMpeg version SVN-r19334, Copyright (c) 2000-2009 Fabrice Bellard, et al.
INFO: FF7Music helper plugin loaded
INFO: NVIDIA Corporation GeForce 9500M GS/PCI/SSE2 3.2.0
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1024x768, output resolution 1024x768, internal resolution 1280x960
INFO: FBO extension detected, using fast scaling/postprocessing path
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
initializing sound...
creating dsound primary buffer
reading audio file
loading static sounds
sound initialized
set music volume: 127
set music volume: 127
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
INFO: C:\Program Files\Square Soft, Inc\Final Fantasy VII\movies\eidoslogo.avi; rawvideo/null 364x353, 15.000000 FPS, duration: 0.066667, frames: 1
set music volume trans: 127->0, step=60
INFO: C:\Program Files\Square Soft, Inc\Final Fantasy VII\movies\sqlogo.avi; mpeg4/mp3 640x480, 15.000000 FPS, duration: 247.788000, frames: 3717
END OF CREDITS!!!
Entering MAIN
set music volume: 127
Exiting MAIN
START OF MENU SYSTEM!!!
INFO: 24-bit PNG loaded (C:\Program Files\Square Soft, Inc.\Final Fantasy VII\/textures/WMRP/menu/buster_00.png); this is slow, please convert to 32-bit
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
-=-=[START OF WORLD MAP!!!]=-=-
ERROR: libpng error: Read Error
ERROR: COULD NOT LOAD TEXTURE DATA FILE clf_lg.TEX
ERROR: COULD NOT LOAD TEXTURE DATA FILE clf_lg.tim
stop_sound
cross play music: 0
set music volume trans: 127->0, step=4
set music volume: 127
cross play music: 0
set music volume trans: 127->0, step=4
stop_sound
set music volume: 127
stop_sound
-=-=[END OF WORLD MAP!!!]=-=-
Entering MAIN
Exiting MAIN
Entering FRAME_INITIALIZE SWIRL
Exitting FRAME_INITIALIZE SWIRL
Swirl sound_effect1
stop_sound
End of Swirl sound_effect1
Entering FRAME_QUIT SWIRL
Exitting FRAME_QUIT SWIRL
Entering MAIN
Exiting MAIN
[BATTLE] Entering FRAME_INITIALIZE
[BATTLE] Scene# 97
[BATTLE] Exitting FRAME_INITIALIZE
INFO: 24-bit PNG loaded (C:\Program Files\Square Soft, Inc.\Final Fantasy VII\/textures/Spells/seffect/seffect1_00.png); this is slow, please convert to 32-bit
INFO: 24-bit PNG loaded (C:\Program Files\Square Soft, Inc.\Final Fantasy VII\/textures/Limit/limit/jo_b03_00.png); this is slow, please convert to 32-bit
INFO: 24-bit PNG loaded (C:\Program Files\Square Soft, Inc.\Final Fantasy VII\/textures/Spells/eskill/jo_b04_00.png); this is slow, please convert to 32-bit
[BATTLE] Begin main battle loop
[BATTLE] End of current battle
[BATTLE] Begin end battle stuff
stop_sound
[BATTLE] Entering FRAME_QUIT
[BATTLE] endof battle.
[BATTLE] Exitting FRAME_QUIT
Entering MAIN
Exiting MAIN
-=-=[START OF WORLD MAP!!!]=-=-
ERROR: libpng error: Read Error
ERROR: COULD NOT LOAD TEXTURE DATA FILE clf_lg.TEX
ERROR: COULD NOT LOAD TEXTURE DATA FILE clf_lg.tim
stop_sound
cross play music: 0
set music volume trans: 127->0, step=4
set music volume: 127
-=-=[END OF WORLD MAP!!!]=-=-
START OF MENU SYSTEM!!!
END OF MENU SYSTEM!!!
-=-=[START OF WORLD MAP!!!]=-=-
stop_sound
-=-=[END OF WORLD MAP!!!]=-=-
Entering MAIN
Exiting MAIN
Entering FRAME_INITIALIZE SWIRL
Exitting FRAME_INITIALIZE SWIRL
Swirl sound_effect1
stop_sound
End of Swirl sound_effect1
Entering FRAME_QUIT SWIRL
Exitting FRAME_QUIT SWIRL
Entering MAIN
Exiting MAIN
[BATTLE] Entering FRAME_INITIALIZE
[BATTLE] Scene# 96
[BATTLE] Exitting FRAME_INITIALIZE
OFFSET ERROR: TIFA.T02 RUAE
ERROR: COULD NOT OPEN FILE TIFA.T02
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T02
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T02
...// cut here 'cause this message repeats for a lot of files //...
OFFSET ERROR: TIFA.T09 RUAL
ERROR: COULD NOT OPEN FILE TIFA.T09
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T09
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T09
OFFSET ERROR: EARITH.T02 RVAE
ERROR: COULD NOT OPEN FILE EARITH.T02
ERROR: COULD NOT LOAD TEXTURE DATA FILE EARITH.T02
ERROR: COULD NOT LOAD TEXTURE DATA FILE EARITH.T02
OFFSET ERROR: EARITH.T06 RVAI
ERROR: COULD NOT OPEN FILE EARITH.T06
ERROR: COULD NOT LOAD TEXTURE DATA FILE EARITH.T06
ERROR: COULD NOT LOAD TEXTURE DATA FILE EARITH.T06
...// same here, alot of repetitions of this with diff numbers //...
OFFSET ERROR: EARITH.T09 RVAL
ERROR: COULD NOT OPEN FILE EARITH.T09
ERROR: COULD NOT LOAD TEXTURE DATA FILE EARITH.T09
ERROR: COULD NOT LOAD TEXTURE DATA FILE EARITH.T09
GLITCH: Something tried to use hardware accelerated lighting, expect funky-looking models
[BATTLE] Begin main battle loop
WM_CLOSE
[BATTLE] Entering FRAME_QUIT
[BATTLE] endof battle.
[BATTLE] Exitting FRAME_QUIT
Field Quit
UNINITIALIZE DD
END UNINITIALIZE DD


This latest development makes me suspect the aerith / tifa models in the remix patch, since aali pretty much said his driver is now less tolerant of incomplete models and whatnot. Of course i could be totally off my mark.

titeguy3

  • *
  • Posts: 1283
  • A jack of all trades
    • View Profile
Re: FF7 crash - battles with Tife or Aerith
« Reply #2 on: 2010-04-19 09:52:26 »
Hm, that's interesting. Truth be told, I'm still using the older version of Aali's driver, so I'm not sure how the newest one reacts, but if you're getting the same error with v0.7.3b, then I'm not sure why it's occurring...

Kranmer

  • *
  • Posts: 766
    • View Profile
Re: FF7 crash - battles with Tife or Aerith
« Reply #3 on: 2010-04-19 09:59:18 »
well the errors
ERROR: libpng error: Read Error
ERROR: COULD NOT LOAD TEXTURE DATA FILE clf_lg.TEX
ERROR: COULD NOT LOAD TEXTURE DATA FILE clf_lg.tim
are caused by the fact that the clf_lg.TEX (i think its in world_us.lgp) in the remix patch is 0 bytes and can be fixed easy by just replacing it with the original.
But i havent seen the TIFA.T02 or the other ones, infact i dont even remember seeing a file called that (but i didnt look that hard so i am not sure).

Kranmer

  • *
  • Posts: 766
    • View Profile
Re: FF7 crash - battles with Tife or Aerith
« Reply #4 on: 2010-04-19 15:04:10 »
sorry for the double post but i think its needed.
i have created a small fix for titeguy3's remix patch 2.5.1 using both mine and Dan's (aka seifer or Colonel Ramsay) install script.
This should fix both the libpng error and the Tifa and Aerith errors.
Version2
http://www.mediafire.com/?ynlnimm3lwi
also could you post feedback on if the patch works or doesnt, and does it autodetect your ff7 folder correctly ?

EDIT- also i only made this for the original game and NOT the hardcore version (i only just remembered titeguy3's remix patch has both normal and hardcore battle.lgp) if you need one for the hardcore version i can make it by request. But the world_us.lgp part of the patch works on both hardcore and normal so it will still get rid of the PNG error msg even on hardcore.

EDIT2- updated link
« Last Edit: 2010-04-19 18:47:07 by kranmer »

Colonel Ramsay

  • *
  • Posts: 114
    • View Profile
Re: FF7 crash - battles with Tife or Aerith
« Reply #5 on: 2010-04-19 15:34:45 »
I just helped with adding auto detect feature, 95% of this script is Kranmer's and it was fun working with him and learning new things ;)

Dolraith

  • Guest
Re: FF7 crash - battles with Tife or Aerith
« Reply #6 on: 2010-04-19 17:53:23 »
The patch works beautifully!
Many thanks.

And yes, i would absolutely love a hardcore patch....afraid I'm one of those masochist types /grin
Wonder what caused it tho.

Kranmer

  • *
  • Posts: 766
    • View Profile
Re: FF7 crash - battles with Tife or Aerith
« Reply #7 on: 2010-04-19 18:50:10 »
ok here is V2
http://www.mediafire.com/?ynlnimm3lwi
it will patch both normal and hardcore this time (it will use CRC checks to detect which is which). And again if you use this please let me know how it works for you.
I am not sure what caused it, but i also wonder how it happened.

Dolraith

  • Guest
Re: FF7 crash - battles with Tife or Aerith
« Reply #8 on: 2010-04-19 19:55:15 »
First tests look very nice and work wonderfully. I'm going to do some "thorough testing" whenever i can today, but unless something very unexpected happens, it looks great.

Many thanks again.

Dolraith

  • Guest
Re: FF7 crash - battles with Tife or Aerith
« Reply #9 on: 2010-04-20 03:54:33 »
Hmm so, i've done more testing. And it's *almost* perfect.
There's no more crashes buut.... Aerith's weapons are missing :(
Well they aren't missing per se, but they ARE missing their textures. They are solid white.

APP.LOG says:
GLITCH: broken p file: vertextype == VERTEX in EARITH.W01

with the number at the very end changing from W00 to W09 or so I think.
This is a minor bug i suppose, but it'd be nice to be fixed.

Sorry for teh trouble

Kranmer

  • *
  • Posts: 766
    • View Profile
Re: FF7 crash - battles with Tife or Aerith
« Reply #10 on: 2010-04-20 10:29:26 »
ok Dolraith, the VERTEX error is caused by the some of the custom weapon models (but not all, only some, if you change the weapon to a different one you may notice the error goes away). Here is V3 of the patch, i have had to put the original weapons for Tifa and Aerith Back into the game.
So the custom weapons mod for Tifa and Aerith have been removed but i have left all the other weapons in for other characters (like cloud's swords etc). But be warned you may get more VERTEX errors later with different weapons on different characters and that isnt my fault (the white weapon is my fault but the error isnt).
http://www.mediafire.com/?y3dyoimxmuj
Let me know how you get on with this.

Dolraith

  • Guest
Re: FF7 crash - battles with Tife or Aerith
« Reply #11 on: 2010-04-20 17:36:39 »
Sweet everything works now. I know it's not your fault, was just hunting down the last bugs. Again, many thanks, and thank you for your wonderful  work!

Helmic

  • Guest
Re: FF7 crash - battles with Tife or Aerith
« Reply #12 on: 2010-04-21 04:24:37 »
Thanks again, this fixed my issue as well.  You're pretty quick with these.  :P

Kranmer

  • *
  • Posts: 766
    • View Profile
Re: FF7 crash - battles with Tife or Aerith
« Reply #13 on: 2010-04-21 09:16:02 »
@Dolraith+Helmic - im glad it fixed your problems so far, Also Helmic i noticed from your other post there are more weapons that do this, if you and everyone else who notices which weapons have problems could you please post the weapon names here and i will make another patch to fix those. Or if you want i could make a patch to replace the custom weapons with the originals if anyone requests it.