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

  • Thread starter Thread starter Aali
  • Start date Start date
Status
Not open for further replies.
My setup is Steam version converted with FFVII game converter and of coruse your newest custom driver. I just ran the game to test it out, so I can't tell too much about the pattern.  Sound buffer error seems to show up after and/or during FMV's (Cloud looking at Mako Reactor, intro etc.) but audio seems to work alright. Also, UNEXPECTED: zero count error makes the game stutter for a second when it appears, and it also does so during FMV's, for example when Cloud looks at the Mako Reactor at the beginning or during the game intro (but it's probably irrelevant since you and DLPB already explained what's going on with this error)
 
Is it possible to add a fake fullscreen mode? In window mode the vsync works perfectly with my nvidia card. I find a program which removes the borders of the window.
http://forums.steampowered.com/forums/showthread.php?t=2675769
It is also possible to remove the black border at the bottom with it by using a higher Y-resolution as the monitor has.
tr7c.jpg


It would help to destretch the the game when playing with 'preserve_aspect = no', BUT every menu has to be rescaled and must move up or it will be chopped.
However it seems necessary to not use the native resolution of the monitor or the tearing appears again.

Any idea why I'm getting errors like:
"UNEXPECTED: zero count" and "ERROR: couldn't lock sound buffer"
The game seems to work okay, but those errors are worrying, what do they mean?
If you use my models then it's my fault. For example I have used for Barrett parts which have an uv map, but I killed and disabled the texture and painted simply the faces. The problem seems to be that the game is still searching for a texture, but it simply finds no destination. On field it is mostly harmless, but on battle it can have a bad effect to the model. I have learned from my mistakes and clean a model part with p-creator before I recolor it in kimera. Anyway it has no bad side effects at the moment.


But I got a problem when using Knigths of the round:
Code: [Select]
Code:
deffered draw queue overflow
The summon is a bit glitched after this.
 
Last edited:
Well, I'm not sure what is happening anymore, in addition to my previous problem with sound buffer error I mentioned earlier, the game plays bombing mission .ogg during first boss fight, no idea if those are related:0
 
Bombing mission is supposed to play during first boss fight.  It always has, even on PSX.
 
Is it possible to add a fake fullscreen mode? In window mode the vsync works perfectly with my nvidia card. I find a program which removes the borders of the window.
http://forums.steampowered.com/forums/showthread.php?t=2675769
With OpenGL there isn't really such a thing as a fake fullscreen mode or even a real fullscreen mode for that matter, your only option is a borderless window. If you leave window_size_x/y at 0 it won't touch your display settings at all, there's no reason why vsync would work in window mode and not in this configuration.

But I got a problem when using Knigths of the round:
Code: [Select]
Code:
deffered draw queue overflow
The summon is a bit glitched after this.
Known problem and already fixed.
 
Bombing mission is supposed to play during first boss fight.  It always has, even on PSX.
Well, way to make an idiot out of myself >_>
I was sure that this is the first time when boss theme kicks in, but it looks like my memory has failed me.

Aali, I don't want to bother you, but do you have any idea why I'm getting those sound buffer errors?
 
I don't have anything yet, could you post your ff7_opengl.cfg file, an app.log where this happens and a dxdiag?
 
The sound buffer error has been discussed on this forum before (can't find the old topic right now but i know it exists). At the time the conclusion was that the 2012 FFVII video's used a video format and container which wasn't fully compatible with Aali's driver and that caused the error,  if you convert the video into a different format the errors do go away, i believe there was even a FFMPEG script posted on the forum somewhere which converted the video's for you to remove the problem. I will try to locate the original thread if i can and edit this post if i find it.

EDIT1- Found 1 of the threads where it was discussed
https://www.ff7catalog.com/posts/178601/
 
Last edited:
Yeah, this is it! Big thanks to you and the rest for helping me out, I already solved this problem thanks to the hints in the topic you posted.
 
My main problems when trying the new driver were the games resolution and that it wasn't saving settings in bootloader anymore, and the game was asking for me to insert a disk so it wasn't recognizing the mounted drive. I rolled back to the last version and everything returned back to normal. I originally just pasted the files into my current game folder and ran the registry changes. Would this work better when added to a fresh installation after a bootleg conversion of the 2012 re-release?
 
Copy/pasted from the Reunion thread.  I've tried to solve it, myself, but only accomplished frustration.  I just made sure I had the 0.7.11b driver installed (I haven't installed the new one, since there still seem to be issues with it), and even tried converting the movie files with ffmpeg.  No luck.  Here is my original message:

This may not have anything to do with this, but it's driving me crazy.  Just trying to start the game, during the opening video, the sound gets choppy while it's still showing the stars.  Then, for the rest of the video, the sound lags WAY behind the video.

I did a complete uninstall (including registry keys), and redownloaded from Steam.  I used the game converter, installed Reunion, and installed FF7Music.  That's it.  Other than that opening video, everything else is working fine.

My previous version also included mods from Bootleg.  In that version, the opening video was fine (even after installing Reunion), but the Buster Sword was plain white in battle (missing texture?), so I did the fresh install, without Bootleg.

