Custom graphics driver for FF7/FF8 [v0.8.1b]

  • Thread starter Thread starter Aali
  • Start date Start date
Status
Not open for further replies.
Hi!

I believe I have the source to his driver for version 0.7.5b I think. If that would help. It's written in C. He gave it to me a long time ago. Maybe someone can run with it since he's no longer around it seems. This was back in 2009.

Would that be helpful?
 
Last edited:
I am most definitely still around and I would not like to see that code being released into the wild nor do I believe there is any license or other information included in that code that would give you the right to do such a thing. The source code has not been released because of potential copyright issues that would require essential parts of the driver to be rewritten. Should I be able to resolve these issues however, the full source code would be released under a suitable open source license. If anyone is interested and feels that they would be able to contribute to the rewriting of said parts, I invite this person to contact me via PM.
 
NFITC1 and Luksy are the most interested and would be the best candidates, since they are long term and respectable members here - and can also program well in C.  I have done a lot of work fixing bugs that could also be easily incorporated into any future version, should these issues be resolved.
 
Last edited:
Hey, I'm just trying to help the community out.
I didn't know that information and I also didn't know code without a license belongs to the owner. Didn't think about it that way. For some reason I assumed it was in the public domain or something. Thanks for clarifying that.

I am quite concerned though because you stated the following:
"The source code has not been released because of potential copyright issues that would require essential parts of the driver to be rewritten."

Doesn't this imply that you also do not have the rights to distribute it either? But you go on to say "message me and I'll distribute it to you" (since there's really no other way for them to help rewrite it), even though there's copyright issues.
If it's stolen code and has copyright issues where I can't distribute it, this would seem to me that you can't give the bins or the sources away either since parts of it are also not yours. You do not have those rights just as much as me.

Am I correct in saying this? Maybe someone can clarify since I'm not a lawyer.
 
It's different if you share a program or its source code. It's similar to 3D modeling, if you have bought some textures for a model the license would forbid to share the model itself with the texture, but you can share a render of the model.
 
Interesting. The artifacts having a different license, but that makes sense. Thanks for clarifying.
 
I played a bit around with the texture dump. My focus were the light layer. So far I discovered that game makes a simple transition from pure black to the full colored texture and vice versa to animate it. In other words the game darken the texture step by step until it reaches black and removes it step by step to get the original texture back. The question is, if we can't bring it to work by default with custom textures, couldn't we mimic the effect with a script (for each scene), which tells the driver how fast and in how many steps to add/reduce the level of black to/from these textures?
 
Hey, been trying to get FF7 up and running again, but running into some problems. Got the game running now, but have massive graphical glitches everywhere, wondering if I missed something or what is happening here. Drivers are up to date, running Win 7 Home Premium 64 Bit

ff7_zps9g9s5hyp.png


APP log

# Code: [Select]
Code:
[00000000] INFO: FF7/FF8 OpenGL driver version 0.8.1b[00000000] INFO: Auto-detected version: FF7 1.02 US English[00000000] INFO: NVIDIA Corporation GeForce GTX 660 Ti/PCIe/SSE2 4.5.0 NVIDIA 376.53[00000000] INFO: OpenGL 2.0 support detected[00000000] INFO: Using PBO[00000000] INFO: Found swap_control extension[00000000] INFO: Max texture size: 16384x16384[00000000] INFO: Original resolution 1280x960, window size 1920x1080, output resolution 1920x1080, internal resolution 2560x1920[00000000] INFO: Shader limits: varying 124, vert uniform 4096, frag uniform 4096[00000000] INFO: FFMpeg movie player plugin loaded[00000000] INFO: FFMpeg version SVN-r25886, Copyright (c) 2000-2010 Fabrice Bellard, et al.[00000000] INFO: FF7Music helper plugin loaded[00000000] LOCK UNLOCK TEST [00000001] MATRIX INITIALIZE [00000001] INITIALIZE DD/D3D END [00000001] ERROR: could not open file C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\ff7input.cfg[00000001] initializing sound...[00000001] creating dsound primary buffer[00000001] reading audio file[00000001] loading static sounds[00000001] sound initialized[00000001] set music volume: 127[00000001] set music volume: 127[00000001] Entering MAIN[00000001] Exiting MAIN[00000001] START OF CREDITS!!![00000001] ERROR: couldn't open movie file: C:\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\Movieseidoslogo.avi[00000001] ERROR: couldn't open movie file: C:\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\Moviessqlogo.avi[00000002] set music volume: 127[00002544] set music volume trans: 127->0, step=60[00002609] END OF CREDITS!!![00002609] Entering MAIN[00002609] set music volume: 127[00002609] Exiting MAIN[00002609] START OF MENU SYSTEM!!![00002838] END OF MENU SYSTEM!!![00002838] Entering MAIN[00002842] Exiting MAIN[00002842] Field Start[00005754] WM_CLOSE [00005754] Field Quit[00005754] UNINITIALIZE DD END UNINITIALIZE DD
Config File

