Custom graphics driver for FF7/FF8 [v.1-.7.6]

  • Thread starter Thread starter halkun
  • Start date Start date
Status
Not open for further replies.
I have a pretty good idea of whats going on there, but I can't figure out why it's happening if I can't reproduce it. Please provide a savegame.

Oh and you should always provide a copy of APP.LOG when something bad happens, even though I didn't need it this time.
 
Hi, I am getting a weird crash on the newer driver that didnt happen on the older ones with the opening movie.
here is my APP.LOG for the old driver while it was working and then the new APP.LOG with it not working (crash dump also included)
http://www.mediafire.com/?jytynqzygzq
The video plays fine on 0.5 but on 0.6+ it seems to be having problems (this doesnt appear to be the same error as before when i was trying to get aac working since it does work on the older version)
 
Chrysalis: Still could not reproduce it, savegame looks ok, are you using any mods?

kranmer: It's the alignment problem in FFMpeg, won't be fixed anytime soon
 
Aali, I've been watching this on and off for a while now. It seems that your driver has advanced to the point where a sticky FAQ may be needed. (Mostly because I'm not sure what it does anymore :P)

What does the new  driver do in terms of OS compatibility?
1) Does it now run "clean" under XP without the chocobo patch?
2) How about Vista?
3) How about Wine?

What new functions are supported?
1) Stability fixes
2) Engine enhancements

Do you have access to the wiki? I would like to see this a little better documented. (Just cause I'm a mod, don't take it as an order or anything, I'm just speaking out in the name of wishful thinking).

Also, as an amusing sideline, has there been any true WTF moments with the original driver that you fixed where you were wondering what the original developers were smoking? The PSX <-> PC port has always been of great interest for me. (I guess that goes without saying, huh)
 
Aali, I've been watching this on and off for a while now. It seems that your driver has advanced to the point where a sticky FAQ may be needed. (Mostly because I'm not sure what it does anymore :P)

What does the new  driver do in terms of OS compatibility?
1) Does it now run "clean" under XP without the chocobo patch?
2) How about Vista?
3) How about Wine?

What new functions are supported?
1) Stability fixes
2) Engine enhancements