I actually installed less, this time, so, I don't understand the problem.  The main difference is, I installed FF7Music separately, since I wasn't going to use any other Bootleg mods.

Are there any options in ff7_opengl.cfg that could cause this?  I edited that manually, this time, since I don't have the BootLoader.
 
I guess you should use the new driver, because the Reunion has some addings for it.
Also FF7 Music isn't needed with it anymore.
For those, like me, who are trying to use the native Ogg-support of this new driver:
Delete the '#' before 'music_plugin = plugins/vgmstream_music.fgp' and create a folder called music in your Final Fantasy main folder. In it make another one with the name 'vgmstream' and in this folder you must place your Oggs. The file names must be identical to the rereleases.

Finally the downpath of the game is lossless and the game runs even better. Great job. :-D
For the Videos:
https://www.ff7catalog.com/threads/9645/
(From this cool guy with the skirt  :wink:)
 
Also FF7 Music isn't needed with it anymore.
DLPB mentioned that, but does it allow the remastered soundtrack?

Edit: And, will the retranslated FMVs be using these, or will I have to choose one or the other?

Sorry, getting off topic, I know.
 
Last edited:
The files from the remastered soundtrack will need renamed to match, but yes. It should support ANY oggs.
 
Ok.  I reinstalled the game for the 11 billionth time, used the game converter, installed the 0.8b driver, and did nothing else.  The problem still exists.  What's really confusing is, this didn't happen when I just had Bootleg installed...

Oh, and Kaldarasha: The HQ FMVs look good, and I plan to use them, but I doubt that would solve this problem...Do you disagree?

More info:  I constantly see a "couldn't lock sound buffer" error at the main menu.  Also, after installing 0.8b, FF7Config no longer works.  When I try to select "custom driver" in the graphics tab, I get "Failed to load driver - The specified procedure could not be found".
 
Last edited:
I guess you should use the new driver, because the Reunion has some addings for it.
Also FF7 Music isn't needed with it anymore.
For the Videos:
https://www.ff7catalog.com/threads/9645/
(From this cool guy with the skirt  :wink:)
lol I actually had to open the link to realize you meant me.

@Kalkano: I think your video problem is related to using the original 2012 videos, I think I read somewhere you hadn't downloaded any of the others. On their own it seems the 2012's may have a different codec, so they may not play properly in the original/converted game. Converting and reformating the videos is iffy. My pack with the 2012's uses the correct codec so they'll play fine with a converted game. Mine wont be retranslated though, so you'll need to add them when DLPB finishes them.

The errors you're getting during gameplay may actually be harmless. If you don't disable popups it'll display every single one. Realistically as long as the game doesn't crash you wont need it. Otherwise your problem are the models after running the reunion over a bootleg install? I'd run bootleg with whatever options you'd like and add the other models later. I think the reunion models are predominately Kaldarashas so just get them from his thread and add them separately. 

I think my biggest issue was maybe bootloader and the ff7_opengl.cfg weren't configured correctly, so changes I made in bootloader weren't being saved. I forgot to backup the files (oops) so I couldn't compare them last time. I'm going to try a fresh install for the reunion later and try tinkering with this. I think if I match the settings in the ff7_opengl.cfg it'll work. I'm confused about ff7music, it's not needed, but is unless I want to rename the audio files? If it still works I'll just stick with that.
 
Last edited:
You can;t disable them anymore.  Aali has removed the ability to hide error messages.
 
Oh, well that would explain why so many are having that issue. I like the feature since it can help with debugging new mods, but I consider it more of an addon feature than a necessity, I think actually playing the game with popups would be too distracting. Why was it removed? I'll probably wait until disabling popups has been added again.
 
From Aali's pov it is very helpful in finding errors with driver and also fixing errors with a mod.  From my pov, an option is definitely needed since play thoroughs would be a nightmare having to cope with every benign pop up.
 
With OpenGL there isn't really such a thing as a fake fullscreen mode or even a real fullscreen mode for that matter, your only option is a borderless window. If you leave window_size_x/y at 0 it won't touch your display settings at all, there's no reason why vsync would work in window mode and not in this configuration.
It makes a bit more sense to me now.
Short description of my system: I have an i7 based laptop with a Nvidia 630M. The i7 has an integrated GPU which normally is used for desktop or multimedia applications. For games nvidia use some wrapper.dll's to disables the Intel GPU and enables the nvidia GPU.

Anyway, for some reasons when a borderless window resolution scale is exactly as my native resolution (1600 x 900) VSync doesn't work. But is the resolution scale only a bit different (1600 x 901) everything works fine.  I have checked if not accidental my intern GPU, where I know that it don't have problems with VSync, is used to render the game, but it really use the 630M. As said before I have this issue in any other OpenGL application, so Nvidia has a problem with it. But I doubt they will fix it by themselves.

It would be nice if you could implement a 'change y-scale of the borderless window +1'. Maybe it would work, maybe I'm totally wrong with it.
I still could use the program, which is totally fine for me.
 
Status
Not open for further replies.
Back
Top