Code: [Select]
Code:
# ff7_opengl-0.8b config file## USER OPTIONS #### If you just want to play the game, these are the only options you'll want to change.# set the window size (or fullscreen resolution) of FF7# 0 means use original resolution in window mode, your current desktop resolution will be used in fullscreen mode# preserve_aspect adds black borders as needed to preserve a 4:3 aspect ratiowindow_size_x = 0window_size_y = 0preserve_aspect = nofullscreen = yes# mod directory# subdirectroy of mods/ where textures will be loaded frommod_path = none# check your Nvidia/ATI/Intel control panel settings if this option doesn't seem to workenable_vsync = yes# allow FF7 to use linear filtering for its textures# some things look slightly better with this option on, but alot of textures just lose their detail# only affects low-res textures, high-res replacements will still be filtered where appropriatelinear_filter = off# plugin used to play music, VGMstream requires a set of looping .ogg files in the music/vgmstream folder.# If no music plugin is loaded the game will play MIDI as usual but FF7Music will NOT work.music_plugin = plugins/ff7music.fgp## ENHANCEMENTS #### All the little extras that weren't part of the original game, default options include only trivial bug fixes.# make all dialog boxes transparent, same effect as the transparent dialog boxes YAMP patchtransparent_dialogs = off# include armor in magic defense calculationmdef_fix = yes# post-processing shader, used to apply fullscreen effectspost_source = shaders/bloom2.postenable_postprocessing = no## ADVANCED OPTIONS #### Don't fiddle with these unless you know what you're doing.# enable alpha blending for textures without an existing blending effectfancy_transparency = off# display frames per second counter in upper right cornershow_fps = no# display some real-time debug informationshow_stats = no# store external textures in a compressed cache for increased performance# compression is not lossless, some artifacts may appear when this option is in use# texture cache does NOT update automatically if the source image changes, however, deleting anything from the cache# will cause that file to be recreated from the sourcecompress_textures = no# max size of the texture cache to hold in RAM, in megabytes# don't set it any higher than 1GB unless you want your game to crashtexture_cache_size = 256# use pixel buffer objects to speed up texture loading# might crash horribly on ATI cards but should work for NVIDIA usersuse_pbo = no# use mipmaps (anisotropic filtering) for high-res texturesuse_mipmaps = yes# replace FF7's default framelimiter timer sourceuse_new_timer = yes# plugin used to play movies, FFMpeg is the only choice for nowmovie_plugin = plugins/ffmpeg_movies.fgp## MODDER OPTIONS #### These options are mostly useful to modders and should not be enabled during normal play.# read files directly instead of using LGP archives# for example; if FF7 is looking for aaab.rsd in char.lgp, this option will make it open direct/char/aaab.rsd first,# if this file doesn't exist it will look for the original in the LGP archivedirect_mode = off# show every failed attempt at loading a .png textureshow_missing_textures = no
 
The settings of the config doesn't match with what I can read from your config (internal res, pbo). Did you use the disc version or the converted Steam version? Either way you may want to use the Gamesconverter and let it set up the things for you.
 
You're my hero haha, I was running from the old school disc version but whatever that converter did, it's now playing perfect. Thanks a million, time to enjoy a 20 year old game now
 
Well now this is a first. I've never had a problem before with the chocobo crash before, but now the damn thing won't work. screen goes black like it's gonna load the race, the chocobo music fires up, then crash to desktop saying the app crashed. Any thoughts here?

Code: [Select]
Code:
Problem signature:  Problem Event Name: APPCRASH  Application Name: ff7.exe  Application Version: 0.0.0.0  Application Timestamp: 35feae6f  Fault Module Name: ff7.exe  Fault Module Version: 0.0.0.0  Fault Module Timestamp: 35feae6f  Exception Code: c0000005  Exception Offset: 0036ec32  OS Version: 6.1.7601.2.1.0.768.3  Locale ID: 4105  Additional Information 1: 52d1  Additional Information 2: 52d18ef64769b50b97b2eeee15476f9e  Additional Information 3: e016  Additional Information 4: e016fc082aafdf2c2c7d92ff65de73f5
APP log

