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.
do you have the lastest video drivers for the laptop? that intel chipset is a pain.
 
Hey peeps Thanks For Your Reply

I have all the latest intel drivers, and like you said the chipset is a pain in the behinde. ive been up all night trying to crack this but just no joy wat so ever. from wat i can make out it keeps dropping my opengl, 3d render back to software. im running out of idears not sure wat else to try. it stands as a fresh install. patch 1.02, aalis masterpeice, and the npc patch, ress 1280x800. I have also had a play with all the intel graphic settings and dosent seem to make any differnce atall. app.log as follows.

If you could have a go at working your magic on this peeps i will be most gratefull. :) ^^

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: Intel Intel 945GM 1.4.0 - Build 7.14.10.4926
INFO: No OpenGL 2.0 support detected, shaders won't be available
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1280x800, output resolution 1280x800, internal resolution 1280x480
INFO: No NPOT texture support
ERROR: init_indirect failed, scaling and postprocessing will be disabled
INFO: internal resolution clamped to 1280x800
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END

Many thanks Mindrip xD
 
Both the graphics drivers for FF7 and FF8
cause it to run at such a low rate.. like the opening movie that usually takes like a minute.. takes 20 and its still going.
O.O

the thing is...
this doesn't occur when i use Saint's Hi-Res patch
or the FF8 Launcher.. that lets you set the resolution..
so i am assuming it has something to do with your drivers Aali.
Do you have any idea what is causing this.
Because, I would love to play, and mod my FF7 and FF8 games, at the computer i work at during the day.
(no not WORK.. work.. just, where i spend most of my day..XD)

Any suggestions?
It sounds like you don't have proper OpenGL drivers installed and Windows is using software rendering instead. Because DirectX is there, TheSaint's patch and standard FF8 will work normally.
What graphics card do you have, and have you tried installing the latest drivers?
 
Hrm, I got ff7 installed and running in wine with the ff7_opengl-0.7b driver, but when I start it, all I see is a blank screen.  Hitting a few buttons brings up the [NEW GAME] [CONTINUE] menu with the sword in the background, but selecting [NEW GAME] just displays a black screen.  APP.LOG is created, but is 0 length.  Also, I notice that the game runs at 640x480, even though I set it to 1920x1200 in the ff7_opengl.cfg file.  Am I doing something wrong?
 
Yeah, that doesn't sound right  :roll:

Did you open up FF7 config after you configured the open gl? Because that will reset everything. Unfortunately I can't give any WINE specific help, since I play the game on Windows...
 
The registry looks ok.  It's easy to verify, since if I use one of FF7's default renderers, the game crashes immediately.
 
It works for me in Wine...
Did you use the regedit command to bring up the Wine registry editor and import the reg file? Check the movie path while you're in there.
There's just a blank screen when you make a new game? It doesn't make sounds like it went to the opening scene?
 
Yeah, I imported the ff7_opengl.reg in regedit.  The movies dir is correctly set to d:\ff7\movies (where I have the CD copied). Also, I'm not sure if this is abnormal or not, but after running the game, there are a lot of *.P files in my game directory.
 
I should also mention that I don't get any music.  I get sounds and midi fuzz when I test sounds and music in ff7config, but nothing when I run ff7.
 
The P files are normal.
The APP.LOG length thing bothers me... Are your permissions all good? What version of Wine do you have?
This is random, but did you get MIDI configured?
Can you successfully run glxgears?
Does Wine give you any obvious errors if you run ff7.exe from a console?
 
permissions are good -- everything is owned by me and is writable.  Wine is version 1.1.26.  MIDI is configured with Timidity under ALSA.  glxgears runs successfully (at a healthy 19096.777 FPS)

ff7_opengl.cfg is default except for:
window_size_x = 1920
window_size_y = 1200

output from wine:
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:win:EnumDisplayDevicesW ((null),0,0x324064,0x00000000), stub!
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(640,480)
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream (0x2321388/0x2321388)->(0x12bd08,{a35ff56a-9fda-11d0-8fdf-00c04fd9189d},0,0x9924cc) partial stub!
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream (0x2321388/0x2321388)->((nil),{a35ff56b-9fda-11d0-8fdf-00c04fd9189d},1,(nil)) partial stub!
err:amstream:IAMMultiMediaStreamImpl_QueryInterface (0x2321388)->({b502d1bc-9a57-11d0-8fde-00c04fd9189d},0x324cb0),not found
fixme:amstream:IDirectDrawMediaStreamImpl_GetFormat (0x21effe0)->(0x9924d8,(nil),(nil),(nil)) stub!
 
Well, I can't think of anything else to check right now. I have Wine 1.1.27, but I doubt that will really make a difference. Hopefully Aali can think of something.
The driver is being loaded, but it's not successfully parsing it's own configuration file... are you sure you unpacked it in the right place? It should be in the same folder as ff7.exe. Did you use the right reg file and not the Vista64 one?
Sorry if these seem obvious, but they're worth checking.

Heh, my glxgears runs at 150FPS. Crappy ATI integrated graphics + unfinished open source driver = failure. Hopefully the driver will get a bit better pretty soon.

Oh, have you tried running the game at a lower resolution in a window instead of fullscreen? That could give a clue as to what's going on. It would at least show whether the driver is parsing the config.

Have you tried putting the default config back in place? I'm not sure what the driver does if there's a syntax error.
 
Last edited:
Make sure InstallPath (in the FF7 reg key) is correct, the driver reads this separately to determine where its files are.
 
Here's a listing of what's in HKLM/Software/Square Soft, Inc./Final Fantasy VII:
AppPath    c:\ff7\
DataDrive  d:\
DataPath    c:\ff7\data\
DiskNo       0
FullInstall     0
MoviePath  d:\ff7\movies\

All paths are correct as far as I can tell.  The game is installed in c:\ff7, where I decompressed the driver, and disc 1 is at d:\
 
Last edited:
Ah yes, it's AppPath, of course.

But it doesn't matter because the driver isn't loading at all, that WINE output clearly indicates that it's trying to use DirectShow.
 
Hrm.. to confirm, here's a listing of what's in HKLM/Software/Square Soft, Inc./Final Fantasy VII/1.00/Graphics:

DD_GUID  (all 0's)
Driver        3
DriverPath   ff7_opengl.fgd
Mode        2
Options       0

Does this look right?  I can tell that /something/ is happening with the driver, as the APP.LOG file is being created (albeit with 0 length), and ff7 runs without crashing.
 
Last edited:
If the driver really created that app.log it would be in lowercase. FF7 normally creates that file as APP.LOG before the driver is loaded so that doesn't really tell us anything.

The only reason it crashes without the driver is that it can't write out those temporary .p files properly, so if it somehow gets past that section, everything would be fine regardless of which graphics driver it's using.

If you have FF7Music run that once *or* manually add the following binary value to the reg key; SSI_DEBUG="SHOWMETHEAPPLOG\0"
This will tell us what's going on.
 
Curlyoxide: It certainly does sound like the problem, but I do have the vc 2008 runtime SP1 installed, and I have the 1.2 patch.  Moreover, I get the same behavior when I revert to ff7_opengl-0.6.10b

Aali:  under which key do I add the value?
 
Status
Not open for further replies.
Back
Top