A
Alhexx
Guest
I'm currently trying to kill a bug in the FF7 engine which causes the game to crash when entering a battle after ALT-TABing to windows.
I would like to know if there are other people who have this problem.
I'm running FF7 v1.02 on WinXP Pro SP2 with only the Chocobo Patch applied.
It would be nice if someone of you could make a test with your game.
My explanation:
The "swirl" effect, that appears just before the battle causes the crash.
FF7 seems to create a screenshot, saves this screenshot and then, swirles that screenshot. Either the buffer allocation for the screenshot fails or it simply stores an illegal pointer.
If you NOP out the command that tries to read that buffer, the swirl effect succeeds, however, of course it does not swirl the screenshot
It's quite late now, and I wanna go to bed, so I don't have the time to analyze the calls before that crash command right now...
- Alhexx
I would like to know if there are other people who have this problem.
I'm running FF7 v1.02 on WinXP Pro SP2 with only the Chocobo Patch applied.
It would be nice if someone of you could make a test with your game.
- So, start the game, load a save and run around on the world map.
- Then hit ALT-TAB to switch back to windows.
- Return back to the game and run around on the map until you get into a battle
- If the game didn't crash, run around on the map for let's say 3 more battles. (without switching back to windows)
- Tell me if the game crashed or not
I need to know if I'm the only one with this problem or not...
Thanx
The rest of this post is more technical, so if you're not interested in that, you can skip the rest.
The reason FF7 crashes is because it tries to read from an illegal memory address. I tried to NOP out that command - it fixes the bug, however, it has
My explanation:
The "swirl" effect, that appears just before the battle causes the crash.
FF7 seems to create a screenshot, saves this screenshot and then, swirles that screenshot. Either the buffer allocation for the screenshot fails or it simply stores an illegal pointer.
If you NOP out the command that tries to read that buffer, the swirl effect succeeds, however, of course it does not swirl the screenshot
It's quite late now, and I wanna go to bed, so I don't have the time to analyze the calls before that crash command right now...
- Alhexx