Code: [Select]
Code:
Start of APP logDD MODE: W 1280 H 960 P 1280 RGB 1 BPP 8 DD MODE: W 1280 H 1024 P 1280 RGB 1 BPP 8 DD MODE: W 640 H 480 P 1280 RGB 1 BPP 16 DISPLAY MODE MATCH DD MODE: W 720 H 480 P 1440 RGB 1 BPP 16 DD MODE: W 720 H 576 P 1440 RGB 1 BPP 16 DD MODE: W 800 H 600 P 1600 RGB 1 BPP 16 DD MODE: W 1024 H 768 P 2048 RGB 1 BPP 16 DD MODE: W 1152 H 864 P 2304 RGB 1 BPP 16 DD MODE: W 1176 H 664 P 2352 RGB 1 BPP 16 DD MODE: W 1280 H 720 P 2560 RGB 1 BPP 16 DD MODE: W 1280 H 768 P 2560 RGB 1 BPP 16 DD MODE: W 1280 H 800 P 2560 RGB 1 BPP 16 DD MODE: W 1280 H 960 P 2560 RGB 1 BPP 16 DD MODE: W 1280 H 1024 P 2560 RGB 1 BPP 16 DD MODE: W 640 H 480 P 2560 RGB 1 BPP 32 DD MODE: W 720 H 480 P 2880 RGB 1 BPP 32 DD MODE: W 720 H 576 P 2880 RGB 1 BPP 32 DD MODE: W 800 H 600 P 3200 RGB 1 BPP 32 DD MODE: W 1024 H 768 P 4096 RGB 1 BPP 32 DD MODE: W 1152 H 864 P 4608 RGB 1 BPP 32 DD MODE: W 1176 H 664 P 4704 RGB 1 BPP 32 DD MODE: W 1280 H 720 P 5120 RGB 1 BPP 32 DD MODE: W 1280 H 768 P 5120 RGB 1 BPP 32 DD MODE: W 1280 H 800 P 5120 RGB 1 BPP 32 DD MODE: W 1280 H 960 P 5120 RGB 1 BPP 32 DD MODE: W 1280 H 1024 P 5120 RGB 1 BPP 32 Ramp Emulation  Microsoft Direct3D Mono(Ramp) Software EmulationRGB Emulation  Microsoft Direct3D RGB Software EmulationDirect3D HAL  Microsoft Direct3D Hardware acceleration through Direct3D HALEXCLUSIVE MODE 16-BIT Z BUFFER CREATED IN HW HAL HEL TEXTURE FORMATS:   PALETTE 0 BITS 16 RGBA 5:6:5:0   PALETTE 0 BITS 16 RGBA 5:5:5:0   PALETTE 0 BITS 16 RGBA 5:5:5:1   PALETTE 0 BITS 16 RGBA 4:4:4:4   PALETTE 0 BITS 32 RGBA 8:8:8:0   PALETTE 0 BITS 32 RGBA 8:8:8:8 INITIALIZE D3D 2 VIEWPORT INITIALIZE VIEWPORT 2 INITIALIZE LOCK UNLOCK TEST MATRIX INITIALIZE INITIALIZE DD/D3D END initializing sound...creating dsound primary bufferreading audio fileloading static soundssound initializedINITIALIZING MIDI...selecting device 0:Microsoft GS Wavetable Synth, mid=1, pid=27,midi data type: GENERAL MIDIusing midi data file: C:\Games\FF7\data\midi\midi.lgpmidiOutGetVolume returned: 58b058b0MIDI INITIALIZEDTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYset music volume: 127MIDI set volume: 12710036743060f 127 = 127set music volume: 127MIDI set master volume: 35MIDI set volume: 1273536743060f 127 = 44Entering MAINExiting MAINSTART OF CREDITS!!!End of logMIDI stop - OKset music volume: 127MIDI set volume: 1273536743060f 127 = 44Field QuitEntering MAINExiting MAINSET VOLUME 1: 127SET VOLUME 2: 127SET VOLUME 3: 127SET VOLUME 4: 127SET VOLUME 5: 127TEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYTEXTURE LOADED INTO VIDEO MEMORYMIDI play: 8reading midi file: FIDDLE.midcurrent volume: 127MIDI is playing SUCCESSFULLY!!!
 
Last edited:
That log is full of Direct3D messages, and there's nothing from the custom driver. It stands to reason the custom driver isn't being loaded; try running the ff7_opengl.reg again and see if that doesn't change.
 
That did it. For whatever reason it changed back to Direct3D, so put it back to custom driver and then it worked perfect. Thanks
 
If anyone wants to disable error messages, this should do it

file: ff7_opengl.fgd (0.8.1b only).

Patch: HERE

Password is "error".  This is to avoid false positives by Google (the last time I uploaded a small patch file, they sealed my account off until I removed the file and proved who I was.  Which is pathetic.)

You may also find your antivirus deleting the file for the same reason.  There is no virus.
Does anyone have a working link to this?
 
Hi guys, I last played this a fair few years back on win7, I still have the game files in place on my hdd with all my customisation's, but the game wont launch.

The opengl registry file is applied.

I get this showing in ff7music, suggesting its not trying to use the driver.

Code: [Select]
Code:
Ramp Emulation  Microsoft Direct3D Mono(Ramp) Software EmulationRGB Emulation  Microsoft Direct3D RGB Software EmulationDirect3D HAL  Microsoft Direct3D Hardware acceleration through Direct3D HALNO REQUESTED DISPLAY MODES SUPPORTED
I only have 0.79 version of the driver, 0.81 link in the first post is dead so needs a mirror, thanks.

--edit--

Things are sort of working now, but I would still like a download link to the latest version thanks.
 
Last edited:
Status
Not open for further replies.
Back
Top