Do you have access to the wiki? I would like to see this a little better documented. (Just cause I'm a mod, don't take it as an order or anything, I'm just speaking out in the name of wishful thinking).

Also, as an amusing sideline, has there been any true WTF moments with the original driver that you fixed where you were wondering what the original developers were smoking? The PSX <-> PC port has always been of great interest for me. (I guess that goes without saying, huh)
It runs clean under XP, it runs clean under Vista and it runs clean under WINE, no additional patching needed, it fixes all known crash issues.

It supports any resolution, fullscreen or window mode, and it makes things run a lot smoother in the process.

I do not have access to the wiki, I PM'd Qhimm about it some time ago, he didn't get back to me.

I haven't really had any WTF moments that could not be explained by the usual time crunch in any (commercial) software development.
Some things are a bit odd, like, you can't turn off texture/vertex color modulation in the D3D driver because both the on/off routines just turn it on, but in the end it's arguably the right thing to do since it should never be turned off anyway.
Oh and subtractive blending is completely and utterly broken, probably because D3D didn't support real subtractive blending at the time. But this is also quite irrelevant since subtractive blending is never used in the game.
 
Chrysalis: Still could not reproduce it, savegame looks ok, are you using any mods?
mods installed.

custom graphics driver, when it was crashing was version 0.6.8, since using 0.6.10 has not crashed.
old chocobo fix.
old frame rate limiter fix.
(both by yamp I think) these were already in place before I discovered the driver and doesnt seem to be conflict issues.
magic defense fix via yamp
9999 limit breaker via yamp, set to 30000 limit.
replaced avatars
modded various enemy stats but not changed formations and actual enemies
modded some starting stats of cloud and a few spells.

the 2nd time it crashed I was running around in the area for 40 mins or so fighting random battles etc. before it happened, so it wasnt crashing easily.

oh am also using ff7music which itself crashes every so often but has never actually affected ff7 itself maybe until now?
 
Last edited:
None of those mods seem relevant. FF7Music should not be able to crash FF7 under any circumstances and I can't imagine it causing this.

Barret's slash-all animation looks funky though, it's possible, although very unlikely that could have something to do with it.
Let me know if the problem persists in this version.
 
Great work! I've been playing around with porting a few shaders from pete's psx plugin, and here's a few things I've noticed:

enable_postprocessing seems to disable AA. I have 16x AA forced on in the nvidia control panel.
We can load custom fragment shaders using a .post file but there's no way to load custom vertex shaders, correct?
The .post file can only contain glsl, not asm, correct?

The good psx shaders I've found are distributed in asm and use vertex + fragment shading, so this has blocked me.
 
Last edited:
AA is disabled while rendering to a texture by your driver, this makes sense in some situations and there's no way to control this through the OpenGL API.

The postprocessing stage does not use a vertex shader (I don't see why you'd need this though, it just draws a fullscreen quad)
There's nothing to stop you from modifying the shaders used in the render stage though.

Only GLSL shaders are supported.
 
I do not have access to the wiki, I PM'd Qhimm about it some time ago, he didn't get back to me.
PM me an email address, username and password. I'll add you
 
i have a bug  when i play i got some graphic problem lime most texture like the ladder in game and many other thing go white and its flashing but only when i active

# display some real-time debug information
show_stats = true

with that the debug-info are appearing but the texture bug does not appear
someone can help me

note: i am using a dell 1.6ghz with 512 ram and a ATI Radeon 9200 as my video card
 
Are you saying that when you activate the debug info, the problem goes away? Or is it the other way around?

In either case, please provide a copy of APP.LOG
 
Aali bad news :(

another crash this time when I am doing the special battle arena battles.  The screen was just bringing up that sea serpent type creature which I think you normally fight on the crashed plane in cargo room.

This crash2.rar also includes app.log and emergency save.  (found where it writes app.log now).

http://www.chrysalisnet.org/crash2.rar
 
I am beggining to wonder if this is a hardware issue, I played through the same point fine this time, easy to retest since the special battle arena always repeats same enemies.

got to 93 hours playing time no crash then this it does seem wrong to think it could be software related.
 
yes it is  its weird, oh and it does the same with the show fps


there is the app.log, (i did not have the error message for this one  but i got this log from the previous problem i had with resolution)

INITIALIZE DD/D3D START
INFO: Auto-detected version: 1.02 US English
INFO: No OpenGL 2.0 support detected, shaders won't be available
INFO: Found swap_control extension
INFO: Original resolution 1280x960, window size 1280x960, output resolution 1280x960, internal resolution 1280x960
INFO: No NPOT texture support
ERROR: init_indirect failed, scaling and postprocessing will be disabled
INFO: internal resolution clamped to 1280x960
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:Synthé. SW table de sons GS Mic, mid=1, pid=102,
midi data type: GENERAL MIDI
using midi data file: E:\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
10036743060f 127 = 127
set music volume: 127
MIDI set master volume: 100
MIDI set volume: 127
10036743060f 127 = 127
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
INFO: E:\Program Files\Square Soft, Inc\Final Fantasy VII\Movies\eidoslogo.avi; rawvideo/null 364x353, 15.000000 FPS, duration: 0.066667, frames: 1
INFO: E:\Program Files\Square Soft, Inc\Final Fantasy VII\Movies\sqlogo.avi; truemotion2/pcm_u8 320x224, 15.000000 FPS, duration: 14.533333, frames: 218
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
10036743060f 127 = 127
Exiting MAIN
START OF MENU SYSTEM!!!
SET VOLUME 5: 127
ERROR: COULD NOT OPEN FILE E:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save02.ff7
ERROR: COULD NOT OPEN FILE E:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save03.ff7
ERROR: COULD NOT OPEN FILE E:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save04.ff7
ERROR: COULD NOT OPEN FILE E:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save05.ff7
ERROR: COULD NOT OPEN FILE E:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save06.ff7
ERROR: COULD NOT OPEN FILE E:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save07.ff7
ERROR: COULD NOT OPEN FILE E:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save08.ff7
ERROR: COULD NOT OPEN FILE E:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save09.ff7
GLITCH: QPC is unstable
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
MIDI play: 6
reading midi file: MAKORO.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# 358
[BATTLE] Exitting FRAME_INITIALIZE
[BATTLE] Begin main battle loop
[BATTLE] End of current battle
[BATTLE] Begin end battle stuff
MIDI play: 46
reading midi file: FAN2.mid
current volume: 127
MIDI is playing SUCCESSFULLY!!!
WM_CLOSE
[BATTLE] Entering FRAME_QUIT
[BATTLE] endof battle.
[BATTLE] Exitting FRAME_QUIT
Field Quit
MIDI stop - OK
resetting MIDI driver volume - OK
UNINITIALIZE DD
END UNINITIALIZE DD
 
Hey Aali i think i figured out the random FPS problem with the game running at 28FPS.

if it only happened on Windows 7, there is a bug in it at the moment where you can only get up to 59hz, thus screwing with the frame limiter. Just a theory though, Unless you figured the real issue out. Just trying to help :-D
 
I am beggining to wonder if this is a hardware issue, I played through the same point fine this time, easy to retest since the special battle arena always repeats same enemies.

got to 93 hours playing time no crash then this it does seem wrong to think it could be software related.
A hardware issue would manifest itself randomly, this is (almost) the exact same crash.. It's odd that you're the only one who gets it though.
I've noticed that the driver gets relocated in memory because of something called prio.dll, and while a simple relocation should normally not cause any issues, it may be worth looking into.

Great Sephiroth: Do you have postprocessing turned on? It's not working anyway (your driver does not have the necessary support for it) so you might aswell turn it off. It shouldn't cause any issues, but if this fixes the problem, I'll know where to start.
 
I just registred to this site I been looking all over the forums for a solution for this except a reinstall of my ff7.
I have the original ff7 not ultima edition, I have latest patch installed. Mods: PRP, yamp with 9999 LB and TransparentDialogBoxes. Before I used Saints high resolution mod. But I still got random crashes in battle. Now I use your custom graphics program the newest but it still dont fix the problem.
Oh and I dont use the orignal ff7 music i Use FF7music program with the remastered original songs I have run the game without it. And it still crashes randomly when entering battle.
i have edited char, battle, scene, kernel, kernel2. But I dont think I have made any mistakes to make the game crash. I merged all those mods with gjoerulv's "Hardcore" mod. BETA. Then edited his mod to my own liking.
I took all mods offline and started just with ff7 v1.02 patch. But the crash still come from time to time when entering battle. Certain areas sometimes in world map sometimes in the field. its unpredictable.
I have tried using Battleswirl fix and HighwayAndSnowboardMinigamesFix with yamp. Still it crashes unpredictable I can play from 1 min to 15 min max.
Sometimes after I been playing for like 30 min without a crash there comes a graphic glitch the window turns part yellow the textures first then after awhile whole screen and game gets incredible laggy and unplayable.
my specs are AMD ATHLON X2 64 6000+ 3,2GHz Windows XP Sp1. Geforce 8800 GTX 768mb 2GB ram.

I dont know how to put my app.log here but here is what it says


INFO: Auto-detected version: 1.02 US English
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1680x1050, output resolution 1680x1050, internal resolution 1920x1440
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: H:\FF7\Movies\eidoslogo.avi; truemotion2/pcm_u8 320x240, 15.000000 FPS, duration: 10.133333, frames: 152
set music volume trans: 127->0, step=60
END OF CREDITS!!!
Entering MAIN
set music volume: 127
Exiting MAIN
START OF MENU SYSTEM!!!
SET VOLUME 5: 127
ERROR: COULD NOT OPEN FILE D:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save02.ff7
ERROR: COULD NOT OPEN FILE D:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save03.ff7
ERROR: COULD NOT OPEN FILE D:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save04.ff7
ERROR: COULD NOT OPEN FILE D:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save05.ff7
ERROR: COULD NOT OPEN FILE D:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save06.ff7
ERROR: COULD NOT OPEN FILE D:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save07.ff7
ERROR: COULD NOT OPEN FILE D:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save08.ff7
ERROR: COULD NOT OPEN FILE D:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save09.ff7

FF7Music log has this error I dont know what it means.

OFFSET ERROR: TIFA.T08 RUAK
ERROR: COULD NOT OPEN FILE TIFA.T08
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T08
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T08
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: 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
OFFSET ERROR: TIFA.T03 RUAF
ERROR: COULD NOT OPEN FILE TIFA.T03
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T03
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T03
OFFSET ERROR: TIFA.T04 RUAG
ERROR: COULD NOT OPEN FILE TIFA.T04
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T04
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T04
OFFSET ERROR: TIFA.T05 RUAH
ERROR: COULD NOT OPEN FILE TIFA.T05
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T05
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T05
OFFSET ERROR: TIFA.T06 RUAI
ERROR: COULD NOT OPEN FILE TIFA.T06
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T06
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T06
OFFSET ERROR: TIFA.T07 RUAJ
ERROR: COULD NOT OPEN FILE TIFA.T07
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T07
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T07
OFFSET ERROR: TIFA.T08 RUAK
ERROR: COULD NOT OPEN FILE TIFA.T08
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T08
ERROR: COULD NOT LOAD TEXTURE DATA FILE TIFA.T08
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
ERROR: unhandled exception


It loaded the game I am at Base Of Gaea's Cliff.My party Cloud, Tifa, Vincent. I go up there just after I get into cave when I walk some there and get into battle just when its about to come up it crashes.
Different places in the game same thing. Other places it doesnt crash.
Aali Isnt there a way to fix this problem without clean install?
 
Last edited:
Status
Not open for further replies.
Back
Top