Qhimm.com Forums

Final Fantasy Forums => Troubleshooting => Topic started by: halkun on 2009-03-24 05:57:43

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-03-24 05:57:43
can you list the external functions in the DLL and what the formats are?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-24 07:13:59
That would be a *huge* list, but yes, I could compile everything I know right now into a C header file or some other suitable format if you want

There are still a lot of unknowns, I have names for half of the functions and there are only a few I truly understand what they do

In total, there's 60 functions, 40-50 or so that are actually different and not just stubs/duplicates in the other drivers

One thing that has me completely stumped is how the heap data structure used in FF7 works, apparently it's used to store the polygons/3d objects you have to draw and the graphics driver has to parse that
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-24 12:39:43
Here's a little teaser; APP.LOG after a run with my dummy driver that does nothing but print the name of the function called:

Code: [Select]
INITIALIZE DD/D3D START
LOCK UNLOCK TEST
dll_gfx: lock
dll_gfx: init
dll_gfx: setviewport
dll_gfx: setbg
dll_gfx: clear_all
dll_gfx: flip
dll_gfx: clear_all
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: setmatrix
dll_gfx: setmatrix
dll_gfx: setmatrix
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:SB X-Fi Synth B [D000], mid=1, pid=102,
midi data type: GENERAL MIDI
using midi data file: C:\Games\Final Fantasy VII\Data\midi\midi.lgp
MULTIMEDIA ERROR: At least one parameter is invalid. in FILE C:\lib\src\sound\midi1.cpp LINE 356
midiOutGetVolume returned: ffffffff
Volume control unsupported
MIDI INITIALIZED
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
set music volume: 127
set music volume: 127
MIDI set master volume: 100
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: load_texture
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: blendmode
dll_gfx: setmatrix
dll_gfx: blendmode
dll_gfx: setbg
dll_gfx: clear

After that it crashes because I haven't filled in the rest of the call table :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: koral on 2009-03-24 21:58:49
Wow, this is something I had never noticed before!
The FF7 PC model data files were almost identical to the PSX version, so they must have emulated some of the PSX's rendering requirements directly within the drivers.
Which is why it seems so strange (and confusing)

I am definitly interested
:-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-03-24 23:59:37
When FF7 was ported to the PC, Sony didn't allow the PC guys to use Psy-Q (The PSX development libs), so a psudo-Psy-Q emulation layer was created. There was a also a slight format shift to something a little more PC-centric, but the data pools were all designed with Psy-Q in mind. This meant that a call to "load_texture" would default to the loading of a TIM in the PSX version, but a TEX in the PC version. The accessors, (Looking up LBA addresses in the PSX version, and uncompressing the LZS,  verses the PC methods of opening an LGP and loading the data) are different, but the data pools that were the end result were the same functionally.. TIM files are optimized for the strange multi-depth surface of PSX vram, while TEX files are more sane palletted formats for PC video memory. In the end when the FF7 kernel makes the call, something is loaded and the program in none the wiser.

Does that make sense?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-25 07:05:58
Well load_texture here just means that the graphics driver should prepare an image for use as a texture, the actual image is of course already loaded from disk.
The .tex format is basically a 1:1 image of what FF7 stores internally and is more like a specification of what kind of texture you want, FF7 then chooses the most compatible texture format supported by the driver and converts the image if necessary.
Oh and there is a .tim loader in the PC version as well, but it just converts the image to .tex format

Now that I have filled in all of the call table with stubs that do (almost) nothing, I can actually get all the way to the world map without crashing. Battles crash instantly though, probably because I'm not doing something I'm supposed to be doing :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-25 16:08:58
If you ever wondered what FF7 with no background, no colors, no transforms and no textures looks like, it looks like this :-P

Wo rld map, outside Mt. Nibel/Rocket Town
(http://backup.ninjaloot.se/share/ff7%202009-03-25%2016-57-56-62.png)

In battle (fixed the crash, too, so you can actually finish the battle)
(http://backup.ninjaloot.se/share/ff7%202009-03-25%2016-58-16-37.png)

Field, inside Mt. Nibel this time
(http://backup.ninjaloot.se/share/ff7%202009-03-25%2016-58-53-93.png)

I know it looks like random crap, but I for one was happy to see *something* come out of it :-)

Next step: load textures, get menus working...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-03-26 02:08:39
Holy crap, I just realized you could do texture injection...

We could.... Hi-res the field display with this!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Satoh on 2009-03-26 02:13:53
Sure, if you want to take the time to re-render every area in the game...

Unless you meant something else...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-03-26 02:18:20
Sure, if you want to take the time to re-render every area in the game...

Unless you meant something else...

You would use sketchup and use the old background as a material in photomatch.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-26 06:12:29
Hadn't even thought of that, but yes, assuming you can detect which texture it is trying to load (the filename is not passed to the graphics driver AFAIK) you could just load something else instead :-)

Another thing that would be seriously badass is "injecting" pixel shaders to enhance the special effects

But I should probably get atleast some of the transforms working first, so you can actually see whats going on :-P

I did get vertex colouring working though (only reason it wasn't working before was because of a stupid typo), and you can actually see the enemies go red and fade out in battle :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-26 13:09:46
This was really easier than I thought :-o

The very same scene outside Mt. Nibel:
(http://backup.ninjaloot.se/share/ff7%202009-03-26%2013-58-18-53.png)

Exp/AP screen after battle:
(http://backup.ninjaloot.se/share/ff7%202009-03-26%2013-59-48-23.png)

In battle (Hey, I know that haircut :-P):
(http://backup.ninjaloot.se/share/ff7%202009-03-26%2014-00-46-82.png)

Now you may have noticed that everything seems to be upside-down... still working on that :lol:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: yoshi314 on 2009-03-26 13:18:11
hmm i guess it's possible to write a custom driver that would dump geometry of each area into a file in a more useful format, then.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-26 14:04:57
Possible, but it would be easier to just write a converter directly.

After all, the graphics driver interface is completely undocumented, reverse engineering the loader would be easier.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: koral on 2009-03-26 14:15:50
Amazing progress Aali!  :-D
With a custom driver, anything is possible. If you know how  :wink:
But I agree, dumping stuff would be far more practical from the files themselves.

With regards to FF7, to "inject" anything new would require some form of a custom referencing system, so the driver has some idea of what its rendering and can mess around with the data accordingly.

The ability to apply shaders would be... incredible.
Imagine taking the background images and using a fragment shader to filter the image. Or per-frag lighted models, maybe even normal-mapping or bloom or dynamic-shadows...
Multiple render-passes would always be possible, right?  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-03-27 04:43:52
Man this is progressing REALLY fast. This is a fascinating project.   The video hardware support in FF7 is terrible and still suspect even with the 1.02 patch.  Eidos really skimped on the port in some areas.  Still the better than the PSX version of FF7 though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MrAdults on 2009-03-27 09:23:17
This is pretty cool. Some number of years ago I recall writing a fragment program for fake bloom for Pete's OpenGL GPU plugin for ePSXe and amusing myself with the glowing fires from the Sephiroth Nibelheim scene. :)

I'm guessing there's no concept of vertex buffers within the driver API, although if there were, it would be pretty sweet to do a CRC of the model data on load and then swap it out for high-res or even weighted versions of the models, using the existing modelview transform matrix as a bone matrix. It would be pretty hacky since you'd also have to keep track of the modelview matrices and number of transforms on draw to determine the correct bone matrix, and you'd have to weight your models to the original skeletons. But it would be doable.

You could do it without vertex buffers too, but verifying the data at draw time in any reliable manner would probably be pretty slow. Might still be doable though, given the size of FF7's vertex data once it hits the GPU. Although I'm sure this kind of functionality isn't even on your radar yet. :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-27 15:30:59
FF7 is based on DX5, which means no hardware T&L, what the driver recieves is only transformed through the camera matrix and the "per-entity" matrix, the driver knows nothing about animation so that must be done somewhere else.

Seems to me this would make it quite difficult to inject 3d models this way, since not only do you have to identify the model, you have to figure out how its animated and apply this to the new model.

However, I *think* the driver can get access to all the information from the .p file the model came from, which would make the identification part a breeze but then you still have to figure out the animation state.

Textures are much easier, you have access to both the .tex header and the raw image data since it is up to the graphics driver to convert it to a suitable format.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-27 19:59:55
Double-posting again, with some new even more impressive results :-)

Managed to get more than just the haircut this time :-P
(http://backup.ninjaloot.se/share/ff7%202009-03-27%2020-49-36-60.png)

Outside rocket town (water is orange, haven't really got the palettes all figured out it seems)
(http://backup.ninjaloot.se/share/ff7%202009-03-27%2020-51-30-40.png)

Inside rocket town (field really needs correct textures to make any sense, but you can sort-of see the rocket :wink:)
(http://backup.ninjaloot.se/share/ff7%202009-03-27%2020-51-40-35.png)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-27 20:55:27
Triple-posting :-P

Turns out I was just being an idiot, hadn't set the texture coordinates outside battles (and forgot to do a BGR to RGB conversion), I had it right all along;

Yes, I really like Mt. Nibel
(http://backup.ninjaloot.se/share/ff7%202009-03-27%2021-47-52-04.png)

Holy sh*t, you can actually read the text!
(http://backup.ninjaloot.se/share/ff7%202009-03-27%2021-48-16-15.png)

Even field is getting there :-)
(http://backup.ninjaloot.se/share/ff7%202009-03-27%2021-48-56-34.png)

No battle screenshots this time, it seems to be quite broken at the moment
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: koral on 2009-03-27 22:01:39
Today is quite an interesting day for sure!  :lol:
Extremely promising work Aali, keep going!  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-03-27 23:06:42
This is how we can inject hi-resolution backgrounds into the field system. For every field  square drawn, we substitute it with a higher-resolution square as opposed to scaling the old graphic... It will look awesome :)

Now all we need are higher resolution backgrounds :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cyberman on 2009-03-28 03:31:27
This is how we can inject hi-resolution backgrounds into the field system. For every field  square drawn, we substitute it with a higher-resolution square as opposed to scaling the old graphic... It will look awesome :)

Now all we need are higher resolution backgrounds :)
Well there are ways of doing that.  Hmmm not sure which is best though.
Basically you need an 'Image' that fits the tile map and convert the tile map layers back to ... tiles. 
One will need multiple layers for sprites (animated things), background, and transparent things (things you walk behind).
I guess that would be toolmaking? The walk map in the background might make it easier to do.

In any case an interesting option :)

Cyb
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-03-28 11:22:57
Wow, this project looks VERY interesting O.o
I'll be keeping an eye on this

Now all we need are higher resolution backgrounds :)

I ripped a background of sorts from the Tech demo opening thing. would that be classed as a higher res Background?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-28 11:57:19
Now I've hit a bit of a snag, as you can see in the screenshots, some textures look garbled or have wrong colors, this is because I don't know what to do with .tex files that have multiple palettes, how are you supposed to know which palette to use? (Fonts are 4bpp and have a 16*16 palette, for example)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-28 16:29:51
Nevermind, the info was there all along, I was just looking in the wrong place, you don't know which palette to use until its time to render the texture :-)

I've also noticed that FF7 seems to work well even if you resize the viewport, which means you can use the hi-res patch at any resolution :-) (Higher resolutions wont improve quality, of course, but this makes it possible to run hi-res on widescreen 1280x800 displays etc)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-03-28 23:15:52
how does that effect the backgrounds that expect a 4x3 aspect ratio or the battle menus that span the bottom of the screen?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-29 07:44:36
I believe you can achieve pretty much any effect you want by tweaking the viewport and projection matrix :-)

Simply stretching everything over the full screen area is possible, but it should also be possible to add black borders to preserve aspect ratio

Menus are not really any different from the other graphics, infact, they're drawn by the same routine that does the world map

No more screenshots for now, reorganizing the code to more closely mirror the d3d driver instead of the (broken) opengl driver, but I think I know how to get field backgrounds and menus working properly now. Battle is a completely different beast, have to decipher the relatively complex 3d object (PCs, NPCs, field entities, high-res models on the world map etc) routine to make that work.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MrAdults on 2009-03-29 10:45:08
I would partially expect them to do object frustum culling, at least for the battle scenes where there is a dynamic camera floating around, before the driver-level. Mainly to avoid having to do skeletal transforms for off-screen models. But perhaps since those scenes are rather constant-cost, they just didn't care. I don't think you could really manage proper wide-aspect on most of the static background scenes without having to blackbar the sides, though. Or risk having the background image stretched to a bad aspect ratio.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-29 11:44:36
Oh I'm not saying the in-game viewport (visible area) should be made bigger, the "internal" resolution would still be 1280x960 (with high-res patch) but the final output can be scaled and/or stretched.

That said, you *can* make the visible area bigger aswell, but that would lead to more glitches as MrAdults pointed out. (The game was never meant to be widescreen, after all)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BPLD on 2009-03-31 04:00:42
Well done Aail, I'm highly impressed

Maybe you should also add the code to the Q-Gears SVN as well, because I would imagine this would help the project along a hell of a lot...not that it's really doing much... if anything at all
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-31 11:23:57
Finally made some progress with the palettes (still not quite right though)

(http://backup.ninjaloot.se/share/ff7%202009-03-31%2013-15-21-90.png)

(http://backup.ninjaloot.se/share/ff7%202009-03-31%2013-15-33-40.png)

I also implemented a very simple fragment shader that inverts colors, as a "proof of concept" :roll:

(http://backup.ninjaloot.se/share/ff7%202009-03-31%2013-16-31-00.png)

(http://backup.ninjaloot.se/share/ff7%202009-03-31%2013-16-39-01.png)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-03-31 14:49:26
Good Stuff in this topic.  Good stuff.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-31 15:21:53
4 main issues to take care of before I can make a proper, playable release :-)

1. even though I now have the palettes all sorted out, field files still look pretty crappy, things that should be transparent aren't and vice versa

2. battle models and other 3d objects

3. blend modes; this one is pretty tricky, getting the exact same (or atleast close enough) blending effects as dx5 _in the right places_ will require some serious digging into both FF7 and DX5 internals

4. in-game movies simply hang the game for now, for the first release I'll probably just skip them
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-31 16:19:05
Seems like we can cross #1 off that list :-D

(http://backup.ninjaloot.se/share/ff7%202009-03-31%2018-17-12-73.png)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-03-31 16:58:34
Wow this is amazing work, great job Aali, Keep it up! I'm pulling for a full working release soon  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: koral on 2009-03-31 17:10:02
Awesome!  :lol:
What's wrong with battle models? Is it something weird with the transforms?
(Correct) Blending will be a nightmare unfortunatly  :-(
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-31 17:44:39
The "problem" with battle models is simply that I haven't written that routine yet :-)
(As you can see, field models are missing, battles show menus and text, the rest is just black)

A lot of stuff happens in that routine that I don't fully understand yet but now that I have (pretty much) everything else sorted out, it should be easier.

Worst case scenario I'll just "borrow" most of it from the d3d driver :-) (I do that with some things already, for example, every transform goes through the original code to ensure its correct)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Marc on 2009-03-31 21:18:43
I have to say I feel this is the most exciting new project to come out lately.

This project has the potential to dramatically improve the game if it pans out like planned.

Quick question though.  Wouldn't a fairly easy way to improve the background be to send them through a HQ4x shader à la pete's ogl2 fragment programs or something ?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-03-31 23:11:49
If you modify the backgrounds, you have to do it properly (improve the picture as a whole, then re-cut it)

Otherwise you'll get all sorts of artifacts as the different layers bleed over into each other

Even linear filtering for textures (standard feature in opengl) has to be disabled for field to look good
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cyberman on 2009-04-01 02:20:23
If you modify the backgrounds, you have to do it properly (improve the picture as a whole, then re-cut it)

Otherwise you'll get all sorts of artifacts as the different layers bleed over into each other

Even linear filtering for textures (standard feature in opengl) has to be disabled for field to look good
It's the way Square constructed the scenes.  Basically they have some sort of software Z buffering technique and assign each layer a depth. This determines the ordering of what is drawn, 3d objects inclusive. The 2d objects are not drawn in 3d but 2d but are depth sorted as stated.  So things go something like "background" which I suppose has infinite depth in this case. Then sorted 3d objects (character people etc) with sprite objects and lastly foreground objects (IE infinitely close to the camera). 

Transparent objects (alpha blend objects) also exist but they are done in the foreground depth (overlaying things). You see this in area's like the wall market.
That being said, if you want hirez tile sets they must be an integer multiple of the original tileset just like the screen needs to be as well.
I'm not sure if it's possible to use 3d objects strected and depths to give perfect alignment at various resolutions.
(render the background to a texture and paste the texture on a surface which would have the effect of something akin to wolfienstien).

The only way to make improved backgrounds is as said before they must be cut from the same template coordinates, or integer multiple, as used before.


Cyb
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-01 14:02:25
(http://backup.ninjaloot.se/share/ff7%202009-04-01%2015-58-27-31.png)

Did I just get field models working? Well no, not really, that image was generated using a hardcoded matrix, positions are all wrong anywhere else :-P

But I have the rendering down, the savepoint rotates, the power soul shimmers etc :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-01 23:37:21
Got some VERY nice new screenshots :-)

This is actually a debug shader I use to determine z coordinates, but it makes for a cool effect; here odin going up against a dragon :-)
(http://backup.ninjaloot.se/share/ff7%202009-04-02%2001-21-05-59.png)

Normal battle, with menus hidden for extra impressive screenshots :-D
(http://backup.ninjaloot.se/share/ff7%202009-04-02%2001-23-56-54.png)
(http://backup.ninjaloot.se/share/ff7%202009-04-02%2001-24-01-62.png)
(http://backup.ninjaloot.se/share/ff7%202009-04-02%2001-24-09-87.png)
(http://backup.ninjaloot.se/share/ff7%202009-04-02%2001-24-56-03.png)

Now the bad news, sorting out z-coordinates (pun unintended) turned out to be really tricky, these new battle and field models are inconsistent with both the world map and field tiles, making it fit perfectly everywhere is going to be a b*tch.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: yoshi314 on 2009-04-02 07:05:18
i wonder where could frame animation interpolation be done. is it a resposibility of the graphics driver, or is it in the game exe, in case of ff7?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-04-02 08:02:05
That's in the engine...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-02 10:16:50
Indeed, the animation is already done before it hits the graphics driver, I get a bunch of .p groups and a set of matrices to transform them with, thats all.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-04-03 16:49:23
This would be a truly amazing addition to all the mods here... it opens up so many new possibilities!

Seriously... amazing progress. If this is released it'll be amazing!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BPLD on 2009-04-04 02:52:05
ok, I have to ask,  how does your debug shader help determine Z-coordinates? the deeper the shade of red, the smaller the coordinate (or larger, whichever one means closer)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-04-04 08:49:02
red = closer to the screen
yellow = further from the screen
black = Up against the screen
Title: split
Post by: Aali on 2009-04-09 00:54:58
I recently discovered that FF7 has support for custom graphics drivers, with the right config it will load a dll and use that instead of its internal drivers (I also found the OpenGL driver, which works surprisingly well although its not really playable due to massive glitches)

So, my question is this, has anyone ever tried implementing a new graphics driver for FF7? I don't care if it worked or even displayed anything, any info you could provide would be great

I'm going to play around with it for a while, I have already mapped out parts of the direct3d driver and many of the internal structures in FF7 (including .tex, .tim and .p formats if anyone wants some info on that) but if we got some talented people together we could probably make a reasonably good OpenGL driver and never have to worry about poor DX5 compatibility again :-)

:EDIT:

Link to latest release: http://forums.qhimm.com/index.php?topic=8306.msg133947#msg133947 (http://forums.qhimm.com/index.php?topic=8306.msg133947#msg133947)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-04-09 01:47:05
Thanks for this Aali.

I realise your installation instructions are perhaps the simplest of every thing, but I clicked the .reg to change the registry and was told that the registry has been changed. Upon running my game I notice no difference whatsoever. I tried a good few different scenarios such as cosmo canyon, mt corel on world map, start of game etc and was able to view movies also. The only thing I noticed was a strange discoloration of cosmo canyon itself, but other than that it ran exactly the same as it always does. This leads me to believe that it either didn't install correctly or is just perfect....

Although its more than likely that it didn't install correctly, because for some reason when I've tried to make changes to the game recently the changes haven't taken any effect. I.e. I've put a new model in and it just doesn't appear and shows the previous one instead. I might have to post a "help me" thread about it.

Where do you have definite known glitches so that I can copy the situation to test to see if my FF7 is actually running your driver?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-04-09 02:16:35
Quote
Although its more than likely that it didn't install correctly, because for some reason when I've tried to make changes to the game recently the changes haven't taken any effect. I.e. I've put a new model in and it just doesn't appear and shows the previous one instead. I might have to post a "help me" thread about it.

Going on a limb here, But maybe it's the Vista virtual store, That happened to me. It's probably not cause you're waaay better with tech stuff then me.

But it's a thought
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-04-09 03:58:33
If it is something to do with VirtualStore (thanks for bringing that up by the way, because I'd forgotten about it) then how could I circumvent the issue?

You see, changing folder permissions within the program files folder doesn't seem to work for me. I've tried giving myself and other programs full access but every time I click apply, it seems ok until I go back into it and discover it's been taken away again. Also, for some bizarre reason FF7Music doesn't seem to be working anymore. Its just stopped loading any music files, which is rather confusing because it worked the last time I played which was 3 days ago.

And also, everytime I try to run FF7Music or FF7 on its own "as an administrator" I get the "FF7.exe has stopped working" nonsense.

I can see virtual store being the issue with changing models, but I can't see it in this instance. If "installing" the new FF7 graphics driver is a case of just modifying the registry, and my computer is telling me that it has successfully modified the registry... then it should be using the graphics driver it's pointing to, no?

Sigh.

Perhaps then the issue is that even with the registry modified, the files aren't "really" there and therefore aren't read, so FF7 defaults to that of FF7Config.

Which begs the question...

Aali... is there a way to run this from a location outside of the FF7 folder? I intend to find a more long-term solution but for the time being, just for testing purposes. Perhaps modifying the registry manually?

EDIT: Just as a small side-note and for no particular reason... I'd like to point out how ironic it is that now everytime I start up FF7 I'm actually hoping the movies don't work.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-09 05:08:55
Oh man this is an amazing project.  Gonna give this a test tomorrow.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-04-09 05:20:58
If it is something to do with VirtualStore (thanks for bringing that up by the way, because I'd forgotten about it) then how could I circumvent the issue?

You see, changing folder permissions within the program files folder doesn't seem to work for me. I've tried giving myself and other programs full access but every time I click apply, it seems ok until I go back into it and discover it's been taken away again. Also, for some bizarre reason FF7Music doesn't seem to be working anymore. Its just stopped loading any music files, which is rather confusing because it worked the last time I played which was 3 days ago.

And also, everytime I try to run FF7Music or FF7 on its own "as an administrator" I get the "FF7.exe has stopped working" nonsense.

I can see virtual store being the issue with changing models, but I can't see it in this instance. If "installing" the new FF7 graphics driver is a case of just modifying the registry, and my computer is telling me that it has successfully modified the registry... then it should be using the graphics driver it's pointing to, no?

Sigh.

Perhaps then the issue is that even with the registry modified, the files aren't "really" there and therefore aren't read, so FF7 defaults to that of FF7Config.

Which begs the question...

Aali... is there a way to run this from a location outside of the FF7 folder? I intend to find a more long-term solution but for the time being, just for testing purposes. Perhaps modifying the registry manually?

EDIT: Just as a small side-note and for no particular reason... I'd like to point out how ironic it is that now everytime I start up FF7 I'm actually hoping the movies don't work.

Hmmm. Puzzling.... Sitting here trying to think of why it would do this, I haven't been on Vista in so long (been using Windows 7, and that issue no longer plagues us. :P)
Can you install FF7 other then in the default folder? I'd try doing that (if you can) and see if it works, Or just try reinstalling FF7 all together. If it also fails then i'd say the issue is with your computer, I don't mess with the Registry so i could be wrong here, But if it was done on Vista 64 (or you have vista 64) and/or XP would that cause a problem?

again forgive my lack of knowledge of these things, just throwing out ideas.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-09 12:27:43
I guess you could double check the registry yourself,

HKEY_LOCAL_MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII\1.00\Graphics

Driver should say 3, while DriverPath should point to the dll

(if for some reason the dll fails to load, it will silently revert to d3d, so that might be something to look into aswell)

:EDIT:

Oh, and DriverPath is relative to the working dir of ff7.exe so it should not matter where you installed it

:EDIT2:

I should also point out that I have only tested this on XP SP3, for all I know, it may not work at all on Vista/Windows 7 (Although it really should)
You will notice when the driver is running, it will skip the intro movie and go instantly to the credits scene when you start the game.

:EDIT3:

It seems the snowboard minigame is not completely broken, you just can't see anything unless you pause it. (And when you unpause it will start filling the screen with garbage, so you have to pause/unpause all the time)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-04-10 00:42:31
I've just checked it and its apparently pointing to the right place.

If anyone else is using Vista and having this issue, please speak up. I'd like to know how to get around it. I'm gonna try a full re-install tomorrow morning. (as in, not installing it in the program files folder.)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-04-10 06:09:31
I ran it through IDA on Vista 64-bit and the problem is the registry keys are not located in the same place on Vista 64-bit as in XP.

Modifying these keys does the trick:
Code: [Select]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Square Soft, Inc.\Final Fantasy VII\1.00\Graphics]
"DriverPath"="ff7_opengl.dll"
"Driver"=dword:00000003
"Mode"=dword:00000002
"Options"=dword:00000012
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-10 06:31:24
Hmm, seems I'll have to provide more .reg files next time.. thanks magixts.

Added another fun feature just now, it is now possible to run FF7 in any resolution without modifying FF7.exe :-)

Field looks pretty bad though, I'll probably have to adjust the TNT fix (which is really just alternate pixel center "emulation") for this to work 100%

This will pretty much kill the high-res patch since now you can high-res FF7 without getting any of the bugs/glitches. (This is a "real" fullscreen resize and FF7 doesn't even know about it)

Unfortunately, only multiples of 320x240 are going to look really good (because thats just how the engine works) but "laptop resolutions" (1280x800 etc) should still see an improvement over 640x480
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: koral on 2009-04-11 09:39:41
I tested this out and it seems to work fine enough for me  :-D
You haven't uploaded the new screensize-feature version yet, have you?
It sounds extremely useful!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-11 10:03:25
No, that will be in the next release, along with fixes for the battle camera, snowboard and submarine minigames and (hopefully) the directinput bug.
Oh and a very minor fix for non-paletted textures (I have found _one_ so far, the ropeway station background is in BGRA 5:5:5:1 format and wasn't working in 0.1a)

The screensize-feature is not terribly useful yet though, since it messes up field, but I have something in mind that will both fix that issue and in the long run make it much easier to replace field backgrounds :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ultima espio on 2009-04-12 19:26:10
I've just had an idea reading this topic, theres a program that can replace textures in realtime from the application called texmod. It might be possible to replace the background textures with this new driver...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-04-12 22:15:22
If you got the idea reading the topic, you might want to read the thread... It's been discussed already :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-12 23:14:37
Working on movies right now though, I'm replacing the entire movie player with my own routines, using ffmpeg to decode them (so no more shitty propietary truemotion codec)

After that I'll probably make a 0.2b release, and THEN work on my new idea for field :-)
(that release will be fully playable, the only known problems right now are some missing effects and field glitches with custom resolutions)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-04-13 08:43:50
Quote
Working on movies right now though, I'm replacing the entire movie player with my own routines, using ffmpeg to decode them (so no more sh*tty propietary truemotion codec)
You think this would make it possible to run FF7 in 32-bit without glitches? Because that would be awesome.

Good luck on this project, it looks very promising.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-13 12:53:17
Err, this driver was never running in anything but 32-bit :-P

And I already have movies playing (no sync, no sound, just video) so that would be a definite yes :wink:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ultima espio on 2009-04-13 13:19:10
If you got the idea reading the topic, you might want to read the thread... It's been discussed already :P

.....So it has :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cyberman on 2009-04-13 21:48:53
Err, this driver was never running in anything but 32-bit :-P

And I already have movies playing (no sync, no sound, just video) so that would be a definite yes :wink:
Hmmm interesting.  As for 32/64bit a warning to keep compatibility with older systems (IE not breaking them) I suggest you look at MS method of checking if a system is 32/64bit. Someone else forum didn't bother to do that on an open source project and it crashes on win2k as a consequence.  However the program is 32bit ... hmmm how would it behave correctly in a 64bit?

Erstwhile are you putting your DLL functions into the wiki for FF7PC? I think other people might find it 'fun' to do ;)

The functions themselves and there calling conventions might be handy for the Q-gears project namely it can give an idea of the API they used originally.

Cyb
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-14 02:23:41
I was talking about color depth, not machine word size :-P

And I assume Terid__K was too, since one of the known issues with running FF7 in 32-bit color depth is messed up movies.

64-bit systems will just have to pretend to be 32-bit systems, just like they do for FF7 itself :-)

The DLL exports only one pretty trivial function, the constructor for the graphics driver "object".

It's enough work to create this thing in the first place but I do intend to document my findings on .tex and .p file formats and if someone wants to have a look at the source code, thats not a problem.

I doubt it would be of any use to the Q-Gears team though, if anything, they should be trying to move away from the old outdated concepts used in the original engine. (And this driver just handles graphics after all, its 90% generic OpenGL code, 10% FF7 specifics)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-14 22:58:55
The only thing thats holding off the 0.2b release right now is a bug in the ffmpeg truemotion2 codec that leads to oversaturated and sometimes just plain wrong colors.

It's still missing some battle effects, no idea why, but that is also the only big thing that sets it apart from the original drivers, everything else should be working now :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-15 00:25:23
So is this running in 32 bit color to make the FMVs look slightly less terrible?  I can't believe this got so far so fast.  Fantastic job, I hope to see this followed up after the next release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Alhexx on 2009-04-15 09:47:14
Nice job, Aali.

I just wonder that noone discovered the possibility of injecting a custom graphics driver into the engine before, especially since there have been several patches developed for the internal engine.

And we thought that we have already reached the limits of the original engine years ago...  :-P

 - Alhexx
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-04-15 13:50:09
This driver don't work with the french version of Final Fantasy VII. He said : "It's not the 1.2 version". Yet I have patched the game, but with the french 1.2 patch. :|
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Marc on 2009-04-15 14:56:59
If you modify the backgrounds, you have to do it properly (improve the picture as a whole, then re-cut it)

Otherwise you'll get all sorts of artifacts as the different layers bleed over into each other

Even linear filtering for textures (standard feature in opengl) has to be disabled for field to look good
It's the way Square constructed the scenes.  Basically they have some sort of software Z buffering technique and assign each layer a depth. This determines the ordering of what is drawn, 3d objects inclusive. The 2d objects are not drawn in 3d but 2d but are depth sorted as stated.  So things go something like "background" which I suppose has infinite depth in this case. Then sorted 3d objects (character people etc) with sprite objects and lastly foreground objects (IE infinitely close to the camera). 

Transparent objects (alpha blend objects) also exist but they are done in the foreground depth (overlaying things). You see this in area's like the wall market.
That being said, if you want hirez tile sets they must be an integer multiple of the original tileset just like the screen needs to be as well.
I'm not sure if it's possible to use 3d objects strected and depths to give perfect alignment at various resolutions.
(render the background to a texture and paste the texture on a surface which would have the effect of something akin to wolfienstien).

The only way to make improved backgrounds is as said before they must be cut from the same template coordinates, or integer multiple, as used before.


Cyb

Going back to shaders and filters, what causes the glitches when you apply it to the whole scene ?  The fact that some layers show artifacts when rendered ?

If so, wouldn't it be possible to apply a filter/shader individually to each layer and skip the ones that show artifacts (the alpha layer comes to mind) ?  Pete's GPU drivers seem to use a similar principle for filtering and it works well for ff7 on epsxe.  I have to admit I don't recall if it improves the backgrounds at all though.

If it doesn't show, I don't know much about these things and I'm tossing (probably ridiculous!) ideas out there based on what little I do know but realistically, I think this is the closest somebody has ever been to improving the backgrounds as I doubt anybody is ever going to go through the 758 or so field files of the game to re-render them at a higher resolution!

Regardless, keep up the good work.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-15 15:04:45
This driver don't work with the french version of Final Fantasy VII. He said : "It's not the 1.2 version". Yet I have patched the game, but with the french 1.2 patch. :|

Version detection is a bit of a hack, yes :-)
I might just remove it if its going to cause trouble with other languages.. (but that will make it crash instead of displaying the message if ff7.exe really is incompatible)
Could you please upload your ff7.exe somewhere so I can compare it to the US english version?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-15 15:16:30
Going back to shaders and filters, what causes the glitches when you apply it to the whole scene ?  The fact that some layers show artifacts when rendered ?

If so, wouldn't it be possible to apply a filter/shader individually to each layer and skip the ones that show artifacts (the alpha layer comes to mind) ?  Pete's GPU drivers seem to use a similar principle for filtering and it works well for ff7 on epsxe.  I have to admit I don't recall if it improves the backgrounds at all though.

If it doesn't show, I don't know much about these things and I'm tossing (probably ridiculous!) ideas out there based on what little I do know but realistically, I think this is the closest somebody has ever been to improving the backgrounds as I doubt anybody is ever going to go through the 758 or so field files of the game to re-render them at a higher resolution!

Regardless, keep up the good work.

Its very possible to apply filters *after* the scene has been fully rendered (since it is essentially just a 2D image by then). But then you'll be filtering everything, not just the low-res field tiles.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-04-15 15:33:44
Could you please upload your ff7.exe somewhere so I can compare it to the US english version?

Ok, FF7 1.02 french (http://wikisquare.com/public/ff7%201.02%20french.zip)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-15 17:09:37
Ah, that .exe IS incompatible with this driver, I should change the error message to include this possibility..

I can add support for other languages*, but its going to be alot more work than just disabling the version check. (And wont be in 0.2b)

* As long as you provide the .exe
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Marc on 2009-04-16 03:12:16
Going back to shaders and filters, what causes the glitches when you apply it to the whole scene ?  The fact that some layers show artifacts when rendered ?

If so, wouldn't it be possible to apply a filter/shader individually to each layer and skip the ones that show artifacts (the alpha layer comes to mind) ?  Pete's GPU drivers seem to use a similar principle for filtering and it works well for ff7 on epsxe.  I have to admit I don't recall if it improves the backgrounds at all though.

If it doesn't show, I don't know much about these things and I'm tossing (probably ridiculous!) ideas out there based on what little I do know but realistically, I think this is the closest somebody has ever been to improving the backgrounds as I doubt anybody is ever going to go through the 758 or so field files of the game to re-render them at a higher resolution!

Regardless, keep up the good work.

Its very possible to apply filters *after* the scene has been fully rendered (since it is essentially just a 2D image by then). But then you'll be filtering everything, not just the low-res field tiles.

Meaning only the 2d would be filtered ?  Or the whole scene ?  Would that help improve the backgrounds (and the whole scene while we're at it) ?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-16 03:25:31
The whole scene. It would be far from ideal (since by that time, you've lost any information associated with the objects on screen) and the best you could do without completely killing framerate would not be much better than what we have now. The point of filtering field backgrounds before they're drawn is that you only have to do it once, so you can apply any kind of expensive filtering and even make manual edits to really make it look better.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cyberman on 2009-04-16 22:35:55
Going back to shaders and filters, what causes the glitches when you apply it to the whole scene ?  The fact that some layers show artifacts when rendered ?
Simply put they are aligned on integral points based on a screen that's 320x224.  So let's say you try to display those at 1024x768.  The layers do not exactly fit as integer multiples and although rational numbers do not allow for precise alignment of each layer on top of each other. The "jaggies" of weird color are the layers behind showing through in reality.

If so, wouldn't it be possible to apply a filter/shader individually to each layer and skip the ones that show artifacts (the alpha layer comes to mind) ?  Pete's GPU drivers seem to use a similar principle for filtering and it works well for ff7 on epsxe.  I have to admit I don't recall if it improves the backgrounds at all though.
If so ... what?  If you READ Pete's discussion of it when he posted about it you would understand WHY this happens.  In particular it is a combination of the fact the GPU in the PS1 is 2d (no 3d in that graphics processor) and the 2d polys are chosen using the GTE and software Z buffering the alignment of the polygons in 2d create the problem of the none integer multiple display and create the "EVIL JAGGIES" :D
If it doesn't show, I don't know much about these things and I'm tossing (probably ridiculous!) ideas out there based on what little I do know but realistically, I think this is the closest somebody has ever been to improving the backgrounds as I doubt anybody is ever going to go through the 758 or so field files of the game to re-render them at a higher resolution!
Hmmm the problem comes with how the engine renders them. And this was discussed in several other threads (and previously in this one).

Cyb
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-04-17 13:54:40
http://epj.no-ip.org/upl/ff7_opengl-0.2b.zip (http://epj.no-ip.org/upl/ff7_opengl-0.2b.zip)
Tested and working on Vista x64 in 1920x1440 using preserve_aspect = true option. 2560x1600 however causes a crash in ff7_opengl.dll!0x6e51f767h.

Code: [Select]
ff7_opengl.dll!6e51f767()
  [Frames below may be incorrect and/or missing, no symbols loaded for ff7_opengl.dll]
  ntdll.dll!77022f1f()
> msvcr90.dll!free(void * pBlock=0x00000000)  Line 115 + 0x5 bytes C
  00002154()

Code: [Select]
...
6E44F720  push        ebp 
6E44F721  push        edi 
6E44F722  push        esi 
6E44F723  push        ebx 
6E44F724  sub         esp,0BCh
6E44F72A  mov         eax,dword ptr [esp+0D4h]
6E44F731  mov         ecx,dword ptr [esp+0D0h] //dword ptr [esp+0D0h] == 0x0h
6E44F738  mov         ebx,dword ptr [eax]
6E44F73A  mov         dword ptr [esp+90h],ebx
6E44F741  mov         edx,dword ptr [eax+4]
6E44F744  mov         dword ptr [esp+94h],edx
6E44F74B  mov         edi,dword ptr [eax+8]
6E44F74E  mov         dword ptr [esp+38h],edx
6E44F752  mov         ebp,dword ptr [esp+38h]
6E44F756  mov         dword ptr [esp+98h],edi
6E44F75D  mov         esi,dword ptr [eax+0Ch]
6E44F760  mov         dword ptr [esp+0A0h],ebx
6E44F767  mov         ebx,dword ptr [ecx+60h] //exception (ecx == 0x0h)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-17 14:45:43
Tested and working on Vista x64 in 1920x1440 using preserve_aspect = true option. 2560x1600 however causes a crash in ff7_opengl.dll!0x6e51f767h.

Confirmed. That's a crash in libswscale though, so if you disable nice_movies it'll work :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-04-17 14:55:40
Tested and working on Vista x64 in 1920x1440 using preserve_aspect = true option. 2560x1600 however causes a crash in ff7_opengl.dll!0x6e51f767h.

Confirmed. That's a crash in libswscale though, so if you disable nice_movies it'll work :-)
Nice, looking forward to coming improvements. :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Akimbo on 2009-04-17 16:11:39
Too tech for me, simple Q: Will this eventually fix these stupid fps issues?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-18 03:29:29
Working for me.  Played for 5 minutes to try it out, here's what I noticed.

-Battle Swirl Missing
-Small framerate drops for fractions of a second.
-any way to enable Vsync?  I noticed horizontal tearing when moving around fields.

These are the only things I really noticed.  Goddamn nice work here man, for a 0.2 release, surprisingly complete.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-18 11:18:22
Hmm, my system is waaay too fast to ever show the battle swirl, might be why I haven't noticed that :-)
Not sure whats up with the framerate drops, does it happen randomly or is there a pattern to it?
Vsync could be a problem if FF7 wants to use a framerate not compatible with your monitor, but I'll see what I can do.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-18 15:54:38

Took a look with fraps to check the framerate.  Field, instead of running at 30 at all times, runs at 29/28.  The Vsync problem seems to be gone for some reason, who knows what happened with that..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-18 16:44:58
And that only happens in field? What are your system specs?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-19 14:37:44
2.6 GHz AMD Anthlon64 x2
ATI Radeon X1950XT
2GB RAM (Don't remember the speed and don't feel like finding CPU-Z to check if you need it let me know)
Windows XP Pro SP3

Field runs at steady 29 FPS (rather than 30, but its really not a big deal since it isn't really noticeable)
World map is always changing anywhere from 30 to 28.  Never really hangs on a single FPS.
Battles run at steady 15 as they are supposed to
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-19 14:59:58
Yeah, that system is way too fast to run this game :-P

Seriously though, I have no idea what could be causing it, I can't reproduce it (smooth as silk here, 30fps all the time in both field and worldmap) and there's nothing that should block outside of the movie player (the only thing that does any kind of disk access on a regular basis)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-19 22:04:23
Again, its not really noticeable so I really wouldn't worry about it too much.  Everything else seems to work great.

I have a question though, is it running in 32 bit color?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-19 22:34:45
It is, and its fairly noticeable on any non-textured areas. Compare the following screenshots:

OpenGL driver, 32-bit:
(http://backup.ninjaloot.se/share/ff7%202009-04-20%2000-31-55-38.png)

D3D driver, 16-bit:
(http://backup.ninjaloot.se/share/ff7%202009-04-20%2000-32-31-13.png)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: koral on 2009-04-20 00:08:22
Totally awesome update Aali, I just cannot thank you enough for creating this new driver!!  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: The SaiNt on 2009-04-20 13:26:48
Nice job, Aali.

I just wonder that noone discovered the possibility of injecting a custom graphics driver into the engine before, especially since there have been several patches developed for the internal engine.

And we thought that we have already reached the limits of the original engine years ago...  :-P

 - Alhexx

If you look it up, I think Qhimm noted it quite some time ago.
I've looked at it before when I did the high res patch, but never got round to actually playing with it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-04-20 22:30:28
Nice job, Aali.

I just wonder that noone discovered the possibility of injecting a custom graphics driver into the engine before, especially since there have been several patches developed for the internal engine.

And we thought that we have already reached the limits of the original engine years ago...  :-P

 - Alhexx

If you look it up, I think Qhimm noted it quite some time ago.
I've looked at it before when I did the high res patch, but never got round to actually playing with it.

\me rounds up mob :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-04-21 05:15:06
This is shaping up to be a very nice project, great work Aali!

Did we ever figure out if it was a no go on injecting 3d backgrounds? (sorry if this is off topic)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-21 05:22:25
Correct me if I'm wrong, but won't this do absolute wonders for compatibility on newer systems?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ultima espio on 2009-04-22 19:29:49
How do you get it to run in a window and custom resolution :?I cant figure it out.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-22 19:35:28
You have to change some variables in ff7_opengl.cfg, open it in notepad or any other text editor, every option is commented with an explanation of what it does.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-22 23:24:53
Will running in say, 1440x900 strech the picture or will it put black bars on the side?

EDIT:
Nevermind, tried it and it works. FANTASTIC!

I'm still noticing some horizontal tearing on fields, I didn't really check for it on the world map or battle screen
Also the battle swirl is back.  once again, FANTASTIC.
This looks like a 1.0 release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-22 23:32:49
That depends on the preserve_aspect setting; if its on, you get bars on the side (so, effective resolution becomes 1200x900), if its off, it'll stretch.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Landarma on 2009-04-23 03:07:53
Custom OpenGL driver demonstration clip: http://www.youtube.com/watch?v=UIwRgiDhZ9I
  I accidentally double-clicked ff7_opengl.reg, instead of ff7_opengl_tntfix.reg.  So the framerate is somewhat poor.  Also, I noticed some custom models are not shown with this driver while taking this video clip.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: apz freak on 2009-04-23 04:44:44
Blah blah blah, I wanna see some pictures!  :roll: I did it in my thread so cough em up!  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-23 14:48:05
You do realize that by this time, those pictures are just gonna look like they came from the original game, right? :-P

Landarma: nice video, I'll have to look into that texture issue (I'm probably missing something in the texture loader, its barely enough to load all the original game content correctly). I'm not sure why its so slow though, it can't be related to the tnt fix because that was never a speed thing and it just doesn't do anything anymore (which is why the 0.3b release doesn't even have those .reg files). Does it make any difference if you change the vsync setting?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Landarma on 2009-04-23 21:24:19
About speed and other things, I need to tinker with .cfg more.   :-D  And for the custom models, not just Slayernext's weapon models, but also some of Phoenix Rejuvenation models have 'invisible' problem.

**Oh, one more, the game crashed when I casted KoTR.  Not tested with other summons.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ultima espio on 2009-04-23 21:29:52
Even my crisis core models have that problem, but only aeris' head. I think it's because she doesnt have lighting on her head, i forgot to save it :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-04-26 17:39:54
A thing I discovered while trying to get this to work with FF7Music, if you launch FF7 via the "run FF7" button in FF7music, the driver will fail to load the shaders, despite them being in the correct folder. In order to solve it, just put the shaders folder into the same folder where your FF7music is located, doing so will make the game run with the open gl driver and your custom music.

One thing that has been bothering me though, I have played around with the various settings, and I seem to be unable to get some kind of bilinear filtering on the textures with this driver, the driver just doesn't support it, or I am missing something?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-26 21:40:15
The FF7music problem arises from the fact that shaders are loaded from a relative path (which means it depends on current working directory), I could solve this by reading the install dir reg key and using that as base dir for all file operations.

Bilinear filtering isn't "working" for three reasons:
1. D3D has to force it on you, FF7 can request it for any texture but it doesn't (the driver does provide filtering if FF7 wants it).
2. It makes everything look terrible in my opinion (low-res textures are filtered "too much" ruining what little detail they have)
3. You can't enable it all the time without introducing really bad glitches with fonts and field. (field has the layering problem, fonts are filtered differently when you change palette/size which ruins anything but plain static text)

I could probably get it "working" (i.e. do what D3D does) if I wanted to, but its low priority for now.

:EDIT: I need to look into the KOTR crash, I don't have any 100% completion saves available for testing at the moment, so I've been doing all the testing with my 11:30 speedrun, needless to say it doesn't have KOTR :-P (aka do what the release post says, provide the info I need to fix it)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-04-26 22:24:41
Do you have any idea what's on tap for 0.4?  I'm looking forward to every release of this.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-04-26 23:28:20
The FF7music problem arises from the fact that shaders are loaded from a relative path (which means it depends on current working directory), I could solve this by reading the install dir reg key and using that as base dir for all file operations.

Bilinear filtering isn't "working" for three reasons:
1. D3D has to force it on you, FF7 can request it for any texture but it doesn't (the driver does provide filtering if FF7 wants it).
2. It makes everything look terrible in my opinion (low-res textures are filtered "too much" ruining what little detail they have)
3. You can't enable it all the time without introducing really bad glitches with fonts and field. (field has the layering problem, fonts are filtered differently when you change palette/size which ruins anything but plain static text)

I could probably get it "working" (i.e. do what D3D does) if I wanted to, but its low priority for now.

:EDIT: I need to look into the KOTR crash, I don't have any 100% completion saves available for testing at the moment, so I've been doing all the testing with my 11:30 speedrun, needless to say it doesn't have KOTR :-P (aka do what the release post says, provide the info I need to fix it)

Thanks for the reply and for the explanation.
Yeah what I meant was to get some kind of filtering on the polygonal objects in the exact same way it happens in the d3d mode, but well it's also understandable it has a low priority, especially when compared to game breaking issues.  My bad :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-26 23:42:11
Hey, don't beat yourself up about it, I want to know about the small(er) issues too :-)

I don't really have any plans for 0.4, infact, I haven't touched the code since I made the 0.3b release.
But expect to see any combination of the following:
A fix for the KOTR crash, if I can reproduce it.
Support for the french version of FF7. (thanks to myst6re for providing the .exe)
A fix for the snowboard glitch, assuming I can figure out whats causing it.
Correct blending in certain situations where its still a bit off.
Better texture loader. (Support for more texture formats and more correct conversion of original and new graphics)
Linear texture filtering.
A replacement for frame buffer emulation. (Which will make all those effects much faster and better-looking)
Any other crazy stuff I can think of.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-04-27 00:16:15
For the KOTR crash, the casting start and the game itself works until the ground starts to collapse and the blue aura appears, so it crashes as soon the background should turn black. That's what windows reports:

Appname: ff7.exe (1.02 patch, nvidia/tnt checks on, unpatched) Appver: 0.0.0.0 Modname:FF7.exe Modver 0.0.0.0 Offset: 0028d2c3

clicking on the "detailed informations button" returns this:

Exception information

Code: 0xc0000005 Flags: 0x00000000 Record: 0x0000000000000000 Address: 0x000000000068d2c3

The applog.ini doesn't seem to show anything relevant the last lines are those:

[BATTLE] Entering FRAME_INITIALIZE
[BATTLE] Scene# 108
[BATTLE] Exitting FRAME_INITIALIZE
[BATTLE] Begin main battle loop
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-27 00:40:08
Yeah, that should be a simple one-liner, something I removed from the 0.3b release because I thought it wasn't necessary.

:EDIT:

Not that simple actually, but I have fixed the crash (at the cost of some effects not being visible).
This was actually something I neglected to fix, hoping it would never be used or just work anyway (because a proper fix is a lot of work) ..so much for that.
Seems like KOTR is the only place where it is used though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-04-27 01:20:13
I've just tried the snowboard game, and now it's awesome, the only glitches I can see are a small white line that randomly appears over the "speed xx km" text and when in the tree section of the track, if you crash on a tree, it fills the screen with garbage, that immediately disappears once you are back on the board and start moving again. A time, I had the exe crashing for an error at the offset 0x6356d08a, but that was one out of perhaps 30 playthrough of the minigame.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-27 01:37:00
The "tree problem" actually applies to any textured object, when you go past it, it gets warped and spewed all over the screen. You do not have to crash into the tree/whatever for this to happen.

That random crash is unsettling though, I had a random crash that I never really figured out that seemed to go away with the minigame crash fix, this could be what you're getting. I will look into it more deeply when I have the time.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-27 22:43:10
That whole missing custom models deal was actually a combination of two things;
They use unlit vertices, no model from the original data does this (I had no idea you could specify this in the .p format, it doesn't make any difference though since FF7 doesn't have any real lights) so I was simply ignoring them.
Those same vertices have 0 alpha so even if they were drawn, you wouldn't see them.

I'm just going to assume all unlit vertices have full alpha for now, I'm not sure how D3D handles this. Whoever made those models (or the tools that made the models), please don't use such obscure features :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-04-29 02:32:59
1.  window mode doesnt work if vsync is true.
 The menus just hangs on certain parts.  If you just click to load saved game without seeing the screens the game loads properly but graphics are all glitchy, the windowed world map picture also flickers.  Without vsync, aside from some minor tearing, its 100%

2.  some issues using this with fraps, SLIGHT slow downs.  But this happend with directx based game anyway....  it is minor.

This is awesome work

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-04-29 03:42:51
also, to fix the ffmusic thing, all you really need to do is open ff7.exe, then open ff7music afterwards (or vice versa)

FF7music stiill operates regardless of whether it was used to launch ff7.exe ;)[

The game appears to work 100% even now....ff7music with it.  Well done.  I will upload a smooth HQ youtube vid soon

/b]
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Brodgers on 2009-04-29 06:28:11
hey guys

I'm sorry to make a first post asking for help like this, but I'm a long time FF7 fan coming back to the game, and you guys are clearly doing some great things

I'm trying to install this patch.  I've extracted it into the FF7 folder, and then opened ff7_opengl.cfg (with notepad) and changed as necessary. After I've made those changes though I'm having trouble re-saving the file and and getting an error with:

"Cannot create the C:\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\ff7_opencl.cfg file.  Make sure the path and file name are correct."

I tried getting around this by saving to the desktop instead (seems fine) and then copy-paste back into the folder.  Then I ran the reg file (I tried both). There's no error messages when I do it this way, but when I run FF7 there's no change at all from the original.

I'm on Vista btw, which I'm still getting familiar with.  (XP just seemed so much more natural)

If anyone could point me in the right direction it would greatly appreciated.  I know this is probably alot simpler than what you guys normally deal with and have more important things to do, but I can hope at least, ha.

Thanks in advance
brent
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-29 12:19:43
Seifer Almasy: Window mode + vsync works fine here, so blame that on your drivers/OS/whatever :-)
Found another minor bug though, setting window_size to 0 doesn't use the original resolution in window mode. (It really tries to give you a 0x0 window)
And yes its true that FF7Music doesn't need to launch ff7.exe to work, all it needs is access to the debug output.

Brodgers: sounds like you don't have the right permissions, can't help you with that I'm afraid.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-04-29 13:02:58
Seifer Almasy: Window mode + vsync works fine here, so blame that on your drivers/OS/whatever :-)
Found another minor bug though, setting window_size to 0 doesn't use the original resolution in window mode. (It really tries to give you a 0x0 window)
And yes its true that FF7Music doesn't need to launch ff7.exe to work, all it needs is access to the debug output.

Brodgers: sounds like you don't have the right permissions, can't help you with that I'm afraid.

hmm what could cause that?  When I go into midgar, only 1 part of the screen loads, the rest is just black....

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-04-29 17:11:31
hey guys

I'm sorry to make a first post asking for help like this, but I'm a long time FF7 fan coming back to the game, and you guys are clearly doing some great things

I'm trying to install this patch.  I've extracted it into the FF7 folder, and then opened ff7_opengl.cfg (with notepad) and changed as necessary. After I've made those changes though I'm having trouble re-saving the file and and getting an error with:

"Cannot create the C:\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\ff7_opencl.cfg file.  Make sure the path and file name are correct."

I tried getting around this by saving to the desktop instead (seems fine) and then copy-paste back into the folder.  Then I ran the reg file (I tried both). There's no error messages when I do it this way, but when I run FF7 there's no change at all from the original.

I'm on Vista btw, which I'm still getting familiar with.  (XP just seemed so much more natural)

If anyone could point me in the right direction it would greatly appreciated.  I know this is probably alot simpler than what you guys normally deal with and have more important things to do, but I can hope at least, ha.

Thanks in advance
brent

Brodgers what you need to do is save the file to your desktop make sure you change it from ".txt" to "all file types" and save it with the .cfg format, then you drag and drop the file into your FF7 folder.
Note: i believe this only works if your account has full administrative controls, I've never used a PC with limited account control so i can't be for sure, Second option is open up the file with notepad run as an admin.

Good luck, and happy playing :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Brodgers on 2009-04-29 19:21:21

Brodgers what you need to do is save the file to your desktop make sure you change it from ".txt" to "all file types" and save it with the .cfg format, then you drag and drop the file into your FF7 folder.
Note: i believe this only works if your account has full administrative controls, I've never used a PC with limited account control so i can't be for sure, Second option is open up the file with notepad run as an admin.

Good luck, and happy playing :-D

Thanks for the advice.

My account has full admin, and I managed to get it saved like you said with no seemingly problems.  Then I ran the .reg.  However it seems to have no effect on the game.  (As I can basically type whatever I want in the .cfg without it changing anything)  This leads me to believe that I'm missing a step along the way, OR something's still up with the way the .cfg is saved.  Sorry to keep pestering you guys, but any ideas?

thanks,
brent 
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-04-29 19:47:44
Well i'm sure it's a dumb statement, But are you using Vista 32 or 64? Cause if you are using 64 and run the non vista 64 thats the problem. you can tell by clicking start, highlighting my computer and right clicking and selecting properties. it should tell you if you are using 32 or 64bit

Maybe you need a special program to save as a .cfg? I've never worked with that file type, Only .ini which you save like you would any other text document.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Brodgers on 2009-04-29 21:23:36
Well i'm sure it's a dumb statement, But are you using Vista 32 or 64? Cause if you are using 64 and run the non vista 64 thats the problem. you can tell by clicking start, highlighting my computer and right clicking and selecting properties. it should tell you if you are using 32 or 64bit

Maybe you need a special program to save as a .cfg? I've never worked with that file type, Only .ini which you save like you would any other text document.

Yeah I'm using 64, but i ran the 64bit.reg too so I dont think that's it.

I don't know, I'll try it again and see if I can figure anything out. 

Thanks guys
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-04-29 21:42:29
Anytime, sorry i can't be of anymore help, i (sadly) am using a 32bit OS
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Marc on 2009-04-29 22:30:46
I'd wager all my marbles that it's because of the virtual folders vista uses.

when you're copying into any program files folder by a way other than an install software, you're actually copying to a virtual folder and not to the real folder.  The easiest fix I would suggest would be to install FF7 to a non-default location (aka not inside program files).

Also make sure its a maximum install.  I don't know if it would affect this patch or not, but it affects most so if you want to improve your game, max install is a must.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-04-29 22:50:58
problem with vsync solved

I had triple buffering on.

Is there any reason why this would make all those problems?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-04-29 23:13:00
I'd wager all my marbles that it's because of the virtual folders vista uses.

when you're copying into any program files folder by a way other than an install software, you're actually copying to a virtual folder and not to the real folder.  The easiest fix I would suggest would be to install FF7 to a non-default location (aka not inside program files).

Also make sure its a maximum install.  I don't know if it would affect this patch or not, but it affects most so if you want to improve your game, max install is a must.

I would normally agree with you, But i did it all the time with no issue, Maybe they changed it in Win7, But it worked everytime for me.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-04-29 23:33:49
edited.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Brodgers on 2009-04-30 07:05:48
I'd wager all my marbles that it's because of the virtual folders vista uses.

when you're copying into any program files folder by a way other than an install software, you're actually copying to a virtual folder and not to the real folder.  The easiest fix I would suggest would be to install FF7 to a non-default location (aka not inside program files).

Also make sure its a maximum install.  I don't know if it would affect this patch or not, but it affects most so if you want to improve your game, max install is a must.

I would normally agree with you, But i did it all the time with no issue, Maybe they changed it in Win7, But it worked everytime for me.

yeah i did a max already, thanks for the suggestion either way.
 I'll definitely do the reinstall in a different folder and then try this again and see how it pans out, can't hurt to try.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-04-30 15:48:35
problem with vsync solved

I had triple buffering on.

Is there any reason why this would make all those problems?

Triple buffering+vsync does cause all those problems for me aswell, it's most likely a driver bug (triple buffering should be completely transparent to the application)

myst6re: You'll be happy to know that the french version of FF7 is now fully supported by this driver and will be working with 0.4 :-)

And whoever wanted linear filtering; that is now a config option.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-04-30 20:19:09
myst6re: You'll be happy to know that the french version of FF7 is now fully supported by this driver and will be working with 0.4 :-)

Booyah! Thank you very very much :mrgreen: .
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Brodgers on 2009-04-30 23:06:00
I'd wager all my marbles that it's because of the virtual folders vista uses.

when you're copying into any program files folder by a way other than an install software, you're actually copying to a virtual folder and not to the real folder.  The easiest fix I would suggest would be to install FF7 to a non-default location (aka not inside program files).

Also make sure its a maximum install.  I don't know if it would affect this patch or not, but it affects most so if you want to improve your game, max install is a must.

I would normally agree with you, But i did it all the time with no issue, Maybe they changed it in Win7, But it worked everytime for me.

yeah i did a max already, thanks for the suggestion either way.
 I'll definitely do the reinstall in a different folder and then try this again and see how it pans out, can't hurt to try.

yep this worked, thanks guys
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-03 03:10:36
Hello.

I'm new to these forums, though I remember getting here a while ago (when I still played FF7).

The thing is... I saw certain version published on Internet, and that made me remember about this game, so I did a little bit of searching, eventually leading me back here.

Though at the beginning I had some issues with video playback, now it's solved, and with a little bit of crawling, I read this thread, and I'm totally bought. Whatever you're doing it's like the OpenGL Enhanced Renderer for Deus Ex, and I like that.

I'd like to know what's this Snowboarding issue you talk about. It's about some random crashes, or a definite one? I wouldn't like my (retro) gameplay to be ruined by a totalitarian crash.

I congratulate you on your efforts, and I expect you keep improving on this gem.

Thank you very much for your support.

PS: If anything of what I said doesn't make any sense, bear with me: I'm not native. Thanks.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-03 18:44:50
The snowboard glitch was never a crash issue, its just a graphical problem. But that doesn't really matter now since I just fixed it for the upcoming 0.4b release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-03 21:34:54
does this work around mean that triple buffering actually has an effect?  Or is it that it just ignores it?>

oh and 1 other issue with triple buffering....seems to be scanning lines when using it
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-03 22:23:32
Triple buffering should work normally now (the application doesn't know about it and can't control it anyway) all I did was move some code around to side-step the driver bug.

:EDIT:

Seems like I accidentally included a config file with the resolution set to 1280x1024, replaced it with the correct file.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-04 00:43:12
well, using triple buffering with a 60 hz monitor, creates scanning lines.

The lines arent present at 75 hz

But all is ok
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-04 00:51:14
Scanning lines? You mean tearing?

Your graphics driver is ultimately in control of what happens to vsync and triple buffering, I can only *request* vsync and even that is not a core feature of OpenGL (and thus does not have to be supported)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-04 00:55:45
Scanning lines? You mean tearing?

Your graphics driver is ultimately in control of what happens to vsync and triple buffering, I can only *request* vsync and even that is not a core feature of OpenGL (and thus does not have to be supported)

yeah, tearing sorry.  I think I am spending too much time in editing software/TV editing etc hahaha

:P

np, was just lettin you know :)  It may still be recommended in ur help file to tell the person not to use triple buffering....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-04 05:24:21
Aali good news! (i hope) me and someone else on the forums are starting to make new FF7 models, and we are going to use a lighting value of 1!! i remember you having an issue with this, So hopefully it will help you out
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-05-04 10:05:20
Dumb question, but does this driver fix things to make the "chocobo patch" obsolete?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-04 10:25:36
Known problems
Some very minor graphical glitches.
Like which?

Dumb question, but does this driver fix things to make the "chocobo patch" obsolete?
Good question. Which patches have become obsolete?

Thank you for your effort.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-04 12:04:36
Some things just don't look like they're supposed to, mostly blending issues. For example, in the temple of the ancients scene when you see tseng get killed, you're not semi-transparent, things like that.

The config file clearly states which issues it will fix if the crash_fixes option is on (which is the default), among those the chocobo crash. You can still apply these patches without causing any problems though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-04 13:48:58
will transparency be fixed?

also....

http://www.youtube.com/watch?v=lgd69vkKFB8&fmt=18

Using your driver....should be totally correct, if there are any sync errors its youtube or fraps fault.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-04 14:51:13
It may be fixed, in due time.. it's very difficult to find out whats causing it and even if I do, it's just as difficult (if not more difficult) to come up with a fix that doesn't mess up anything else :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-04 16:49:39
well, you have done a great job already....

the alternative is forced full screen mediocrity.  So well done!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-04 17:10:46
Too bad your driver doesn't work with no cd versions. It's kind of lame to write a tool that works only with legit copy while the tool itself is 100% illegal... same goes for modding this game.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-04 17:55:20
Too bad your driver doesn't work with no cd versions. It's kind of lame to write a tool that works only with legit copy while the tool itself is 100% illegal... same goes for modding this game.

it is lame to write things for ungrateful arse holes.  You go and make it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-05-04 18:12:14
Hey Aali, I haven't quite got my game back up and running yet.   I'm still trying to get all the patches I'll need / want, and I came across grimmy307's FMV replacements. So on to my question.

With your new driver, is it possible that he could make movies at a higher resolution than 320x240 (or whatever it is) and your driver allow it to play properly?  I know you can add support for other movie formats... but what about resolution?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-04 18:23:05
it is lame to write things for ungrateful arse holes.  You go and make it.

No thanks, however I'd like to see you do anything in 3D then ;)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-04 18:46:48
Hey Aali, I haven't quite got my game back up and running yet.   I'm still trying to get all the patches I'll need / want, and I came across grimmy307's FMV replacements. So on to my question.

With your new driver, is it possible that he could make movies at a higher resolution than 320x240 (or whatever it is) and your driver allow it to play properly?  I know you can add support for other movie formats... but what about resolution?

It can play any resolution correctly already, as long as the aspect is the same as the original movie it'll work just fine.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-04 19:02:45
Too bad your driver doesn't work with no cd versions. It's kind of lame to write a tool that works only with legit copy while the tool itself is 100% illegal... same goes for modding this game.

There is nothing illegal about this driver. Distributing and using it shouldn't be illegal anywhere (it does not contain anything Squeenix or Eidos could claim as their own), there's no EULA and my country doesn't have any insane laws about reverse engineering.

You shouldn't talk about this at all on this forum (because it has been done to death and you wont change our minds) and you know it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: G3nius on 2009-05-04 19:14:20
However there are legal precedents when the reverse-engineering is aimed at interoperability of file formats and protocols.[1][2] In the United States, the Digital Millennium Copyright Act grants a safe harbor to reverse engineer software for the purposes of interoperability with other software.[3][4] In addition, many countries specifically permit a program to be copied for the purposes of reverse engineering.

1. Sega vs Accolade, 1992
2. Sony vs Connectix, 2000
3. 17 U.S.C. Sec. 1201(f).
4. WIPO Copyright and Performances and Phonograms Treaties Implementation Act

(This text was written about Skype protocol in wiki, but I think it could be used in this case)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-05 12:53:25
Really, it doesn't work with No-CDs? Because I'm not using the patch by The Saint for this very reason. I still have my original copy from the 90's, and there's no way in hell I'll play a game in the PC with a CD in 2009. I'm doing the same thing with FF8, bought the game back in the 90's and playing with No-CD nowadays. The FF8 laucher DOES work with the No-CD version though...

Guess I'll have to stick with standard resolution then.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-05 13:21:10
It doesn't work with No-CD cracks because I don't want to support those modified exe's.

Either way, FF7's cdcheck is very forgiving and you certainly don't need the actual CDs in a real CD-ROM drive to play, so I don't see the problem.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-05 16:49:08
Thankfully my friend seemed to have ff7 on cds so I borrewed it from him, however new problem arises. When I try launching the game (1.02 original exe, patched with lessdebug for FF7 music and yamp patches - transparent windows, minigames, limitbreaking) but the game crashes right after starting, all I get to see is black screen for like 1-2 seconds and then it crashes to desktop. I don't know what the reason could be but is it possible that it's because of my laptop? It doesn't really have a graphic card, it uses Intel GMA945 (A graphic accelerator, which doesn't even have pixel shader 2.0)

Here are 2 screenshots that I took:
http://i373.photobucket.com/albums/oo176/xxSchrodingerxx/pic1.jpg
http://i373.photobucket.com/albums/oo176/xxSchrodingerxx/pic2.jpg
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-05 17:18:59
Aali....

is it possible to make the game pan more smooth?

I have noticed that when the game is panning side to side (in the field, not on world map or movies), that it jitters.  I do not think this is anything to do with my setup, it seems tpo be a limitation of the game...?

and it did it without ur drivers too....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-05 20:27:46
I didn't notice that, the game runs smooth as silk, it feels way smoother than in d3d. Kudos to aali for that. Perhaps a small bug, if in my control panel at the voice "v-sync" I select "always on unless the application specifies otherwise" and I select true both on the vsync and the minigame fps limiter in the driver configuration, in the minigames there won't be any v-sync.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-05 20:28:34
Thankfully my friend seemed to have ff7 on cds so I borrewed it from him, however new problem arises. When I try launching the game (1.02 original exe, patched with lessdebug for FF7 music and yamp patches - transparent windows, minigames, limitbreaking) but the game crashes right after starting, all I get to see is black screen for like 1-2 seconds and then it crashes to desktop. I don't know what the reason could be but is it possible that it's because of my laptop? It doesn't really have a graphic card, it uses Intel GMA945 (A graphic accelerator, which doesn't even have pixel shader 2.0)

Here are 2 screenshots that I took:
http://i373.photobucket.com/albums/oo176/xxSchrodingerxx/pic1.jpg
http://i373.photobucket.com/albums/oo176/xxSchrodingerxx/pic2.jpg

Check APP.LOG for more information, either version detection failed or you're missing some required OpenGL feature.
You need OpenGL 2.0 (not to be confused with shader model 2.0, which is a d3d thing) to run 0.4b, but this requirement will be gone with 0.5b since I've implemented an OpenGL 1.1 backend. (That one does all the shader stuff on the CPU though, so it'll be slower, perhaps even slower than the original d3d driver)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-05 20:40:33
Seifer Almasy: I haven't noticed that either, but I do know that vsync behaves badly if you can't keep up with the refresh rate (because on a 60hz display it will drop to 30fps and "fight" with FF7s own framelimiter)

Red46: How vsync is handled is very much driver specific, the specs don't require the driver to honor any requests made by the application, so they can basically do whatever they want. (Your driver probably locks the swap interval to 1 and ignores any attempts to change it instead of just disallowing 0)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-05 21:13:13
Yep, I checked in APP.log, no OpenGL2.0. Too bad my PSU in PC has gone up in flames recently, I wouldn't need to worry about OpenGL problem now.
But I'm not surprised, my laptop is kind of prehistoric now. Hopefully you will be able to release 0.5 soon :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-06 00:25:53
Aali
So I'm wondering about adding videos of any resolution. I had to use 340x224 to match my vids to original resolution, but I experimented with larger multiples and all that displayed was the top left 340x224 pixels. However if I understand you correctly the larger multiples will be shown full screen. If that's true I've got work to do.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-06 01:25:01
Aali
So I'm wondering about adding videos of any resolution. I had to use 340x224 to match my vids to original resolution, but I experimented with larger multiples and all that displayed was the top left 340x224 pixels. However if I understand you correctly the larger multiples will be shown full screen. If that's true I've got work to do.

0.4b only supports the TM2.0 codec, but movies of *any* resolution should still play fullscreen (with black bar at the bottom to keep 4:3 aspect ratio).
0.5b will support just about every codec you can think of (and then some), the screenshot I posted in the FMV replacement thread was done with a completely unmodified TV rip of Futurama (xvid/mp3, 576x432).


On another note, I just added support for fullscreen post-processing filters, it's a bit slow at the moment and I haven't adapted or written any good filters yet, but here's a screenshot made with a fake bloom filter (originally for Pete's PSX GPU plugin):
(http://backup.ninjaloot.se/share/ff7%202009-05-06%2003-11-44-45.png)

That's a pretty bad filter for FF7 though, that was the only scene I could find where it really made a difference, and then it's waay too much instead.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-06 01:56:45
Great news and I'll start up again this coming weekend. If I finish editing higher qualities(1280x960) before 0.5 I'll try and do'em using TM2.0. Either way add as may codecs as possible.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-06 02:29:22
I started replaying the game and actually I have to say that playing the game in 640x480, without using the software filter, really makes them look waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay nicer than they used to, I never saw ff7 movies on pc look that good. Graet job again aali.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-06 19:33:24
(That one does all the shader stuff on the CPU though, so it'll be slower, perhaps even slower than the original d3d driver)

Now that made me think, my laptop has 1.6Ghz core2duo CPU and that brings me a question: Will 0.5 support multi-core CPUs? Or will it utilize only single core out of multicore CPUs?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-06 19:46:24
(That one does all the shader stuff on the CPU though, so it'll be slower, perhaps even slower than the original d3d driver)

Now that made me think, my laptop has 1.6Ghz core2duo CPU and that brings me a question: Will 0.5 support multi-core CPUs? Or will it utilize only single core out of multicore CPUs?

Thats something i'd like to see, Although i am wondering if there is much of a point to it, Anything on today's market and run FF7 amazingly well. So much so, that we need patches to LIMIT our PC's haha
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-06 21:02:39
Multi-threading is not worth the effort. At all. If your CPU has more than one core, it will be able to run FF7 at full speed, even with the relatively slow OpenGL 1.1 backend.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-05-07 03:43:07
I noticed while trying to run FF7 on my laptop using the driver that there are artifacts in the backgrounds and menus when using a custom resolution like 1280x800. Turning on FSAA in the driver makes the artifacts more apparent while running the game in 640x480 works great even with FSAA enabled.

Would be nice it if you could look into this small issue for a future release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-07 04:06:45
I've been thinking about implementing a system (part of the postprocessing stuff I'm doing now) that renders at the closest higher "320x240-compatible" resolution internally and then downscales it before displaying, that should look much better.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-07 22:28:11
Aali: Can you let me know what program you used to convert that Futurama video to use the TM2.0 codec. I've checked all my software and nothing encodes with that.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-07 22:45:47
Obviously I made that screenshot with the newer version, so I didn't have to convert anything.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-08 16:48:20
I noticed something weird, if I activate AA and AF in the control panel of my video card, they will show ingame just fine without creating artifacts and such. However, if I reboot my system, and launch FF7 the AA and AF will not work ingame, despite them being already active in the CP and working in other games. However it is easily fixed by going to my control panel and moving to off and back on the AA and AF slides.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MrAdults on 2009-05-08 20:06:46
Normal OpenGL antialiasing (when FBO's are not involved) is just a matter of asking the drivers to turn it on. So any problems you guys are having there are most likely driver issues and not at all fixable by Aali. FSAA/MSAA implementations on various hardware (on behalf of both ATi on nVidia) have had a variety of quirks. The first thing to do is, of course, make sure you have the latest drivers for your hardware.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-05-09 08:43:18
Normal OpenGL antialiasing (when FBO's are not involved) is just a matter of asking the drivers to turn it on. So any problems you guys are having there are most likely driver issues and not at all fixable by Aali. FSAA/MSAA implementations on various hardware (on behalf of both ATi on nVidia) have had a variety of quirks. The first thing to do is, of course, make sure you have the latest drivers for your hardware.
No, it's fixable in the way Aali described above. It's also possible to compensate for since it's essentially an issue with the drawing of the bitmap-grid that makes up the backgrounds.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-05-09 09:24:05
will transparency be fixed?

also....

http://www.youtube.com/watch?v=lgd69vkKFB8&fmt=18

Using your driver....should be totally correct, if there are any sync errors its youtube or fraps fault.

wow the sound in that clip is awesome. also the dialogues, is that what the transparent patch does?

oh and great work this driver looks like it will be excellent to use.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-09 12:36:55
thats what transparent dialog box does.....(nothing to do with aali patch)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MrAdults on 2009-05-09 16:16:37
No, it's fixable in the way Aali described above. It's also possible to compensate for since it's essentially an issue with the drawing of the bitmap-grid that makes up the backgrounds.
I was referring to the issues with bad states and having to reboot and so forth. Your complaint sounds like it's simply related to texel alignment, which is "fixable" in a variety of ways.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-05-09 19:59:39
ok thanks, has anyone got a clip of the game with just the custom graphics driver but no other graphics related patches?

If I understand this right, this allows various resolutions (not just 1280x960),  as well as working on all new gfx cards?  Which is good news for me although 640x480 works well on my laptop for some reason it scales it well so has full screen height, I eventually plan to play it on my desktop pc on a 22" lcd and 640x480 would be poor on it I expect.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-09 22:29:46
ok thanks, has anyone got a clip of the game with just the custom graphics driver but no other graphics related patches?

If I understand this right, this allows various resolutions (not just 1280x960),  as well as working on all new gfx cards?  Which is good news for me although 640x480 works well on my laptop for some reason it scales it well so has full screen height, I eventually plan to play it on my desktop pc on a 22" lcd and 640x480 would be poor on it I expect.

Just change the monitor scaling inside the nVidia control panel to off (if you have ATI there is away i don't know how though) that will fix any stretching you have.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-05-10 00:37:55
it will but on a 22" 640x480 will look small to the size of the monitor.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-05-10 12:08:25
No, it's fixable in the way Aali described above. It's also possible to compensate for since it's essentially an issue with the drawing of the bitmap-grid that makes up the backgrounds.
I was referring to the issues with bad states and having to reboot and so forth. Your complaint sounds like it's simply related to texel alignment, which is "fixable" in a variety of ways.
Ok, the "you guys" had me confused. :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-10 18:19:30
Just a small heads up for anyone using an ATI card. Using catalysts 9.4 with this driver, will cause massive fps drop in materia/items menu, and fields. Stick to 9.3.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-05-11 12:19:38
Just can say AWESOME :D

I'll try, 0.4 version, waiting for the 0.5 :D

Deniz

EDIT: 'kay, I tried it^^

But I can't see any differences^^ Mmmh... Just normal... I have the german 1.02 version of FF7- I think that's the problem, can you make a german Version of your Patch :D :D :D
eventually, and please, of course ;)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-11 13:57:40
Just can say AWESOME :D

I'll try, 0.4 version, waiting for the 0.5 :D

Deniz

EDIT: 'kay, I tried it^^

But I can't see any differences^^ Mmmh... Just normal... I have the german 1.02 version of FF7- I think that's the problem, can you make a german Version of your Patch :D :D :D
eventually, and please, of course ;)

Sounds more like it didn't load at all, its supposed to display an error message (or crash if version detection fails) when loaded into an incompatible version.
If you provide the .exe I can make sure its compatible with the german version, but that probably wont solve the problem you're having.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-11 16:02:16
http://cetraconnection.de/wp-content/dl/patch-riva.zip :wink:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-11 17:44:19
Done, 0.5b will have support for the german version :-) (0.4b does not and will give you an error message)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-05-11 21:19:47
Yaya, awesome, thank ya :D

But there's still one question... What are the differences exactly? AA or somthing like the High Res Patch, without High-Res, but with improvements :D

Yeah, I downloaded your 0.4b Version, copied to my FF7 directory and installed your registry key and started FF7^^

Nothing happened. No error message, nothing...

Does it work with Dziugo's Patches?


Could be that the problem?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-11 21:31:03
It will work with almost any patches (if not, you'll get an error message or crash)

The difference is that you can run FF7 in higher resolutions or window mode without introducing any new glitches. (Hi-res patch creates a number of glitches)
0.5b will allow you to create postprocessing shaders so you can apply fullscreen filters or whatever.

But the main goal is really to replace the d3d2 driver and get rid of all of its problems with newer hardware.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-12 03:49:48
won't 0.5b also allow other video codecs other then TM2? Or did you scrap that idea?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-12 04:24:57
Scrap it? I've already implemented it, I even posted a screenshot of it in action. :-P
But its not relevant unless you intend to replace the original movies, and there's no replacement set that isn't compatible with the original game (yet).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-12 06:19:32
Ohh alright, Awesome, Maybe i'll remake my own cutscenes in 720P! (unlikely, i suck at modeling haha)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Multech on 2009-05-12 10:02:37
I would like to congratulate you on doing such a fine job with this......
In fact I created an account on this forum just for this purpose...

The reason why I didn't use SAINT's mod was because it didn't support 1280x800 (which is the maximum resolution for my laptop)
and yours does....

I really love your mod but I came across a very minor problem and I thought that it would be good to let you know.... when using this mod (http://namespooferff7.synthasite.com/) and yours together, Cloud Strife is missing a part of his leg when in battle mode---

I will post a screenshot of this as soon as I learn how to....

But all in all, an excellent mod...
Thanks Aali

EDIT-- here is the screenie I promised... look at Cloud's leg foot, you may have to open it in a new tab to actually see it properly....
(http://a.ulpt.net/images/i5cakt58uqfychbnm52.jpg)






Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-12 10:45:36
Hmm, yes, looks like its kinda going through the floor there? I've noticed some other places where the z coords seem just a little bit off compared to d3d. Obviously not high priority but I'll be on the lookout for anything that could cause those issues.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-12 11:24:51
Edit:
Weird, I restarted laptop and now it works just fine, however there is another problem now. The movies don't show up, I only hear sound of them playing but instead of video I get white screen.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-12 11:34:52
Confirmed, the OpenGL 1.1/no FBO indirect path has some issues..
It should work if you make it render directly (internal res == output res) but then you get the minor field glitches of course.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-12 11:42:12
Awww, is it fixable for you in the next release? Also, any idea why the movies don't work now? (This also goes for fmv backgrounds :/)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-12 11:46:26
Actually, the movies do work, they're just never rendered to the screen properly.
The crash you had is because I'm still calling OpenGL 2.0 functions without checking whether its supported in some places.. (on my system that doesn't break anything since those functions exist)
It will all be fixed in 0.6b
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-12 11:51:38
Uhm, I don't get what do you mean by movies not being aligned properly, they don't show o.O I get pure white screen in all places where FMV's play, it's very gamebreaking due to ammount of places that use FMV backgrounds.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-12 12:01:27
Well thats what I said, they aren't rendered to the screen properly (but they are being decoded and rendered to a texture)
Unless of course you don't have NPOT textures either, in which case you're really screwed. That one may be fixed in 0.6b, maybe not.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-12 12:16:17
I have been playing the game and now I reached the whirlwind maze, however I noticed something weird at the barriers. The wind never seems to stop, as in graphically you always get the image of the wind gust blowing, however the image is deceiving as it could be possible to pass despite the wind blowing full force. The only way to see changes, is to slam against the wind gust and fight the enemy, after the fights the screen will be "updated". I literally just stood there for a good 10 mins watching the wind and it has never changed once. Also, on the second barrier those green waves, have a weird behaviour, if the wind is not at full force, they will move from right to left as they should, however just before making contact with the stone path you are walking on, they will disappear and appear immediately to the left of the stone path, "skipping" it basically. Third and last, when sephiroth disguises as one of your party members to deceive your party member into bringing the black materia to the crater, the moment where your party mates disappear, and the character you gave the materia to wonders where they are gone, the rock path turns totally white.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-12 12:24:52
Not sure about that last issue, but the whirlwind maze issue is a known problem with the Nvidia fix. I haven't found the code responsible for it, but I think its writing directly to the palette (and the palette is only ever read when the texture is first loaded if the Nvidia fix is enabled). If I do find said piece of code, I can easily fix it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-12 13:34:26
Well, another bug report :P. In the crater, when cloud hands sephiroth the black materia, ff7 exe crashes with the following report:

Application that caused the error ff7.exe, version 0.0.0.0, module that caused the error msvcr90.dll, version 9.0.21022.8, address 0x0003b439.

I tried to play through that part with the d3d driver and, the fmw will play flawlessly. Also I noticed that the bug about the screen turning white is present also in the d3d driver, so perhaps is something related to the nvidia fix aswell.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-12 17:17:02
Looks like something messed up the stack there.. and I can't reproduce it, so that's not going to be easy to track down.

:EDIT:
Are you using the nice_movies option by any chance?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-12 21:58:15
Nope, I am playing with that option off.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-13 00:28:18
Bug report, I can't play any movies, just a black screen shows up, At first i thought it was cause i am using the new movies by grimmy307

But even the Eidos logo and starting credits won't play.

Anyone else having this issue? I have the true motion codec so that can't be it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-13 03:04:49
I just tried 0.5 and it is great. Just to see I put in the unedited CC secret ending at full resolution(1080x720) for my opening and wow it played perfect just as promised. I noticed some custom models are missing pieces. I remember this was discussed a few pages back being something about lighting or full alpha, Is their anyway to make those missing pieces visible in 0.6.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-05-13 03:34:47
I confirm the wind graphics bug happens in the normal res as I have experienced it last time I played the game a year or so ago.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-13 16:19:59
hellbringer616:

Check APP.LOG for any glitch/error messages.

Oh and you don't need any codecs, they're all in the driver.

grimmy307:

Which custom models? I have to test them myself to be able to tell why they're not visible.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-13 17:16:54
Got it to work, Forgot the all to important "\" at the end of the movie string in the reg haha. :wink:

Audio is skippy in the movies but i am sure thats not the drivers fault.

Anyway i can force 32 bit color over 16bit or whatever they use for movies? cause it almost hurts my eyes haha
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-13 17:36:33
Actually, skippy audio may very well be the drivers fault. The movie player is a total hack and relies on audio data being available at the same time as the corresponding video frame. This is not always the case with certain codecs/muxers, especially if the audio stream is compressed with a VBR algorithm (original movies store audio as raw PCM data). During my tests I couldn't find any movies that triggered this problem, but its certainly possible to encode a movie that, while technically correct, won't play audio properly in this driver.

Video frames are converted to 32-bit BGRA before rendering, the only thing that still uses 16-bit colors, and this is completely unrelated to movies, is the framebuffer emulation (because the engine expects the framebuffer to be 640x480 BGRA5551, you can clearly see this during the Odin summon, there's a very noticeable drop in quality when monsters get sliced) and even this will go away with 0.6b
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-13 20:16:53
Oh alright, probably because of screensize as to why they are so grainy then haha. They seemed a bit more grainy then original ones, But oh well, Thanks for your help and as always, great work on the driver  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-13 20:32:01
yeah about that odin summon.  LAst time I used the driver (not 0.5), there were animation black boxes around the enemy sprites at the time they get split in half.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-13 22:54:15
yeah about that odin summon.  LAst time I used the driver (not 0.5), there were animation black boxes around the enemy sprites at the time they get split in half.

Indeed, that was a problem with 0.4b not loading the texture correctly, its not there in 0.5b.

:EDIT: On the other hand, 0.5b fudged just about all the other framebuffer effects :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-13 23:25:06
keep up the good work!  :-o
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-14 01:38:28
I was using Namespoofer's AC models, and PRP.

The pic above with Cloud missing his left thigh is the same problem I experienced.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-15 02:49:04
I was using Namespoofer's AC models, and PRP.

The pic above with Cloud missing his left thigh is the same problem I experienced.

Since Namespoofer is not distributing his models anymore, could you provide a copy of them for testing purposes? PM me with the details.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-05-15 04:15:52
yeah on my vista i have those graphic glitches as well! when i apply the AC (beta) mod or PRP mod, the characters are missing body parts such as legs, arms, etc. and even in battle, some of the monsters are invisible (i have the target icons on) and when i kill 1 of them, the others appear... any idea why is this? and wut the problem may be? this only happens on vista and not on xp so far as i know...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-05-15 15:27:10
Aali, I see that you mentioned the .tex format early on in this thread and was wondering if your driver already implements the ability to use bitmap (or any other format) to use in place of it.  From your post I get the feeling that this is already possible?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-15 15:45:48
Well, I don't control what the engine loads for me, but if you make a special .tex file that actually contains a filename, I'm sure we can do business :-D

I don't see the real benefit though, the .tex format is pretty capable on its own.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-05-15 15:49:14
hey how do u post a pic on here? i want to show a pic of my gameplay to show my problems with any mod/patch that changes the character's appearances
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-15 15:56:16
hey how do u post a pic on here? i want to show a pic of my gameplay to show my problems with any mod/patch that changes the character's appearances

upload to photobucket, paste the image code
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-05-15 20:02:00
(http://i723.photobucket.com/albums/ww236/drfeelgud88/MissingParts.jpg)
ok i got it... can some1 tell me how i can fix that? i got hardcore mod installed, dzuigo's patches (only minigames, 9999 limit, and transparent boxes), high res cloud (i got this modified file from som1) and... the advent avatars... and i think thats it
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-15 20:39:47
Looks like the same problem as with the other missing custom models, will be fixed in 0.6b
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-16 00:07:19
Aali : Question, or more of a request really. I was thinking about start menu and avatar size limits, and then thought maybe those limits could be side stepped like you did with movie sizes. What do you think. Is there anyway to do such a thing.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-16 00:19:13
Grimmy, there are no limits for menu and avatars. I actually took the original .bmp for menu which was 256x256, resized it to 2048x2048 and then placed my own render of buster sword in place of old one, saved and put ingame. Worked wonders.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-05-16 00:23:54
Aali, altho i dont have any npc remodelin patches done in this 1, (say for example PRP), but when i apply it, also same results as shown in the picture. for example, cloud's missing his arms and chest, only his head, sword and 1 leg is visible lol
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-16 00:31:01
Funny thing is I haven't experianced any graphic bugs or errors using 0.5 in OpenGL 1.1 mode other than the videos not playing.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-05-16 00:34:46
um, sorry to be a newb but how do u get the 0.5 thing to work?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-16 00:48:57
Normally...
Just extract everything in the .zip to your FF7 main folder, then run ff7_opengl.reg or ff7_opengl_vista64bit.reg depending on your system. (ff7_opengl.reg for 32bit versions of XP, Vista and Windows 7 while ff7_opengl_vista64bit.reg for 64bit XP, Vista or Windows 7 :P )
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-16 00:55:58
Aurenasek116 : Did you do that  with the opengl or an unmodded game?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-16 01:06:26
Only tested using Aali's driver. But I can test using regular config if you want.

Edit: Works just fine without using Aali's driver, the game automaticly upscales/downscales the image from 2048x2048 to the resolution in use :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-16 02:31:44
Well, it's just a texture so as long as your graphics driver can load it, it should be no problem at all.

FF7 doesn't even have a system for 2D graphics, everything is done with polygons and textures.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-05-16 17:31:11
Hey jo wassup there :P

So I checked out the ff7_opengl.cfg and changed this to:

---------------------------------------------------
# set the window size (and fullscreen resolution) of FF7
# 0 means use original resolution (whatever ff7.exe provides)
# preserve_aspect adds black borders as needed to preserve a 4:3 aspect ratio
# set fullscreen to false for window mode
window_size_x = 1024
window_size_y = 768
preserve_aspect = falsefullscreen = true
---------------------------------------------------

So, when I am starting ff7 (in Admin-Mode, cause it doesn't work otherwise I think- in non-Admin Mode FF7 don't use your Driver) it's opening FF7 and closing it^^

What's going wrong? I changed everything to old in the cfg, but it's still not working^^ It's starting FF7 and closing it very fast^^

MfG,

Deniz

APP-Log:
INITIALIZE DD/D3D START
INFO: Auto-detected version: 1.02 German
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1024x768, output resolution 1024x768, internal resolution 1280x960
INFO: FBO extension detected, using fast scaling/postprocessing path
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
initializing sound...

WHY is there a internal resolution of 1280x960? My laptop screen doesn't support 960^^ max 800^^
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-16 17:44:10
While its odd that the driver doesn't work and doesn't produce a helpful error message, the internal resolution seems just right for your system. The prevent_rounding_errors option automatically detects the optimal resolution to render in for your system. It doesn't matter if your screen doesn't support the resolution as long as you have FBO support, which you do.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-16 17:49:49
Just a thought.  When this is out of beta, will a front end program be made as a launcher and option enabler?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-16 18:42:34
took a pic of the glitch happening when sephiroth tricks your party member in the north cave, http://img39.imageshack.us/my.php?image=crater.jpg (http://img39.imageshack.us/my.php?image=crater.jpg) that I reported few posts ago.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-05-16 18:59:05
Ok, and we is ff7 shuting down itself?

Its starting

*start*

take a second

*back to destop*

Any ideas?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-16 19:38:05
Ok, and we is ff7 shuting down itself?

Its starting

*start*

take a second

*back to destop*

Any ideas?

Works fine here, with the exact same config. Check your sound drivers (if "initializing sound..." really is the last line of output in APP.LOG)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-05-16 20:07:49
It's working without your "mod"- but when I activate it, It just starts and turns then to the destop^^

Sound-Initialasing IS the last line in the log...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-16 23:00:38
Very odd, I have no idea what could be causing it.

Completely unrelated; I figured out where model data is converted from raw .p data to a "renderable" format, so I could easily implement a system for injecting custom models in some other format than .p. Animation will be troublesome though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-05-17 00:11:21
After it throws you back to the desktop, is the ff7.exe process still running? You can check that in the task manager. If it's still running, the problem is that it refuses to run in the foreground. One temporary solution that you can use, if that's the case, may be to run it windowed instead of full screen.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Landarma on 2009-05-17 00:14:54
After it throws you back to the desktop, is the ff7.exe process still running? You can check that in the task manager. If it's still running, the problem is that it refuses to run in the foreground. One temporary solution that you can use, if that's the case, may be to run it windowed instead of full screen.
To me, it happens when I run the game with Win9x compatibility mode.(1.02 can run without compatibility mode in XP, and it doesn't produce such problem) 
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-17 00:44:54
I figured out where model data is converted from raw .p data to a "renderable" format, so I could easily implement a system for injecting custom models in some other format than .p. Animation will be troublesome though.

Nice find, but as you've stated animations would be troublesome... maybe it could be used for static objects that don't require animations.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-17 00:48:08
Well, original animations would still be applied, assuming your model is compatible with the original skeleton. I was talking about the problem of applying new, improved animations :-P (which is difficult but not in any way limited by the original engine)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-17 01:15:52
Well, original animations would still be applied, assuming your model is compatible with the original skeleton. I was talking about the problem of applying new, improved animations :-P (which is difficult but not in any way limited by the original engine)

Oh, that's interesting. Would save time of getting model from .3ds into .p I thought you ment the custom format models wouldn't work with skeletons.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-17 01:20:25
I think you're missing the point here.. with a more capable model format you could do a whole bunch of new stuff, like lighting (assuming I invent some way to define lights for a given scene), materials, weighted vertices etc.

Oh and what I said earlier about making special .tex files that really contain a filename that points to the real texture, I think thats the way to go if you want to replace existing textures. It does require you to modify the original content, but since you don't have to do any kind of checksum, there will be very little overhead at run-time.

After 0.6b (which is more or less a bugfix release, along with the promised improved framebuffer effects) I'll start working on some kind of specification for all of this.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-05-17 02:05:20
Aali, seriously, your driver is getting ridiculous.  I suppose next you'll find out that you can bypass the 15 and 30fps limiters, so the whole game runs smoothly at 60fps.

Keep up the amazing work!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-17 04:02:35
60FPS? if you do that Aali i will love you haha  :-D

Awesome job man, You are one of the best modders here
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-17 05:23:44
Aali, seriously, your driver is getting ridiculous.  I suppose next you'll find out that you can bypass the 15 and 30fps limiters, so the whole game runs smoothly at 60fps.

Keep up the amazing work!

That is definately needed....not so much for battle screens but in the towns, it has always been a little jerky.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-05-17 14:35:31
It's working without your "mod"- but when I activate it, It just starts and turns then to the destop^^

Sound-Initialasing IS the last line in the log...
Having the same problem on my stationary PC. I've tried changing all of the options in the cfg without success.

On my laptop the 0.5 driver works but I still get graphical glitches in the backgrounds.


Edit. ran a quick debug session and the log is showing:
Code: [Select]
Debugged application message: INITIALIZE DD/D3D END
.
Debugger: Library loaded: C:\Windows\SysWOW64\hid.dll
Debugger: Library loaded: C:\Windows\SysWOW64\wintrust.dll
Debugger: Library loaded: C:\Windows\SysWOW64\crypt32.dll
Debugger: Library loaded: C:\Windows\SysWOW64\msasn1.dll
Debugger: Library loaded: C:\Windows\syswow64\imagehlp.dll
Debugger: Thread started: id=00000648, entry=77008770.
Debugger: Thread started: id=00000FE0, entry=77008770.
Debugged application message: initializing sound...
.
Debugger: Library loaded: C:\Windows\syswow64\clbcatq.dll
Debugger: Library loaded: C:\Windows\SysWOW64\MMDevAPI.dll
Debugged application message: DIRECT SOUND ERROR
.
Debugged application message:    ERROR: No sound driver is available for use. in FILE C:\lib\src\sound\dx_snd.cpp LINE 68
.
Debugger: Thread terminated: id=00000648 (exit code = 0x0).
Debugger: Thread terminated: id=000001D4 (exit code = 0x0).
Debugger: Thread terminated: id=000012F0 (exit code = 0x0).
Debugger: Thread terminated: id=00000FE0 (exit code = 0x0).
Debugger: Process terminated (exit code = 0h).

If you run the config utility and select the correct sound device and then run the .reg file provided with Aali's custom driver it should work. It did for me.


Apart from the above mentioned problems pertaining to my laptop I still get a few graphical glitches in the menus and on effects like the damage numbers in combat on my stationary PC. This only happens in resolutions that a not evenly dividable by the original resolution and I prefer to run it in 1940x1440 with no scaling in the monitor (Nvidia apparently finally got around to fixing this - I'm impressed) so it's not a big deal.

On the laptop it’s a bigger problem though native resolution of 1280x800 only allows for a max evenly divisible resolution of 640x480. The graphical glitches are also more evident on the laptop.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-17 16:09:53
Funny thing because I'm also using laptop with these settings:

Code: [Select]
window_size_x = 1280
window_size_y = 800
preserve_aspect = false
fullscreen = true

internal_size_x = 1280
internal_size_y = 800

And I don't have any glitches other than movies not playing (But that's seperate bug from what Aali said). I don't have any problems with model parts not showing up and so on o.O Weird stuff.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-17 17:06:54
Apart from the above mentioned problems pertaining to my laptop I still get a few graphical glitches in the menus and on effects like the damage numbers in combat on my stationary PC. This only happens in resolutions that a not evenly dividable by the original resolution and I prefer to run it in 1940x1440 with no scaling in the monitor (Nvidia apparently finally got around to fixing this - I'm impressed) so it's not a big deal.

I'm aware of this problem, its those textures that have both low and high quality versions that mess it up (low quality versions are meant to be used with 320x240, high quality versions need a multiple of 640x480 to look good).

Set internal resolution manually if the automatic detection gives you a "bad" (320x240-compatible but not 640x480-compatible) resolution.
In 0.6b I'll add a "prevent_more_rounding_errors" option that does this automatically :-P


Not sure whats up with that sound driver issue, but you should always run FF7Config before installing the driver to set any other options you might want. The only options the .reg file will override are Renderer and any Nvidia options you might have set.

:EDIT: Oops, display resolution is set to 640x480 by the reg file, my bad :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-17 17:14:43
FF7 has textures? haha How do i tell which textures i have? I'm running at 1280 x 960?

Also, last i knew you could only do this through rivatuner, But with your graphics driver you can use the nvidia control panel to up the AA and the AF

Here is a picture showcasing 16XQ AA and 16X AF (what the point of it is, I don't know)

(http://i250.photobucket.com/albums/gg278/hellbringer616/16QAA16AF1280x960.png)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-17 17:20:03
FF7 doesn't even have a system for 2D graphics, everything is done with polygons and textures.

If you have the low-res textures, fonts will look like they do on the PSX.

Any AA and AF settings should work just fine, AF is not that important since there's not much perspective scaling going on and most textures look like crap anyway.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-17 17:58:00
Yep using high quality textures, fonts look way better.

And i noticed AF doesn't do much, think might have even made it crappier haha, Cause maybe it was always there, But i can see where Clouds legs are clipping. And how his arms aren't connected to his torso haha
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-17 18:01:23
Yeah.. those things aren't even textured, so you're just pulling that out of your ass. :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-17 18:03:33
Yeah.. those things aren't even textured, so you're just pulling that out of your ass. :-P

Indeedy, it's anti-aliasing that made clipping on models more visibile :P The only textured parts on character models in FF7 are eyes and some minor things like Soldier logo on Cloud's belt in final battle version of his model.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: magixts on 2009-05-17 18:06:57
Aurenasek116:
I suppose it could be because you have preserve_aspect set to false. I did not try this option.

Aali:
I gave it a try setting the internal resolution to 4 * 640 x 480 = 2560 x 1920 and it does work! No artifacts as far as I can tell.

Now if it could only use the internal- to actual resolution scaling on the backgrounds and render the 3d objects independently when FSAA is enabled the stretching would not be noticeable at all.

I think the sound problem was an effect of me reinstalling the creative drivers a few days back but seeing as d33eniz had the same problem with it silently failing at the “initializing sound...” line I thought it be worthy of posting.

Anyway, the driver is really coming along nicely! Good job! :)


Edit.
Forgot to say that the artifacts are nowhere to be found using a multiplier of 640 x 480 for internal resolution on my laptop aswell. Movies show, everything works great!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-17 18:26:35
Yeah.. those things aren't even textured, so you're just pulling that out of your ass. :-P

Haha like i said, I THINK but looks like it's the AA doing it, Doesn't happen on the high poly models from the PRP, So. no worries  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-17 22:44:46
Grimmy, there are no limits for menu and avatars. I actually took the original .bmp for menu which was 256x256, resized it to 2048x2048 and then placed my own render of buster sword in place of old one, saved and put ingame. Worked wonders.

I did that and the only portion of the new menu pic I could see was the original size of the top left corner. I will do it again as a black and white bmp at 2048x2048 with grid lines set every 25 pixels, however I suspect it will only show the original image size. If you could paste a link to this 2048x2048 menu that works I will be less skeptical.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-17 22:59:58
Yes, that's what I did but I really didn't explain properly.
What I did was:

1. Make the whole image 4096x4096 (So that 1/4 of it would be 2048x2048)
2. Place my 2048x2048 render in the top left corner 1/4

That's about it, sorry for not describing it better in earlier post :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-18 02:01:10
Its quite odd that it doesn't just stretch the texture..

By the way, I fixed the whirlwind maze glitch. :-D
Turns out there is a driver call for writing to a palette, I just hadn't realized what it was for. (d3d driver writes to the dd palette ...which is never used when the nvidia fix is on)

Oh and while this is most obvious in the whirlwind maze, A LOT of field background animations were missing without this functionality. It's mostly small things like pulsing/moving lights but it does make a difference to the overall atmosphere and I'm very happy I finally nailed this glitch. :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-18 12:02:05
Its quite odd that it doesn't just stretch the texture..

Yeah, no matter what how much space you will fill on buster.bmp only the original 1/4th will be displayed at the center of the screen, all space around it is automaticly turned pure black by the game itself.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-18 20:07:24
It also fixed the part in which Sephiroth disguises in order to get the black materia from the party, last time i saw that part rendered correctly was back when I had a pc with an ati rage pro turbo, too bad I still get that crash after the cscene3.avi ends, but that has to do more with my windows config/hardware than with the driver,  awesome joob Aali :D.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-18 20:27:06
Great job Aali, about to test if some of the PRP models are still invisible
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-18 20:28:17
Well I can see all those invisible things now, like the first two guards. But now I've got a green grid on all Field maps like this

(http://i689.photobucket.com/albums/vv252/grimmy307/ff72009-05-1815-14-02-09.jpg?t=1242678153).

I reset to 0.5 and they are rendered correctly, so what's making it do that with 0.6.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-18 20:34:34
I was just about to post the exact same thing Grimmy.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-18 20:41:54
Oh, total bummer, I left out the code that overrides your Nvidia settings.
Just disable everything in FF7Config and it'll work.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-18 20:49:00
The game crash when I enter a battle!
crash.dmp + APP.LOG (http://www.wikisquare.com/public/battle%20crash.zip)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-18 20:49:36
That worked. Great job, by far the best thing for FFVII PC ever. Write your self a post it note about adding the nvidia settings override to the next release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-18 20:50:34
just disable the nvidia options in the config right?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-18 20:58:10
Hellbringer, just uncheck the nvidia box, worked for me.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-18 21:00:45
Thats what i meant haha, But thanks. Worked like a charm :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-18 21:02:16
The game crash when I enter a battle!
crash.dmp + APP.LOG (http://www.wikisquare.com/public/battle%20crash.zip)

Yep, seems like I broke the french version.. Not much you can do about it I'm afraid, it will be fixed in the next version though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-18 21:14:37
OK thanks, that's what I thought :roll:.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-18 23:43:34
forgive me if this has been mentioned....but is it possible to use bicubic sizing of the field maps?

At the moment it seems to be nearest neighbour and as such there is pixellation  even at 640*480

edited
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-19 00:20:52
forgive me if this has been mentioned....but is it possible to use bicubic sizing of the field maps?

At the moment it seems to be nearest neighbour and as such there is pixellation  even at 640*480

edited

Its possible and it looks terrible. Field tiles have to be pixel-perfect or you'll see stuff that shouldn't be visible and vice versa. TheSaint did some experimenting with this, the screenshots should be available on the forums somewhere.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-19 00:46:51
I know nothing about the dynamics of professional games like FF7.  Why do they use tiles?  Why doesn't it load the whole 2D map?  Is this a limitation of the engine or the system it is placed on?  Does exactly the same loading method occur on all platforms?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-19 00:52:31
The whole tiling business is most likely an artifact from the PSX version, where both RAM and VRAM were in short supply.
But the tiling is not the problem. Even if each layer was a normal 2D image you'd still have to make them fit together perfectly. You can't do it with ONE image since then there would be no depth and your 3D models would just walk around on top of everything.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-05-19 00:54:04
ok... i fresh (max) installed my game, (none of those drivers nor slideshow or movie show or wutever it is were ticked) and then when i played it, in the 1st battle (2 MP's), 1 of them was missing the his head and gun. when i killed the 1st 1 (the 1 that looked normal), the 2nd 1's head and gun appeared... so i want to know wut could be the cause of this? maybe this has been answered and i apologize if it has.

NOTE: I did not apply any patches/mods to this. The install b4 this 1, i had 1.02 exe, saints, dzuigo's patches and still same results
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-19 01:06:57
it with ONE image since then there would be no depth and your 3D models would just walk around on top of everything.

ah of course!  I never thought about that!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-19 01:14:54
ok... i fresh (max) installed my game, (none of those drivers nor slideshow or movie show or wutever it is were ticked) and then when i played it, in the 1st battle (2 MP's), 1 of them was missing the his head and gun. when i killed the 1st 1 (the 1 that looked normal), the 2nd 1's head and gun appeared... so i want to know wut could be the cause of this? maybe this has been answered and i apologize if it has.

NOTE: I did not apply any patches/mods to this. The install b4 this 1, i had 1.02 exe, saints, dzuigo's patches and still same results

This is using the original data files? No new models or anything? If so, I would like to have a look at that APP.LOG. That sounds very odd and I can't reproduce it here.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-19 02:59:57

Took a look with fraps to check the framerate.  Field, instead of running at 30 at all times, runs at 29/28.  The Vsync problem seems to be gone for some reason, who knows what happened with that..


I have noticed frame rate drops also, but mine stay at 29/30 fps unless fraps is recording.  That is when it drops to 27/28.  regardless, there does seem to be some issue.  perhaps it is more a fraps issue?

I am also wondering if it is a nvidia problem.  I have a 7900 GS, what is yours?  I know with newer drivers of nvidia there is a serious fps bug but this hasn't shown up with Aali's driver.

Aali states he is getting smooth 30fps all the time....that is certainly not what I am getting with or without this driver.  It is the same....27-29 (and sometimes 30 when not recording)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-05-19 05:46:25
I am also getting the framerate problem. i have 29fps in cities. 30fps on world map. 23-24fps in menu and lower when exiting the menu and 15fps in battles which drops from time to time but tends to stay solid. thats with driver 0.6. without the driver i get 29fps in cities. 30fps on world map and 60fps in the in-game menu.
I have AMD5000+ processor, Geforce 9600 GSO overclocked to 1900mhz and 670mhz GDDR3, 2GB RAM (i have tried the latest geforce driver and still as the same effect so i went back to 185.65 which works better for me then the offical driver 185.85 and i also have the AMD dual core optimizer). I am also using windows XP Sp3 incase this also makes a difference.
The framerates arnt unplayable its just a bit of a slow menu thats a little anonying for me.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-05-19 05:47:48
Aali, yeah, even with a fresh install and nothing patched onto it produces this result (original files yes)... I uninstalled my ff7 atm but i will reinstall soon and then show u wut it is i need to show u
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-05-19 06:19:59
I'm guessing most of you have dual core processors.  You may want to try running ff7, opening the task manager, right click on ff7.exe and set affinity for only cpu 0 or cpu 1.   Don't have both checked.  I forget what this fixes, but I want to remember it making my game run smoother when I did it.

If your complaints are about the game running 30fps in the field and 15fps in battle... that's what it is supposed to do.  At least until Aali finds some loophole to allow 60fps everywhere.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-05-19 07:09:58
obesebear i know 30fps in standard and 15 fps in battle is standard. but is 28-29fps in cities suposed to be standard ?  and i am very sure that 23-24fps in game menu is not right (i know this because without the driver i get 60fps in the in-game menu). so thats my problem. the game is playing at decent rates its just the in-game menu running slow and a little bit slower in cities with the driver on then without the driver. (so just to make it clear world map and battles play fine just cities and in game menu is slower). Although i will try running the game on 1 processor tonight to see if it makes any difference so thanks for that advice.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-19 11:19:13
Too bad I don't have any slow windows computers to test it on. I'll bet you anything its the relatively large number of texture conversions it has to do. I have something in mind that should make it a lot faster, especially in the menu.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-19 12:49:14
I will give it a test.  Also, I always use affinity of 1 with older games :)  I set threading optimisations off in nvidia also, so it does it automatically.
----------

fps is same.  29-30 in field and 27 when recording with fraps.  I don't get it :)  If you are using fraps, which version...?

Although there does seem to be better performance when not recording.  It stays on 30 now and menus are working at 60
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-19 13:59:53
If fraps is artificially lowering the refresh rate to 30hz while recording, that will clash with FF7's own framelimiter and cause a noticeable drop in performance.
But recording will always be much slower, moving data from VRAM to RAM is a slow operation.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-19 14:06:04
That is a pity....  I assumed with a high spec computer it would be able to manage it, esp recording 640*480 @ 30 fps....

But obviously this is fraps.,....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-19 14:09:31
Well, try recording at 60fps, as odd as it sounds, that may very well work better.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-19 14:11:41
Well, try recording at 60fps, as odd as it sounds, that may very well work better.

yeah tried that before now :)  It just goes straight down to 27 fps....

It is strange that no matter what I do it is always 27 when recording.  It does seem to be a fraps issue though.....hopefully others around here will confirm the same.

and it doesn't seem to drop any frames with any other game I have including mario kart 64 emulated and Halo....it stays rock solid.

It obviously has issues with ff7
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-05-19 17:04:51
menu's seem to work fine now (now slowdown at all now thanks alot). I also had the same problem with fraps but a friend of mine e-mailed me earlyer and told me to try camstudio-2.0 which is also freeware so when i get a chance later on i will try installing that and giving it a go.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-19 17:09:34
I found a bug in Forgotten Capital : Video (http://wikisquare.com/public/ff7.wmv)

The TM video should be repeated, but it stops.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-19 17:09:57
camstudio is  waste of time.  It skips a lot and is primariliy a desktop recorder....let me know how you get on.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Klaid Liadon on 2009-05-19 17:21:11
I installed the drivers, and i can't see any change even if i edit the cfg file and re add the reg file. I tried 640x480 windowed and it still runs in fullscreen
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-19 17:43:08
I installed the drivers, and i can't see any change even if i edit the cfg file and re add the reg file. I tried 640x480 windowed and it still runs in fullscreen

did you set full screen to = false ?  I am guessing you did....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-19 18:36:54
I found a bug in Forgotten Capital : Video (http://wikisquare.com/public/ff7.wmv)

The TM video should be repeated, but it stops.

Nice find, I'll have a look at it :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Klaid Liadon on 2009-05-19 18:39:20
Yes i did, i tried various combination of options but the output it's always the same, like the basic 640x480 software render
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aurenasek116 on 2009-05-19 19:09:46
I found a bug in Forgotten Capital : Video (http://wikisquare.com/public/ff7.wmv)

The TM video should be repeated, but it stops.

Nice find, I'll have a look at it :-)

That bug occurs with all videos that should repeat (example: lifestream flow in final dungeon before fighting Bizzaro Seph)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-05-19 19:27:46
Jo Aaaaaaliiii :D

So, I tried it on my PC's 1st Partition (I don't really know what it's in english exactly xD) is my Vista installed without any updates and things from Microsoft and something else- but it's working on this part^^

(http://www3.pic-upload.de/19.05.09/6dlfg5.jpg)

So, it's working on this part of my PC-

with this:

Vista 1- Working:

No SP1
German FF7 Version with the most available mods
No Windows Vista User Account Control (UAC) activated
High-Speed Fraps! Fraps was recording just 10 FPS, but with your mod about 40! Thx, really xD

Vista 2- Main Using Vista- NOT Working:

SP1 installed
German FF7 Version with the most available mods
Windows Vista User Account Control (UAC) activated
Have to run FF7 as an Administrator to get your openGL Mod to work- but it's just like before starting- and shuting down, I really don't know why xD
I will disable the UAC of Vista and let's see- maybe it will work :P

On Both OS is the Same Version of FF7^^


Maybe I gonna help you ;)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-19 23:39:55
Battle swirl is too fast. Could would add a frame limiter for it too? Please?

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-20 00:08:28
Battle swirl is too fast. Could would add a frame limiter for it too? Please?



Yes, I would say 30 fps is about right not 60 fps which is what the swirl seems to work at
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-05-20 05:39:42
Seifer Almasy, yes camstudio doesnt seem to be very good for this game (seems alright software like you said for desktop recording) but while running on FF7 it either records to slow or way to fast (i know its possible to adjust speed by reencoding the video but i was trying for doing it on the fly. Oh well i might just plug my PC into my TV and record on my HDD/DVD recorder which will proberly stop slowdown completely or i might just put up with fraps since the slowdown isnt to much and i can always fix the problem by reencoding the output.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-05-20 08:06:06
idk how to do any of this lol  :-(
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-20 09:08:30
Battle swirl is too fast. Could would add a frame limiter for it too? Please?

I think 30 fps is way too slow, but its a very simple change to make and it will be in the next release. :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Panga on 2009-05-20 13:29:34
I found this whilst playing earlier. Names showing partially in grey. During the huge materia quest at Corel.

Using 0.6.1b.

(http://i153.photobucket.com/albums/s206/Panga2001/Screenshots/ff7_hugemat.jpg)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-20 13:44:28
I found this whilst playing earlier. Names showing partially in grey. During the huge materia quest at Corel.

Using 0.6.1b.

Confirmed. Happens whenever there's a timer window on screen. Caused by the optimization in 0.6.1b and will be fixed with the next release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-20 14:24:59
I got the grey text during the Motorball boss fight (Which does NOT have a timer, so it's something else. I was testing the bike minigame, seems to work fine but a little fast). Pressing pause turned it back to normal. Also, I'm experiencing frame rate drops during some spells (like the flamethrower).

EDIT: According to Fraps, the bike game was oscillating between 30fps and 40fps. FPS limit is set to true in the cfg, and I'm running in 60hz. Also, when the battle swirl happens the fps jumps to 70+. The limiter is definitely needed, I'm glad you're going to add it in the next release.

EDIT 2: I was mistaken about the Flame Thrower. It's actually the Twin Burner that Motorball uses that caused the frame rate drop. Still weird though.


Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-20 15:28:49
Aali, is it possible to improve shadows (like ff7 PS) ?

(http://www.wikisquare.com/public/ff7opengl-shadow.png)
(left: PC, right: ePSXe)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-20 16:06:28
Aali, is it possible to improve shadows (like ff7 PS) ?

AFAIK that black circle is a texture, so you'd just have to find it and replace it in the battle data files. One day this driver might have real shadows though :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-20 19:18:39
By the way Aali, do you know if a custom driver is possible for FF8 as well?

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-20 19:32:22
Possible? Anything is possible.

But I'm sure as hell not going to do it. :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-20 20:23:16
Possible? Anything is possible.

But I'm sure as hell not going to do it. :-P

 :lol: :lol: :lol:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: koral on 2009-05-20 20:46:50
One day this driver might have real shadows though :-P

I wonder...
Dynamic shadow-casting would work on the world-map and battles, where there is solid geometry present under the characters, but in field maps you would have problems.
You wouldn't be able to take the walkmesh into account within the driver, so you would be stuck with the default shadow-quads under the characters.  :|

But whatever.
I probably speak for everyone here when I say, everything you are doing now and will do, we are extremely greatful to you for taking your time to do it.
Thankyou!!!  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-20 21:45:07
Your server is down, Aali :evil:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-20 21:53:31
It's not my server :-P

And I know it's down, and I should probably move the files somewhere else, just haven't got around to it.

:EDIT: All done
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-21 21:02:41
nice one!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-21 21:56:32
Known problems
Videos are not repeated. :wink:


Unknown Problems
(http://wikisquare.com/public/ff7opengl6.png)
(left: DirectX, right: openGL)

My game was crashing once before a fight. I have no APP.LOG. crash.dmp (http://wikisquare.com/public/crash.zip)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-21 22:09:38
Known problems
Videos are not repeated. :wink:


Unknown Problems
(left: DirectX, right: openGL)

My game was crashing once before a fight. I have no APP.LOG. crash.dmp (http://wikisquare.com/public/crash.zip)


Ah, darnit, I knew there was something I had forgotten. Ah well, the movie issue will be fixed in the next release then.

That graphics "glitch" is due to a hack I implemented to fix some transparency issues. Before that there was too little semi-transparency and now it's a little too much :-P

Oh and that crash is a bit odd (something happened that I've never seen before, it would've crashed every single version of the driver, every time) but fairly easy to fix.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-22 00:25:18
No crashes here so far. Battle swirl limiter works like a charm, but the game is still having trouble recognizing that I'm running in 60hz (minigames and swirl are oscillating between 30 and 40fps, when they should be at solid 30fps). Vsync is turned on, and since I'm seeing no horizontal tearing, I assume it's working fine. I'm still getting slowdowns in some summons and spells.

Other than these and the video problem mentioned a few posts up, it's working great. I'm running at 1280x1024, with no distortions or anything. If you can only fix these, it could very well be the first stable release.

Suggestion: Why not make the frame limiters custom, instead of Refresh Rate dependant? I'm guessing that would work better.

EDIT: I suppose I could apply the yamp patch for this and turn the limiter off in the cfg. So that shouldn't be a problem anymore.


Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-22 00:34:57
yeah when I summon knights of the round, it pauses for a few seconds before carrying on.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-22 01:07:52
Summons like Titan, Neo Bahamut, KOTR, Kujata, Ifrit or Alexander?. They all make heavy use of framebuffer effects at some point. This is very slow if you don't have OpenGL 2.0 support and still pretty taxing for the graphics card if you do. Keep in mind that with 1280x960 you have to push four times as many pixels around.

If you get slowdowns the first time a new effect is shown on the screen it's probably because that palette hadn't been used with that texture before and so the texture had to be reloaded.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-22 01:20:36
Summons like Titan, Neo Bahamut, KOTR, Kujata, Ifrit or Alexander?. They all make heavy use of framebuffer effects at some point. This is very slow if you don't have OpenGL 2.0 support and still pretty taxing for the graphics card if you do. Keep in mind that with 1280x960 you have to push four times as many pixels around.

If you get slowdowns the first time a new effect is shown on the screen it's probably because that palette hadn't been used with that texture before and so the texture had to be reloaded.

call me naive :P  but is there a way to load the texture into memory for the summons so that it is ready at the get go?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-22 01:34:45
Summons like Titan, Neo Bahamut, KOTR, Kujata, Ifrit or Alexander?. They all make heavy use of framebuffer effects at some point. This is very slow if you don't have OpenGL 2.0 support and still pretty taxing for the graphics card if you do. Keep in mind that with 1280x960 you have to push four times as many pixels around.

If you get slowdowns the first time a new effect is shown on the screen it's probably because that palette hadn't been used with that texture before and so the texture had to be reloaded.

call me naive :P  but is there a way to load the texture into memory for the summons so that it is ready at the get go?

Very naive indeed :-P
The texture loader thing is not related to the summons, that could happen at any time.
But, I don't want to load a texture for each and every palette it could be used with every time, this way you'll end up loading 16 textures and then only using one of them, which would not only waste a large amount of memory but also add considerably to the loading time.
The solution I might implement is smarter management of textures, I *think* Eidos added some kind of texture cache to the d3d driver with 1.02 so if I can borrow some ideas from that it should make things a lot smoother.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-22 01:45:25
yes I figured something like that :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-22 04:12:54
Looping movies implemented, along with a fix for a bug that could cause a crash on exit. (No big deal but it shouldn't happen nonetheless)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-05-22 04:15:21
Summons like Titan, Neo Bahamut, KOTR, Kujata, Ifrit or Alexander?. They all make heavy use of framebuffer effects at some point. This is very slow if you don't have OpenGL 2.0 support and still pretty taxing for the graphics card if you do. Keep in mind that with 1280x960 you have to push four times as many pixels around.

If you get slowdowns the first time a new effect is shown on the screen it's probably because that palette hadn't been used with that texture before and so the texture had to be reloaded.

call me naive :P  but is there a way to load the texture into memory for the summons so that it is ready at the get go?

Very naive indeed :-P
The texture loader thing is not related to the summons, that could happen at any time.
But, I don't want to load a texture for each and every palette it could be used with every time, this way you'll end up loading 16 textures and then only using one of them, which would not only waste a large amount of memory but also add considerably to the loading time.
The solution I might implement is smarter management of textures, I *think* Eidos added some kind of texture cache to the d3d driver with 1.02 so if I can borrow some ideas from that it should make things a lot smoother.


This is one of the things that the PSX GPU could do that modern graphics cards can't. You could have multiple color depths in video memory at the same time, including 4 and 8 bit palleted textures. It's a shame that Color Look Up Tables (CLUTs or palettes) are seen as an "old" technology. They are still really useful!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-22 13:03:13
ninjaloot server is down again :-o

They gave me a crash.dmp (http://wikisquare.com/public/crash2.zip) for you, it was created with version 0.6.1b. I think it's the same crash that the last time.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-22 16:14:26
Local telecom decided to "liberate" the entire neighborhood of internet access for a few hours today.

That looks like a different crash, when did it happen?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-22 17:05:53
Before a fight :-P.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-22 18:10:13
Ff7 does not want to run on linux.    I have installed, but he wants Direct3D :cry:.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-22 23:06:13
crashed as soon as i entered battle, V0.6.2

Dunno how to attach files.. So i just used copy paste  :-P

Quote
INITIALIZE DD/D3D START
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 1280x960, output resolution 1280x960, internal resolution 1280x960
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\ff7input.cfg
initializing sound...
creating dsound primary buffer
reading audio file
loading static sounds
sound initialized
INITIALIZING MIDI...
selecting device 0:Microsoft GS Wavetable SW Synth, mid=1, pid=102,
midi data type: GENERAL MIDI
using midi data file: C:\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: C:\Program Files\Square Soft, Inc\Final Fantasy VII\Movies\eidoslogo.avi; truemotion2/pcm_u8 320x240, 15.000000 FPS, duration: 10.133333, frames: 152
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 C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save00.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save01.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save02.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save03.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save04.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save05.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save06.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save07.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save08.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save09.ff7
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
MIDI stop - OK
INFO: C:\Program Files\Square Soft, Inc\Final Fantasy VII\Movies\opening.avi; mpeg4/mp3 1280x960, 15.000000 FPS, duration: 119.510167, frames: 1793
MIDI play: 2
reading midi file: OB.mid
current volume: 127
MIDI is playing SUCCESSFULLY!!!
Entering MAIN
Exiting MAIN
START OF MENU SYSTEM!!!
SET VOLUME 5: 127
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
Entering MAIN
Exiting MAIN
START OF MENU SYSTEM!!!
SET VOLUME 5: 127
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
Field Quit
Entering MAIN
Exiting MAIN
Entering FRAME_INITIALIZE SWIRL
Exitting FRAME_INITIALIZE SWIRL
Swirl sound_effect1
stop_sound
End of Swirl sound_effect1
Entering FRAME_QUIT SWIRL
ERROR: unhandled exception
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-23 09:12:10
Hopefully its the same crash (though I really can't tell without looking at crash.dmp) and that will be fixed in 0.6.3b
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Onéasis on 2009-05-23 10:10:42
Hello,

I try your latest release and i have always same crash when a fight begin.



(the laster report from myst6re come from me ^^')

http://wikisquare.com/public/crash_oneasis.zip (http://wikisquare.com/public/crash_oneasis.zip)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-23 13:46:00
I also got this crash just initiating the battle. The weird thing is, I had already battled four (or three?) times already, and nothing had happened.

EDIT: Oops, totally forgot the APP.LOG and the crash.dmp. Here is it, for Aali, and Aali's eyes only, please. It can only be downloaded ten times before deletion:

http://rapidshare.com/files/236330769/APPLOGandCRASHDMP.rar.html

Thank you very much for your support.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cyberman on 2009-05-23 13:54:38
Summons like Titan, Neo Bahamut, KOTR, Kujata, Ifrit or Alexander?. They all make heavy use of framebuffer effects at some point. This is very slow if you don't have OpenGL 2.0 support and still pretty taxing for the graphics card if you do. Keep in mind that with 1280x960 you have to push four times as many pixels around.

If you get slowdowns the first time a new effect is shown on the screen it's probably because that palette hadn't been used with that texture before and so the texture had to be reloaded.
Err 1280x960 is 4 times in linear measurement whereas increasing the resolution by 4x actually increases the area (pixels) by 16.  Trivia I know but :D

By the way it's interesting to watch this.  I assume you have a log feature to see what sets of calls are made for what part of the game?  It would be interesting to know 'where' the calling address is for the library calls is all.

Cyb
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-23 15:14:43
You think 1280x960 is 16 times larger than 640x480? :-P

I have a config option that prints out each and every call made to the driver, but it's not very useful anymore since the sheer amount of calls makes it impossible to get anything useful out of it. (And turning this option on makes the game atleast 100x slower)

But I can tell you now, there are some wrappers for calling the driver, some code calls it directly, some stuff fills in its own call table with driver routines etc. It's a mess.

Oh and I fixed the battle crash for good this time, it will not be in 0.6.4b :-P
It was a problem with the unload texture routine, and FF7 calling it in a number of different unexpected scenarios. Although I haven't been able to reproduce it myself, those crash logs told me exactly what I needed to know. :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-23 16:47:10
Oh and I fixed the battle crash for good this time, it will not be in 0.6.4b :-P
It will not? Why? :cry:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-23 16:48:01
Obviously, I meant the crash, not the fix :lol:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-23 18:06:58
Obviously, I meant the crash, not the fix :lol:
Oh, I sometimes hate being a non-native. I usually misunderstand these kind of conversations.

Thank you!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-23 18:44:32
I vote we choose 1 universal language and have done with it all  :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-05-23 19:01:10
They tried that. It was called Esperanto. It never really caught on.

[/offtopic]
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-23 19:05:24
They tried that. It was called Esperanto. It never really caught on.

[/offtopic]

yeah sorry bout offtopic, was gonna say,  red swarf comedy uses that.  Perhaps they should attempt it with english?  since english is already the aviation standard.  I think sooner or later they may have to really
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-24 19:25:53
http://backup.ninjaloot.se/share/ff7_opengl-0.6.4b.zip (http://backup.ninjaloot.se/share/ff7_opengl-0.6.4b.zip)

Installation
Run FF7Config to setup sound/midi if you haven't done that already.
Extract the archive into your ff7 folder (where ff7.exe is), run one of the .reg files (64-bit Vista users have to use the vista64bit file)
FF7 will now use the new driver. (To revert the changes made by the .reg file, run FF7Config)

New features in this version
None

Bug fixes in this version
Finally fixed the crash in battle introduced with 0.6.1b. :-)
Added some more sanity checking to prevent a few possible crashes.


If you find any issues, please post screenshots, relevant information from APP.LOG and if possible, a savegame.
If you get a crash, provide a copy of crash.dmp and APP.LOG (preferably in a zip archive, this will make it 10x smaller)
Yay! Thank you! I'll test it right away!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: koral on 2009-05-24 20:45:29
They tried that. It was called Esperanto. It never really caught on.

[/offtopic]

yeah sorry bout offtopic, was gonna say,  red swarf comedy uses that.  Perhaps they should attempt it with english?  since english is already the aviation standard.  I think sooner or later they may have to really

English is a horrible language  :-P
I vote for Japanese, so we can all properly understand and enjoy the best games and anime as they were meant to be experienced  :lol:

Sorry for the OT Aali, this driver gives me no real problems so I always wind up waiting for the next release for even better stuff.
Keep at it  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-24 20:45:57
No problems with the new version so far.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-24 20:57:01
They tried that. It was called Esperanto. It never really caught on.

[/offtopic]

yeah sorry bout offtopic, was gonna say,  red swarf comedy uses that.  Perhaps they should attempt it with english?  since english is already the aviation standard.  I think sooner or later they may have to really

English is a horrible language  :-P
I vote for Japanese, so we can all properly understand and enjoy the best games and anime as they were meant to be experienced  :lol:


DEAL!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-24 23:15:31
Proud to report that the battle crash bug has been fixed :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-25 02:45:22
Proud to report that the battle crash bug has been fixed :-D
Ditto! :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-05-25 04:51:43
Aali, I was wondering if you have any plans to add h.264 support for your driver?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-25 11:50:14
Aali, I was wondering if you have any plans to add h.264 support for your driver?

I dont know how hard it would be to implement h264  but I am guessing it would have a serious impact on performance.  The decoder is quite cpu intensive
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-25 12:58:01
Err, it has support for h.264 already.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-25 12:59:36
 :-D  wow thats pretty cool!

ahh yes forget what i said before, i was thinking about a diff game.   Does it play vids good?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Pikkuhippi on 2009-05-25 16:53:57
When I used this, I get some weird uhh green lines in FF7. Otherwise it works perfect in battles etc.. How to fix this?

Also.. dunno if you can help but I can't seem to get videos work on fullscreen mode either. works on quarter though.
And yes I know it isn't this drivers fault but. I'm desperate :(

Anyways.. would like some help with the green lines. It worked normally before.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-05-25 17:00:28
Green lines? You mean like a weird grid on the backgrounds? I don't recall having seen that problem, except with the original engine, not this new driver.

I suspect that you opened FF7Config AFTER running ff7_opengl.reg. If so, the solution is to run the registry key again, because FF7Config resets it back to the old driver.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-25 17:02:28
Post a screenshot of these "green lines" along with a copy of APP.LOG
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Pikkuhippi on 2009-05-25 17:07:45
Yeah seems it was my fault... However it does look very much like if I used normal Software renderer?


EDIT: Well this is weird.. Seems like every time I run this.. I have to quit game twice.. through the menu. First I press yes, then it returns to menu and I have to press one more time to get the program to shut down. :P

Also should my APP.LOG say

Ramp Emulation
  Microsoft Direct3D Mono(Ramp) Software Emulation
RGB Emulation
  Microsoft Direct3D RGB Software Emulation
Direct3D HAL
  Microsoft Direct3D Hardware acceleration through Direct3D HAL ?

Just wondering..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-25 17:14:41
It doesn't provide any additional functionality unless you edit the config file.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Pikkuhippi on 2009-05-25 17:15:15
Ah that explains it then :P Thanks alot :D

It's ff7_opengl.cfg right? I tried to modify resolution etc (to make it windowed) but no results. I suppose I'm doing something very wrong?

Just can't find it anywhere.. Help :S
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Pikkuhippi on 2009-05-25 18:24:52
Just can't get it to work.. what do I need inorder for it to work? I installed XP patch. Clean install from the install cd. got ATI video card and running windows 7, I have XP aswell though.
I extracted all the required files into ff7 folder and I attempted to tweak the config file "as far as I know it is that one.." It won't go to windowed mode, I even tried to disable v_sync. It's like if it didn't load at all.


EDIT: Yep, I didn't even notice any OpenGL logs in my APP.LOG what am I doing wrong?

Well well.. Holy sh*t.. looks beautiful :O I replaced my .exe and it works thanks for the great program! (sorry driver) but its really GREAT.


EDIT 2: I actually got some green line grid now with OpenGL for real this time. What shall I do give pic and APP.LOG? They're almost harmless.. only appear lightly when going upwards or downwards.
I'll see if it was something I did first though..

<-- Ah yes seems it was a driver issue. I took AA + Anistropic off and its fine..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Idec Sdawkminn on 2009-05-25 22:51:04
I just wanted to congratulate you on this awesome achievement and say that I got it to work for me on Windows 7. It took a little bit of trying different things, but I eventually realized that your REG file updates the registry, but FF7Config and FF7 must be using the virtual store, even after rebooting. I tried running FF7 as an administrator, but it kept giving me errors. I finally ran FF7Config as an administrator and it was set to the default settings, so I changed them and then ran FF7 as admin and it works great. I have a 24" monitor set to 1920x1200 and it runs wonderfully in that. My monitor has a built-in option to run 4:3 applications in aspect ratio, though, so I didn't worry about that part.

Also, the shaders don't work for me when they are in the same directory as FF7Music. They have to be in the same directory as FF7. Weird.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-25 23:24:43
It's not weird, that bug was fixed long ago. Shaders have to be in your FF7 directory now.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Klaid Liadon on 2009-05-26 01:39:08
http://www.megaupload.com/?d=46JVEGDA
here's my app.log can anyone help me?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-26 02:08:31
http://www.megaupload.com/?d=46JVEGDA
here's my app.log can anyone help me?

Even though you didn't even say what the problem was, that log file clearly says Direct3D/DirectDraw and never mentions OpenGL, which means the driver failed to load. In this case, APP.LOG is useless to diagnose your problem and this is probably just another virtualstore/permissions issue. (Because you are using Vista, aren't you? You should always state which OS you are running when reporting a problem like this)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Idec Sdawkminn on 2009-05-26 03:25:56
It's not weird, that bug was fixed long ago. Shaders have to be in your FF7 directory now.
Ah, guess I didn't see that part.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Klaid Liadon on 2009-05-26 07:28:49
http://www.megaupload.com/?d=46JVEGDA
here's my app.log can anyone help me?

Even though you didn't even say what the problem was, that log file clearly says Direct3D/DirectDraw and never mentions OpenGL, which means the driver failed to load. In this case, APP.LOG is useless to diagnose your problem and this is probably just another virtualstore/permissions issue. (Because you are using Vista, aren't you? You should always state which OS you are running when reporting a problem like this)

I already sai that i'm running vista sp2 in an earlier post. I keep UAC disabled all the time, so i don't think it's that kind of problem ihmo
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Pikkuhippi on 2009-05-26 09:19:39
Did you check your ff7.exe? I had problems with it. Replaced it and now it works very smoothly for me. Movies and everything flawless.
My old ff7.exe didn't try to load OpenGL.. But instead used Direct3D, like yours. As far as I know you need the 1.2 .exe file inorder for this to work. Correct me if I'm wrong though.


http://postdownload.filefront.com/2952477//5e9924e3a58bd45741c44a2448ac568367450429579b3690834539e8db1d98eeaa15a2017be87b98 <-- try to download that and replace the files you currently have. (backup ofc)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Klaid Liadon on 2009-05-26 17:01:50
I had already 1.02 but patched with yamp, i tried witout it and it works. Good Job, thank you. Now i haveto try if it works with wamp on it after the drivers.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-28 02:30:54
Do i have to configure the shaders .. just out of curiousity.. cause i got bored and opened the files with word pad and there are a lot of zeros and what not...... and i just wanted to know.... (feels like such a newb :P)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-28 02:44:55
You can edit the shaders if you want to.
But if you don't know what you're doing, you're probably just going to break things.

It's not going to solve any problems if the driver doesn't load. (I can't recall if you were having problems with that or not)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-28 02:51:58
I was but i solved that... For some reason my PC thinks the Exe. is on my desktop so i just put it in a separate folder and placed everything with it and this runs fine....... so i don't need to change the shaders...? The App. log that appears with all these other files (every time you run FF7) says no GL opener detected shaders will not work... but when you play the game the Driver is so obviously working.. I'm somewhat confused.......

Thank you,
Broken Crow (AKA. The Ultimate Newb)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-28 03:16:01
Well you don't need shaders to play since I added OpenGL 1.1 support, but it will make things a lot faster.
If you do have OpenGL 2.0 support and it can't find the shaders, it should print the exact path it was trying to access (in APP.LOG). Put the shaders there.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-28 03:34:05
How.. do i do that? I hate technology... i takes me forever to understand it... ><... Thank you for being patient with me..

Thank you,
Broken Crow (As always the Ultimate Newb)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-28 03:39:29
Run FF7, close the dialog box (if you don't get a dialog box you either don't have OpenGL 2.0 support or the shaders are already working) and quit the game.
Open APP.LOG in a text editor, check the first few lines for something like "ERROR: failed to stat file <path goes here>". It will do this twice, for both the necessary shaders. Simply move the files there and it should work. Generally, the path should always be <ff7 install dir>/shaders/, if you're getting something else, post it here.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-28 03:46:46
How do i know if i have Open GL support?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-28 05:10:10
How do i know if i have Open GL support?

I'm speechless...


On another note, I found the kludge that does FF7's lighting (yes, it's all done in software :roll:) so if I can decipher the seemingly quite complex light format, we might just have proper, real-time lighting soon.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-28 05:24:36
okay be speechless........I'm dead serious........ i know nothing of computers at all and I'm just learning about them so please don't be so cruel...I've had to take a lot of Bull because I'm an English nerd and know nothing of computers so don't give me that okay! And Vista confuses me! Okay... I'm a newb at everything... and I just want to enjoy a good game... so don't give me that crap okay!

I apologize for sounding so bitter... its just i have had to take a lot of bull S*** from people who think I'm an idiot cause I didn't know what a char lgp file was or something... (And I know what an lgp file is.. i was just using that as an example).

Thank you,
Broken Crow


And P.S. real time lighting sounds really cool... please keep up the good work :D...

And again I apologize for being so bitter.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-28 05:44:44
I don't even know how to tell if i have OGL support or not, I just assume i do as i've never had an issue.

So, enlightenment on both our parts would be nice  :-D

Only because i like to know things  :-P

EDIT: Google seems to tell me it's Driver/videocard based as Windows Vista comes with 1.5 out of the box, not 2.0 or higher, But that doesn't make much sense to me. Clarification Aali?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-28 13:07:14
Aali can you take a look at this crash for me, it's not really driver related since a new model caused it. However you might be able to tell why the model caused the crash.

http://files.filefront.com/crashzip/;13818029;/fileinfo.html (http://files.filefront.com/crashzip/;13818029;/fileinfo.html)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-28 14:06:56
I don't even know how to tell if i have OGL support or not, I just assume i do as i've never had an issue.

So, enlightenment on both our parts would be nice  :-D

Only because i like to know things  :-P

EDIT: Google seems to tell me it's Driver/videocard based as Windows Vista comes with 1.5 out of the box, not 2.0 or higher, But that doesn't make much sense to me. Clarification Aali?

The software renderer can do OpenGL 1.5 (if thats the case, I don't know the exact version) but then it's not hardware accelerated.
If you install some drivers for your card, those will be used instead and can provide whichever version they want. Any modern card has OpenGL 2.0 support.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-28 14:12:52
Aali can you take a look at this crash for me, it's not really driver related since a new model caused it. However you might be able to tell why the model caused the crash.

http://files.filefront.com/crashzip/;13818029;/fileinfo.html (http://files.filefront.com/crashzip/;13818029;/fileinfo.html)

All I can tell you is that it's looking for the string "head" and then something goes wrong from there.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Idec Sdawkminn on 2009-05-28 15:51:04
I found a utility at http://www.realtech-vr.com/glview/download.html that gives you your OpenGL version. It says mine is 3.0, but I'm running Windows 7 RC.

So, the bloom shader does AA? Which types of shaders do you think would look the best in FF7? Have you tried any and determined that they make it look worse or better? I had my eye on the Natural Vision Shader for ePSXe, but I'm having trouble finding a copy.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-28 18:45:43
I don't even know how to tell if i have OGL support or not, I just assume i do as i've never had an issue.

So, enlightenment on both our parts would be nice  :-D

Only because i like to know things  :-P

EDIT: Google seems to tell me it's Driver/videocard based as Windows Vista comes with 1.5 out of the box, not 2.0 or higher, But that doesn't make much sense to me. Clarification Aali?

The software renderer can do OpenGL 1.5 (if thats the case, I don't know the exact version) but then it's not hardware accelerated.
If you install some drivers for your card, those will be used instead and can provide whichever version they want. Any modern card has OpenGL 2.0 support.

Alright so google was right, thanks for the info
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-29 02:42:32
Yeah... I just don't know if i have it or not... because the drivers seem to be working ... but i never get that box you mentioned upon start up
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-29 02:44:11
I covered that scenario..

Run FF7, close the dialog box (if you don't get a dialog box you either don't have OpenGL 2.0 support or the shaders are already working)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-29 04:24:11
I know... what i want to know is if i have them or not.. so i can deduce if i the shaders are working or not.......... I feel like such a newb with technology:P

Thank you,
Broken Crow
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-29 04:36:55
If you have Windows, you have Open GL. Simple as that.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-05-29 04:59:44
Ok, I can not for the life of me get this driver to work on my system.  Relavent specs:

1.5Ghz P4, 512mb RAM, Win98SE, 3Dfx Voodoo5 5500 AGP video card (DX7/OpenGL 1.1 compliant hardware, can hit OGL 1.3 using MesaFX driver)

Yes, yes, I know with a system like this Aali's driver isn't really needed, nonetheless I want to try it out for kicks. :-D

Anyway, when I tried to import the ff7_opengl.reg file, Windows said it wasn't a real registry file, and thus refused to import the settings.  So, I had to manually create the keys and import the data.  After copying the files to the ff7 install directory and launching the game, it suspiciously looks like its using software rendering.  Checking the app.log file confirms this, it is definitely either ignoring the driver or silently falling back to software.

Any ideas, Aali?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-29 05:05:47
Why are you still using Windows 98?

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-05-29 05:25:24
Firstly, because my video card was orphaned, driver-wise, in 2001 when the company went under.  Up-to-date drivers for WinXP/Vista either don't exist, or are hacked together, or are gimped compared to the Win98 drivers.  The card can report Hardware T/L capability under Win9x, but due to how Win2k/XP/Vista don't allow the drivers to touch the hardware directly, I can't do that under them, severly castrating performance in some DX7/8 games if I were to use the newer OSes with it.

Secondly, this particular box has long been relegated to being a legacy system for playing older games, FF7 and 8 in particular, because they work out of the box with FSAA with my setup, and no chocobo patching is needed either.  I have a somewhat-more-modern laptop with XP that I use for today's stuff, though. :roll:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-29 05:47:08
Err, windows 98 probably wont work for a number of reasons. I've never tested it on anything older than XP and it uses some functions you *may* find in win2000 but not in win98.

If you have XP you should really use that instead, no patching is required as long as you use this driver, it includes fixes for all known crash issues.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-29 05:58:50
I am having issues and I am not sure if driver related.

I  am now using vista 64 bit with sp2

The driver seems to have no effect whatsoever (yes I clicked vista 64 bit reg)

I will try and use a past driver version and see if something has been missed in the newest build

.ahh damn what have I done


edit:  tried back to 0.3....no use.  same old.  Does anyone else here have this working with vista 64 bit?

edit 2:  I have read that it may be the new drivers for nvidia again.,...I will roll back to earlier versions.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-05-29 07:26:12
Yeah, I may try it out with my laptop sometime.  It's sporting a Radeon 7500 Mobile, which is another shaderless DX7 card. :|  No post-processing for me, it seems.

However, I may also try it on my fiance's computer, as I recently got her into playing the game on her comp -- she's got some craptastic HP Pavilion running Vista Home with an integrated nVidia Geforce 6150 LE that can't tell the difference between Cloud and the backside of a chocobo barn in hardware mode. :roll:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Pikkuhippi on 2009-05-29 10:01:25
Guys, make sure you have the correct .exe version because it really affects whether the driver loads or not. Just wanted to make sure you know that ;P You need the 1.02 exe file.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-29 17:07:22
I found the problem....

I am new to vista and it seems there is an option when going into properties>compatibility of the exe

called "Run this program as the administrator" .  If this isn't ticked, the game will not use the driver.

Can someone tell me how this new option in vista may affect other programs.  I don't want to have to "run as administrator"  on every exe.  I am the admin, that should be enough for vista.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-05-29 17:35:38
Vista can be annoying with all it's admin approval pop ups and the virtual store. Those features where added to stop unwanted files from being installed. You are going to have to set all your exes to run as admin even if you are an admin. or you could upgrade to windows 7.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-29 18:29:14
Or simply disable UAC :roll:.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-29 18:38:10
Or simply disable UAC :roll:.

hmm I did use vista smoker and disabled it in part.  I think I may disable the whole thing....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-30 00:38:50
I just got a crash when using the enemy skill 'Beta' during battle (seemed random, since I used it various time before). Here, I uploaded crash.dmp and app.log for you:

http://rapidshare.com/files/238721560/crash.zip.html (http://rapidshare.com/files/238721560/crash.zip.html)

It can only be downloaded 10 times, so I ask that please nobody other than Aali download it.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-30 00:49:26
I just got a crash when using the enemy skill 'Beta' during battle (seemed random, since I used it various time before). Here, I uploaded crash.dmp and app.log for you:

http://rapidshare.com/files/238721560/crash.zip.html (http://rapidshare.com/files/238721560/crash.zip.html)

It can only be downloaded 10 times, so I ask that please nobody other than Aali download it.



This is going to sound silly, but that looks like a bug in beta. :-P
I don't think the driver caused this, but I will look into it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-30 04:22:48
For what it's worth, I patched the exe with the YAMP minigames patch, and I'm not running in compatibility mode.

 
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-30 13:22:29
For what it's worth, I patched the exe with the YAMP minigames patch, and I'm not running in compatibility mode.
You should use the original, unmodified v1.02 executable. Aali's driver already fixes all the crashes and bugs other patches supposedly did, and even more, so it's better to work on a clean copy. Well, that's all I know...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-30 15:13:22
Aali, I found the Spanish version of the patch 1.02. Patch 1.02 (http://wikisquare.com/public/v1.2_(spanish).zip)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-30 16:00:06
Aali, I found the Spanish version of the patch 1.02. Patch 1.02 (http://wikisquare.com/public/v1.2_(spanish).zip)
Wait just right there, you sir!

Is there a spanish version for PC as well?! I didn't know that! Now, the thing is, where in the world can I get it...? :cry:

* KaOSoFt goes lurking, looking for the spanish version of FFVII PC *
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-30 16:58:58
I don't know where :lol:. But I am sure that this version does exist.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-30 17:14:52
It is indeed an official version and not some community hack. And it will be supported in 0.6.5b :wink:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: kei on 2009-05-30 17:49:55
Hi guys. newbie here.

there's this weird bug in my FF7. first time i've encountered it and i've played the game a few times before.

somehow, when i arrive at junon, take the dolphin jump up to the tower and reach the airport, the bug appears.

when i press the "use" key at the treasure box to activate the lift, the FMV plays but the character sprite of cloud and the box stays at the same level while the lift moves down. after that, the game shows that the lift is still at the airport level while my game sprite is able to run freely around in the air.

when i use the treasure box again, the lift moves up, and i can't run in the air anymore.

is there a patch to correct this? the XP patch and chocobo patch don't seem to work. also, it seems that in all FMV sequences involving the game sprites, the characters don't move according to the FMV. they just stay at the same spot.

i've already tried the custom driver by Aali but the problem's still not fixed
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: terminater27 on 2009-05-30 18:53:45
Do I apply this graphics driver to the 1.00 exe or the 1.02 exe?
Also, can I use this with Saints and/or PRP?
Thanks :D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-30 19:13:53
1.02, it will not work with 1.00

You can use it with the high-res patch but there's no reason to, it will just add glitches.
Any other mods/patches should work fine.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: terminater27 on 2009-05-30 19:20:01
When I first run the FF7Config before applying this patch, does it matter if I change the software rendering/TNT options?
I have it set on TNT before applying this patch, if it matters.

So far, I've applied this patch/mod to the 1.02 version, and then applied the PRP mod.
It works fine with no glitches, so I think I'm good to go =)

One thing, though. How can I tell if its actually using the new graphic driver? Or if I'm actually just running it in software rendering?

One last thing, do I have to run it as administrator each time? I'm using windows vista.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-05-30 19:24:57
I don't know where :lol:. But I am sure that this version does exist.
Unfortunately, I don't see it anywhere. I guess no one wishes to get rid of their copy... :cry:

Do I apply this graphics driver to the 1.00 exe or the 1.02 exe?
Also, can I use this with Saints and/or PRP?
Thanks :D
You must use v1.02; you should no longer use Saints patch, and I guess it should be compatible with PRP...

EDIT: Hell, I was rather slow in answering... :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-05-30 21:39:10
Are you saying you've implemented save states?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: terminater27 on 2009-05-30 21:53:39
Loving this custom graphic driver. FF7 is finally running without any graphical glitches, and I think its running with hardware acceleration, too.
My only gripe is that in battle and sometimes the field, it lags for a split second. This could be due to me installing PRP as well as the new APZ cloud
model, though. One other thing is that the music just sometimes dies out, and doesn't come back until I restart FF7.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-30 22:49:12
Are you saying you've implemented save states?

Not at all, it will create a regular savegame from the savemap in memory, this savegame may be corrupt or it may even be the same savegame you loaded when you started playing. But sometimes it'll work, which is better than nothing.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-30 23:39:29
Bug Report:
in the reactor the materia flickers when it should be glowing Not sure about all other materia, stopped playing  trying to get FF7 Music to work. Midi tones are HORRID  :x
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-05-30 23:39:41
Hi guys. newbie here.

there's this weird bug in my FF7. first time i've encountered it and i've played the game a few times before.

somehow, when i arrive at junon, take the dolphin jump up to the tower and reach the airport, the bug appears.

when i press the "use" key at the treasure box to activate the lift, the FMV plays but the character sprite of cloud and the box stays at the same level while the lift moves down. after that, the game shows that the lift is still at the airport level while my game sprite is able to run freely around in the air.

when i use the treasure box again, the lift moves up, and i can't run in the air anymore.

is there a patch to correct this? the XP patch and chocobo patch don't seem to work. also, it seems that in all FMV sequences involving the game sprites, the characters don't move according to the FMV. they just stay at the same spot.

i've already tried the custom driver by Aali but the problem's still not fixed


I noticed that also, but it isnt aalis driver.  I wasnt using it at the time....  there is a bug with the porting.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-05-31 00:03:51
http://forums.qhimm.com/index.php?topic=7927.msg95451#msg95451 (http://forums.qhimm.com/index.php?topic=7927.msg95451#msg95451)

It's called the search button. Use it.


Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-31 00:26:20
Also, that bug cannot happen if the driver is working, since it doesn't use directshow or any external decoders/demuxers.

hellbringer616: Which mods are you using? The restore materia is not supposed to glow or flicker, it just sits there.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-31 02:24:03
Well i meant the shine that all items have you can pick up.

And the PRP, Your driver, grimmy's cutscenes, kula wende's avatars, slayernext's weapons, and APZ Freaks cloud battle model, Though the PRP is what changed the materia.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-31 02:33:46
Actually the default materia blob doesn't have that shine.

You should check the other drivers before reporting these things though, using the software driver it's not visible at all so it's obviously a problem with PRP.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-31 02:42:30
Oh alright. sorry about that haha, i distinctly remembering objects you can interact with having shine, or a glow or something. this was PSX version though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-31 03:17:15
Yeah that is the PSX version... ^.^
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-31 03:19:10
Removed it for the PC then? Explains my confusion haha. Maybe the PRP doesn't change the Materia then.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-31 03:19:39
No my materia changed when i used PRP... it made them flash on and off
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-31 03:23:05
Oh, mine just appears and disappears. But oh well. i'll deal. Or i'll find out whats causing it, and fix it (give me 12 or so months, i'll figure it out  :-D)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-31 03:27:02
thats what i meant by flashes on and off... disappears then re-appears.... lol...... it would take my 4 years at least to figure it out....

I'm going to take a C++ and a computer programming class this summer... so i should be able to help the forums when i start school again... so I'll be able to help when I'm extremely busy...xD.... I'll be a big help.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-31 03:42:07
Well, like I said, it's not visible at all in software mode so there's definitely something wrong with the PRP model.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-05-31 03:52:09
It doesnt really overall effect the game.. no glitches... no lag... just its sometimes annoying to look at...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-31 04:30:31
noob question alert!:

Internal res: Whats it do exactly? And whats the highest i can set it to? (assuming it improves graphics quality)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-31 04:50:10
If you don't know what it does, just leave it at 0.
It's just there so you can override the auto-detection.

Setting it higher will not improve quality, it will even make it look worse in some cases.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-31 05:03:20
Alright, I was reading something on another site (not about FF7 or any FF at all) and they said they set it to 1024*1024 and it improved quality. So i was curious  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-05-31 05:17:29
If you want FF7 to not look terrible, internal resolution MUST be set to a multiple of 320x240. A multiple of 640x480 is better.

Of course, you COULD set it to 1024x1024 for fun, but it'd probably be pretty glitchy, particularly where text, videos, and windows are concerned.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-05-31 05:31:43
Ah, so then i should leave it at 0 then haha. cause right now i am using 1280*960 which is twice 640*480, so i think i'm good.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-31 12:06:16
New crash (http://www.wikisquare.com/public/crash_1.zip) :|
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-05-31 14:49:34
New crash (http://www.wikisquare.com/public/crash_1.zip) :|

You didn't mess with the field files, did you? :-P
It's trying to access texture page 0x41FC, good luck with that :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-05-31 14:59:48
I had completely forgotten! :-o Sorry, it's my fault. lol your driver works perfectly :mrgreen:. Sorry again :oops:.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-05-31 23:12:08
Same ol'problem for me, despite msvcr90.dll being gone.  For be specific

AppName: ff7.exe AppVer: 0.0.0.0 ModName: ff7_opengl.fgd ModVer 0.0.0.0 Offset: 00272309

Windows xp 64 bit, intel quad core, hd4870.

The game crashes when clouds give sephiroth the black materia and you see lighting bolts into the materia block where sephiroth is held. The movie freeze and the exe will crash, that does not happen whilst using d3d.

Those are the last lines of applog.log
Quote
current volume: 127
MIDI is playing SUCCESSFULLY!!!
INFO: J:\ff7\movies\c_scene3.avi; truemotion2/pcm_u8 320x224, 15.000000 FPS, duration: 13.400000, frames: 201

No crashdump is generated so I am afraid I am unable to provide it.

P.S. nice_movies option is off
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-01 04:42:43
Same ol'problem for me, despite msvcr90.dll being gone.  For be specific

AppName: ff7.exe AppVer: 0.0.0.0 ModName: ff7_opengl.fgd ModVer 0.0.0.0 Offset: 00272309

Windows xp 64 bit, intel quad core, hd4870.

The game crashes when clouds give sephiroth the black materia and you see lighting bolts into the materia block where sephiroth is held. The movie freeze and the exe will crash, that does not happen whilst using d3d.

Those are the last lines of applog.log
Quote
current volume: 127
MIDI is playing SUCCESSFULLY!!!
INFO: J:\ff7\movies\c_scene3.avi; truemotion2/pcm_u8 320x224, 15.000000 FPS, duration: 13.400000, frames: 201

No crashdump is generated so I am afraid I am unable to provide it.

P.S. nice_movies option is off

That's most likely a problem with your media, ffmpeg is trying to produce an error message and that causes a crash for some reason.
I'm just going to disable error reporting in ffmpeg, since you'll never see the error message anyway.

P.S. The nice_movies option doesn't exist anymore.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Drahcir on 2009-06-01 06:05:01
I'm having a small problem. When I start up FF7, I get an Error message mentioning; "No useful indirect path found, check APP.LOG for more infomation."

APP.LOG contains;
Code: [Select]
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 640x480, window size 1280x800, output resolution 1066x800, internal resolution 640x480
INFO: No NPOT texture support
ERROR: init_indirect failed, scaling and postprocessing will be disabled
INFO: internal resolution clamped to 1066x800
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:Microsoft GS Wavetable SW Synth, mid=1, pid=102,
midi data type: YAMAHA XG MIDI
using midi data file: C:\Program Files\Square Soft, Inc.\Final Fantasy VII\Data\midi\xg.lgp
midiOutGetVolume returned: fffefffe
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!!!
ERROR: couldn't open movie file
WM_CLOSE
END OF CREDITS!!!
Field Quit
MIDI stop - OK
resetting MIDI driver volume - OK
UNINITIALIZE DD
END UNINITIALIZE DD

Is this something I can fix, or just a limitation of hardware that I'm using?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-01 07:17:32
I'm having a small problem. When I start up FF7, I get an Error message mentioning; "No useful indirect path found, check APP.LOG for more infomation."

Is this something I can fix, or just a limitation of hardware that I'm using?

It is a limitation of your GL, basically you can't play in a higher resolution that isn't a multiple of 640x480, or things are going to look like crap. (And you'll get that warning)
NPOT textures aren't really required for this, but it makes things easier to work with. This requirement may be dropped in later versions.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Drahcir on 2009-06-01 07:38:34
Okay. Thanks for your quick reply.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: terminater27 on 2009-06-02 01:31:55
Hi, for some reason, when I connect my laptop to my TV via HDMI, the game won't run.

This is the error log that I get.

WM_ACTIVATEAPP

INITIALIZE DD/D3D START

DIRECT DRAW 2

TOTAL 524828672 FREE 519585792

DD MODE: W 640 H 480 P 640 RGB 1 BPP 8

DD MODE: W 720 H 480 P 720 RGB 1 BPP 8

DD MODE: W 720 H 576 P 720 RGB 1 BPP 8

DD MODE: W 800 H 600 P 800 RGB 1 BPP 8

DD MODE: W 1024 H 768 P 1024 RGB 1 BPP 8

DD MODE: W 1152 H 648 P 1152 RGB 1 BPP 8

DD MODE: W 1280 H 720 P 1280 RGB 1 BPP 8

DD MODE: W 1280 H 768 P 1280 RGB 1 BPP 8

DD MODE: W 1280 H 800 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 648 P 2304 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 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 648 P 4608 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 1024 P 5120 RGB 1 BPP 32

Ramp Emulation

  Microsoft Direct3D Mono(Ramp) Software Emulation

RGB Emulation

  Microsoft Direct3D RGB Software Emulation

Direct3D HAL

  Microsoft Direct3D Hardware acceleration through Direct3D HAL

EXCLUSIVE MODE

DD ERROR

  ERROR: 80004001 Action not supported. in FILE C:\lib\src\graphics\directx.cpp LINE 1690

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-02 13:43:43
Why is my game slow? The EIDOS lags when only windows size is set or when internal size is set. It only stops lagging when both are set.
But when both are set my game is slow. But when I use Saint's Hi-Res with same resolution it doesn't lag at all.
Are my settings in correct? I want to play the at 1280x960 just like Saint's.

window_size_x = 1280
window_size_y = 960
preserve_aspect = true
fullscreen = true

prevent_rounding_errors = true

internal_size_x = 1280
internal_size_y = 960

enable_vsync = false/true (just the same)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-02 14:10:14
Hi, for some reason, when I connect my laptop to my TV via HDMI, the game won't run.

This is the error log that I get.


And the numerous mentions of DirectDraw and Direct3D did not clue you in on that the driver may not have loaded at all?

moses7: Upload your APP.LOG somewhere or post the first 10 lines. In this case, settings internal_size should not make any difference at all since 1280x960 is already your output resolution and a multiple of 640x480.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-06-02 14:15:04
Thanks Aali, your latest driver fixed my movie problem. Thanks a lot for looking into it even tho I was the only one that experienced such a problem.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-02 14:35:41
Here it is http://www.megaupload.com/?d=H0TZL6QL (http://www.megaupload.com/?d=H0TZL6QL)

and here's my new settings I removed the commented ones

vert_source = shaders/main.vert
frag_source = shaders/main.frag

post_source = shaders/bloom2.post
enable_postprocessing = false

window_size_x = 1280
window_size_y = 960
preserve_aspect = true
fullscreen = true

prevent_rounding_errors = true

internal_size_x = 0
internal_size_y = 0

enable_vsync = false

minigame_framelimiter = true

battleswirl_framelimiter = false

crash_fixes = true

linear_filter = false
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-02 14:57:05
Nothing going wrong there.. what are your hardware specs?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-02 15:00:45
Pentium 4 2.40GHz 512 MB RAM
GeForce FX5500 256MB

My problem is that it slows and lags a bit.

But when I use saint's it doesn't lag even a bit.

What I love about yours is that it doesn't black out after the opening and the sound continues. Though the opening sound lags though and I think it repeats.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-02 15:14:32
That graphics card is a bit on the old side, I'm surprised it can do OpenGL 2.0.

Try renaming the shaders dir or change the config so the files cannot be found, you'll get a warning message and then it will fall back the OpenGL 1.1 backend, that should move most of the workload to the CPU.
Not a good permanent solution but if this helps I'll know what to do for the next release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-02 15:35:17
Thanks it worked. But the game gave me an error but it worked and didn't lag anymore but the opening video lags when the sound gets sharp when it shows the Train's wheels and repeats the opening music. It used to work well. Help me fix this please :-D

I also noticed that it is somewhat using its own codec. I removed tm20dex.ax but it still worked. The game used to close when the codec is not installed.

I renamed the shader so it won't be read right?

I don't mind losing some added graphics. But it seems like a dirty fix.

Will you be providing a proper fix for us with lowend system like me? It really doesn't need to be very very beautiful just high res.

I don't really know the details about this graphics stuff, but does renaming or deleting the shader make it function like The Saint's?

Coz I'm content if it just looks like The Saint's coz I really like that yours doesn't Turn the lights off and some other fixes.

I kinda don't understand some of the commented text, does the resolution really need to be multiple of 640x480? or as long it is a multiple of 8x6? Coz I also plan on using my brother's laptop since it doesn't have exact resolutions that fit a multiple of 640x480.

Sorry for posting the long post. I hope this is OK. I hope it helps you on improving your app. Thanks a lot.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-06-02 16:08:36
That graphics card is a bit on the old side, I'm surprised it can do OpenGL 2.0.

Try renaming the shaders dir or change the config so the files cannot be found, you'll get a warning message and then it will fall back the OpenGL 1.1 backend, that should move most of the workload to the CPU.
Not a good permanent solution but if this helps I'll know what to do for the next release.

Is that the only way to force the OGL 1.1 backend on, or will it default to it if it notices the card can't do shaders (like mine?)  'Cause I'd been thinking about removing the shader lines in the config, but I thought the "enable postprocessing = false" line had it fall back to OGL 1.1 also.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: terminater27 on 2009-06-02 16:48:53
The thing is, it works fine, and the drivers load when its not plugged into the TV. Is there any way to fix it?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-02 17:00:22
Is that the only way to force the OGL 1.1 backend on, or will it default to it if it notices the card can't do shaders (like mine?)  'Cause I'd been thinking about removing the shader lines in the config, but I thought the "enable postprocessing = false" line had it fall back to OGL 1.1 also.

If you don't have OpenGL 2.0 support it will fall back to 1.1 of course, but there is currently no config option that will force it do so if you do have support for it.
Postprocessing doesn't really have anything to do with it, if shaders are available they will be used for everything.

terminater27: If the driver doesn't load, there's nothing I can do. Only thing I can think of is that the drivers for your graphics card refuse to load OpenGL while you're on the TV.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-06-02 18:24:48
idk if i did this right... but i got the driver and i put the whole thing into my folder and when i merge the 64-bitvista file (i have 64-bit vista OS).. i run the ff7.exe and it says that it stopped working... i no im being all newbie at this but did i do it right?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-02 19:03:40
idk if i did this right... but i got the driver and i put the whole thing into my folder and when i merge the 64-bitvista file (i have 64-bit vista OS).. i run the ff7.exe and it says that it stopped working... i no im being all newbie at this but did i do it right?

You had it working before, didn't you? Does this only happen with the latest version?
Can you post the contents of APP.LOG?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Idec Sdawkminn on 2009-06-02 19:50:12
I just realized the bloom shader was turned off. I thought it had been on. I tried it. Man, that thing looks weird!

You said the shaders designed for ePSXe could work with this. I looked at the Natural Vision Shader and it has 4 files. They end in .FP .SLF .SLV and .VP. The ones you have end in .FRAG .POST and .VERT. I could assume that the .FP would correspond with .FRAG and .VP would correspond with .VERT, but .SLF could also correspond with .FRAG and the same with .SLV and .VERT.

What would I need to change in ff7_opengl.cfg to make it use this shader?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-06-02 21:03:03
actually i reinstalled the whole game and only used the latest driver... and um how do i send the app?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-06-02 21:58:03
'kay Aali it was MY fault xD

Yes it was the sound driver- I don't know why, but when I added your registry-key- my sound reg-key has been deleted^^

So, it's working now and it's awesome- thank you man :D


This mod is much better than the High-Res Patch! It's awesome too, but this is unbelievable!

No big bugs, errors, failures and you're working on it hardly!


Nice Job man,

Deniz
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-02 22:02:18
I just realized the bloom shader was turned off. I thought it had been on. I tried it. Man, that thing looks weird!

You said the shaders designed for ePSXe could work with this. I looked at the Natural Vision Shader and it has 4 files. They end in .FP .SLF .SLV and .VP. The ones you have end in .FRAG .POST and .VERT. I could assume that the .FP would correspond with .FRAG and .VP would correspond with .VERT, but .SLF could also correspond with .FRAG and the same with .SLV and .VERT.

What would I need to change in ff7_opengl.cfg to make it use this shader?

They can work, but you need to make some changes to the code. Only GLSL shaders will work and you need to have some experience with the language to make the necessary changes.

drfeelgud88: use any free upload site, or put it on a pastebin and post the link here.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Idec Sdawkminn on 2009-06-03 00:53:23
One thing I noticed that I really like about this mod is that when you fight Emerald Weapon, his emeralds are visible. I had to use Software Rendering to make them show up before.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-03 01:44:36
Yes, the D3D driver is a pretty poor approximation of what FF7 needs to look right, I often double-check my results against the software driver since it's usually more correct.

I have a lot of things in the pipeline for 0.7 that I want to implement that will make this driver stand on it's own feet instead of trying to emulate the D3D driver. This should improve performance and will also make it easier for me to extend it with new features.

Owners of the PSX version, feel free to point out anything that was lost in the PC conversion that could possibly be re-implemented/fixed.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-03 02:25:29
Even when it doesn't lag when shaders is deleted. There's a part of the opening video that is messed up but not messed up when I play it on the media player.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-03 02:49:27
What part? How is it messed up?
You have to be more specific, I can't fix it if I don't know whats going on.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-03 03:15:09
Here's proof. http://www.megaupload.com/?d=6N3NYZDF (http://www.megaupload.com/?d=6N3NYZDF)

It's silent at first then you will hear the error sound for renaming the shaders. Then Eidos logo. Then I start a new game.

On 1:30 the sound start to get messed up. Notice at 2:00 it repeats the sound not from beginning though instead of finishing the whole sound then Jessie start beating up guards.

My guess is that it's from your video player since yours doesn't use the tm20dec.ax codec. Maybe you haven't tested it for a lengthy video. Just my thought
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-03 04:05:05
You don't think I've tested the opening video? :-P

Anyways, if it's just audio, that's a known problem. Your computer is too slow to keep up and that makes the audio lag behind until eventually you hit the end of the audio buffer and it loops some old samples.

It can be fixed but it's a lot of work for no benefit to people who have fast enough computers.

Not much can be done about the speed of the movie player unless someone overhauls the codec in ffmpeg, and since TM2.0 is such an obscure format, that's not very likely to happen.

In short, you're out of luck, for now.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-03 04:12:38
Sorry for that.

But the videos work well outside of the game. Will you be providing fix for OpenGl1.1 without error?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-06-03 04:28:27
Aali, I really must know...
What is your vision for a 1.0 release of the driver?  What I mean is, what are you hoping you can accomplish to be able to say this driver is complete?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-03 05:57:49
Had anyone tried to run at 1024x768? The battle won't start if I the resolution 1024x768 both with shaders and without. It hangs right before the battle swirl not actually hang but lag so much that it won't finish the swirl. But works at 1280x960.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: secondadvent on 2009-06-03 08:50:40
so far i am loving your custom driver, but was wondering if it would be possible for you to add custom fps limits for the game as a whole, as in allowing someone to play at double speed if they wanted to? and if you could, would you also be able to implement an ingame on/off switch, such as one of the fxx numbers (like f12 for example), so that you could turn it on and off at will (such as turning it on for level/item farming, off for minigames/big boss battles, etc.). sort of adding another config option, 0 (auto) as default, which when changed and f12 (or whatever) is pressed ingame, the custom limit is used instead.

if it had savestate functionality and custom fps, i think it would become superior to the psx emulated version (at least when everything is made to look better, and pc version bugs fixed). but then again, i love savestates :-P. the only one you could probably easily do is the custom fps, since you already added minigame limiting, and thats all i ask for >:D.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-03 11:13:01
so far i am loving your custom driver, but was wondering if it would be possible for you to add custom fps limits for the game as a whole, as in allowing someone to play at double speed if they wanted to?

That's possible, but it wouldn't work like this generation of games. FF7 was designed to run at low fps, so increasing it would just make the game run in turbo mode. It would be pretty much unplayable.

In other words, it wouldn't run smooth, it would just run fast.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: secondadvent on 2009-06-03 11:41:20
thats what i wanted, a "fast" mode ability, similar to increasing fps in epsxe. if THAT is possible (already seen it happen with the gypt patch with the default graphics driver, pressing the movie skip combo (ctrl+s) also turns off the regular fps limit for me outside of battle until the next movie plays, but doesn't happen with the custom driver), then I will be plenty happy, since testing would be so much easier that way (such as scene.bin ai changes, stat changes, etc.).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-03 11:49:42
HELP PLEASE, now I'm using a Macbook Laptop running XP here are the specs.
It's not the PRO but it's kinda new.

Core 2 Duo CPU T8300 @ 2.40GHz
790 Mhz, 1.96 GB of RAM

VIDEO:
ChipvType: Mobile Intel(R) 965 Express Chipset Family
DAC Type: Internal
Memory Size: 128 MB
Adapter String: Mobile Intel(R) GMA X3100

HERE's the APP:
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 640x480, window size 640x480, output resolution 640x480, internal resolution 640x480
LOCK UNLOCK TEST
ERROR: unhandled exception

THE SETTINGS:
# ff7_opengl config file

vert_source = shaders/main.vert
frag_source = shaders/main.frag

post_source = shaders/bloom2.post
enable_postprocessing = false

window_size_x = 0
window_size_y = 0
preserve_aspect = true
fullscreen = true

prevent_rounding_errors = false

internal_size_x = 0
internal_size_y = 0

enable_vsync = false

minigame_framelimiter = true

battleswirl_framelimiter = true

crash_fixes = true

linear_filter = false

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-03 15:39:02
obesebear: It will never be complete, 1.0 will have everything that isn't mod-related working _perfectly_.

secondadvent: This is a graphics driver, what you're asking for is outside the scope of this project.

moses7: Please provide a copy of crash.dmp
The battleswirl problem you were having is caused by your lack of NPOT texture support, if you don't run in a multiple of 640x480, none of the framebuffer effects are going to work. You should've gotten a warning about this when you started the game.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: secondadvent on 2009-06-03 15:58:25
you cannot add the possibility of different frame limits (to speed up the game), when you provide changes to the fps used by the minigames and battle swirl effect? i don't see how fps limits are not related to the graphics driver, since fps are related to it. smack me if i am being noobish, but i don't see why it can't be added into this project.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-03 16:10:48
Limiting FPS means I add one line to my code, removing an already existing limit means I have to patch FF7s code.

But that doesn't really matter because as I said, something like that is outside the scope of this project. It doesn't really improve the game and it's not in line with what was originally intended for FF7PC.

Consider yourself smacked :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-03 16:19:51
http://www.megaupload.com/?d=9P59DXAY (http://www.megaupload.com/?d=9P59DXAY) Here it is Aali

May I also suggest for a switch that disables 2.0 support or shader support instead of it giving me an error of missing shaders for us with low end PC's.
It also didn't tell me anything about the 1024x768 resolution, it still loads the game but only the battle doesn't start.

Thanks a lot.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-03 16:23:42
Aali, 30 fps is too slow for the battle twirl.  Looking at psx version I would say 40-50 is about right.. ?  Either that or  it is just because the twril isnt as good (there is a definate difference to the psx version)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-06-03 16:26:27
Found a little bug in disc 2. After you defeat diamond weapon, you get to see a FMW where the weapon turns away from cloud and the others, at this point you get a small scene where cloud and the rest of the party runs a bit after her, and barret says "Wassup, Mr.monster? Wassup?". Whilst in that scene, the 3 characters should get the diamond weapon shadow casted over them, however instead of the shadow you get a huge white thing that totally makes the screen white until the weapon is passed by.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-03 17:28:26
moses7: Sorry, I was confusing you with the guy who didn't have NPOT texture support, that's not why you're having problems. That said, I can't figure out why it doesn't work for you, the OpenGL 1.1 backend renders the battleswirl upside-down for some reason but other than that it's fine.
That crash you're getting on the other system is a problem with the Intel OpenGL drivers, nothing I can do about that.

Seifer Almasy: I'm not limiting the battle swirl to 30fps, I'm limiting it to refresh rate / 2. I will not add a framelimiter that doesn't depend on vsync.

Red46: Confirmed, I'll look into it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-03 17:30:36
 :-P  I get it.  Still, the minigames and so forth are unplayable without vsync....I take it is to hard to change this...

But not to worry, vsync is better anyway....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-03 18:00:21
Battle swirl runs at about 40fps with the limiter on for me, so does the minigames. I have no idea why, since I'm running at 60hz at all times. Still, at least the swirl looks like it's in the right speed.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-03 18:14:39
Actually the game works on the laptop at 1280x960 but the problem is that it exceeds the screen size -- you can't see the button of the screen and you'll miss the name and HP of 1 of your players.
So I tried 640x480 then it crashes.

The 1024x768 is supposed to work? Well it does the battle just can't show.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-03 22:33:44
Found a little bug in disc 2. After you defeat diamond weapon, you get to see a FMW where the weapon turns away from cloud and the others, at this point you get a small scene where cloud and the rest of the party runs a bit after her, and barret says "Wassup, Mr.monster? Wassup?". Whilst in that scene, the 3 characters should get the diamond weapon shadow casted over them, however instead of the shadow you get a huge white thing that totally makes the screen white until the weapon is passed by.

This white thing is there with the D3D driver as well, while the software driver doesn't show anything. Have you ever seen this shadow working in the PC version? The texture is only a big block of the same color so even if it did work it would look like crap.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Red46 on 2009-06-03 22:36:10
Well guess that's it. The shadow is there only on the psx version which is the one I was referring to, my bad :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-03 22:48:06
aali about the odin summon.  Not sure if you are aware but there is a black outline around the sprite now, showing the sprite box up....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-03 23:14:12
aali about the odin summon.  Not sure if you are aware but there is a black outline around the sprite now, showing the sprite box up....

Please provide a screenshot and the first 10 lines of APP.LOG
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-03 23:27:56
INITIALIZE DD/D3D START
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 640x480, output resolution 640x480, internal resolution 640x480
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
initializing sound...
creating dsound primary buffer

===========

(http://i247.photobucket.com/albums/gg129/SeiferAlmasy2008/bug.png)

No sprite box, my mistake but definately black outline
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-06-04 03:01:44
(http://i247.photobucket.com/albums/gg129/SeiferAlmasy2008/bug.png)
What the... Why did you censor out your name?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-04 03:06:34
INITIALIZE DD/D3D START
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 640x480, output resolution 640x480, internal resolution 640x480
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
initializing sound...
creating dsound primary buffer

===========

No sprite box, my mistake but definately black outline

Ah yes, I'm aware of it.. It's a side effect of the optimizations I did to the framebuffer effects. I may be able to get rid of it, but it's not a priority.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-06-04 05:00:32
aali, here's the app.log for my ff7 game..
http://www.mediafire.com/?nexjjhhgmmz
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-04 05:04:38
That log is from the D3D driver, so either the driver didn't load or FF7 crashed before it could open the log.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Drahcir on 2009-06-04 05:50:32
Slight problem on my laptop. Even with battleswirl_framelimiter and vsync set to true, the swirl isn't working.

Most of the time the game flickers from black to the last rendered frame rapidly while the swirl is meant to be displayed. Other times, it'll just be skipped as if it wasn't there.

APP.LOG contains;
Code: [Select]
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 640x480, window size 640x480, output resolution 640x480, internal resolution 640x480
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END

... Cropped

-=-=[END OF WORLD MAP!!!]=-=-
Entering MAIN
Exiting MAIN
Entering FRAME_INITIALIZE SWIRL
Exitting FRAME_INITIALIZE SWIRL
ERROR: GL_INVALID_OPERATION
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

It is probably another limitation with my GL, but I thought I'll mention it in case it is fixable.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-06-04 05:59:25
hmm... so to remedy this wut would i need to do? sorry to sound so newbie..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-06-04 07:51:05
Aali, 30 fps is too slow for the battle twirl.  Looking at psx version I would say 40-50 is about right.. ?  Either that or  it is just because the twril isnt as good (there is a definate difference to the psx version)

Maybe it's just me, but I've noticed that in some cases in the psx version, if theres a "light source" drawn on the field background (i.e., artwork of a lamp and its light), it tends to get "bloomed" during the battle swirl while the entire image gets defocus'd / depth-of-field-blur'd......and I've yet to see it happen on the PC version.  Perhaps that is the difference?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-04 14:04:05
Slight problem on my laptop. Even with battleswirl_framelimiter and vsync set to true, the swirl isn't working.

Most of the time the game flickers from black to the last rendered frame rapidly while the swirl is meant to be displayed. Other times, it'll just be skipped as if it wasn't there.

It is probably another limitation with my GL, but I thought I'll mention it in case it is fixable.

That may already have been fixed actually, there was a problem with GLs that don't have FBO support that would cause all framebuffer effects to fail.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: polaris_027 on 2009-06-04 14:24:12
UMM..how do you change the resolution?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-06-04 14:28:36
UMM..how do you change the resolution?

Open ff7_opengl.cfg with notepad and edit "set window size" and "custom internal resolution" as desired. After you've done that, just save (and make sure you don't change the file name).

There are instructions in the document itself.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-04 14:31:52
@Aali

The laptop that doesn't work with
window_size_x = 0
window_size_y = 0

internal_size_x = 0
internal_size_y = 0

works with
window_size_x = 1280
window_size_y = 960

internal_size_x = 0
internal_size_y = 0

The problem is that it only supports 1280x800 so the game exceeds the screen.

What should I do?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-06-04 14:33:57
Have you tried setting internal resolution to 1280x960?

That's what I do with my laptop (1440x900). It looks good  :wink:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-06-04 14:38:10
You could run @ 960x720. Then it won't exceed your screen. Also that's a good size for window mode.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-04 15:18:18
Err, people, don't set internal resolution unless you have a very good reason to do so. prevent_rounding_errors will automatically find the optimal configuration for your system. (Unless you're JUST above some multiple of 640x480 and have FBO support, that could be a bit of a waste of resources since it will render in the nearest higher multiple, but this is pretty much the only case where you might want to change the internal resolution manually)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-04 15:46:32
OK I'll show all results using Laptop with maximum resolution of 1280x800

All of this have
preserve_aspect =  true
fullscreen = true
prevent_rounding_errors = true/false just the same I guess

1. (WORKS BUT WITH PROBLEMS) Works but exceeds screen size so the screen is cropped.
window_size_x = 1280
window_size_y = 960

internal_size_x = 0
internal_size_y = 0

2. Error: Internal Resolution Too high,... ; Asks me to write emergency save ; Then closes.
window_size_x = 0
window_size_y = 0

internal_size_x = 1280
internal_size_y = 960

3. (WORKS BUT WITH PROBLEMS) Error: No useful indirect path found,... ; The game loads at upper left corner and not full screen you can still see windows (a lot on the right side and buttom)
window_size_x = 960
window_size_y = 720

internal_size_x = 0
internal_size_y = 0

4. Error: Internal Resulution too high,... ; Asks me to write emergency save ; Then closes.
window_size_x = 0
window_size_y = 0

internal_size_x = 960
internal_size_y = 720

5. Error: No useful indirect path found,... ; Asks me to write emergency save ; Then closes.
window_size_x = 1024
window_size_y = 768

internal_size_x = 0
internal_size_y = 0

6. Warning: Your graphics driver does not support NPOT textures,... ; Error: Internal Resulution too high,... ; Asks me to write emergency save ; Then closes.
window_size_x = 0
window_size_y = 0

internal_size_x = 1024
internal_size_y = 768

7. Error: Asks me to write emergency save ; Then Closes
window_size_x = 0
window_size_y = 0

internal_size_x = 0
internal_size_y = 0


whew, mannn that's a lot of trial and error please help
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-04 15:50:53
If only number 3 goes full screen then I'll have no problem.

3. (WORKS BUT WITH PROBLEMS) Error: No useful indirect path found,... ; The game loads at upper left corner and not full screen you can still see windows (a lot on the right side and buttom)
window_size_x = 960
window_size_y = 720

internal_size_x = 0
internal_size_y = 0

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-04 17:10:55
Seems like you have some really shitty drivers for your graphics card there.. I have to ask though, why didn't you try 1280x800?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-04 17:19:59
sorry I forgot to post it it kinda says NPOT
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Idec Sdawkminn on 2009-06-04 17:26:02
Seems like you have some really sh*tty drivers for your graphics card there.. I have to ask though, why didn't you try 1280x800?
Heh, that's what I was thinking. I have a 24" widescreen and I set the window size to 1920x1200, which is 16:10, leaving the internals to 0. It shows the game perfectly with black on the left and right. I set it to 1280x720 when doing a Youtube video.

sorry I forgot to post it it kinda says NPOT
From your examples, the only time it said NPOT is when you set the internal resolution to 1024x768. Are you trying the window size as 1280x800 and the internal resolution to 0? The aspect ratio option should make the game 1066 or 1067x800 while the screen is 1280x800.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-04 17:32:46
Ah, well, if you don't have NPOT textures that won't work since it can't scale the output.

Your best bet is probably 640x480 window mode. Unless you can get newer drivers for your card.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-04 19:39:02
What the... Why did you censor out your name?

Aint my name.  Someone chose a stupid name for cloud and I havet bothered removing it :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-05 00:33:03
Another great update for a great driver, Thanks Aali  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-06-05 03:04:17
Now I'm not sure what all your driver can accomplish, but I was wondering...
When running in windowed mode if you click the X to close FF7, the process is still running meaning the task manager must be opened to stop it... can your driver eliminate this?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-05 03:05:12
Now I'm not sure what all your driver can accomplish, but I was wondering...
When running in windowed mode if you click the X to close FF7, the process is still running meaning the task manager must be opened to stop it... can your driver eliminate this?

Doesnt do this in vista x64 which is a welcomed change in windows.

But drove me mad in xp.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-05 03:24:39
Now I'm not sure what all your driver can accomplish, but I was wondering...
When running in windowed mode if you click the X to close FF7, the process is still running meaning the task manager must be opened to stop it... can your driver eliminate this?

Works For Me(tm)
I'm running XP, but there's no reason why it shouldn't work on any version of windows. FF7 should recieve its WM_CLOSE message all the same.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-06-05 04:29:27
ya i remember i had to end the process in order to play ff7 again.. ya it was a pain for XP but on my vista there's no need... finally a good thing in vista that deals with ff7 haha  :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-05 04:44:20
Turn off compatibility mode if you have it on. That's what prevents the process from closing if you're in Windows XP.

By the way, the frame rate is dropping considerably in areas that have too many models together. It doesn't matter what resolution I play at, the performance hit is always the same. A good example of this is the house full of cats in Wutai. This sort of thing never happened with the default D3D driver.

EDIT: I'm playing on XP SP2, if that helps.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-06-05 04:48:19
Turn off compatibility mode if you have it on. That's what prevents the process from closing if you're in Windows XP.

If I turn off compat mode, FF7 Music stops working.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-05 04:54:37
Turn off compatibility mode if you have it on. That's what prevents the process from closing if you're in Windows XP.

By the way, the frame rate is dropping considerably in areas that have too many models together. It doesn't matter what resolution I play at, the performance hit is always the same. A good example of this is the house full of cats in Wutai. This sort of thing never happened with the default D3D driver.



Vista X64 SP2, Geforce 7900 GS Latest drivers, Latest fraps, 640*480 window mode (full screen makes no difference either), vsync


Since you brought this up I will bring up some issues I have with graphics, these didnt occur in XP like this.  But for reference:

XP x86.   All graphics fine, except field graphics i.e in towns. 

In town/field:  Played at 29-30 fps but stuttered all the time.  Refresh rate of monitor had no affect.  Recorded at 27-28 with fraps and stuttered all the more.

Vista X64:

All graphics fine except field graphics.

In town/field:  refresh rate seems to matter a lot....

Anything other than 60 Hz and the field frame rate is 25.  It will also record at 25.  Funnily enough it seems to play smoother like this but obviously it is too slow anyway. 

At 60 Hz:  Plays at 30 fps with same stutter issues as Xp, but again will record at 25 fps.

----------

I am baffled.  It seems now that vista doesnt like vsync with refresh rates not divisible by the original frame rate ??

Maybe it is just my gcard?? I dunno....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-05 05:50:33
Finally got it working on the laptop 1280x800

1. I upgraded the driver to the latest from Intel.com
2. intalled ff7_opengl-0.6.7b

use_shaders = true

window_size_x = 1280
window_size_y = 800
preserve_aspect = true/false
fullscreen = true

prevent_rounding_errors = false ; when I set this to true the image at the top gets messed up when I start to move and the screen scrolls or I open the menu.
Setting it to false made the game work very good.

enable_vsync = true

Thanks a lot Aali for the new driver. This driver just keeps getting better and better.
use_shaders switch nice nice nice :-D
The laptop is fine now

The only problem left is on the PC with GeForce FX5500 where
preserve_aspect = true doesn't work.
I already checked that I have the latest drivers.
Overall it works fine.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Drahcir on 2009-06-05 06:49:49
Slight problem on my laptop. Even with battleswirl_framelimiter and vsync set to true, the swirl isn't working.

Most of the time the game flickers from black to the last rendered frame rapidly while the swirl is meant to be displayed. Other times, it'll just be skipped as if it wasn't there.

It is probably another limitation with my GL, but I thought I'll mention it in case it is fixable.

That may already have been fixed actually, there was a problem with GLs that don't have FBO support that would cause all framebuffer effects to fail.

Just tried your latest version, while the "ERROR: GL_INVALID_OPERATION" is no longer in the log, the swirl still isn't displayed.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-05 08:33:45

[/quote]

Just tried your latest version, while the "ERROR: GL_INVALID_OPERATION" is no longer in the log, the swirl still isn't displayed.
[/quote]

Try patching it with YAMP, I did it on the laptop where
battleswirl_framelimiter = true didn't work
and you can't almost see the swirl because it's too fast.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-06-05 09:57:25
So, I start up the the config after unsucessfully trying 0.6.7b on my system......

(http://bin.mypage.sk/FILES/Overreact_config.jpg)


Gee, something's a little strange. :-D

Does it look like this on everyone else's system, or am I just special?  I would think that running the config program at least auto-set it to software mode if it does not recognize the registry value.....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-05 10:54:56
Your config is version 1.00 download the 1.02 patch and replace it.

After replacing it, you can then try 0.6.7b. again.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Idec Sdawkminn on 2009-06-05 20:17:45
Just thought you might like this in case you haven't seen it. I made a video fighting Emerald Weapon using this mod and a few others. I give credit to everyone. I play the game in 1280x720 and record using Fraps. The battles run at 15 FPS, except when recording they are at 14 FPS. I have to increase it when editing, which is fine. I don't expect anything you could do to the driver could make it stay at 15 while recording, seeing as I have a Phenom II Quad Core and 4 GB of 800 Mhz RAM and it still slows it down.

Anyway, awesome mod.

http://www.youtube.com/watch?v=YSV-VRA1qr0
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-05 22:46:50
ok a thumbs up for me, I discovered why you worked on this.

The game worked fine on my laptop in D3D mode.

I then tried to play it on my desktop pc in XP with a 8800GT.

Result was a 10second+ pause at startup and once in game the colour depth was clearly below normal as I seen gradient lines in the menu screen.  Spent 10 minutes or so trying to fix but got nowhere then remembered this patch.  Installed it and now the pause is gone and I have the colour depth back, game also seems to run faster although that could be a placebo affect, nevertherless big thumbs up from me.

Only weird issue was when coming out of the game on my dual monitor setup all the windows which were open on my main monitor (the one ff7 ran full screen on) were moved to the other monitor.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-05 23:17:24
Had anyone tried to run at 1024x768? The battle won't start if I the resolution 1024x768 both with shaders and without. It hangs right before the battle swirl not actually hang but lag so much that it won't finish the swirl. But works at 1280x960.

did 1280x960 work for you full screen? I am using 1280x1024 as 1280x960 forces windows mode for me.

I am using nvidia scaling option that uses nvidia to scale and preserve aspect ratio in my drivers (so monitor still in native resolution).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-06-05 23:51:59
Chrysalis : That dual screen issue happens to me also. I really didn't mind it to much but it is like the itch you can't scratch. Actually I found it so annoying I started playing exclusively in window mode. However now I only really need window mode so I lost interest.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-06 00:54:40
Another issue... I can't Alt+Tab out of FF7 when using this driver. The screen just flashes and remains in fullscreen. I had to struggle with the Windows key to change the disc image in Daemon tools.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-06 01:49:23
Alt-Tab works fine here.. Did you have any other windows open?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-06 01:55:21
Alt-Tab works fine here.. Did you have any other windows open?
Nope. Just FF7. Like I said before, I'm playing on Windows XP.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-06 01:59:30
Well thats why it's not working, if you don't have any other windows open Alt-Tab will just switch back to FF7.
May be fixable by asking Windows to give the OpenGL window the same special treatment as fullscreen D3D apps but this is very low priority.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-06 02:01:27
Chrysalis : That dual screen issue happens to me also. I really didn't mind it to much but it is like the itch you can't scratch. Actually I found it so annoying I started playing exclusively in window mode. However now I only really need window mode so I lost interest.

it only happened once on my maximised window stuff, windows that arent maximised will move right a bit everytime I play the game and eventually if they move right enough they stay on the 2nd screen, since I now have it all setup good and I wont be frequently starting and closing the game I am satisfied now.  I dont get the slowdown issues some have mentioned either, like in the cat room in wutai no slowness at all for me, even tho I have pumped up antialiasing.

Am I the only one to notice that the videos look sweet using this driver also? on the d3d driver watching videos has the grainy affect especially the opening video, now all that is gone and it looks very sweet and clear on the video clips now.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-06 02:19:20
Had anyone tried to run at 1024x768? The battle won't start if I the resolution 1024x768 both with shaders and without. It hangs right before the battle swirl not actually hang but lag so much that it won't finish the swirl. But works at 1280x960.

did 1280x960 work for you full screen? I am using 1280x1024 as 1280x960 forces windows mode for me.

I am using nvidia scaling option that uses nvidia to scale and preserve aspect ratio in my drivers (so monitor still in native resolution).

Yes, 1280x960 works very well full screen for me. 1024x768 won't continue the battle swirl. 960x720 forces me to window mode.
Another problem is that preserve_aspect = true doesn't work for me. No matter what resolution.

Currently the custom driver is still picky.

I noticed that the resolution that forces me to window mode is a resolution that isn't supported by my video card or monitor.
Like 960x720 I went to the display properties of my desktop and check if it is an available resolution on the slider and found out that it isn't there.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-06 03:23:42
Well thats why it's not working, if you don't have any other windows open Alt-Tab will just switch back to FF7.
May be fixable by asking Windows to give the OpenGL window the same special treatment as fullscreen D3D apps but this is very low priority.

I see... So it's works differently for OpenGL? I suppose I can leave something else oppened while running FF7.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-06 05:42:42
Found a pretty bad texture glitch when using Quake 3:

(http://img291.imageshack.us/img291/8279/glitchedtexture.jpg)

That's very end of the animation. As you can see, it gets garbled with several random textures. I was fighting Jenova DEATH, I don't know if this glitch is exclusive to this fight.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-06-06 14:45:58
haha oh wow that's actually pretty awesome.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-06 15:56:48
Can someone confirm or deny that this happens with the D3D driver aswell?

It seems to be limited to that battle, and only if you use it with All materia, very odd conditions that should have nothing to do with the driver.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-06 18:04:31
ok I am using 1680x1050 now in the custom driver config, with aspect ratio correction so doesnt stretch to wide screen.  Initially my hardware did struggle with this but I tuned some nvidia driver settings (kept my same antialiasing on tho) and disabled vsynch in the config and now runs smooth again.  This gives me the full screen height as well as no desktop glitches with my windows when I play the game.

I noticed even tho I had disabled monitor scaling so the monitor was using native res when using lower resolutions, the desktop was forced down to the same res as ff7 which is why everything was shifted to the right.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-06 18:08:08
Can someone confirm or deny that this happens with the D3D driver aswell?

It seems to be limited to that battle, and only if you use it with All materia, very odd conditions that should have nothing to do with the driver.

Someone here will have D3d up for testing, place the save file up.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-06-07 07:54:27
I might be able to do the D3D acid test, considering FF7 + 3dfx D3D is about as glitch-free as you can get, driver-wise. :wink:  So yes, please put the save file up, 'cause I'm currently not anywhere near Jenova Death in any of my current savegames.

That being said, I may not be able to produce any results until later this week -- I've got a rather busy week scheduled (and no, I'm not happy about said scheduling). :roll:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-06-07 16:54:51
Awesome Aali, just awesome!

Finally everything is working, I am making this project a bit public in YouTube for you- I will post the link here :D

I got yesterday my brand new Full-HD TV :D Hell yeah, playing FF7 on 1920*1080 is REALLY AWESOME xDDD
But it's black/white 'cause of connecting my laptop and my TV via S-Video cable xD

I ordered at ebay a VGA-HDMI cable, so I think it will be in color next time :D

Some Pic's :D

(http://www3.pic-upload.de/thumb/07.06.09/xwqkh.jpg) (http://www.pic-upload.de/view-2273834/1.jpg.html)

(http://www3.pic-upload.de/thumb/07.06.09/id1vam.jpg) (http://www.pic-upload.de/view-2273847/2.jpg.html)

Thank you again Aali, this is the best improvement for FF7 ever! Also fans of the Original FF7 without mods will be "satisfied" with this :P
Because of only changing the resolution and activating Anti-Aliasing without new "graphics" it has its old charme!

You're awesome man :D

See ya,

Deniz
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-06-07 17:07:03
Since when does S-Video not support color?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-06-07 17:41:52
Forget abot that, how the hell is that S-Video cable carrying a 1920x1080 signal?  I thought that was totally outside the spec of them, since S-Video was supposed to be a poorer-quality cable than Component (or composite, whichever was supposed to be the 5-prong cables). :?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-06-07 18:16:31
Forget abot that, how the hell is that S-Video cable carrying a 1920x1080 signal?  I thought that was totally outside the spec of them, since S-Video was supposed to be a poorer-quality cable than Component (or composite, whichever was supposed to be the 5-prong cables). :?

I'm sure it's only 480p and not 1080.  I'm fairly sure S-video is progressive, while normal composite cables provide interlaced video.  Since his TV is new, it probably automatically scales to fullscreen.   Not sure about the black and white though...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-06-07 18:29:16
Just forcing the option ;)

At first it didn't worked^^
Then, I forgot where, I found an option in the Nvidia Control Panel which allowed me to choose one resolution of all available resolutions my GRAPHIC-CARD allows/supports.

I think it's black/white because my cable is a bit f***ed up :D


So, here's the video I promised you :D

(http://www3.pic-upload.de/07.06.09/npsazd.jpg)
http://www.youtube.com/watch?v=-pFpniHUexk (http://www.youtube.com/watch?v=-pFpniHUexk)

@obesebear:
No, it's not scaling to fullscreen- it's his native resolution (so, 1080p). I can see at my notebook screen which resolution is now beeing displayed. Yeah, it is a wonder that it is working- but who care's? Its working xD But the quality is really bad^^ It is 1920*1080 but it doesn't look as well as it is in real^^

The quality will be much better with a cable which is designed for it ;)
And the video is captured with my brandnew N96 xD

See ya,

Deniz

EDIT: Wikipedia says:

Quote
Due to a lack of bandwidth, S-Video connections are generally not considered suitable for high-definition video signals.However, on the older monitors with S-Video but without HDMI and DVI, some graphics cards have full display (including bootup display) with HDMI, DVI and S-Video and partial full display (displaying only after the OS boots up) with component and composite. So in this case, S-Video works well as it allows the user to see the display in the event that they need to adjust settings in the CMOS.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-06-07 20:28:47
Okay, this has now officially become the greatest mod for FF7 ever. Linux users will praise your name.

I'll go put up a comment about this on the Wine AppDB.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-07 21:09:59
d33eniz: I can think of only one reason it's black and white. Your computer is sendind an NTSC signal and your TV is outputting a PAL signal (or vice versa). If you bought the TV in North America and you live in Europe, for example, you run into this problem. Some TVs have multiple signal compatibility, so all you have to do is change it in the menu.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-06-07 22:43:57
Mmmmh- never tought about this. Maybe. But I don't care because I just wanted to show what you COULD do with a S-Video Cable. The resolution is max, but the quality of the picture is almost bad.

Like I said before:

I bought a cable designed for this job and thank you Aali to make this possible :D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Bango Skank on 2009-06-08 00:25:00
You have my thanks for your hard work on your FF7 replacement driver.  It has gotten me much, much further in the game. :)

With that said, it runs very slow on my PC, maybe 80-90% of normal speed.  And during the very first airship sequence, it slows to a crawl.  How slow?  Like during a conversation I'm getting 3 letters every 30 sec, and it takes 5-10 min to reload the screen when I go from one room to the next.  I actually can't get any further in the game, with or without the driver, because I simply can't get through the convo's necessary to get to a savepoint.  :(

Here is a link to my savegame (it starts at the savepoint preceding the Tifa gas chamber sequence):
http://www.filefactory.com/file/ag5db9h/n/save04_ff7
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-08 02:44:44
It is definately smoother in vsync.  The game now runs in 30 fps at 75 hz as well.  Although fraps recording drops to 25fps, but this is prob a fraps issue

The immediate issue of 25 fps with my system when at 75 hz is gone.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-06-08 08:11:44
Yeah, I noticed that slowdown too!

What's going on? 1 or 2 beta's ago it was not slow downed like that!


But Aali knows what he's doing ;) He will improve that too ;)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-08 12:45:08
Played all the way through that scene, until you get to the world map again, no slowdown. Please try the earlier betas and find out where this started.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-08 12:52:04
Aali what does FF7 use as its main timer?  Timegettime? 
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-08 12:54:51
Previously it used rdtsc with a timeGetTime calibration loop, the driver replaces this with QueryPerformanceCounter and overrides the calibration with QueryPerformanceFrequency.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-08 13:04:39
I was going to suggest Queryperformancecounter ;)  well done  (looking at the debug info I would have realised this).  That doesn't need to invoke timebeginperiod(1)  which timegettime does.  I think it is purely based on processor speed

Although I did hear some older processors had problems with Queryperformance 

http://www.gamedev.net/community/forums/topic.asp?topic_id=357918 < debate there about it also.  Seems to be newer not older processors

edit:  also, I take it it is much more difficult to change the FF7 timebased calculations and use frame based?  (I know this isn't so desirable with PC games, but processors/gcards these days are surely fast enough for FF7?)

I am assuming ff7 uses time based calculations.... actually I am not sure, since frame based ones would mean no glitches with the minigames??
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-08 13:54:13
aali thanks for the update.

0.6.7 so far been very stable for me, I will upgrade to 0.6.8 next time I fire up the game (some time today).

I have anti aliasing on in my nvidia panel which smoothes out the jaggies on the models in battle scenes and field but backgrounds and attack animations remain blocky at high res, is this what to expect and anti aliasing cant fix?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-08 14:24:42
Antialiasing cannot improve textures.

For the next release I've made the QPC timer optional, with the other option being the much less accurate, but "always" stable timeGetTime.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-08 14:26:56
ok I have tested and works good, can someone verify that the game caps frame rate to 30fps on field screens and to 15fps in battles? or is that my pc been sluggish.

aali and thanks for answering my question on the textures.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-08 17:03:26
Antialiasing cannot improve textures.

For the next release I've made the QPC timer optional, with the other option being the much less accurate, but "always" stable timeGetTime.

I know this is daft because you no doubt know this, but timegettime must invoke timebeginperiod(1)  on systems other than win 95 or it won't run properly.  Still you have probably done this (or original programmers did)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-08 17:22:31
ok I have tested and works good, can someone verify that the game caps frame rate to 30fps on field screens and to 15fps in battles? or is that my pc been sluggish.

aali and thanks for answering my question on the textures.

yes it does....  

15 fps movies and battles
30 fps field
60 fps menus and battle swirl
30 fps minigame with fix (I think)

Although I have no idea why all these are different (aside from movie).....  It seems to be a bit half assed
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-08 17:30:00
Battle usually has just about twice the amount of polygons on screen compared to field. That is no coincidence :-)
Everything was precisely tuned to match the PSX's capabilities, and they didn't bother reworking it for the PC version.

And I'm well aware of timeBeginPeriod, but thanks anyway.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-08 17:39:50
Did they do better with FF8 port?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-08 20:32:34
Did they do better with FF8 port?

Huh, no. It's basically the same as the FF7 port, but it uses DX6 instead of 5.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-08 20:55:57
Did they do better with FF8 port?

Huh, no. It's basically the same as the FF7 port, but it uses DX6 instead of 5.



I meant the issue of timings and use of timers etc....  Not the overall "how it looks"  if that make sense?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Marc on 2009-06-11 02:27:13
Tested this out with default options (no tweaking of config files) on my laptop (crappy integrated GMA graphics from intel) and everything was just like the original except for the first chest in the game in reactor 1 which flashed oddly after being opened (flashing a greenish hue).

Apart from that minor glitch, it was perfect.

Great job.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-11 02:51:33
You're lucky, it's completely out of whack if I try to use shaders on my intel based laptop. I can even hang the system completely by loading the right (wrong) shader.
Basically, intel cards have some serious problems with both drivers and chipset, so don't be surprised if it doesn't work.

If the laptop is not using shaders, be aware there are some glitches in the latest release. Sometimes it wont do the right color conversion and you end up with swapped red and blue channels.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-12 13:21:14
will the dumbed down shaders have any affects on good graphics cards? like reduced quality etc.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-12 16:05:35
If that were the case, I would've provided separate shaders for intel cards.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-06-12 17:39:32
Just tried this for the first time (I reinstalled my FF7 and moved the folder to a non-program files region, its just so much easier that way). It's truly an amazing piece of work. Works perfectly on my 1280x800 ATI HD Mobility Radeon 3400 laptop (i set the custom resolution to this). Mightily impressed!

Thanks Aail.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-13 10:44:51
@Aali

may I ask if the preserve_aspect = true works on your intel based laptop?
Coz my PC ain't intel based but preserve_aspect = true still doesn't work.

and also if the battle continues at 1024x768 resolution. Coz that also doesn't work for me.
The swirl will take about 5hrs before it finishes I guess at 1024x768.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Marc on 2009-06-13 13:50:26
Tested the new release on my laptop.  Works great.  No issues that I've noticed.  Great job.

Now if only there was something that could be done about those horribly pixelated backgrounds ...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-06-13 14:04:39
I'll just leave this here ;-)

http://forums.qhimm.com/index.php?topic=8450.0

It's a WIP, but hopefully we'll have a working field background editor soon. It seems that a few people have smoothed the backgrounds out slightly and got them looking passable at 1024x1024
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Dko on 2009-06-15 16:27:28
Is there seriously no way to run this on a no-cd cracked copy of FF7?  Now hear me out, I do own the game (or did) but I made a backup of all three disks onto a DVD.  An (ex) friend borrowed and never returned my original 3 some time ago and I don't wana pay the 200+ for new copies. >.<
I understand wanted to make sure people who don't own the game don't enjoy it. Especially with spiffy new graphics ^^ 
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-06-15 17:05:09
why do you even need the NoCd crack this game can be played many ways without the original CD (legally as well since the NoCd crack is apperently illegal) in your CD drive (like using daemon-tools or one of the other methods which dont even require daemon tools to be installed)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-15 17:50:37
The only thing I don't like about it is that have to use damn image files ina  virtual environment....or an actual cd.  Would be much better if we could have someone make a proper installer, but people would be dead against that, even with this game being very old.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-06-15 17:53:41
why do you even need the NoCd crack this game can be played many ways without the original CD (legally as well since the NoCd crack is apperently illegal) in your CD drive (like using daemon-tools or one of the other methods which dont even require daemon tools to be installed)

This.

If you still have the DVD with the copies of the three discs (and it sounds like you do), make three ISO images from the data and use daemon tools to mount them in a virtual drive.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-06-15 17:56:34
oh Seifer Almasy it is possible to play FF7 without daemon tools or any kind of virtual image and without the original CD and without a NoCd patch. (and by this i mean a way of playing it without needing any external software at all)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-15 18:02:55
?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-06-15 21:15:22
does the ? mean you want to know or that you dont understand ?
Well if your interested here is how you do it. First open "My Computer" and open your list of HardDrives and CD Drivers,
Next select a partition and right click it and click "RENAME"
rename the partition one of your partitions to FF7DISC1 (or FF7DISC2 or FF7DISC3 depending on which disc your on)
NOTE - ONLY RENAME THE PARTITION DO NOT CHANGE DRIVE LETTER
now you should have a renamed HardDrive Partition,
Now open Regedit by clicking on run and typing "regedit"
Go to "HKEY_LOCAL_MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII"
and where you see "DataDrive" change the value to the drive you renamed to FF7DISC1.

For example here is what i do.
First rename C Drive to "FF7DISC3"
second change registy entry at "HKEY_LOCAL_MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII" Datadrive to "C:\"
then close regedit and run FF7 and hey presto you can play it without the CD.

If anyone cant understand what i have said please feel free to ask for help and i will do what i can. Also i havent seen anyone post this method before but if anyone has posted this before i am sorry but i am not trying to rip you off i just came up with this on my own. And if no one has come up with this before there shouldnt be a problem.
I came up with this a few years ago to use it with saints patch because i really dislike daemon tools (well i did back then but now its pretty decent).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-15 21:57:58
Oh I can do that :P

Cheers I will test right away!  :-D


edit:  that is actually a cool trick!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-15 22:07:35
Aali, i was looking at some settings nVidia has in their control panel to optimize FF7 graphically (i know pretty useless, But with APZ's mod it looks great)

But i ran into a few new settings with this driver.  one i can't use, the other is "conformant texture clamp" increases image quality and performance, But i don't know if i should use OpenGL, or Hardware (there is an nVidia symbol on Hardware if that matters)

I also have a question on Triple buffering and force vsync, Should i turn this options on? Or no?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-15 22:25:43
You should leave Vsync as "let the 3d app decide"  because then Alis config will be the decider of vsync.  As for triple buffering, it should be left off as it is just a work around in the driver.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-16 01:15:01
You should leave Vsync as "let the 3d app decide"  because then Alis config will be the decider of vsync.  As for triple buffering, it should be left off as it is just a work around in the driver.

Alright thanks.

@Aali: There is a magic defense fix patch for YAMP i'd like to use, if i use it can i still use your driver? Or no?
They work

EDIT: Need some help, I am running Windows 7 build 7100 64-bit, And the reg entry doesn't seem to work, the resolution is still the normal it is set to (640 X 380 full screen) with all the buggy nvidia problems.. is this because it is installed to program files (x86) instead of just program files?

I'd post and app.log, But it hasn't booted up once to create an app.log  :-(

running v0.6.9

EDIT2: in the registry it says that the graphics driver path is "ff7_opengl.fgd" and the driver is "0x00000003 (3)" is that means anything


EDIT3: Nevermind, need to run FF7 as admin and it works perfectly. Might want to add this into the readme file.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: _Ombra_ on 2009-06-17 02:43:15
The driver works beautifully. Never seen FF7 so smooth. I'm running on OpenGL 2.0 @ 1680x1050 with original aspect ratio.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-17 04:33:02
Hey Aali, just wanted to point out, your main link links you to the download for v0.6.8b not v0.6.9b

Just thought i'd let you know, And as always, perfect job, couldn't ask for more :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-06-17 13:20:51
Hey there Aali!

A bug in your latest release:

(http://www3.pic-upload.de/17.06.09/51n848.jpg)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-17 15:31:18
Hey there Aali!

A bug in your latest release:

I'm aware of it, there's also a pseudo-random glitch with Jenova Synthesia and Bizarro Sephiroth where they end up getting two models drawn on top of each other. Wont have time to look into it until next week.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-06-17 23:41:01
ff7 pc is sooo complicated to fix!  :|
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-18 02:27:39
ff7 pc is sooo complicated to fix!  :|

How so? It works perfectly for everyone else
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-18 04:48:19
Where do you set the settings? :-o

for the graphics driver? In the ff7_opengl.cfg
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-18 05:36:23
Ok this doesn't seem to work for me. When I start the game, I get a black screen. i can hear all the sounds but can't see nothing. Running 800 600 with the drivers on. It works if I switch back to the old one. :|

and you clicked the reg file? To add the settings to the registry
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-18 15:22:42
Ok this doesn't seem to work for me. When I start the game, I get a black screen. i can hear all the sounds but can't see nothing. Running 800 600 with the drivers on. It works if I switch back to the old one. :|

I'm not sure if it would work with 800*600, Aali said you get issues when you run it as a non multiple of 320*240/640*480

If you're using Vista you need to run FF7 as admin, Took me forever to find that out  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-18 15:35:54

If you're using Vista you need to run FF7 as admin, Took me forever to find that out  :-D

or disable UAC totally....I have something called Vista Manager and its a dream at sorting out crap in Vista
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-18 16:29:14
Ok this doesn't seem to work for me. When I start the game, I get a black screen. i can hear all the sounds but can't see nothing. Running 800 600 with the drivers on. It works if I switch back to the old one. :|

I'm not sure if it would work with 800*600, Aali said you get issues when you run it as a non multiple of 320*240/640*480

If you're using Vista you need to run FF7 as admin, Took me forever to find that out  :-D

You won't get any issues if prevent_rounding_errors is on, and you certainly wont get a black screen. Something else is going on there.
Zarnik: What are your system specs?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-06-18 16:57:52
I disabled UAC and installed FF7 to a folder on my desktop. For me its really the only way to avoid the shittyness that is vista! When dealing with ff7, anyway.a
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-18 17:08:11
Just replace the config file with the one from the .zip archive and you'll be back to default settings.

Svenska är inget problem för mig men den där rutan visar inte det jag egentligen ville veta. Vad har du för grafikkort?

Om du kunde ladda upp en kopia av APP.LOG både innan och efter du ändrar inställningar så vore det bra. (APP.LOG skapas i samma mapp som ff7.exe när du kör FF7)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-06-18 18:40:38
Ok here is the APP text. After i installed the drivers.
Quote
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: No swap_control extension, cannot control framerate
INFO: Original resolution 640x480, window size 640x480, output resolution 640x480, internal resolution 640x480

Have you tried updating your graphics drivers? I know that's kind of an obvious response, but it could fix everything.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-06-18 19:12:44
Wait, did you change the resolution to 640x480? The logs don't show 800x600.
Have you tried running it with fullscreen=false? That helped me get the driver running at first (I forget exactly went wrong, but it was because I was an idiot).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-06-18 19:24:33
Well, you're running 640x480, so that's going to look pretty bad.
Wait, you disabled fullscreen, but it's still running fullscreen, and it works? Check the logs, are you sure it loaded the OpenGL driver?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Seifer Almasy on 2009-06-18 19:24:46
Wow I disabled fullscreen and now it works :D It's still in fullscreen though...  :-o Which is weird. Thanks, just wondering is the game supposed to be very pixelated? If I compare this to running the game on a emulator. The emulator looks much better :p

The emulator you are using probably uses a screen smoother....which makes it look a little better but you LOSE detail.  AFAIK the resolution of PSX and PC field screens is exactly the same.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-06-18 19:53:27
Are you running as administrator (as in right click on the shortcut or executable and hit run as administrator, not just run it while logged in to an administrative user)?
What graphics card do you have? Is it an integrated laptop card?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-06-18 19:55:19
But what model is it? You can find out by at the screen where the display control panel shows the resolution settings.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-18 20:26:49
There is no way in hell that card doesn't support NPOT textures/OpenGL 2.0.
You must be using Vistas software emulation.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-06-18 20:57:58
I think by "you must be using" he means "that means you are using", not "you must start using". It's a quirk of the English language that can throw off non-native speakers. So you'd need to disable Vista's software emulation.

However, I don't know how to do that.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-06-18 21:54:24
Right click on ff7.exe and go to properties. Under the compatibility tab, make sure nothing is checked and that the program is not running in compatibility mode. I'm on linux, so a Vista user should probably make sure I haven't missed anything.

EDIT:
Oh, and Aali, I woulder if Qhimm could add a forum for this? This is a 26 page topic, and it's only going to get longer as the driver becomes more widely accepted. It seems like a separate forum would be excellent, both for release notifications and tech support threads.
If nothing else, you may want to start a new topic with each release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-18 21:59:59
Yeah sorry how do you disable it  :-P

Are you running FF7 as admin? That was my issue. it just defaulted on FF7 default driver until i ran it at admin. This is Windows 7 (based on Vista) 64bit, but it should do the same.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-18 22:23:06
EDIT:
Oh, and Aali, I woulder if Qhimm could add a forum for this? This is a 26 page topic, and it's only going to get longer as the driver becomes more widely accepted. It seems like a separate forum would be excellent, both for release notifications and tech support threads.
If nothing else, you may want to start a new topic with each release.

I see nothing wrong with keeping it in this thread. 26 pages is not THAT much and it certainly does not warrant creating an entire forum.

Zarnik: You don't disable the software OpenGL driver, you just replace it with a real OpenGL driver. In this case it seems like your nvidia drivers aren't working properly.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-06-18 22:46:58
I put in the comment about adding a forum when I looked at my post and saw "Reply #635"
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-06-18 23:19:55
I put in the comment about adding a forum when I looked at my post and saw "Reply #635"

There are longer threads on these forums (http://forums.qhimm.com/index.php?board=3.0;sort=replies;desc) ;-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: moses7 on 2009-06-20 13:22:40
@Zarnik

I see you are using 1024x768.

From my experiences

1024x768 didn't work on a new laptop that can run it on 1280x800, the game won't start even appear.
1024x768 doesn't work on my PC that can run it at 1280x960, the game runs but the battle swirl won't start or is very very slow.
1024x768 doesn't work on my Pentium 3 laptop that can run it at 640x480, the game won't start even appear.

1024x768 I think it doesn't work for old PC's with video card that can't run OpenGL 2.0
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Dko on 2009-06-21 23:52:53
Thanks kranmer that worked! :D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Ultroman on 2009-06-22 09:08:56
nvm
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-06-22 21:19:52
I haven't had a problem running any resolution on my 1280x800 laptop. I've even been running it dual screen. Great patch!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Reaper24 on 2009-06-23 09:06:44
Nevermind.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-06-23 10:02:43
Glad to hear it worked for you Dko
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Napper on 2009-06-24 22:32:25
Are these custom drivers still being updated?

There is still a few odd texture problems i have incurred. During the bike minigame for example, the road markings are all skwiggly lines instead of straight textures. Not sure what causes that to happen by using the drivers.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-24 23:20:41
Are these custom drivers still being updated?

There is still a few odd texture problems i have incurred. During the bike minigame for example, the road markings are all skwiggly lines instead of straight textures. Not sure what causes that to happen by using the drivers.

Geez, I don't make a new release for two weeks and you think the project is dead? :P
I'm aware of this issue but since it's very minor and doesn't affect playability it's very low priority.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-06-25 01:04:17
Are these custom drivers still being updated?

There is still a few odd texture problems i have incurred. During the bike minigame for example, the road markings are all skwiggly lines instead of straight textures. Not sure what causes that to happen by using the drivers.

Geez, I don't make a new release for two weeks and you think the project is dead? :P
I'm aware of this issue but since it's very minor and doesn't affect playability it's very low priority.
Well, we were used to have a release every two or three days... Anyone would ask what's happening, myself included, it's just that I didn't post, since I know programmers usually take their time to refine their projects... specially if it's actually theirs.

I admit I was one of the people who would press F5 on my browser every hour just to check if something new happened... geek behavior, I know, but hey, this is good stuff! :oops:

Keep going!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-25 01:23:20
Quote
I admit I was one of the people who would press F5 on my browser every hour just to check if something new happened... geek behavior, I know, but hey, this is good stuff! :oops:

I'm guilty of that too :-P

But i'm proud to report i've had no bugs :-D

So i kept silent waiting till the next update.

When he updates i expect pages of "great job!" and "Awesome work!" to be posted
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-06-26 02:34:05
Last release was on page 24.  Are you still waiting for people to find bugs to update your driver?  Or maybe there is something bigger in store?

Since I'm already here... what's the status on Palmer?  I saw v0.1 released but it kind of died down after that.

Just curious about them since they are some of the BEST mods released.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-06-26 03:36:54
I second that. Palmer and this driver are the wave of the future. Wonder what's in store?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-26 04:17:42
obesebear: You must've missed Palmer 0.2 then :-P
I haven't done anything to it since then though. Import is relatively simple, I just need to get off my ass and do it.


I have made some minor fixes since 0.6.9 that I may release as a 0.6.10 if I don't make any major breakthroughs that could warrant a bump to 0.7

Here are some of the things you might get to see in 0.7:
Replace the code that loads .p files into a format useable by the driver (currently borrowed from the D3D driver)
Per-pixel, real-time lighting
Texture replacement for use with Palmer (and possibly other things as well)
Some trickery with animations perhaps, not sure what I can do with that yet
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-06-26 12:17:57
Per-pixel, real-time lighting

Sounds interesting. Does that mean we'll get to see real-time shadows in this game?

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-26 12:42:31
Maybe, but that's another big step, you don't get it for free with per-pixel lighting.
And it will only work well in true 3D environments, it would look really stupid in field.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Stoner on 2009-06-26 13:00:39
Since this is my first post, I'd like to start with a big THUMBS UP to Aali, your work on this project is amazing! I've been trying to play this game on PC for quite some time now, but thanks to your mod I am finally able to overcome those annoying technical difficulties and just enjoy it.

I do have a minor problem however. No matter how hard I try, I just can't get the mini-game frame limiter to work. The game seems to use vsync allright, but thats it. I usually play at [email protected], in that case I get 100fps in the mini-games. I tried [email protected], then I got 60fps. I can't even force any lower refresh rate in windowsXP. Although at 60fps I was able to get through the bike sequence and the chocobo race, but the other mini-games are just too fast. I believe I tried every possible combination of the cfg file and the catalyst driver settings. Any ideas? If not, that's okay, I guess I'll live with it, but it would be so cool to really play this game as it was supposed to be played. Anyway, thanks for the mod and I hope we'll see the same kind of success with Palmer.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-26 13:17:44
Your graphics driver must not support swapintervals > 1 :-(

The framelimiter works by telling OpenGL to wait for *two* vsyncs before updating, your graphics driver only waits for one vsync.

I suggest you use the YAMP minigame fix instead.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Stoner on 2009-06-26 14:16:54
Your graphics driver must not support swapintervals > 1 :-(
The framelimiter works by telling OpenGL to wait for *two* vsyncs before updating, your graphics driver only waits for one vsync.
I suggest you use the YAMP minigame fix instead.


Thanks for the info. I made a quick try with YAMP and it looks like it's working. Hope it won't conflict with the other fixes in your driver. Or should I disable them in the cfg?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-26 15:26:43
It would conflict with a working minigame framelimiter, it will kind-of conflict with vsync if you don't specify a framerate evenly divisable by your refresh rate. (In the YAMP config for the minigame patch)

But it will at worst lead to stuttering and choppy performance, it will not interfere with anything else.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Spacer on 2009-06-27 05:59:46
I just wanted to say thank you to Aali for the great driver and your hard work. I just restarted playing the game after 6 or so years and its working great on my Vista system which is a Core 2 Duo 1.8ghz @ 3.2ghz with a nvidia geforce 9600GSO.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-27 19:19:57
Are these custom drivers still being updated?

There is still a few odd texture problems i have incurred. During the bike minigame for example, the road markings are all skwiggly lines instead of straight textures. Not sure what causes that to happen by using the drivers.

Another one bites the dust, this will be fixed in 0.6.10 (It was also causing some weird stuff in the snowboard minigame and on the worldmap, but those things were much less noticeable)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-06-28 01:34:47
OK... what is different about your timer compared to the game's?
And what exactly will fake MIDI do?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-06-28 01:40:04
Thank you sir!

Does your fake MIDI mode prevent FF7 from ferning with the system's volume on Vista and later (ie muting all game sound when it should be muting just music)?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-28 01:40:51
Nothing about the actual timers has changed since 0.6.9b, but there you didn't have the option of using the original timer.

Fake MIDI sends the debug output FF7Music needs to play music correctly while FF7 thinks the MIDI failed and so doesn't do any MIDI processing at all.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-06-28 02:19:54
That's good to know.

Would you mind if I distributed your driver with my tutorial, instead of suggesting a LoopBe download? It's a much more straightforward solution, and I assume more reliable.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-28 02:45:31
Just link to the first post of this thread so people can get the latest version.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-28 04:46:43
Ok I apologise Aali if this isnt related to the driver.

I have played through the entire game with zilch crashes up to the point I am at now and suddenly the game seems unstable (with emergency save tho and if this is due to your driver many thanks).

In the northern cave area particurly the area where you fight master tonberry and one eye monsters along with those armored golom creatures the game is now crashing.  First time was start of a random encounter, and then as I was in that area trying to get the same random encounter again (to see if that cause of crash) it eventually crashed again but outside of battle as I was running around.  I have a crash dump. 17 meg tho.

rarred it down to just under a meg here.

http://www.chrysalisnet.org/crash.rar
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-28 05:34:13
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-28 07:13:50
yep sorry, app.log is 6th june date so I figured it wasnt right one?

here is save game.

http://www.chrysalisnet.org/save07.ff7

thats the emergency save and I was able to get the crash again on that.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-06-28 12:46:05
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)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-28 15:26:27
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
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-06-28 15:55:18
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)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Napper on 2009-06-28 16:33:22
Thanks Aali for the update. Im very eager to try out the new driver.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-28 18:08:36
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-28 19:24:20
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?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-28 20:18:47
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: StarkRaven on 2009-06-28 21:36:53
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-28 22:01:15
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-06-28 22:03:34

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
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Great Sephiroth on 2009-06-28 23:29:20
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

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-29 04:16:02
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
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-29 05:33:15
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
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-29 06:12:24
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Great Sephiroth on 2009-06-29 06:42:14
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
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-06-29 06:59:43
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
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-29 12:46:31
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cloud1000 on 2009-06-29 13:50:52
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?




Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-29 14:56:37
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?

While that app.log was undoubtedly created by my driver, most of the problems you describe can only happen while not using the driver.
Oh, and the error messages clearly indicate you have messed up your LGP's and/or other data files.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-06-29 15:03:37
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.
Looks to me like it's a problem with your battle.lgp.  More specifically your Tifa model is messed up.  If you really don't want to clean install, you could try downloading the PRP and replacing your battle.lgp with that. 
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cloud1000 on 2009-06-29 15:25:42
I used prp mod battle.lgp and copy pasted it to my battle folder now I just get a black screen when I enter battle before I could see just tiny opening then crash.
So this mean I really messed up other files :S guess I will have to reinstall. Easiest solution. :(

Aali why is it so bright with prost proccessing on with your mod. in gaeas cliff I can barely see :P
And is there a way I can change how much AA there is like 16XQ?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Great Sephiroth on 2009-06-29 15:30:46
no the post processing is already off  

i have try many things but its useless and strangely my video card seems not to support openGL 2.0
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-06-29 16:21:43
To whoever is interested, I've made some pretty significant updates to the wiki;

http://wiki.qhimm.com/FF7/TEX_format (http://wiki.qhimm.com/FF7/TEX_format)
http://wiki.qhimm.com/FF7/P (http://wiki.qhimm.com/FF7/P)
http://wiki.qhimm.com/FF7/Field_Module#.22A.22_Field_Animation_Files_for_PC_by_Mirex_.28Edits_by_Aali.29 (http://wiki.qhimm.com/FF7/Field_Module#.22A.22_Field_Animation_Files_for_PC_by_Mirex_.28Edits_by_Aali.29)

If anyone is still working on modeling tools/viewers I expect this will provide you with a lot of new, useful information.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myst6re on 2009-06-29 18:39:42
Great 8-)

The "TEX format" article was very light.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cloud1000 on 2009-06-29 19:21:18
I have reinstalled ff7 now running crash-free with your config :) keep up the good work mate.
Strangely there was nothing wrong with my battle.lgp it was actually in char.lgp from prp I must have edited the models wrong somehow so tifa got broken in some way that made it crash.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-06-29 22:58:17
aali looks like it was hardware.

was web browsing and suddenly click bang click bang coming from an hdd.

I thought was my system hdd since the system was all but frozen and on reboot it took ages to get to the windows loading screen, but then the click bang stopped and windows runs normally except with 1 thing missing.  The drive my F: drive that had ff7 on is vanished. :( luckily the save in the one I put online is very recent but I have to repatch the game, I spent hours modding enemy stats and most of that is lost. Some intact on the laptop when I was playing on it but not much of it.  Will need to redo ff7music as well.  But it does seem the cause now wasnt the driver.

--edit-- off topic i know but so noone feels bad I have recovered my files the drive seems to be working fine in external caddy.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-07-01 16:50:24
I've undertaken a new project which could make use of using OpenGL instead of D3D.  In 3DS Max there is an option when modeling to make a face 2 sided.  Now because FF7 was originally D3D, putting that model in game would usually result in a loss of the 2 sided effect.

I'm basically wondering if your driver would allow 2 sided models?

Since this project of mine is very tedious and new to me, I can't really test anything in-game  :|
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-01 17:50:03
What do you mean by 2 sides faces? If you simply wish to disable backface culling, that can be done by providing the right renderstate info in the .p file.
For faces that are actually different on both sides, you would need to make changes to the .p format and the driver would need additional code to support this.

Why would you need this anyway?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-07-01 18:14:49
I'm trying to import a Vincent model into FF7.  The problem is that blender and 3dsmax show his cape as only being textured on one side.  I can click a button (twosides, and 2 side respectively) and it will then show that texture on both sides of his cape. 

I read somewhere that 3DS Max uses D3D so even if I click "2 side" once I import the model again, it will only display on one side. 

Since your driver uses OpenGL I was wondering if this 2 sided feature would be handled correctly once in game.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-01 18:50:22
Err, what you're describing is backface culling, both D3D and OpenGL supports this and it can be turned off in both.
It can be disabled in FF7 by modifying the .p file, but it's very likely that no modeling tool can do this yet.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: _Ombra_ on 2009-07-01 21:54:49
Aali, backface culling is the term used in D3D and OpenGL since it's a technique similar to clipping. In 3D programs like 3dmax and blender they are called normals. In 3dmax you are able to see these normals and determine which side is facing the camera and drawn on screen. Like Blender, you are able to set the surface to be double sided... problem is, i don't know if current programs that convert models to P are able to recognize that option.

Your best bet is draw the same surface twice and put them as close as possible (but not too close or some "clipping" will occur)

If there is another way i hope somebody can help you since this is not the best solution.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-07-02 01:58:19
Aali, backface culling is the term used in D3D and OpenGL since it's a technique similar to clipping. In 3D programs like 3dmax and blender they are called normals. In 3dmax you are able to see these normals and determine which side is facing the camera and drawn on screen. Like Blender, you are able to set the surface to be double sided... problem is, i don't know if current programs that convert models to P are able to recognize that option.

Your best bet is draw the same surface twice and put them as close as possible (but not too close or some "clipping" will occur)

If there is another way i hope somebody can help you since this is not the best solution.
Yeah that's what I did originally.  The problem comes when also trying to do that to his hair as well, it just ends up looking worse. 

To keep this almost on topic, Aali, any news on a plugin for blender to export them into something FF7 compatible?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Ultroman on 2009-07-02 19:29:16
@Cloud1000: I think you've done the same thing I did. I compiled a new lgp file to get some models in, but because of my language settings in Windows (Danish), it sorts the files in the wrong order when compiling the lgp file. What I do is open the lgp-file, and manually replace each file with the one of my choice. That keeps the order correct.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: raincloud on 2009-07-02 21:09:45
This may sound weird but I can't seem to get this to work... I've followed the instructions and tried it with a fresh install and everything. It says the entries have successfully been added to the registry, but when I start up the game I just have the same old blocky visuals. Any ideas?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-02 21:19:24
"the same old blocky visuals"
The driver doesn't change the way the game looks, really. It doesn't improve the models or anything. If you edit the configuration file and set fullscreen to false, does the game open in a window? If not, attach a zip of your app.log from your FF7 folder.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: SuperBeast on 2009-07-03 06:46:53
This may sound weird but I can't seem to get this to work... I've followed the instructions and tried it with a fresh install and everything. It says the entries have successfully been added to the registry, but when I start up the game I just have the same old blocky visuals. Any ideas?
I'm having the exact same issue as Raincloud.  Link to my app.log: http://www.mediafire.com/?sharekey=98853ad67cf91432d956df2962098fcbe04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=98853ad67cf91432d956df2962098fcbe04e75f6e8ebb871)
Dunno if it helps to know but i'm on Vista 64 with uac turned on.  I've changed the full screen to false in the config file with no change at all.

Thanks
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-03 13:25:21
This may sound weird but I can't seem to get this to work... I've followed the instructions and tried it with a fresh install and everything. It says the entries have successfully been added to the registry, but when I start up the game I just have the same old blocky visuals. Any ideas?
I'm having the exact same issue as Raincloud.  Link to my app.log: http://www.mediafire.com/?sharekey=98853ad67cf91432d956df2962098fcbe04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=98853ad67cf91432d956df2962098fcbe04e75f6e8ebb871)
Dunno if it helps to know but i'm on Vista 64 with uac turned on.  I've changed the full screen to false in the config file with no change at all.

Thanks
Vista 64 with UAC... okay, here goes.
Did you run regedit as an administrator and insert the vista64 registry keys? (I'm guessing this is the issue)
Are you running ff7.exe as an administrator?
If that still fails, I would try installing ff7 to C:\ff7 and set it to full access by everyone. I forget exactly how the Vista virtual store thingy works, but I'm pretty sure it only applies to files in Program Files.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: SuperBeast on 2009-07-03 17:09:15
Quote
Are you running ff7.exe as an administrator?

That worked!  Genius :p  Now just have to try and finish modding it to play psf's and using the Phoenix Rejuvenation Project.

Many thanks :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Krayzie on 2009-07-04 06:42:10
                Well i notice that this is very easy to used.


_________________
Refrigerator water filter (http://www.filter-outlet.com/)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-05 17:51:01
Impressive job Aali. To think how hard it was to get the original hi-resolution pacth done... and now that whole buggy graphics engine is redone. Great job.
By the way, would it be possible to add per vertex lighting? I'm not sure, but I think it could make some things look better.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-05 18:04:51
FF7 does per-vertex lighting in software already. I've been wanting to replace that with hardware-accelerated per-pixel lighting but I haven't really figured out the light format yet.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-05 20:47:06
DOH! Yes, that's what I meant, per fragment lighting. :-P
Nice to see you are already working on it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: lukas227 on 2009-07-06 11:20:44
First off, I am really impressed by all the work that was done here. I am a non-windows-user and found this driver a while ago, tried it with wine and with exception to the quit-bug (which is quite annoying when you accidently hit quit instad of save) everything seems to work like a charm (I use ff7music_hack = true together with ff7music). I am using wine version 1.1.16.

I now just found a reproducible crash of the game in corel prison: When I enter the front of the truck in the southern part of the desert and go to sleep, my characters never wake up again (screen stays black and ff7music keeps cycling the sleep-song). I have no Idea if that has anything to do with your driver or just a linux (wine) issue - it's not even critical but still, maybe you could look into it. Here is my save-file http://www.funon.net/save00.ff7 (http://www.funon.net/save00.ff7) and my app.log http://www.funon.net/APP.LOG (http://www.funon.net/APP.LOG).

Thanks,
-Lukas
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-06 15:13:27
I assume you're using the fake midi option aswell? It doesn't play well with the script sometimes, it seems. I didn't think any script actually relied on the CHMST opcode, but apparently it does.. I'll see what I can do. For now, you can use "real" midi (timidity playing to /dev/null or something).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: lukas227 on 2009-07-06 15:34:12
Yes, I had fake midi enabled - and disabling it does circumvent the issue. Thanks.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-06 15:55:14
I assume you're using the fake midi option aswell? It doesn't play well with the script sometimes, it seems. I didn't think any script actually relied on the CHMST opcode, but apparently it does.. I'll see what I can do. For now, you can use "real" midi (timidity playing to /dev/null or something).

I've found that if you set FF7 up to use Timidity from FF7Config, it doesn't matter whether timidity is actually running when you run the game. APP.LOG will show that it's successfully playing midi whether it really is or not.
I guess it's probably because Wine is providing an abstraction layer between the two, and it's not passing errors back to ff7.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-07-06 19:08:33
I assume you're using the fake midi option aswell? It doesn't play well with the script sometimes, it seems. I didn't think any script actually relied on the CHMST opcode, but apparently it does.. I'll see what I can do. For now, you can use "real" midi (timidity playing to /dev/null or something).

I've found that if you set FF7 up to use Timidity from FF7Config, it doesn't matter whether timidity is actually running when you run the game. APP.LOG will show that it's successfully playing midi whether it really is or not.
I guess it's probably because Wine is providing an abstraction layer between the two, and it's not passing errors back to ff7.
No, this behavior is true in Windows as well, not just in Linux with Wine.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Timu Sumisu on 2009-07-07 05:15:20
Hello, I'm trying to get this driver working but nothings happening, i run the reg file but the game still comes up quarter screen, no matter what i set the resolution in the config file to. 'm using windows xp sp 2, not sure what to do to get this working so any help would be great.

I can't enable AA, and my monitor scaling is off. if its on it plays full screen but at 640/480
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-07-07 05:38:38
That is because you are not following the instructions didn't edit the config file.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Timu Sumisu on 2009-07-07 05:39:25
what need i edit?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-07 05:47:34
Halkun he did, I even sent him my working config and the most recent Aali's driver. And it's still the same
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-07 06:23:09
First off, what executable are you using? Have you patched it at all? Is it the executable from the 1.02 update?
Did you run FF7Config after installing the driver (this can uninstall it)?
You installed the regular reg file, not the Vista64 one, right?
You unzipped all the driver files into the same folder as ff7.exe, right?
Edit your config to set fullscreen to false, so it's very obvious when the driver is working and when it isn't.

If nothing there fixes it, run FF7Config and make sure everything works there (don't worry about the graphics tab), then reinstall the reg, then make sure the config has fullscreen set to false, then run ff7.exe. If you still get a fullscreen game, post your APP.LOG.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: aragonsr on 2009-07-07 08:28:26
Hey Aali, I was wondering if, when you make releases, you could also package in the sources as well so that I might learn from your superior geniousness.    :-D I would greatly appreciate that. Unless you want to be super secret with your sources for some reason.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Timu Sumisu on 2009-07-07 13:52:01
the problem was that i didnt have the 1.02 patch thanks for metnioning that!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-08 08:00:23
Ah yes, the 1.00 release does not load the driver properly because the built-in OpenGL driver didn't exist back then. (So the .reg file sets an invalid option instead of the custom driver)

And even if it did load properly you would just get an error message since the 1.00 version is not supported :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: lukas227 on 2009-07-09 10:04:44
I just encountered my first random-crash just when a battle was just about to end. The driver reported "something very bad has happened" and let me create an emergency save. I have no Idea if this is useful to you but here is a copy of my app.log http://www.funon.net/app0.log and crash dump http://www.funon.net/crash0.dmp . I'm still using wine-1.1.16 . I also uploaded my ff7_opengl.cfg http://www.funon.net/ff7_opengl0.cfg in case you want to know the settings I use.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-09 13:38:22
Looks like it has something to do with wine.. But I have no idea what really happened there.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: lukas227 on 2009-07-09 19:48:27
If there is anything useful I can provide tell me. I was trying to reproduce it (by getting some more attacks in just the same area) with no luck...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-10 02:28:40
Hey Aali, I was mesing around with TEX files and found out the original 1.02 version of FF7 was actually able to load textures of 16 and 24 bpp. It was a bit absurd though, becase they were rendered as greysacle versions of the image. I've tested the same textures with the new graphics driver and it simply skips the textures (they are treated as if they were fully transparent). I was wondering, would It be possible to add support for these texture formats?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-10 03:03:20
I'm not sure where you went wrong there, I have been able to use 32-bit textures without problems with both the D3D driver and this one.

Of course, with the D3D driver it's all converted to 16-bit anyways but it still loads any texture just fine.

If you upload the .tex file somewhere I could probably point out the error of your ways :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-07-10 04:34:35
Aali: Speaking of textures. Once you told me you hex edited a tex file to use 32 bit color. Could you let me have that texture please? You said it worked in game, which is awesome. If you could make it 512x512 or as large as ffvii will accept would be awesome. Then we can use omega to steal the header info and texture limits should be a thing of the past.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-10 05:24:44
Actually, it was 24-bit, I copied the data straight from a .bmp file saved with paint.

This page; http://wiki.qhimm.com/FF7/TEX_format (http://wiki.qhimm.com/FF7/TEX_format) will tell you all you need to know about the header. I wish I had an example to upload, but I don't. Maybe I'll write some quick hack to do one for me.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-10 10:13:18
You are right Aali, defintly I screwed somewhere, because I can't even load my custom 8-bit TEX files. Here is the header of one of my 24-bit files:
Code: [Select]
        .Version = 1
        .unk1 = 0
        .ColorKeyFlag = 1
        .unk2 = 1
        .unk3 = 5
        .MinimumBitsPerColor = 24
        .MaximumBitsPerColor = 8
        .MinimumAlphaBits = 4
        .MaximumAlphaBits = 8
        .MinimumBitsPerPixel = 8
        .MaximumBitsPerPixel = 32
        .unk4 = 0
        .NumPalletes = 1
        .NumColorsPerPallete = 2 ^24
        .BitDepth = 24
        .width = 512
        .height = 512
        .BytesPerRow = (24*512) / 8
        .unk5 = 0
        .PalleteFlag = 0
        .BitsPerIndex = 0
        .IndexedTo8bitsFlag = 0
        .PalleteSize = 2^24
        .NumColorsPerPallete2 = 2^24
        .RuntimeData = 19752016
        .BitsPerPixel = 8
        .BytesPerPixel = 3
        .NumRedBits = 8
        .NumGreenBits = 8
        .NumBlueBits = 8
        .NumAlphaBits = 0
        .Red8 = 8
        .Green8 = 8
        .Blue8 = 8
        .Alpha8 = 8
        .RedBitMask = -1
        .GreenBitMask = -1
        .BlueBitMask = -1
        .AlphaBitMask = -1
        .RedMax = 2 ^ 8 - 1
        .GreenMax = 2 ^ 8 - 1
        .BlueMax = 2 ^ 8 - 1
        .AlphaMax = 2 ^ 8- 1
        .ColorKeyArrayFlag = 0
        .RuntimeData2 = 0
        .ReferenceAlpha = 255
        .unk6 = 4
        .unk7 = 1
        .RuntimeDataPalleteIndex = 0
        .RuntimeData3 = 34546076
        .RuntimeData4 = 0
        .unk8 = 0
        .unk9 = 480
        .unk10 = 320
        .unk11 = 512
And in case the porblem is outside the header, here is the file:
http://www.megaupload.com/?d=GUERPTXV
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: lukas227 on 2009-07-10 12:01:59
There seems to be an issue with the Fort Condor mini game in wine: When two enemies are standing close to each other and I want to attack them, the mini game hangs at the selection screen (where I should choose which enemy to attack). The animations of the creatures keep going, but there is nothing I can do but kill the game process...
APP.LOG hast multiple lines of
ERROR: COULD NOT CHANGE TO DIRECTORY C:\Program Files\Square Soft, Inc.\Final Fantasy VII\Data\minigame/data\
at the end...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-10 13:11:47
lukas227: known problem in wine, possibly related to the quit bug

Borde: A few things;
The minimum/maximum bits per X are all used to determine which texture format to use, not just the minimum bits per color. However this is not the source of the problem since the D3D driver will fallback to a (more or less) compatible texture format. Also, the color fields in this section specify the number of bits per color component, so a value of 24 makes no sense.

A number of palette related fields are set, I don't think this will cause any trouble as long as the palette flag is 0, but to avoid confusion its probably best to set them all to 0 in this case.

Bitsperpixel is set to 8, it should clearly be 24.

The bitmasks are all -1 and the shifts aren't even in that table :P This is the source of the problem, these along with the "max" fields are the most important parts of any non-paletted image. The final component value will be calculated as such; (((pixel & mask) >> shift) * 255) / max, assuming a truecolor target. (where & is bitwise AND, >> is right shift)

So, assuming a standard BGR encoded windows bitmap the pixel format should be as follows:
red component;
mask: 0xFF0000, shift: 16, max: 255
green component;
mask: 0xFF00, shift: 8, max: 255
blue component;
mask: 0xFF, shift: 0, max: 255
alpha;
all zero, since we have no alpha
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-10 15:10:06
DOH! Thanks Aali, I completly missed the point of shift and mask fields. I can't get my textures working yet though. I guess I'll have to work on them a bit more...
EDIT: Ok, got it working finally. Looks like 32 bits textures are also supported by the new graphics driver (the original one just shows a grey texture) but the alpha channel seems to be ignored. I guess the blending would be troublesome anyway.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Grimmy on 2009-07-11 22:19:56
WOW... That is very exciting news. If 32 bit textures are supported and can be displayed in game then both you guys have done it again. All we will need is a simple progarm to create custom textures that will run in game.

Aali : I'm very impressed with the progress you've made with Palmer. It is just a short time now 'til we can make a background mod.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-11 23:14:16
You can do that now.. or well, I can :-P

Import is working fine, now I'm struggling with (yet another) bug in LGP Tools.

This one is a little more difficult (not to mention ugly) to work around though, since it's not an artifact of the sh*tty implementation, it's a misunderstanding of the LGP format.

Borde: The alpha channel is not "ignored", FF7 just doesn't do any blending unless you tell it to (and even then, not all blend modes use alpha). Average and mode3 both use alpha, however the texture will be modulated with the vertex color (which has reduced alpha; 50% for average, 25% for mode3). FF7 was never meant to do any real alpha blending.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-12 01:57:05
A funny little thing has happened - I enabled the fps counter in FF7 - now when I watch TV Episodes in MPC, the fps appears in the upper right corner!

Not that it's much of a bug report... it's quite handy actually. Just thought I'd share! (I'm not complaining, I could turn it off if I want to  :wink:)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-07-12 02:01:57
Import is working fine, now I'm struggling with (yet another) bug in LGP Tools.

This one is a little more difficult (not to mention ugly) to work around though, since it's not an artifact of the sh*tty implementation, it's a misunderstanding of the LGP format.

As someone who helped research that format with the meager resources that we had available, I would suggest you ask for your money back :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-12 02:55:16
As someone who helped research that format with the meager resources that we had available, I would suggest you ask for your money back :P

Ahaha, no, LGP Tools is an old application and its bound to have issues, I'm not trying to belittle your work. :-)
I shall write myself a little tool to make LGP archives instead.

For future reference, the problem is that "_" (underscore) and "-" (minus) should be treated as k and l respectively when constructing the lookup table.

Try rebuilding flevel.lgp for example, FF7 will be unable to find c_eye2.tex along with all the other files that have _ as the second character. This is because FF7 is actually looking at the lookup table for ck*. If you rename the file to ckeye2.tex and repack the LGP, it will find the right entry in the lookup table and then dismiss it because the actual filename doesn't match.

The workaround in LGP Tools is to use advanced editing only and never let LGP Tools rebuild the lookup table. Inefficient and ugly but workable.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-07-12 03:30:12
Ahh, that's why rebuilds didn't work too hot... You may want to update the wiki with that info.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-12 03:32:42
Does this explain the issues with face textures not showing up with the PRP and other textures not showing up for weapons? Or is that completely unrelated?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-12 03:36:26
As far as I recall there were no files with _ or - on their names on the PRP, so It shouldn't be a problem.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-12 03:37:10
I meant with the newer things people are trying(tried) to do with it

EDIT: got offtpoic, this thread is for Aali's driver. Disregard :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-12 03:52:23
If you do run into this problem, you'll get a nice obnoxius error message in APP.LOG; "OFFSET ERROR <filename>".
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-12 03:55:09
I haven't But i was curious cause SquallFF8 and Grimmy had issues with getting them to work, unrelated to LPGTools :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Tekkie.X on 2009-07-12 18:06:38
Is there anyway to lower the effect with the post processing, it's a bit too bright?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-12 22:18:42
You do realize that I never meant for anyone to actually play with the supplied post-processing shader, right? It's just an example of what you can do.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Tekkie.X on 2009-07-13 17:44:38
Still, would be to know if it's possible to tone it down, it's made battles look a bit more interesting.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-13 18:24:32
Sure, it's possible, but you'll have to do it yourself. (And for that you'd have to know GLSL)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: mrsmartalec on 2009-07-14 14:42:58
I've read through most of this thread but I can't figure out how you guys are using AA.  Everything seems to have worked great, awesome mod.  It just seems like in other user's pictures, their backgrounds are smoother and the lettering isn't jagged.  My characters seem ok though.  I have it on my native resolution of 1920x1080, I'm using the black edge feature, and I have it windowed.  I havn't edited anything else because nothing seemed like it would effect the graphics. 

Thanks.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-14 15:00:58
If you want your backgrounds smoothed you will need to replace the code in main.frag and main.vert. I suggest you get some of the shaders used by Pete's OGL2 plug-in. Personally, I like one called Smart Bloom.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: mrsmartalec on 2009-07-14 15:10:52
So there are separate plugins you have to download?  Ok, where would I find them and when I do, how do I replace the codes?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-07-14 17:29:21
Oops, now you've gone and confused the noobie. Way to go...

(He's talking about the playstation plugins)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: mrsmartalec on 2009-07-14 23:42:12
Oh lol, so I'm screwed?  Were those pics from playstation or something?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-15 00:06:49
No, This driver (and pics related to it) are for the PC version.

He was saying you can use the shaders from petes opengl plugin for ePSXe to make the backgrounds look better, atleast i think thats what he meant.. Either that or use the shaders to add a fuex blood effect to the game.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-15 00:12:51
Is it possible to use AA with this plugin? The AA on my graphics card doesn't seem to give it that much improvement, the text is still quite jagged as stated above.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: mrsmartalec on 2009-07-15 00:16:09
Lol ok I apologize but I'm still confused...

So...you can use plugins/shaders/whatever on this driver (pc version)?  If so, where and how do I obtain/install them?  The reason I mentioned AA was because I read that a guy that uploaded a pic was using AA in it.

Thanks.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-15 00:21:44
AA and AF settings are usually accessible via your graphics drivers control panel.
They will not noticeably improve any of the pseudo-2D graphics though (field backgrounds, menus etc)

You could always upload a screenshot so we can see whats going on.

While you can use your own shaders with this driver, there are none available that will magically make things look "better".
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: mrsmartalec on 2009-07-15 00:40:40
(http://ff7 2009-07-14 20-36-16-75)

(http://ff7 2009-07-14 20-36-43-50)

(http://ff7 2009-07-14 20-36-51-90)

Yeah I tried changing the AA with my ATI control panel, but it didn't seem to change anything.  I could try again though.

EDIT:  Oops, well that didn't work.  How do I upload an image then lol?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-15 01:50:36
Upload to somewhere like photobucket or imageshack then post a link.

It may be something to do with ATI cards. My laptop's native resolution is 1280x800, so enabling AA causes artefacts when the game isn't set at a resolution thats a multiple of 640x480, even when using preserve aspect = true. However, when prevent_rounding_errors = true, there are no artefacts with AA & AF up at x16 and it does look much better - I'm happy with this.

The reason I'm confused is because with the SaiNt's High-Res patch (which only supported 1280x960 & 1280x1024) and AA was turned on, the font looked a lot smoother, as did materia slots and such. Although this patch is far superior, the font looks quite jagged still, though marginally better than the original - and I've tried it in 1280x960 (with the bottom cut off, obv). The thing is, it looks a lot better in some screenshots posted here. I'll post a screenshot as soon as I can, I'm using a friends comp atm.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: blargiefarg on 2009-07-15 04:31:12
If you want your backgrounds smoothed you will need to replace the code in main.frag and main.vert. I suggest you get some of the shaders used by Pete's OGL2 plug-in. Personally, I like one called Smart Bloom.

Borde, I tried that just now, and all it did is kill the framerate! And possibly other stuff!

EDIT: Could you possibly copy your main.frag and main.vert code onto the thread or simply message it to me?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-15 06:36:20
this driver works wonderz! it fixed those graphic glitches i had in the past and i just barely got around to use it since i had the time... thankz aali! altho, i adjust the resolution (thanx to hellbringer616) and i set it to 1280 x 960 but it ends up being too wide!   :oops:

EDIT: oo, nvm, i figured out. great work on the lastest driver aali :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-15 12:50:56
Mmmm... you are right guys, this post-processing thing is trickier than I thought. Actually main.frag and main.vert should remain unchanged (unless you know what you're doing). What you should do is change the postprocessing shader file (by default bloom2.post). This file is a fragment shader, so if your desidered filter does something on the vertex shader, it's not meant to be used here (I guess it can allways be adapted, though). So far I could only get Smart AA Bloom working partially. It smooths the GUI correctly, but the background remains blocky.

Edit: Got it working. I had to specify the original resolution on the shader. Here you have the shader:
http://www.megaupload.com/?d=1HJAA9HX
3D gets filtered too, so things can get a little blurry, but I think it's fine. You can adjust the strength of the filter by changing the width and height variables (the lower the resolution, the bigger the strength).

Here are a couple of pics to show the effect:
Befor:
(http://i931.photobucket.com/albums/ad160/usebio2k/Befor.png)
After:
(http://i931.photobucket.com/albums/ad160/usebio2k/After.png)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: mrsmartalec on 2009-07-15 15:09:48
Ok I downloaded that shader.  Now, how do I use it instead of the default?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-15 15:18:08
Put it on the shader directory, edit ff7_opengl.cfg and change the post_source variable.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: mrsmartalec on 2009-07-15 15:34:52
Got it, thanks.  It is definitely smoother, but yeah a little blurry.  Is there any additional shaders, or whatever, to counteract that?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-15 15:39:53
Get ready for some nitpicking :P

The texture sampler should always be called "tex", it will be set to the right texture unit from the driver. (Obviously it's working anyway, but you shouldn't rely on this)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-15 16:03:35
Well, there are other filters that look less blurry, like 2xSai or HQ2x, but personally I don't like how they look on hi-detail images. Besides, you'd need to write a fragment shader that does the job.

I guessed the the texture sampler should be called tex Aali, but I changed the name to see what happened and it still worked so I didn't care anymore :-P I'll keep it in mind in the future though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-16 00:40:53
Shader looks great ingame. My fps drops to 20 in the field though ^_^

And yeah, it's a little blurry - but still better. Makes the text look nice and smooth - and if you haven't noticed by now, I'm funny about the text.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-16 00:43:42
If you want nice text you could always replace the fonts with high-res textures.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-16 00:49:47
I'd love to, but I have no idea how to do that! I could learn though, I have a week off work with nothing to do but relax (I'm so happy right now).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-16 02:18:33
If you want nice text you could always replace the fonts with high-res textures.

Probably did the textures wrong, But when i tried that the game didn't load up any text i used a 512x512 256 color bitmap
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-16 06:33:30
Hmmm, it's definitely too blury, plus the fps drops to an unplayable level (very weird indeed). But it's a nice start.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-16 10:38:55
You can also make that shader filter only the text by rising the width and height variables in the shader.
By the way, I didn't think this shader would be so power demanding. It works fine in my machine (I've got an 8800GT, though).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-16 11:02:53
I have a 7600GS, more than enough for FF7 and custom shaders (at least it should be).

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-16 12:59:51
Scaling and/or postprocessing is essentially drawing a full screen worth of pixels, twice. Without FBO support, this alone will be sucking a lot of performance.

But even if you have FBO support, this shader does a number of texel fetches per pixel and performs some less-than-trivial math on them. This is waaay more GPU-intensive than what FF7 normally does.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: _Ombra_ on 2009-07-16 14:42:47
Aali, our team worked on the Italian translation of the game but we use a modified EXE from the spanish version. Since i know that your driver does checks on the executable, is there a way you could add those checks in the config file? let's say, a list of the various CRCs or whatever other check you do on them?

I know you don't want people to use nocd versions of the EXE so you could somehow check the specific offsets for the typical instructions and still be able to accept any other EXE.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-16 14:49:51
There is no CRC check, and unless you have modified the code in any way, your modified EXE should still identify as the spanish version and work fine.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Litude on 2009-07-16 22:17:12
This is truly a great improvement to the way FF7 can be played. I remember just a year ago having to search through a bunch of patches to get the correct ones yet there still existed some (luckily though quite minor) problems, but with this one they all seem to be fixed under one single label (well except for that FMV sound mute, does anyone know of any workaround by the way?)! And I never even dreamt about being able to play the game with my native widescreen resolution but it seems like this patch makes just about everything possible :D.

I don't know if anyone has reported it yet, but it seems like the fake_midi does cause some problems with FF7 Music. That is I've experienced the music getting cut off after a battle during two events. First time was when you were supposed to go help Barrett in preventing Shinra from destroying that one pillar (very close to the start of the game). This suspension music starts playing and and it keeps playing when you enter the first random encounter. However once you win the encounter the music goes completely silent (until another track is supposed to start playing). Same thing happened when I was going for the first visit to the Shinra headquarters. I took the straight path in and again the suspension music started playing and then after the first battle the music was again completely silent. And yeah it happens each time after the first battle.

And yes I've checked that it is caused by this fake_midi setting, because if I don't use it the music doesn't stop playing after this first battle but then I either have to play with no sounds or with both MIDI and my enhanced music playing which isn't that great :-P.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-16 22:26:19
I see, I'll have to test that when I get home. fake_midi was not tested beyond generic battle/worldmap/field transitions, there may very well be some bugs.

Please keep reporting any odd music-related issues you run into with this setting :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-07-16 23:46:20

And yes I've checked that it is caused by this fake_midi setting, because if I don't use it the music doesn't stop playing after this first battle but then I either have to play with no sounds or with both MIDI and my enhanced music playing which isn't that great :-P.
This is a fake_midi problem? I'd assumed it was a problem with FF7Music. Hmm, I'll have to mention that in my FF7Music tutorial.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-16 23:52:47
Well, as I understand it, if music cuts out after *any* random battle, you have bigger problems. But if it only happens during "special" scenes (scripted or otherwise) it could be a problem with fake_midi.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Jamers on 2009-07-17 00:23:11
Well, as I understand it, if music cuts out after *any* random battle, you have bigger problems. But if it only happens during "special" scenes (scripted or otherwise) it could be a problem with fake_midi.

Just wanted to poke my nose in and say I've experienced the same thing as Litude. Typically fake_midi works wonderfully with FF7 Music, but in those few scenarios there does seem to be a conflict. Other than that, GREAT job, and a hearty thank you from this fan!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-17 00:36:51
I'll have to look into that then. It's probably due to some check I'm not performing before telling FF7Music to shut up :)

Starting with the next release, all music and movie code will be open-source and accessible to anyone. This is something I've already implemented, music and movies are already handled by plugins in my local environment.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-17 02:22:08
Will any custom shader work with this driver? I'm having a look around the net just now to see what I can find.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-17 02:42:19
Any shader could be adapted to this driver, but they probably wont work with this out of the box.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-17 02:50:44
Any shader could be adapted to this driver, but they probably wont work with this out of the box.

I thought that too, until about 5 minutes ago. I've so far found about 12 shaders that make the game look awesome, particularly the "Cartoon Shaders". They really add that anime effect!

However, they do look slightly off in some places. I'm learning just now how to change the code, I'm hoping I might be of some use. Will probably post screenshots. Awesome!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MEPHiST0 on 2009-07-17 04:33:06
hey, i get a crash when entering a battle and using this patch

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# 658
[BATTLE] Exitting FRAME_INITIALIZE
ERROR: unhandled exception <------

crashes no matter what battle, u see the battleswirl and then the msg, Oops something bad happened.

any ideas?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-17 04:36:38
Could you post the first 10 lines of your APP.LOG as well?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Jamers on 2009-07-17 04:47:08
I thought that too, until about 5 minutes ago. I've so far found about 12 shaders that make the game look awesome, particularly the "Cartoon Shaders". They really add that anime effect!

However, they do look slightly off in some places. I'm learning just now how to change the code, I'm hoping I might be of some use. Will probably post screenshots. Awesome!

Are you using the shaders for Pete's OpenGL2 Plugin? I downloaded a bunch of those and have been trying them out, but so far none of the effects have been spectacular. Then again, I don't really know what I'm doing, so there might be some configuring I need to be doing.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RW_66 on 2009-07-17 04:50:52
Any shader could be adapted to this driver, but they probably wont work with this out of the box.

I thought that too, until about 5 minutes ago. I've so far found about 12 shaders that make the game look awesome, particularly the "Cartoon Shaders". They really add that anime effect!

However, they do look slightly off in some places. I'm learning just now how to change the code, I'm hoping I might be of some use. Will probably post screenshots. Awesome!

As a user of ePSXe and Pete's OpenGL2, I've used some of the GLSL subs that can reallly give extra color/depth/clarity even to prerendered backgrounds. It would be a nice bonus to maybe include some modified GLSL's and some instructions on how to inert or change them in the GL engine.  Maybe it might not be a bad idea to even set up a front-end loader where alll the resolutions, AA, and GLSL's could be selected and saved, lixe Pete's OGL loader.. Just a suggestion.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-17 04:52:57
OK - Using the shaders found in this shader pack - http://www.pbernert.com/pete_ogl2_guest_shaders_v1.zip (http://www.pbernert.com/pete_ogl2_guest_shaders_v1.zip)

(Meant for use with Pete's OpenGL2 Plugin for PSX emulation)

I was able to implement a few of these. I don't quite know how to change the code myself, but I'm sure someone will. I've uploaded a few images that might interest some ^_^

These were taken using Advanced Cartoon Shader I

http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample1menu.jpg (http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample1menu.jpg)
http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample1wm.jpg (http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample1wm.jpg)
http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample1battle.jpg (http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample1battle.jpg)

Advanced cartoon shader I looks a bit washed out, which is a shame. My favourite by far of them all is Advanced Cartoon Shader II (and I tested every single shader in that pack and then some) though it's obviously not meant for FFVIIPC, if it was written or changed specifically for that in mind I'm sure we'd see the intended effect. I'll look into it some tomorrow.

For the time being, it's 6am and I haven't slept yet. Goodnight!

These were taken using Advanced Cartoon Shader II

http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample2menu.jpg (http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample2menu.jpg)
http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample2wm.jpg (http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample2wm.jpg)
http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample2battle.jpg (http://i52.photobucket.com/albums/g40/phoenixheaven/cartoonexample2battle.jpg)

Quote
Are you using the shaders for Pete's OpenGL2 Plugin? I downloaded a bunch of those and have been trying them out, but so far none of the effects have been spectacular. Then again, I don't really know what I'm doing, so there might be some configuring I need to be doing.

Yes, and some others too. I know what you mean about none of the effects being spectacular, I'm assuming that's because it's meant to be used in conjunction with Pete's plugin and not this one. Not to mention ePSXe. I don't know what I'm doing either!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-17 13:20:31
hey, i get a crash when entering a battle and using this patch

crashes no matter what battle, u see the battleswirl and then the msg, Oops something bad happened.

any ideas?

Please post a copy of crash.dmp
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Jamers on 2009-07-17 18:48:24
Yes, and some others too. I know what you mean about none of the effects being spectacular, I'm assuming that's because it's meant to be used in conjunction with Pete's plugin and not this one. Not to mention ePSXe. I don't know what I'm doing either!

Okay, I think we're using some of the same ones then. All I was doing at first was enabling post processing and pointing the configuration file to one of the shader files, usually the .slf one. And I was getting similar effects to what you got in your screenshots. But then I got to thinking, and the .slf file must be the frag file, and .slv file must be the vert file, so I substituted those for the main shaders, but none of them worked - I was getting lots of weird graphical artifacts, if I could see the screen at all. I think that's what Aali meant when he said it was unlikely they'd work 'out of the box.'
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MEPHiST0 on 2009-07-17 20:41:42

hey, i get a crash when entering a battle and using this patch
crashes no matter what battle, u see the battleswirl and then the msg, Oops something bad happened.
any ideas?

Please post a copy of crash.dmp

K Crash.dmp is uploaded to the link here:
http://www.mediafire.com/?0umymnm3gzn

never had this problem before, i tried reinstalling it too even tho i had a fresh install and v1.02
if u need anything else let me know, and thanks for your time Aali

here is the entire APP.log after a crash:
Code: [Select]
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 1024x768, output resolution 1024x768, internal resolution 1280x960
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
INITIALIZING MIDI...
selecting device 0:Microsoft GS Wavetable SW Synth, mid=1, pid=102,
midi data type: GENERAL MIDI
using midi data file: c:\program files\games\Final Fantasy VII\Data\midi\midi.lgp
midiOutGetVolume returned: ffffffff
MIDI INITIALIZED
set music volume: 127
MIDI set volume: 127
100% of 127 = 127
set music volume: 127
MIDI set master volume: 100
MIDI set volume: 127
100% of 127 = 127
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
INFO: c:\program files\games\Final Fantasy VII\Data\Movies\eidoslogo.avi; truemotion2/pcm_u8 320x240, 15.000000 FPS, duration: 10.133333, frames: 152
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
100% of 127 = 127
Exiting MAIN
START OF MENU SYSTEM!!!
SET VOLUME 5: 127
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save00.ff7
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save02.ff7
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save03.ff7
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save04.ff7
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save05.ff7
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save06.ff7
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save07.ff7
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save08.ff7
ERROR: COULD NOT OPEN FILE c:\program files\games\Final Fantasy VII\save/save09.ff7
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
-=-=[START OF WORLD MAP!!!]=-=-
stop_sound
MIDI set volume: 127
100% of 127 = 127
cross play music: 0
set music volume trans: 127->0, step=4
MIDI cross fade: 71, time: 4
MIDI set volume trans: 15->127; step=4
MIDI set volume: 127
100% of 127 = 127
MIDI play: 71
reading midi file: KITA.mid
current volume: 127
MIDI is playing SUCCESSFULLY!!!
set music volume: 127
MIDI play: 7
reading midi file: BAT.mid
current volume: 127
MIDI is playing SUCCESSFULLY!!!
stop_sound
-=-=[END OF WORLD MAP!!!]=-=-
Entering MAIN
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# 194
[BATTLE] Exitting FRAME_INITIALIZE
ERROR: unhandled exception
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Jamers on 2009-07-18 02:57:34
I'll have to look into that then. It's probably due to some check I'm not performing before telling FF7Music to shut up :)

Actually, I poked around some threads a bit more, and I think the problem actually stems from FF7Music. Funny, I didn't remember having this problem with the program before, but the memory can be a tricky thing...

No, this is a known problem with FF7Music. Theoretically, unchecking "obey stop" should fix it, but I've noticed that it frequently doesn't. Unfortunately, that's not likely to be fixed. It happens whenever the battles don't have their own music.



Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-07-18 16:09:28
I'll have to look into that then. It's probably due to some check I'm not performing before telling FF7Music to shut up :)

Actually, I poked around some threads a bit more, and I think the problem actually stems from FF7Music. Funny, I didn't remember having this problem with the program before, but the memory can be a tricky thing...

No, this is a known problem with FF7Music. Theoretically, unchecking "obey stop" should fix it, but I've noticed that it frequently doesn't. Unfortunately, that's not likely to be fixed. It happens whenever the battles don't have their own music.

Don't mind that. I was talking out of my ass when I said that.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Stoner on 2009-07-18 16:12:50
I just had my second crash today, I don't know if it's a driver thing or something else? It doesn't bother me much, thanks to the emergency save (that's a life saver since I'm at the end of the game where saving is not possible).

App.log and Crash.dmp is here:
http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871)

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-18 17:54:42
OK, i finally got around to downloading this today.
it's great, apart from the fact that it seemingly makes absolutely no difference to anything at all.

i dont know why this is. i've tried lots of things. i downloaded the very first version, and dragged all the latest files over the top. ran the .reg file and everything, still no difference.
i can tell because printscreen gives me 640x480 pictures, when i've told the config to use my higher resolution of 1366x768.
im using vista 32-bit and i know there's something i'm not doing right. a little help?
and yes, i am using the 1.02 patch.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-18 18:25:53
Run as admin. It's a Vista-Windows 7 thing
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-18 18:27:57
hey neocloudstrife you should check your APP.log to see if its working right and then post it here (the app.log is in your FFVII directory).
And like hellbringer said vista and windows7 need to be run as admin.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-18 18:30:16
yup, i ran everything possible as an admin, except the .reg files, which you CANT run as an admin.
the APP.log seems to display absolutely nothing.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-18 18:34:39
its strange that your app.log is empty, even if the driver isnt working it should say somthing as long as the actual game has run once, your not using UAC are you ? and i have heard you can enter files into the registry as admin if they dont by going to system32/regedit and running it as admin then importing the reg file or you could just check your registry to see if the correct enteries are there,
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-07-18 18:34:36
A note... Windows 7 doesn't need to have any alterations to ff7.exe.  It will run just fine on its own.  

Run the .reg file (not the vista64 one since you're using 32-bit).  Run regedit and browse to your Final Fantasy 7 folder.  There should now be a subfolder called 1.00.

In the earlier versions of the driver you had to run ff7config before running the .reg file... maybe try doing that as well
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-18 18:58:26
yeah i tried all that.
maybe its the vista thing where it makes another folder for stuff in appdata?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-18 19:03:49
well you could try looking in your virtualstore folder, vista somtimes saves things there is UAC is on, if UAC isnt on and and app.log still 0kb then you proberly have some really weird problem, You could try using a program like sandboxie and seeing where your computer is saving the file.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-18 19:54:51
oh, after a while of messing around it seems to be at least partially working now.
thanks :D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-18 20:00:41
A note... Windows 7 doesn't need to have any alterations to ff7.exe.  It will run just fine on its own.  

Run the .reg file (not the vista64 one since you're using 32-bit).  Run regedit and browse to your Final Fantasy 7 folder.  There should now be a subfolder called 1.00.

In the earlier versions of the driver you had to run ff7config before running the .reg file... maybe try doing that as well

Really? I have to run FF7 as admin, and FF7music as Admin, When using FF7 music i also need it in XP compatibility mode and FF7 in Win98 mode
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-18 22:34:09
Got a crash, dumps here:
http://rapidshare.com/files/257358101/Desktop.rar.html
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-07-18 22:51:54
Really? I have to run FF7 as admin, and FF7music as Admin, When using FF7 music i also need it in XP compatibility mode and FF7 in Win98 mode
Really.  I have 7201 so maybe it's something they fixed in newer releases.  I also lowered the UAC to "never notify" so maybe that had something to do with it.  I'm also on an administrator account (not the administrator account), so that could be it too.

Anywho, NeoCloudStrife, are you using any other mods besides the driver and 1.02?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-18 22:54:27
none. i just fresh installed today.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-18 23:23:44
NeoCloudstrife do you still get the crash if you run the game without FF7music ?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-18 23:34:58
i dont use FF7music, mainly because it's too much hassle.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-18 23:38:59
this is the 2nd crash in this point... here are my files...
http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-18 23:39:54
i dont use FF7music, mainly because it's too much hassle.
i want to use FF7Music, but i really dont understand how to get it to work... so i dont bother  :oops:

EDIT: Sorry for the double posting.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: polaris_027 on 2009-07-19 02:17:01
question..how do you fix the highway minigame? its freakin fast???
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-19 02:28:26
Aali's custom graphics driver has a minigame frame limiter which is refresh rate /2
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: polaris_027 on 2009-07-19 03:12:47
yep..it said true so i think its enabled but still too fast..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-19 05:30:55
Hmm, Dumb question, Running as Admin? (if you're using vista)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: polaris_027 on 2009-07-19 08:32:23
nope..using xp..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Xelane on 2009-07-19 09:01:56
u could try using yamp even if it is ali's custom driver, that fixed it for me

tho i didnt use this driver
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-19 11:59:03
I believe there was someone earlier in the thread who had this problem. OpenGL wasn't honoring the option that Aali uses to limit the frame rate, so the person had to use patches to limit the minigame frame rate.
The first 10 or so lines of APP.LOG may tell you that OpenGL doesn't support what Aali's using, or it may just be failing silently.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Stoner on 2009-07-19 16:00:38
question..how do you fix the highway minigame? its freakin fast???

Use the YAMP fix, I had the same problem. It does not interfere with the opengl driver or at least I didn't notice any problems.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-19 17:02:47
guys im having a problem, im not sure what to do, when i started a new game using aali's custom driver, all i got is a black screen, but there is the sounds,
here's my app log btw

INFO: Auto-detected version: 1.02 US English
INFO: No OpenGL 2.0 support detected, shaders won't be available
INFO: No swap_control extension, cannot control framerate
INFO: Original resolution 640x480, window size 1024x768, output resolution 1024x768, internal resolution 640x480
INFO: No NPOT texture support
ERROR: init_indirect failed, scaling and postprocessing will be disabled
INFO: internal resolution clamped to 1024x768
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: F:\FF7\Movies\eidoslogo.avi; truemotion2/pcm_u8 320x240, 15.000000 FPS, duration: 10.133333, frames: 152
WM_CLOSE
END OF CREDITS!!!
Field Quit
UNINITIALIZE DD
END UNINITIALIZE DD
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RW_66 on 2009-07-19 17:13:34
Nahatma: What Graohics card and OS are you using?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-19 17:22:06
Windows 7 Ultimate 32-bit (6.1, build 7201)
Mobile Intel(R) 945 Express Chipset Family

current display mode 1280 x 800

i got it working now, but my fps is lagging,
and how do i install opengl support?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mako on 2009-07-19 17:57:28
Hello all! I'm new here and I'm in desperate need of HELP! I'm getting really low fps 5~10 how do I get better visuals without to much of a hit on my fps thank you and any help would be appreciated.
MY STATS
Vista 64bit
Q6700 intell
280gtx

APP LOG
INFO: Auto-detected version: 1.02 US English
INFO: No OpenGL 2.0 support detected, shaders won't be available
INFO: No swap_control extension, cannot control framerate
INFO: Original resolution 640x480, window size 1024x768, output resolution 1024x768, internal resolution 1024x768
INFO: No NPOT texture support and output resolution is not a multiple of 320x240, expect missing framebuffer effects
INFO: No NPOT texture support
ERROR: init_indirect failed, scaling and postprocessing will be disabled
INFO: internal resolution clamped to 1024x768
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\ff7input.cfg
initializing sound...
creating dsound primary buffer
reading audio file
loading static sounds
sound initialized
INITIALIZING MIDI...
selecting device 0:Microsoft GS Wavetable Synth, mid=1, pid=27,
midi data type: GENERAL MIDI
using midi data file: C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\Data\midi\midi.lgp
midiOutGetVolume returned: ffffffff
MIDI INITIALIZED
set music volume: 127
MIDI set volume: 127
100% of 127 = 127
set music volume: 127
MIDI set master volume: 100
MIDI set volume: 127
100% of 127 = 127
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
INFO: E:\FF7\Movies\eidoslogo.avi; truemotion2/pcm_u8 320x240, 15.000000 FPS, duration: 10.133333, frames: 152
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
100% of 127 = 127
Exiting MAIN
START OF MENU SYSTEM!!!
SET VOLUME 5: 127
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save00.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save01.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save03.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save04.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save05.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save06.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save07.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save08.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\save/save09.ff7
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!!!
WM_CLOSE
Field Quit
MIDI stop - OK
resetting MIDI driver volume - OK
UNINITIALIZE DD
END UNINITIALIZE DD

Thanks again!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-19 18:01:46
Mako and Nahatma: have you tried upgrading your graphics drivers? That sounds obvious, but it could fix everything.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mako on 2009-07-19 18:13:09
Mako and Nahatma: have you tried upgrading your graphics drivers? That sounds obvious, but it could fix everything.

Sorry I've already tried that, 186.18 is my version.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-19 18:42:30
update,i have updated my graphics driver, its not lagging anymore, and the newdriver also installed the swap_control extension, but i still dont have the NPOT Texture support and openGL 20 support, and my Tifa model was all white.


but it was all fine using the saints high res, hmm?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-19 18:46:26
Nahatma: is there anything in APP.LOG about the Tifa model?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-19 18:54:44
here
http://www.mediafire.com/?sharekey=bced0ee07f74c1f5bda4076e811714c8e04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=bced0ee07f74c1f5bda4076e811714c8e04e75f6e8ebb871)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-19 18:59:54
Are you sure that Tifa is white? Your log has all sorts of messages about missing textures for Barrett...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-19 19:02:45
my barret in the field and battle is totally fine, but my tifa got messed up hmm,
do i really need to have opengl 2.0 support?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-19 19:06:30
It won't change whether you have OpenGL 2.0 or not. You have corrupted textures or a corrupted data file, so it will fail to load no matter what you do.
Do you have some sort of mod in place that replaced the character models?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-19 19:08:30
yes, vincent was replaced by squall..

here's the screenshots
http://www.mediafire.com/?sharekey=bced0ee07f74c1f5bda4076e811714c8e04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=bced0ee07f74c1f5bda4076e811714c8e04e75f6e8ebb871)

i also don't have the npot support, what does it do?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-19 19:30:45
To all of you who are running Vista and get the warnings about missing NPOT textures, you may have to run the game as admin.

It seems that Vista likes to use software emulated OpenGL when you don't. This will lead to awful performance and missing features.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Millenia on 2009-07-19 19:32:52
Heh, good thing I automatically run things as admin then :D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-19 19:33:46
im using windows 7 ^^
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-19 19:47:39
Either way, you're seeing the the software emulated OpenGL implementation builtin for Vista and later. It could be your graphics drivers, it could be due to insufficient priviliges, but there's nothing I can do to prevent it from dropping to software mode.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-19 20:26:44
this is the 2nd crash in this point... here are my files...
http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871

Your data files are so broken it's not even funny. It's a wonder it doesn't crash earlier.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-19 20:31:46
Got a crash, dumps here:
http://rapidshare.com/files/257358101/Desktop.rar.html

It's trying to play an animation on a field entity that doesn't have any animations. Either you have broken data or there's a script bug.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-19 20:36:35

K Crash.dmp is uploaded to the link here:
http://www.mediafire.com/?0umymnm3gzn

never had this problem before, i tried reinstalling it too even tho i had a fresh install and v1.02
if u need anything else let me know, and thanks for your time Aali

Your guess is as good as mine, but since noone else is getting it (and it's not related to the driver) I have to assume it's bad data.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-19 20:50:52
I just had my second crash today, I don't know if it's a driver thing or something else? It doesn't bother me much, thanks to the emergency save (that's a life saver since I'm at the end of the game where saving is not possible).

App.log and Crash.dmp is here:
http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871)

You're seeing the same crash as Chrysalis had a while ago.. I thought it was just his garden gnomes being upset, but apparently there's a real issue here. See if you can find a pattern to this problem. Are you using Barret with slash-all by any chance?

(phew, thats the entire backlog of crash dumps :-))
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-19 22:41:33
Got a crash, dumps here:
http://rapidshare.com/files/257358101/Desktop.rar.html

It's trying to play an animation on a field entity that doesn't have any animations. Either you have broken data or there's a script bug.
O.o but i hadn't modified ANYTHING at that point.
well, i guess it may have just been a glitch.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Stoner on 2009-07-20 00:44:08
I just had my second crash today, I don't know if it's a driver thing or something else? It doesn't bother me much, thanks to the emergency save (that's a life saver since I'm at the end of the game where saving is not possible).

App.log and Crash.dmp is here:
http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871)

You're seeing the same crash as Chrysalis had a while ago.. I thought it was just his garden gnomes being upset, but apparently there's a real issue here. See if you can find a pattern to this problem. Are you using Barret with slash-all by any chance?

(phew, thats the entire backlog of crash dumps :-))


First of alll, thanks for taking a look! I didn't have Barret in my party, and as for a pattern, I didn't see one. Both my crashes happened after some battle in the Northern Crater. After loading the emergency save, I could finish the game without any problems. I don't know if it's relevant, but I did install a few mods: YAMP fix for framerate and transparent dialog boxes, and I also installed the NPC_Reconstruction_Project_for_FF7PC_0.6_mod. To sum it up, your driver worked great and I finally managed to finish this game without any glitches,except for the above mentioned two crashes at the end of the game.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mako on 2009-07-20 01:14:14
Thanks I tried running the .exe as admin but nothing changed any other idea's? Thanks for the help.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-20 01:56:05
this is the 2nd crash in this point... here are my files...
http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871

Your data files are so broken it's not even funny. It's a wonder it doesn't crash earlier.

hmm, how could that have happened? will a fresh install fix this?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-20 02:10:53
Thanks I tried running the .exe as admin but nothing changed any other idea's? Thanks for the help.

Must... Resist...
Nope.
(http://www.angryflower.com/bobsqu.gif)

That aside, what is your graphics card? I think you specified it before, but I couldn't tell what you meant. Does the OpenGL driver perform poorly compared to the normal driver at 640x480?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-20 02:45:24
tifa's got white head while using aali's custom graphic driver
http://img31.imageshack.us/img31/9247/whitehead.png

but using saint high res patch, looked normal,

what is the problem in my case
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mako on 2009-07-20 03:08:54
That aside, what is your graphics card? I think you specified it before, but I couldn't tell what you meant. Does the OpenGL driver perform poorly compared to the normal driver at 640x480?


As I said before I have a 280 gtx...Its a EVGA if that helps. YES it does perform poorly compared to the normal driver 60fps on normal 5~10 with Aali's driver.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-20 03:17:58
I don't think it can get 60fps, i believe that it's limited to 30
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mako on 2009-07-20 03:20:05
I don't think it can get 60fps, i believe that it's limited to 30

LOL...Tell that to my mini games! :-D. Also would buying windows XP help?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-20 03:25:50
Nahatma: It looks like the texture for Barrett's vest is missing as well. These exact same data files worked with TheSaint's HighRes patch? If so, you'll need to wait for a response from Aali, and he may want to look at the actual data files.

Mako: I apologize, it wasn't clear what you meant. For future reference, it's easier to recognize your card as an NVidia GeForce GTX 280. From what I'm seeing, this is NVidia's new ultra high end gaming card, and if that's the case, the only explanation I can offer for the poor performance is that somehow your game must be running with software OpenGL.
This is supported by this line in your log: INFO: No OpenGL 2.0 support detected, shaders won't be available
So here's a few questions that may help figure out why:
Do you have the latest NVidia drivers?
Is ff7.exe running in compatibility mode?

Looking at http://www.geeks3d.com/20080829/nvidia-forceware-17792-geforce-gtx-280-opengl-extensions/ (http://www.geeks3d.com/20080829/nvidia-forceware-17792-geforce-gtx-280-opengl-extensions/), your card definitely supports OpenGL 2.0, but for some reason the NVidia drivers aren't actually being used.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mako on 2009-07-20 03:30:08
Nahatma: It looks like the texture for Barrett's vest is missing as well. These exact same data files worked with TheSaint's HighRes patch? If so, you'll need to wait for a response from Aali, and he may want to look at the actual data files.

Mako: I apologize, it wasn't clear what you meant. For future reference, it's easier to recognize your card as an NVidia GeForce GTX 280. From what I'm seeing, this is NVidia's new ultra high end gaming card, and if that's the case, the only explanation I can offer for the poor performance is that somehow your game must be running with software OpenGL.
This is supported by this line in your log: INFO: No OpenGL 2.0 support detected, shaders won't be available
So here's a few questions that may help figure out why:
Do you have the latest NVidia drivers?
Is ff7.exe running in compatibility mode?

Looking at http://www.geeks3d.com/20080829/nvidia-forceware-17792-geforce-gtx-280-opengl-extensions/ (http://www.geeks3d.com/20080829/nvidia-forceware-17792-geforce-gtx-280-opengl-extensions/), your card definitely supports OpenGL 2.0, but for some reason the NVidia drivers aren't actually being used.

Thanks. Yes I have the latest drivers 186.18, No I am not running compatibility mode just as admin. Got any other suggestions?

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-20 03:40:41
yep, all my files are working very fine on saint's high res,

Mako : Mobile Intel(R) 945 Express Chipset Family
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mako on 2009-07-20 03:58:48
Yes!!!!! I got it!  :-D arew264 THANK YOU! It was my driver I was TOO updated. For everybody having FPS issues related to mine please download driver 177.92 because 186.18 WILL NOT WORK! Thanks again arew264.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-20 04:04:36
Yes!!!!! I got it!  :-D arew264 THANK YOU! It was my driver I was TOO updated. For everybody having FPS issues related to mine please download driver 177.92 because 186.18 WILL NOT WORK! Thanks again arew264.

I can't say I would have guessed that, but I'm glad you got it working.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cloud1000 on 2009-07-20 15:14:47
is there a way to lower the brightness? Its way to bright effects.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Nahatma on 2009-07-20 15:41:58
Aali help please^^
 my  tifa model is white, im using advent children mod btw, but its working fine in saints high res
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-20 16:12:46
Aali help please^^
 my  tifa model is white, im using advent children mod btw, but its working fine in saints high res

The texture isn't loading because your OpenGL implementation does not support it for whatever reason.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-20 20:36:16
did a fresh install and still get a crash... idk wutz going on now  :?
http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-20 21:08:24
Did you look at that APP.LOG before posting it? Those errors are not caused by the driver and they clearly indicate that you have some seriously broken LGPs.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-20 21:18:20
If you did a clean install and the same thing happened, then it's no doubt the disc. You probably have a badly scratched disc, which could have caused data to become corrupt.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-07-20 21:25:00
If it's one of the lgp files that's broken, there shouldn't really be a problem. All three game discs have the same lgp files on them, so if one is scratched, you'll be able to copy a non-corrupted file from one of the non scratched discs and it will work.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-20 22:23:20
could it cuz i put the patches on their? i got.. the 1.02 exe, dzuigo's, hardcore mod (by gjoerulv) and the AC mod beta.. and i dont understand any of this stuff when i look at it  :oops:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-07-20 23:05:09
could it cuz i put the patches on their? i got.. the 1.02 exe, dzuigo's, hardcore mod (by gjoerulv) and the AC mod beta.. and i dont understand any of this stuff when i look at it  :oops:

Hmm, the last one might be the problem. Try it without the AC mod beta and see what happens  :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-20 23:50:22
but its weird... it only crashes when u battle in the area of the save point (1st reactor) but if u go to another room other than the 1 with the safe point, it works... weird... so the AC still might be the problem?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-07-21 00:07:22
Ah, I think I know what's going on.

If you installed the AC mod over gjoerulv's mod, you may have overwritten the battle model for the "robot" enemy that gjoerulv made. It appears in that part of the reactor, and if you don't have its model the game will crash.

I recommend that you reinstall gjoerulv's mod on a clean copy of the game, make a backup of the patched battle.lgp and put a clean one in the main game directory, patch the clean one with the AC mod, take the player character models out of the AC mod patched battle.lgp file with lgp tools, use lgp tools to put them in the battle.lgp file patched with gjoerulv's mod (so you don't overwrite any of gjoerulv's enemy models), and then put *that* battle.lgp file in the game directory. I haven't tried this myself, but if do that, you should be able to make it work.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-21 02:23:05
hmm, im having some difficulty understanding this but i c why this is allowing the crash. wow ur good! but still, i got no idea how i will be able to make these mods work hmm
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-07-21 06:07:41
Just thought I would point out some thing I noticed when I run the game

The battle displays perfectly fine in all its full screen or 4:3 glory.  However, when I'm in the field there is a little black bar at the bottom of the screen.  Not blocking anything, but more like making the display even smaller.

Am I the only one experiencing this?  If not, is there a reason for it? 
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Xelane on 2009-07-21 06:39:34
can you provide a screenie?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: InuRa on 2009-07-21 06:50:02
Woa, working great until now, no crashes slow downs or anything under Vista 32bit SP1 until the part where I have to dress Cloud as a girl 'cause that's as far as i got with the newest driver.
I think this might be a good time to replace the FF7config.exe with a moded one (just the "Graphics" tab) tho if someone is up to it, so the driver usage and configuration is more transparent since the current one is no good at all nowadays.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-21 14:53:19
Just thought I would point out some thing I noticed when I run the game

The battle displays perfectly fine in all its full screen or 4:3 glory.  However, when I'm in the field there is a little black bar at the bottom of the screen.  Not blocking anything, but more like making the display even smaller.

Am I the only one experiencing this?  If not, is there a reason for it? 

The game is doing that because field uses a different aspect ratio.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-21 15:25:16
Aali - can you explain why the printscreen button doesn't work with your driver? neither does hypercam.
FRAPS might, but i dont wanna download it just for this.
can you fix it so it works?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-21 15:35:14
It doesn't work because it's using hardware acceleration. I'm not sure I want to "fix" that. Just use Fraps.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-21 15:56:45
Fair enough.
I guess i kinda have to :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-21 16:33:57
thats strange. i am using XP SP3 and Print screen seems to work fine with Aali's driver (i have tried both windowed and fullscreen) and it seems to work fine for me (i am not using any mods and i have no other programs open but i press the Print screen button on my keyboard and copy and paste it into paint fine)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-21 17:46:06
It also works for me (at least in windowed mode)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-21 17:53:44
I suppose it might work with some drivers/cards/whatever. Either way it's out of my control.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-21 21:35:48
Neo, it doesn't work because you're in Windows 7, just like me. I opened it in an XP VM, and the print screen button worked.

Windows 7 uses the snip tool instead for it's screen shots. Probably why
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-21 21:50:32
nope. im usin' vista :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-21 23:05:02
Really? I thought i saw a seven thing in your video haha.

Well it works in XP and not in Vista, explains why it doesn't in 7
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: twipley on 2009-07-22 03:08:15
Hello. I would like to get more info on this tool, if possible. For example:

- does it mean that when you select Software as renderer, the game uses OpenGL?
- will it make software rendering prettier than it was before?
- should I first install the v1.02 patch?
- helps in increasing resolution?

Forgive me, as I am quite new to this tool. :shy:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-22 03:14:14
Hello. I would like to get more info on this tool, if possible. For example:

- does it mean that when you select Software as renderer, the game uses OpenGL?
- will it make software rendering prettier than it was before?
- should I first install the v1.02 patch?
- helps in increasing resolution?

Forgive me, as I am quite new to this tool. :shy:

when you get this never use FF7config as it will overide it

It doesn't use software it uses hardware, everything will look the same, graphic errors (for the most part) will be fixed
Yes it only works with teh 1.02 patch

Yes it will increase it to any resolution, looks best if a multiple of the originals (320 x 240, 640 x 480, 960 x 720, 1280 x 960)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: twipley on 2009-07-22 03:22:52
Alright, thanks for the quick answers.

For the info, I am running widescreen (1680x1050), and haven't got the TrueMotion codec installed, and just have tried the "custom graphics driver."

It has given me an error, http://www.megaupload.com/?d=RXKR6UXK (crash file and log combined in a rar archive).

Any idea of what is going wrong here?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-22 03:41:44
Your movies are broken somehow. It finds the file, but it doesn't recognize the format.

It's not really supposed to crash in this case, it could just skip the movie (and it will, in future versions).

Oh and you do not need to install any codecs, the driver will only use its own codecs.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: twipley on 2009-07-22 11:14:35
Oh yeah, I forgot to say movies were re-encoded for the Duck codec not to be needed anymore. Such a skip would be useful, though! :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-22 13:30:25
twipley it would be best to reencode the movies into a standard format like Divx or Xvid (H264 doesnt work on versions after 0.6.2b and a few other lossless codecs dont work on any version like the DXA format etc) and that should fix your problem.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-22 14:11:05
Wait, h264 stopped working? Huh?
The FFMpeg library supports it...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: twipley on 2009-07-23 00:15:45
hello again, dear developers and related comrades. i still have a few questions, if you don't mind:

1) "you do not need to install any codecs, the driver will only use its own codecs." -- does that mean I would not need the truemotion codec installed to be able to display movies, if I use your driver tool?

2) will it ever be possible in the future to include a speed fix for the minigames, but better than the one created by dziugo? because his tool requires you to manually adjust the framerates, depending on the strength of the computer you are using.

3) helps in increasing resolution? "yes it will increase it to any resolution, looks best if a multiple of the originals (320x240, 640x480, 960x720, 1280x960)." -- a) isn't that a little similar to "2x scaling?" (see http://forums.nvidia.com/lofiversion/index.php?t53262.html) -- b) and can black bars at the sides of my screen be added? because otherwise the image gets all stretched, and i cannot seem to add black bars with the help of nvidia drivers (because of some nasty, well-known bug).

by the way, thanks, and well, i hope to see you soon.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-23 00:36:38
hello again, dear developers and related comrades. i still have a few questions, if you don't mind:

1. That is correct, you do not need the TrueMotion codec and even if you have it it will not be used.

2. This driver already includes a speed fix for the minigames, it relies on vsync however, and only produces reasonable results if vsync is really working and your refresh rate isn't set too high (the limit is at refresh rate / 2, or 30 FPS for a 60hz refresh rate). I would also like to point out that the YAMP patch (by dziugo) does not under normal circumstances require you to adjust anything. Set it to 25 FPS and you should get 25 FPS.

3. It doesn't look *bad* if you don't use a multiple of 640x480, it used to have all sorts of trouble with other resolutions and apparently some people haven't realized that this was fixed long ago. The best resolution to use will always be the max resolution of your monitor, unless for some reason it isn't. Experiment and don't take anyone else's word for it (including mine). Also, the driver will only add black bars to preserve aspect if you turn on that option, it will not try to pad a larger resolution down to a multiple of 640x480.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-23 00:38:38
1) "you do not need to install any codecs, the driver will only use its own codecs." -- does that mean I would not need the truemotion codec installed to be able to display movies, if I use your driver tool?
Yes, the driver uses the FFMpeg library, which provides codecs for most video formats, including TrueMotion. The library is included with the driver.

2) will it ever be possible in the future to include a speed fix for the minigames, but better than the one created by dziugo? because his tool requires you to manually adjust the framerates, depending on the strength of the computer you are using.
Right now, a frame limiter is in place in the driver that works on 90% of computers (read: computers that don't have crappy OpenGL drivers). I think it limits you to some multiple of your screen's refresh rate.

3) helps in increasing resolution? "yes it will increase it to any resolution, looks best if a multiple of the originals (320x240, 640x480, 960x720, 1280x960)." -- a) isn't that a little similar to "2x scaling?" (see http://forums.nvidia.com/lofiversion/index.php?t53262.html) -- b) and can black bars at the sides of my screen be added? because otherwise the image gets all stretched, and i cannot seem to add black bars with the help of nvidia drivers (because of some nasty, well-known bug).
I don't remember the exact name, but there is an option that makes the driver add black bars instead of stretching the image. This isn't just scaling; the 3d models are rendered at the resolution you specify. It works best in multiples because 2d backgrounds used in the game ARE scaled, and they scale best in integer multiples.


EDIT: Gah, Aali beat me to the reply.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Tekkie.X on 2009-07-23 15:16:38
Working fine for me so far.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-23 17:51:07
Still crashes game for me with opening avi I made with AAC+ H264
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-23 18:18:52
Still crashes game for me with opening avi I made with AAC+ H264

It doesn't solve the alignment problem, it will only prevent it from crashing when you try to play some unsupported video format (H264 is supported, but broken on SSE capable machines due to a compiler issue)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-23 18:28:12
Ah yes :)  Forgot, the driver actually supports it even if a little broken
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: WhiteManDan on 2009-07-23 18:45:47
hey guys..
i'm new here and first i want to thank you Aali for developing a driver for this game.

since i use this driver i have not found any issues. i play this game for the first time so i
want to ask here if this is normal.

(http://i26.tinypic.com/141jcir.jpg)

a pic form the highwind... and know i want to know if the color (i mean this white/grey) is normal because i dont know

mfg
whitemandan
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Millenia on 2009-07-23 19:06:06
Looks normal to me.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-07-23 19:46:38
I second that.

The Highwind is supposed to be that colour.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-23 23:18:58
I don't wanna annoy anyone but does anyone know how to alter the code in these for use as a .post file in this driver?

I've tried this myself previously (the posts are here) but it doesn't look like it should (as Aali said, they won't work "out of the box") but I'm too swamped to be able to learn properly atm. There are some screens of the shaders working with Pete's plugin for epsxe with FF7 and it looks pretty awesome. It'd be great to see the game Cell-Shaded, especially with the custom models.

I've tried just screwing around with the code to see what it does (just adding them all to the one .post file and rearranging the text appropriately) but I either get an error when trying to load it or it just doesn't do what it says on the tin  :wink:

Does anyone know what to do with these?

http://www.mediafire.com/?sharekey=bb80d3c8494e9c5cb64026cfc0611236e04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=bb80d3c8494e9c5cb64026cfc0611236e04e75f6e8ebb871)

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: twipley on 2009-07-23 23:51:00
thanks for the quick and comprehensive replies to all of previous questions.

so, you've both told me that the fix for the minigames locks them at half of the refresh rate. but, some extra interrogations:
a) why not instead lock them at a fixed "30 fps," so that monitors of the future, potentially using another standard refresh rate (e.g. 70), would still make one able to play those minigames correctly? b) and furthermore, dziugo in his "minigames patch" HighwayAndSnowboardMinigamesFix.txt puts: snowboard_speed=40; highway_speed=30; rollercoaster_speed=25; battleswirl_speed=50; any idea as to why those are not all locked to the 30 fps you have chosen for all of those? has dziugo screwed up in mgp but not in yamp?

plus, as for the third question, alli has written that "the driver will only add black bars to preserve aspect if you turn on that option." any reason as to why black bars aren't added by default on widescreen monitors (or, systems using a 16:10 (or, more rarely, a 16:9) resolution as desktop default)?

thanks,
twipley
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-24 00:01:20
I'm not really sure about this, but I think a real cartoon filter cannot be implemented with a simple post-processing shader. I mean, usually cell-shaded graphics still retain all the detail of the texture, the only thing that's changed is the vertex color. Since post-processing filters only have acces to the final fragment color, there is no way you can tell what is texture and what is vertex color by then.
I guess you could embed this shader somehow on the main.vert and main.frag files, though.
It would also be helpful to see those images showing the real expected behavior of the shader.

By the way, great job Aali. I'm sure the new hi-resolution backgrounds support will make things bring us some great mods.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-24 01:26:10
Hey, here's a little video detailing what I mean.

http://www.dailymotion.com/video/x6odte_ff7-cartoon-shader-epsxe-170_videogames (http://www.dailymotion.com/video/x6odte_ff7-cartoon-shader-epsxe-170_videogames)

And another.

http://vodpod.com/watch/1876869-ff7epsxehigh-resoltution-ultimate-end (http://vodpod.com/watch/1876869-ff7epsxehigh-resoltution-ultimate-end)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-07-24 05:32:29
OK I'm updating from ff7_opengl-0.6.10b to ff7_opengl-0.7b driver and the 0.7 ff7_opengl.cfg is not working. Any options i set nothing changes. i set showfps = yes and nothing. use_shaders = yes nothing changes. the ff7_opengl.fgd is 298kb compared to 0.6.10b's ff7_opengl.fgd 3.30mb. It works fine when i revert back to 0.6.10b  Anyone having problems with the update? Am i a complete idiot and forgetting something? lol
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-24 12:55:41
I figured out why frame limiter wasn't working correctly for me (technically, it was). Even though I set my monitor to refresh at 60hz (I even used RefreshForce), it was refreshing at 75hz no matter what, thus making battle swirl and minigames to stay around 45fps.

I guess I'll never buy another Acer monitor again.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-24 13:11:29
yeah aali, I have noticed that the credit screen isnt capped, runs at refresh rate rather than 30 fps (I think its supposed to be 30)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-26 13:50:54
Yeah, I know I said I wouldn't do it, but how could I turn down the challenge?

(http://backup.ninjaloot.se/share/FF8%202009-07-26%2015-44-05-31.png)
(http://backup.ninjaloot.se/share/FF8%202009-07-26%2015-44-16-15.png)
(http://backup.ninjaloot.se/share/FF8%202009-07-26%2015-44-37-67.png)
(http://backup.ninjaloot.se/share/FF8%202009-07-26%2015-45-35-71.png)
(http://backup.ninjaloot.se/share/FF8%202009-07-26%2015-46-19-48.png)
(http://backup.ninjaloot.se/share/FF8%202009-07-26%2015-46-52-62.png)

It's far from playable, those are just the scenes where it looks almost right :-P
Performance is truly atrocius, I get like 4 FPS in field, world map looks like crap and battle doesn't work at all.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-26 14:05:07
It is a start  :-D


Well done!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-07-26 15:01:20
Aali, I love you!

Can't wait to see this working fully  8-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-07-26 16:05:06
Haha, what is this? Project number 5? 
Look, I'm as excited about this as the next guy, but be sure not to overwhelm yourself.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-26 17:14:39
Yeah, I know I said I wouldn't do it, but how could I turn down the challenge?

I'm so glad I brought that up then. I think I love you.

On a more serious note, I'm not going to get my hopes up, but I apprectiate the effort. FF8 really needs something like this.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Satoh on 2009-07-26 17:53:02
Aali, your driver for FF8 has less compatibility issues than mine normal install does, so don't fret.

I can't even play mine with the normal drivers, I have to swap drivers right before each cutscene because they don't like NPC animation or something like that...

When it was just 7 I was only minorly interested... but now you've caught my attention... (BTW there's no chance on getting a model or texture grab feature in that is there XD?)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-26 18:33:55
Aali... I think i love you!
:P

If this gets finished.. :D :D :D :D

hahah
I am giddy just seeing it.
xD
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-07-26 18:38:00
Hell yeah!
Epic as always, Aali. perhaps this will fix the rendering problems as described here (http://forums.qhimm.com/index.php?topic=8602.75)?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-26 18:40:07
If it does that... I think all my mod ideas are going to be a reality
:D... and that makes me happy.... just knowing FF8 will become a better game for everyone..
xD

hahah
(feels cheesey for saying that)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Satoh on 2009-07-26 19:24:42
Hell yeah!
Epic as always, Aali. perhaps this will fix the rendering problems as described here (http://forums.qhimm.com/index.php?topic=8602.75)?

I see what's happening in that tread, the PC FF8 seems to be failing to load the hirez textures on the worldmap.

The world map uses 2 sets of textures, low and high, for long distance and short distance rendering. You can see it easily in a PSP port of PSX FF8, as soon as you enter the world map the low rez textures are preloaded, and a split second later they're updated to the hirez. I think that process is failing on the PC version.

Hope that helps.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Jamers on 2009-07-26 20:37:06
Yay, more modding love for FF8!  :lol:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-07-27 01:52:21
Wow, now I'm really excited. I just downloaded FF8 and--

J/K, I own the PC and PSX versions legit. It'll be fun to play in high res if you ever finish this driver. :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-27 02:58:20
i just recently bought ff8 (thanx ebay  :-P) and wow, i cant w8 for this to get finished (assuming it will) so i can test it! :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-27 03:15:51
If I can get it to skip movies it'll be ready for a first release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-27 03:23:38
Just Curious..
what is wrong with the FMVs?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-27 05:49:05
If I can get it to skip movies it'll be ready for a first release.

skip? how come?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-27 05:59:02
As always, the movie player is tied into DirectX and doesn't use the driver.
Add to that the fact that they're using their own archive format and the BINK library and it will be a while before I can play them properly.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: yoshi314 on 2009-07-27 07:51:15
As always, the movie player is tied into DirectX and doesn't use the driver.
Add to that the fact that they're using their own archive format and the BINK library and it will be a while before I can play them properly.
also, remember that sometimes fmv serves as a background for some game scenes (train mission, battle at garden).

i doubt the gfx driver can order the video player dll around.

most likely the game always starts bink player dll with movie skipping disabled, with no distinction whether it's just a fmv or fmv + realtime graphics.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-27 11:59:33
I'm having trouble running FF7. I've installed the 1.02 patch, and then the new graphics driver. It loads to a black screen with sound and then stops. I am running a laptop with Vista 64 SP1, an Intel T9400, and a GeForce 9700 GT. I also applied the PRP patch and it still continues to do the same thing. I realize there are issues with the True Motion codec, but I thought that those were irrelevant once the new graphics driver was installed. Any suggestions?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Xelane on 2009-07-27 12:03:01
If i remember you have to change your settings for the drivers as well as alter your graphics card (well i and some others have anyway) so that they work with the game and don't crash it like that.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-27 12:29:55
I've gone through the config and checked the Nvidia fix, and tried it with both the TNT settings and the Riva 128. I also tried the software rendering. All yields the same results.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Xelane on 2009-07-27 12:32:54
have you tried playing without the patch?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-27 12:40:29
Yep. same results. Is the patch supposed to change anything in the config? The menus and resolutions look the same. I thought it was supposed to allow the game to support higher resolutions.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Xelane on 2009-07-27 12:42:01
It does, i dunno what to say other than try updating your graphics driver (well i actually had to downgrade mine)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-27 12:46:26
They are fairly new drivers, I feel like I am missing a step in installing the patch. I copied over the files and ran the registry update, but I don't see any visible differences in the config or the loading issue. Is there a way to verify it's working?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Xelane on 2009-07-27 12:48:41
i wouldn't know, i could suggest waiting for aali since he is the best person to talk to about this
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Borde on 2009-07-27 14:33:29
Running FF7Config after applying the reg file will simlpy undo the changes. Don't use FF7Config if you want to use Aali's drivers. It's configuration can only be altered manually changing ff7_opengl.cfg.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-07-27 14:57:24
The simplest way to make sure the driver is being used is to check APP.LOG and see if OpenGL is mentioned in the first 10 lines. If you're having issues getting the driver to load, you can set fullscreen to false in the config so it's obvious when you start ff7 whether the driver was loaded or not.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-27 18:33:25
Ok, this makes sense now. I was using the config after edting the registry. I got it to load properly. How do I change the resolution though? It looks like the config file has it set up to run in the original low res. Is it up to me to change this what I need? Where do I input the values? Also It seems like I can't use the PRP executable with this, it goves me the original black screen now boot problem. Is there a workaround to use the graphics and PRP patches together?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-27 18:37:22
rename the PRP files 00.lgp world_us.lgp and 01.lgp char.lgp (might be otherway around, i can't remember) put them in the proper place (make back up's of the original) and it will work with Aali's driver

open up the ff7_opengl.cfg with notepad (in Vista\7 first drag to the desktop)change the resolution setting in it, save. then open FFy (put it back into the FF7 directory in Vista\7)

EDIT: fixed a typographical error. Thanks Rinoa
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-07-27 18:42:46
Wow, people answer quickly on this thread  :-D

So, yeah, do what hellbringer616 said  :wink: The driver now fixes the resolution automatically, so all you have to do is set the window size.

Also, Aali, I've noticed that the link in the OP no longer points to the latest release, which is here (http://forums.qhimm.com/index.php?topic=8306.msg109351#msg109351).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-27 19:00:14
Ok, great thanks. That all worked, but now its crashing or locking when I try to start a new game. The Eidos and Squaresoft movies come up and then the FF credits screen comes on but when I proceed to the New game /continue menu all I see is a black screen. I can hear the sounds when I move the cursor and can click on the new game option (although I can't see it) but then it locks up.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-27 19:06:49
rename the PRP files 00.lgp menu_us and 01.lgp char.lgp (might be otherway around, i can't remember) put them in the proper place (make back up's of the original) and it will work with Aali's driver

open up the ff7_opengl.cfg with notepad (in Vista\7 first drag to the desktop)change the resolution setting in it, save. then open FFy (put it back into the FF7 directory in Vista\7)

that is because
the menu_us isn't suppose to be that..
its suppose to be

World_US..............

sorry HellBringer
:(
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-27 19:09:57
Whoops, Told ya i forgot it haha.

I just saved the renamed files and stopped caring what to rename em.

I'll change my post.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-27 19:11:56
The issues continue! That fixed the menu issue however after I click on New Game it crashes and says "failed to load ACFE.aki"
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-27 19:46:29
could you post the last few lines in your app.log file to see what happens before the error
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-27 20:09:28
I'm a tad drunk at the moment, but a few days ago when I tried the latest release FF7Music didn't work at all.

I checked my config and attempted to use it without the new plugin or whatever but no joy, so I've reverted back to 0.6, with which FF7music does work. There wasn't a crash, just no music played. I'll test it again some point soon.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-27 20:56:13
Hmm, it seems I forgot to mention that, FF7Music won't work without the proper music plugin.

Not a perfect solution but it makes things a lot easier for me.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-07-27 23:12:06
OMFG, Custom Graphics driver for FF8?

AWESOME xD

Go on man, but finish your last project first ;)
Or is the 10b version a "finished" beta :D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-27 23:32:44
1 thing I learnt making simple 2d games is....there is never a finished game or app.  There is always improvement.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-28 00:48:29
OMFG, Custom Graphics driver for FF8?

AWESOME xD

Go on man, but finish your last project first ;)
Or is the 10b version a "finished" beta :D

This is still *one* project, I probably won't be releasing a binary that supports both games, it's much easier to do with a recompile, but 90% of the code is shared between them.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-28 06:16:40
could you post the last few lines in your app.log file to see what happens before the error

END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
OFFSET ERROR: ACFE.a
ERROR: COULD NOT OPEN FILE ACFE.a
ERROR: unhandled exception
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-28 06:20:57
Congratulations, you have broken your char.lgp :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-07-28 06:23:55
Hmm. All I did was copy over the one from the PRP patch. I replaced it with the original and it loads now. Is there away to fix the PRP LGP? Or is there somewhere I can download a copy of a working one with the mods?

*now posted in the PRP thread.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Xelane on 2009-07-28 06:30:45
this is why u want to backup your files prior to tinkering with them
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-28 09:04:56
great thanks for this Aali. I will test this later today when i get back on my computer with ff8 installed. But now i cant wait until i can test this later today. Also which EXE's does it work with or does it work with 1.0 + 1.2Geforce and 1.2NoneGeforce ?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-28 09:06:57
You tell me, it definitely requires one of the two 1.2 patches though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-28 12:55:33
ok just gave it a quick test and doesnt seem to work with 1.2 Non-Geforce EXE but seems to work with 1.2 Geforce EXE. Also i do have a Geforce card but the non geforce EXE does work without the driver so i dont think that is the cause.
I also noticed in both the cfg file and when it crashes it still says FF7 (i know this isnt a problem but thought i should say this anyway)


The App.log from the non-geforce EXE when it crashes is this (i can upload the crash dump if you need me to)

INFO: Auto-detected version: FF8 US English
INFO: NVIDIA Corporation GeForce 9600 GSO/PCI/SSE2/3DNOW! 3.1.0
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1280x896, output resolution 1194x896, internal resolution 1280x960
INFO: FBO extension detected, using fast scaling/postprocessing path
MATRIX INITIALIZE
ERROR: unhandled exception
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-28 13:32:50
Aali, shall we just make you king of quimms?

 :-D  It just gets better and better

edit:

for a first release it is excellent.  Window mode without messing about!  Finally!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-28 13:49:27
This is weird... I couldn't get past the credits screen, no matter what button I pressed. The music just kept playing and the Squaresoft logo kept looping.

EDIT: Ok, I managed to get past it. It seems it wasn't detecting my controler for some reason.

Anyways, performance is really good. World map looks like crap (I guess you haven't found out how to use the high res textures yet?).

That's pretty much it so far (other than the ones you already mention). Definitely great for a first release, you work really fast O_o

EDIT2: I get slowdowns in some areas of the world map. That was to be expected I guess. Diablos summon is working correctly with no missing effects (Although the bats have a bit too much transparency).

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-28 13:58:32
works flawlessly here aali, with some minor hitches.  The battle menus are all translarent and broken but I am not complaining....

also, fraps remains at 30 FPS with FF8  in the field... no deviation, no change.  Is it just because it is better coded than 7?  Because I wish 7 could be as smooth as this while recording.  I even used fastcappro with 7 same thing happened but with 8 it is as smooth as a whistle.

Anyway here is a vid of your driver in action:

http://www.youtube.com/watch?v=E2NKvEeCpwg&fmt=18
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-07-28 15:39:36
Known problems
"Battle swirl" doesn't look right.
A pretty insignificant problem considering that everybody has trouble with the FF8 battle swirl in all cases anyway.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-28 15:42:48
Known problems
"Battle swirl" doesn't look right.
A pretty insignificant problem considering that everybody has trouble with the FF8 battle swirl in all cases anyway.

In this case though, the battle swirl is almost completely missing. Something that definitely needs a fix.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-28 15:43:48
Known problems
"Battle swirl" doesn't look right.
A pretty insignificant problem considering that everybody has trouble with the FF8 battle swirl in all cases anyway.

In this case though, the battle swirl is almost completely missing. Something that definitely needs a fix.



You mean the lines that come across the screen and initiate the battle, yup they are missing completely, see vid above
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-07-28 16:11:12
Ugh, I can't find my install disc for FF8. I think I know where it is, but if so I won't be able to test this driver until Friday :(

Does/will this driver support custom resolutions like your FF7 driver does?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-28 16:14:36
Hmm, the non-geforce version should've caused version detection to fail. You should not have been able to get that far with it.

Anyway, I have a feeling the non-geforce version is the horse to bet on. If the geforce patch does what I think it does, that's the reason AA isn't working. (Which graphics card you have is completely irrelevant here)

The blending problems in battle concerns me though.. I have no clue why it's happening or how to fix it. It's just going to be trial and error :-(

Covarr:
It supports almost everything the FF7 version does.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-07-28 16:53:10
anyway i have just started testing and so far i am impressed. Also i have noticed even though the battle's menu is transparent you can see them if you press select (thats what i have it assigned to on my joypad anyway but i mean the discription key) and they become solid as long as the help menu is infront.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-28 18:37:16
 :-D
Great work Aali..
I am wondering...
My current PC is Non-Geforce..
So it won't work?

Maybe its because my computer isn't Geforce but i tested it..

here is my App. Log

INFO: Auto-detected version: FF8 US English
INFO: Intel Intel Bear Lake B 1.4.0 - Build 7.14.10.1437
INFO: No OpenGL 2.0 support detected, shaders won't be available
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 640x480, output resolution 640x480, internal resolution 640x480
MATRIX INITIALIZE

(how come it says No  Open GL detected... when i obviously have it... the FF7 Drivers work magnificently..)

and here is my crash dmp.

http://www.mediafire.com/?ycntnozgnmb


*Edit*

I tested it on my
Windows XP
with A GeForce NVidia 5500 graphics card....
The drivers made the game run really slow..
like you know the EIDOS FMV at the beginning, how it only takes 20 seconds..
try 20 mins... and it still wasn't done..... i left it there and did some errands... came back.. still the EIDOS screen.. it didn't Freeze.. it was still moving...
that is how it is with the FF7 drives as well..

I delete your driver's and used the 1.3 (HI Res/ 8-bit texture fix launcher) Launcher..
and the game runs fine....

I don't get it.
-.-

The FF7 Driver's run perfectly on my Vista (this PC.. the one with internet)
But, my XP seems to have trouble using your drivers Aali...

I can't get the FF8 drivers to work on this PC (my Vista) either.. maybe its cause its not a GeForce?????
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-28 20:19:12
Seems like the geforce patch was not causing the problems with AA after all. It does cause the 1 pixel fade issue though.

But now that I know whats going on I can compensate for that so both versions will look the same.

I may be able to solve the AA problem with a nice and easy hack aswell, but it does point to a more serious problem with FF8's sprite engine. (Due to a miscalculation somewhere it ends up positioning sprites 1/3rd of a pixel off)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-07-28 20:44:00
I've just installed the newest version for FF7 and it works/looks great @ 1152x864.  I'm having a wierd issue though where my mouse pointer is still visable ingame as a semi-transparent square that will not go away.  I'm not sure what's going on since i couldn't find anyone else with this problem, and the game doesn't crash so there is no log to send.  The game is still playable, but that damned pointer is so distracting.
All settings are left to their defaults except for the resolution fields.

SPECS:
A7N8X-E Deluxe
2G RAM
2.4GHz AMD XP-M
ATI 3850 HD AGP version

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-07-28 20:44:44
Seems like the geforce patch was not causing the problems with AA after all. It does cause the 1 pixel fade issue though.

But now that I know whats going on I can compensate for that so both versions will look the same.

I may be able to solve the AA problem with a nice and easy hack aswell, but it does point to a more serious problem with FF8's sprite engine. (Due to a miscalculation somewhere it ends up positioning sprites 1/3rd of a pixel off)
The original PSX GTE has a rounding error that programmer commonly compensated for. Maybe some the the compensation code creeped into the PC version?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-07-28 21:57:42
Could this fault be anything to do with the way the World Map looks?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-28 22:19:55
Well it doesn't matter what caused it, it's gone now. Both geforce and non-geforce versions work fine with 16xAA, no fade glitch, no texel alignment issues. :-)

Completely unrelated to the low-res worldmap issue. The game doesn't even load the high-res textures for the driver to use, they're just loaded into memory and never used. They probably disabled them at the last minute to counteract the awful worldmap performance on cards without 8-bit palette textures.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-28 22:21:22
So you fixed all the problem
:D

yay.. then i will be able to play it with your next release.
^.^

:D 40 pages! And my 80th post!
xD
 
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-28 22:24:42
So is there a way to re-enable them Aali? Or are they just going to sit there for every unable to be used?

now that i think about it, With what you've done with FF7, you'll end up fixing it sooner or later haha
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-28 22:37:26
2009 is a good year for Final Fantasy, it seems.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-28 22:38:10
Even if I can't reenable them per se, it would be fairly trivial to make the driver sidestep FF8 and just load the textures directly.

The blending issues in battle is priority #1 right now though.

I'm also taking requests for other translations of FF8, you provide the .exe and I'll make it work for the next version.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-07-28 22:40:07
Quote
# set the window size (and fullscreen resolution) of FF7
# 0 means use original resolution (whatever ff7.exe provides)
Minor issue. I'm not sure it's even big enough to qualify as a bug. But FF7 != FF8.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-28 22:41:21
Yeah i figured the new textures is kinda low on the list.

But i have faith you will get this as amazing as your FF7 driver is!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-28 22:46:34
Quote
# set the window size (and fullscreen resolution) of FF7
# 0 means use original resolution (whatever ff7.exe provides)
Minor issue. I'm not sure it's even big enough to qualify as a bug. But FF7 != FF8.

I know, it also mentions FF7 and wants to write an emergency save when it crashes (which will cause it to crash again :-P)
Already fixed for the next version.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-07-29 01:06:20
I've just installed the newest version for FF7 and it works/looks great @ 1152x864.  I'm having a wierd issue though where my mouse pointer is still visable ingame as a semi-transparent square that will not go away.  I'm not sure what's going on since i couldn't find anyone else with this problem, and the game doesn't crash so there is no log to send.  The game is still playable, but that damned pointer is so distracting.
All settings are left to their defaults except for the resolution fields.

SPECS:
A7N8X-E Deluxe
2G RAM
2.4GHz AMD XP-M
ATI 3850 HD AGP version

lee

here's a screenshot of what's happening:
(http://img.photobucket.com/albums/v220/pyrozen/ff7.jpg)

the box in the middle of the screen is the location of my mouse, and i can move it around as i please. 
I've tried many different resolutions but it always appears.  It appears in every area of the game(world map, battle, menu, ect...)

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-29 01:32:07

the box in the middle of the screen is the location of my mouse, and i can move it around as i please. 
I've tried many different resolutions but it always appears.  It appears in every area of the game(world map, battle, menu, ect...)

lee

It's obviously a problem with your graphics drivers, the mouse pointer is always supposed to be hidden in fullscreen mode and no mouse pointer is ever being drawn by the game.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-07-29 01:34:57
hmmm, strange.  This is the only game where it has ever appeared, and it only appeared after switching to your driver from the saints version.  I can move it off screen and it's not noticable, just wanted to give you a heads-up if it was something larger than just me.

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-07-29 01:53:08
after switching to your driver from the saints version
This raises red flags for me. Are you using an unpatched exe with the driver, or do you still have the saint's patch applied? You may want to fresh install FFVII and then install Aali's driver over it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-07-29 01:56:26
it's an unpatched version, i backed up all my original files before doing anything this time around. JUST to be sure, what is the filesize of your FF7.exe?

mine is 5.61MB

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-29 02:06:01
It's certainly possible that the OpenGL implementation is broken while Direct3D does not have this issue.
Either way it's *very* unlikely that I could do something about it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-07-29 02:12:42
Now I don't have FF8 for the PC, but by God if you're making a driver for it I might as well find a copy.
As for the hi-res textures, I'm guessing someone have to edit the .exe to make FF8 use them?  If you can pull them from memory to see which one should be put where, I imagine someone would be able to hex edit them into the game.  Someone with knowledge of hex editing.  Someone who is not me
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-30 06:14:37
crash and app here
http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871
i think it the same problem as Rinoa's... non ge-force user
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-07-30 11:15:43
Hey there Aali :D

I said to my friend that he has to use your custom driver- and he's using the OpenGL 1.1 backend on his fucked off laptop^^
The last part of the APP.LOG:

Code: [Select]
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# 380
[BATTLE] Exitting FRAME_INITIALIZE
GLITCH: QPC is unstable
[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!!!
SET VOLUME 1: 127
stop_sound
[BATTLE] Begin end battle stuff
[BATTLE] Entering FRAME_QUIT
[BATTLE] endof battle.
ERROR: unhandled exception
He says that this happens after every fight when the EXP things come up- then the game closes and the should come a message box saying:
Quote
"Error
Oops! SOmething very bad happened. Wrote crash.dmp to FF7instal dir.
Please provide a copy of it along with APP:LOG when reporting this error.
write emergency save to save/crash.ff7? "
He uploaded the appl.log, savegame and the crash.dmp here:
http://rs652.rapidshare.com/files/261711824/ff7.rar (http://rs652.rapidshare.com/files/261711824/ff7.rar)

Thanks for help & support ;)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-30 12:00:14
Seem like his driver doesn't like me trying to delete invalid textures. (A perfectly normal thing to do that shouldn't cause any crashing)
I could fix it, but it's his drivers that are broken so I don't think I will unless more people have issues with this.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-07-30 17:14:18
Aaah, Okay-
So...
... HIS graphic-drivers are broken? Ok, let's see if we can ride that buttercup :roll:

Thanks again for your support ;)
-d3
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-07-30 18:55:52
Out of curiousity, what is his driver/GPU setup on his laptop?  If it happens to be something quite common in the el-cheapo sector of laptops, that piece of information could be helpful for a small FAQ or something.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-07-30 23:21:14
problem fixed, i installes the newest catalyt drivers and my mouse pointer issue has gone away.  Great job on this Aali!  I'm liking this revival of ff7 mods that you are encouraging with your new programs.

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-31 00:51:29
once again excellent work :)  Progress day on day.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-31 01:36:13
Again this doesn't work on my pc..
:(

here is the crash dump:

http://www.mediafire.com/?o3ayz2dztod

and here is my app. log..

INFO: Auto-detected version: FF8 1.2 US English (Nvidia)
INFO: Intel Intel Bear Lake B 1.4.0 - Build 7.14.10.1437
INFO: No OpenGL 2.0 support detected, shaders won't be available
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 640x480, output resolution 640x480, internal resolution 640x480
MATRIX INITIALIZE
ERROR: unhandled exception
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-31 01:54:56
Again this doesn't work on my pc..
:(

here is the crash dump:

http://www.mediafire.com/?o3ayz2dztod

and here is my app. log..

INFO: Auto-detected version: FF8 1.2 US English (Nvidia)
INFO: Intel Intel Bear Lake B 1.4.0 - Build 7.14.10.1437
INFO: No OpenGL 2.0 support detected, shaders won't be available
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 640x480, output resolution 640x480, internal resolution 640x480
MATRIX INITIALIZE
ERROR: unhandled exception


If you are using the alpha music ff8.exe.  Go back to the patched version (none music ff8.exe)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-31 02:13:52
Again this doesn't work on my pc..
:(

here is the crash dump:

http://www.mediafire.com/?o3ayz2dztod

and here is my app. log..

INFO: Auto-detected version: FF8 1.2 US English (Nvidia)
INFO: Intel Intel Bear Lake B 1.4.0 - Build 7.14.10.1437
INFO: No OpenGL 2.0 support detected, shaders won't be available
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 640x480, output resolution 640x480, internal resolution 640x480
MATRIX INITIALIZE
ERROR: unhandled exception


If you are using the alpha music ff8.exe.  Go back to the patched version (none music ff8.exe)

I figured... it out..
my PC says its non- NVIDIA
but i had to use the NVIDIA 1.2 launcher..
oddness.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 02:19:34
Huh.. app.log says you're using the nvidia version, but the crash dump doesn't match any version I know of :/ What *did* you use?
Also, whether you have an nvidia card or not makes no difference at all, all the nvidia patch does is shift some things half a pixel up and to the left (and the driver undoes this if it detects an nvidia version)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-31 02:19:37
Your pc can't really get that info wrong....

You can find out a number of ways inc run box> dxdiag > display tab

The data and chipset will all be there.

ps.  and what aali said....

I think you must be using that alpha exe....  I can't get it to work either...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-31 02:32:33
(http://i585.photobucket.com/albums/ss295/Wildsai/happytimes.jpg)

(http://i585.photobucket.com/albums/ss295/Wildsai/happy.jpg)

and here is my crash log..
fresh install....... no alpha launcher..

http://www.mediafire.com/?mgwgzzjznmz



it works if i use the Nvidia launcher.. but it doesn't look right.. all the characters look gritty.. and the pixel thing you mentioned is out of whack.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-31 03:01:31
the latest 1 doesnt work for me either... i am using non-geforce just like i stated on my lastest post  :cry:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 03:44:35
Hmm, please upload your respective FF8.exe's somewhere so I can compare them to mine..

And what is this "nvidia launcher" you speak of?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-31 03:50:00
the 1.2 (Nvidia) patch...

here is my exe.

http://www.mediafire.com/?mryvcmjjniz

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 04:07:59
Right, I wouldn't call that a launcher, that implies an external program that loads the FF8 exe in some way.

Anyway, this is most unsettling, there are two *different* 1.2 versions out there.

Eidos are distributing a patch that is more than two weeks older than Squeenix's and they're not from the same revision (this is what makes them incompatible, something was changed in the source between these two builds)

For now, just use the geforce version from Squeenix.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-31 04:15:47
All right...
but that makes my game gritty.
-.-

Hehehe... oh well.
:D

Thanks Aali..!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 04:26:26
Gritty? Please post a screenshot. There should be no difference between the different versions.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-31 04:37:38
Alright..
i was utterly wrong..
i am sorry... your drivers are amazing..
Just all the FMVs are white boxes.. i thought i saw seifer play it with FMVs?
Maybe its the None Geforce thing?
OR what?

or do you drivers just skip over FMVs?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-31 05:03:28
here are mine... let me know if its the right 1 u were lookin for

http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 05:07:37
Alright..
i was utterly wrong..
i am sorry... your drivers are amazing..
Just all the FMVs are white boxes.. i thought i saw seifer play it with FMVs?
Maybe its the None Geforce thing?
OR what?

or do you drivers just skip over FMVs?

FMVs require NPOT textures or they'll just be white. Most modern cards/drivers these days support it, but not all. This will be fixed in a future version.

drfeelgud88: I'm not interested in PlayFF8.exe, that's just a launcher. But I'm pretty sure you have the same version as Rinoa so don't bother.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-31 05:12:05
should i use the geforce exe even tho i dont have a ge force card?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 05:15:11
Also, whether you have an nvidia card or not makes no difference at all, all the nvidia patch does is shift some things half a pixel up and to the left (and the driver undoes this if it detects an nvidia version)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-31 05:22:14
Alright..
i was utterly wrong..
i am sorry... your drivers are amazing..
Just all the FMVs are white boxes.. i thought i saw seifer play it with FMVs?
Maybe its the None Geforce thing?
OR what?

or do you drivers just skip over FMVs?

FMVs require NPOT textures or they'll just be white. Most modern cards/drivers these days support it, but not all. This will be fixed in a future version.

drfeelgud88: I'm not interested in PlayFF8.exe, that's just a launcher. But I'm pretty sure you have the same version as Rinoa so don't bother.

All right thanks.
:D..
Again.. this is amazing.
THANK YOU,

And Aali.. did you say it was impossible to fix the world map.. or just really hard??
Sorry, i am not sure if i read this or not.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 05:33:21
Neither, I just haven't got around to it yet. Maybe it'll be in the next release.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-07-31 05:34:53
 :lol:

That makes me very happy.
 :-D

Just knowing you plan on fixing it.
Again.
Thank you, so very much.
You have made a huge contribution to the gaming world.
:D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-07-31 05:39:53
square released a patch for FF8 on the PC? i thought only Eidos did
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-07-31 05:41:01
ok, i changed to the ge-force patch and its working great along with the driver! altho it seems a bit laggy... other than that, it seems awesome! thanx aali!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Goku7 on 2009-07-31 08:28:09
Right, I wouldn't call that a launcher, that implies an external program that loads the FF8 exe in some way.

drfeelgud88: I'm not interested in PlayFF8.exe, that's just a launcher. But I'm pretty sure you have the same version as Rinoa so don't bother.

I don't know if this is important, but when the game is launched via playff8.exe, it seems to ignore the settings stored in game's registry entries completely.  I know the driver relies on registry entries for running in FF7, so I figure it might be relevant for ff8.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-31 10:54:55
Hmm... battle swirl is still missing in this new version, and world map is quite laggy. Other than that, it's working fine here.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: dejarik on 2009-07-31 13:24:59
Hello there,

my FF7 was getting these weird crashes where the screen would freeze, but I could hear the game and music continuing (Anybody know why?). I decided to try the custom driver.

Now my problem is this: I'm getting these weird green or blue lines when using the custom driver, and only when using the custom driver.

My setup:
1.02 patch
Saint's resolution fix(1280*1024)
YAMP (9999, minigames, transparent dialog boxes)
FF7Music

(http://modofiler.googlegroups.com/web/bugs.jpg?gda=-uAARzoAAAC3hfv79t0CAIeoM6psgTRBWy6CDESM_mGZrkX_8-mfTIk8b52cgHDtkRFwMuiBcxL97daDQaep90o7AOpSKHW0&gsc=t3MnpQsAAACcffPmmchb-mwam6RqmHSN)

Is there a setting somewhere to fix this? I've tried playing around in the nVidia control center (antialiasing etc.), but the lines are still there.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-07-31 13:33:05
Hello there,

my FF7 was getting these weird crashes where the screen would freeze, but I could hear the game and music continuing (Anybody know why?). I decided to try the custom driver.

Now my problem is this: I'm getting these weird green or blue lines when using the custom driver, and only when using the custom driver.

My setup:
1.02 patch
Saint's resolution fix(1280*1024)
YAMP (9999, minigames, transparent dialog boxes)
FF7Music

(http://modofiler.googlegroups.com/web/bugs.jpg?gda=-uAARzoAAAC3hfv79t0CAIeoM6psgTRBWy6CDESM_mGZrkX_8-mfTIk8b52cgHDtkRFwMuiBcxL97daDQaep90o7AOpSKHW0&gsc=t3MnpQsAAACcffPmmchb-mwam6RqmHSN)

Is there a setting somewhere to fix this? I've tried playing around in the nVidia control center (antialiasing etc.), but the lines are still there.

You are not to use saints fix with this driver.  It doesnt require it.

All it requires is the 1.02 exe UNPATCHED.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 14:21:06
square released a patch for FF8 on the PC? i thought only Eidos did

It's really the same patch, the differences are quite minimal, I'm not sure exactly what it does, it might just be code refactoring. But there is a difference, and there shouldn't be any. Someone screwed up.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: dejarik on 2009-07-31 14:22:45
Hey,

thanks for the quick reply.

It seems I should've read up more before I asked the question. Anyway, I can't find a way to get a high resolution. Am I supposed to change my windows resolution and start the game?

I've tried different scaling options, but it doesn't seem to work. It's either 640*480 stretched to the entire screen or in a little box in the middle (depending on scaling options).

EDIT: I found the problem. I had the 0.6 version, not the newest 0.7.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-31 20:24:28
Update on ff8 driver.

- Diablos' bats are completely invisible now, instead of just being transparent.
- Some summons like Ifrit lag the battle, then the whole battle remains laggy until it's over (right now, it's unplayable).

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 21:16:10
Quite odd, I'm not seeing any of that. Diablos' bats are the same, and using Ifrit in battle doesn't make any noticeable difference to performance.

I did however notice that if you pause the game on the worldmap it doesn't show the flashing text, it's just a gray box.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-31 21:38:23
This major slowdown happened in the GF Brothers boss fight. World map battles slow down too, but it wasn't as severe as this one. I'm using the GeForce 1.2 exe (the non-geforce crashes when I try to open it.)

My specs:

Geforce 7600GS 512mb AGP
2048mb of ram
Pentium D 940 3.2Ghz (dual core)
Windows XP SP3 Professional

I still have the ff8 laucher in the game's folder, but I'm not using it to run the game.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-07-31 21:41:20
I suppose you could turn on show_stats and see if any of the numbers go "off the charts", that might give me some pointers.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-07-31 22:02:33
Ok, let's see if this helps. Some screens:

Ifrit slowing down:

http://img20.imageshack.us/img20/5219/ff8001.jpg (http://img20.imageshack.us/img20/5219/ff8001.jpg)
http://img399.imageshack.us/img399/1951/ff8002.jpg (http://img399.imageshack.us/img399/1951/ff8002.jpg)

Point at which the whole battle is slow. It dropped as low as 9fps:

http://img389.imageshack.us/img389/7670/ff8003.jpg (http://img389.imageshack.us/img389/7670/ff8003.jpg)

Invisible bats:

http://img444.imageshack.us/img444/4813/ff8004.jpg (http://img444.imageshack.us/img444/4813/ff8004.jpg)
http://img132.imageshack.us/img132/5853/ff8005.jpg (http://img132.imageshack.us/img132/5853/ff8005.jpg)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-01 03:29:45
was working sooo well... til this occured :(

http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-01 03:44:09
was working sooo well... til this occured :(

http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871

It's a "random" crash, most likely caused by some poorly handled multithreading. Unrelated to the driver.

Terid__K:
I don't see anything that would explain it, could you also post the first few lines from app.log?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-01 03:47:11
oh ok, so will that mean that it will happen again in taht same area? and aw! teh save point was RIGHT there! now i have to start from where i last left off..   :-(
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-08-01 04:31:17
Actually, what Aali just said suggests to me that it probably won't happen again.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-08-01 04:55:56
or that it will but randomely.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-08-01 13:41:21
This?

INFO: Auto-detected version: FF8 1.2 US English (Nvidia)
INFO: NVIDIA Corporation GeForce 7600 GS/AGP/SSE2 2.1.1
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1366x768, output resolution 1024x768, internal resolution 1280x960
INFO: FBO extension detected, using fast scaling/postprocessing path
MATRIX INITIALIZE
INITIALIZING SOUND...
  initializing direct sound
  EAXDirectSoundCreate
  creating primary buffer
  initializing audio data
  OK
  initializing streaming
SOUND INITIALIZED
DIRECT MUSIC - Enumerating Ports...
PORT 0: SoundMAX Digital Audio
GUID={0x490a03e8,0x742f,0x11d2,0x8f,0x8a,0x0,0xc0,0x4f,0xbf,0x8f,0xef}
PORT 1: Mapeador de MIDI da Microsoft [Emulado]
GUID={0xb971831f,0x58db,0x444b,0xb5,0xd8,0x20,0x3b,0x2c,0xd8,0x42,0xa2}
PORT 2: SoundMAX WDM MIDI [Emulado]
GUID={0xb7ec7694,0x41a,0x41c5,0xa8,0x8d,0x53,0x1e,0x6b,0x66,0x42,0x5d}
PORT 3: Sint. softw.tab. sons wave MS G [Emulado]
GUID={0x59f1a216,0x22d,0x44e9,0xb4,0x69,0xcd,0x26,0x47,0x6d,0xde,0x25}
PORT 4: Microsoft Synthesizer
GUID={0x58c2b4d0,0x46e7,0x11d1,0x89,0xac,0x0,0xa0,0xc9,0x5,0x41,0x29}
Creating Port1...
    SoundMAX Digital Audio
  Port1 supports XG data
BinkClose
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-01 13:44:32
Nothing out of the ordinary there.. nothing that would explain why you can't see those Goddamned Bats(tm) anyway.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-08-01 14:06:48
what Graphics driver version are you using Terid_K ? Also does any of that happen if you run the game on its own ? (i mean without any loaders or custom configs etc)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-08-01 14:18:26
Quote
what Graphics driver version are you using Terid_K ? Also does any of that happen if you run the game on its own ? (i mean without any loaders or custom configs etc)

Forceware 163.75. No, that does not happen with the game on it's own (Although the bats do show up as black squares, that could be the lack of 8-bit palleted textures support). I don't get slowdowns with the FF8 launcher either.

The bats DID show up on the first version of the driver, but they were transparent.

I'll do a few more tests with different configs to see if I can get anywhere.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-08-01 14:26:13
hm strange, But also your driver is really out of date so if your gonna mess around with things i would recommend backing up your current driver then trying the 190+ drivers to see if it makes any difference (it may do but since like you said it worked in previous versions it is unlikely this will fix the problem but i would say its worth a try if your desperate).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-08-01 14:29:57
I don't think my video card would benefit from newer drivers. Those were meant for next-gen cards, it wouldn't do much for me right now.

Anyway, the bats decided to show themselves again. All I did was run FF8Config and change from hardware to software rendering. Oh, and I also removed FF8 launcher and dx_hook.dll from the game folder.

Yes, I'm still running the driver, so settings like that shouldn't have any effect (right?). Slowdown is still happening, but I believe in future versions this will go away.

EDIT: It seems the bats do appear in some battles, and in others they don't. Very weird indeed.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Servior on 2009-08-01 16:46:21
Hi,

tried to use this driver, but game crashed @ startup :(

app.log & crash.dmp:
http://www.servior.de/tools/ff8.zip

I'm using Forceware 185.85.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-01 20:30:28
Hi,

tried to use this driver, but game crashed @ startup :(

app.log & crash.dmp:
http://www.servior.de/tools/ff8.zip

I'm using Forceware 185.85.

You're using the non-geforce version from Squeenix, use the geforce version instead.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-02 00:55:46
ok, that random crash never happened again, hehe, i guess it was just loading problems or my pc or something (altho the game's like new) but anywayz, this driver is workin its wonders so far... thanx aali
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: The Skillster on 2009-08-02 12:56:34
Someone want to point out to me what the advantages are over the default d3d engine?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Millenia on 2009-08-02 13:02:56
Someone want to point out to me what the advantages are over the default d3d engine?

Better compatibility with modern hardware, offers custom resolutions (up to any monitor's max resolution), removes some graphical limits for modders like maximum texture size or bit depth, minigame fixes...

There are lots, it's totally worth using.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-02 15:04:41
Someone want to point out to me what the advantages are over the default d3d engine?

Better compatibility with modern hardware, offers custom resolutions (up to any monitor's max resolution), removes some graphical limits for modders like maximum texture size or bit depth, minigame fixes...

There are lots, it's totally worth using.

And doesn't it also allow us to play the game on Linux with Wine (http://appdb.winehq.org/objectManager.php?sClass=version&iId=183)?

But yeah, it makes a lot of patches obsolete as well as giving all of those other advantages; the only things necessary to play the game now are this and the FF7 1.02 patch AFAIK (and maybe not even the 1.02 patch). Whenever I hear of anyone having problems with the game, the first thing I tell them to do is use this driver; it's something everyone should be using now.

BTW, this topic has 1046 replies  :-o Pretty impressive, and way ahead of the next longest thread on the forums.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-02 15:14:27
Found another glitch in FF8, when you first meet Julia at the hotel there's an odd flashing triangle going from the center of screen to the right.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-08-02 15:14:34
agreed.  This driver has finally ended the problems with this game.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-08-02 16:58:34
FF8 Glitch: On the boat on the way to the exam, a single triangle of Seifer's hair flashes white repeatedly. It's a very minor issue, and didn't bother me at all, but for all I know the cause may be some huge underlying problem, so I felt the need to report it.

Question: I had the first release of the FF8 graphics driver and videos were displaying all white. Since then, I installed ffdshow and the latest release of the FF8 graphics driver, and videos work right. Which of these was it that fixed them.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-02 17:14:59
Yeah I noticed something like that with Edea too, a single triangle flashes on/off. Along with all the other odd things caused by the renderstate being just a little bit off, this is probably caused by the same thing.

None of those should make any difference. The video decoder is in the bink library and you'll only get white videos if you don't have NPOT texture support.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Litude on 2009-08-02 17:31:09
Weird, I also got white videos (actually they started out fine and then faded into white?) using the first release of the FF8 driver, but with the second release they are now being displayed correctly for me.
Great work on the FF8 driver by the way!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-02 18:00:51
And doesn't it also allow us to play the game on Linux with Wine (http://appdb.winehq.org/objectManager.php?sClass=version&iId=183)?

Heh, I wrote that test result. The game crashes when you go to the Quit menu, but other than that, you can play in Wine with no problems. The Midi is unsteady, which irritates me, but I guess FF7Music would get you around that. Dunno if that works under Wine though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-02 20:43:18
Another minor problem with FF8, at the entrance to the lunatic pandora during the second dream sequence there's a weird-looking black semi-transparent block that probably shouldn't be there.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-02 20:56:20
Whenever I press pause on the world map (FF8) only a grey box pops up.  I'm not sure but I think there should be some letters there  :-P
The smoothing between colors of grey (such as picking which save file to load) doesn't transition anywhere near as well as its FF7 counterpart
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-02 21:01:12
Whenever I press pause on the world map (FF8) only a grey box pops up.  I'm not sure but I think there should be some letters there  :-P
The smoothing between colors of grey (such as picking which save file to load) doesn't transition anywhere near as well as its FF7 counterpart

I already reported the pause issue about a page ago :-P

The menu background is a texture in FF8.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Franck19520 on 2009-08-04 15:41:01
Hi! I'm french so excuse for my poor english.
I really appreciate your work with custom driver Aali and i recently rediscovered ff7. Thanks a lot :-D
but with ff8 the custom driver doesn't work: it tell me french is not supported... So I want to know if you'll make it work with the french versions soon? is it possible? or may i prepare myself to forgot this possibility :-(?
As well, thanks again for your work... :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-04 16:32:12
If you provide the .exe's, I'll make it work.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Franck19520 on 2009-08-04 17:20:27
If you provide the .exe's, I'll make it work.

Hi!
thanks for your answer : here is the megaupload link:
http://www.megaupload.com/?d=Y2HCOL9C
Hope it works soon :-D
Thanks again :lol:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Gemini on 2009-08-05 15:32:40
Oh, you're open to supporting other languages, like for FF7. So, would you do it for the Italian version as well? This (http://gemini.aerdan.org/FF8.rar) is the exe. Thanks in advance!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-05 17:09:57
Found out why it ends up with 1/3rds of pixels sometimes.. Wish I hadn't :-P
The entire 2D sprite system still works in native PSX resolution coordinates. That is, 384x240.
The conversion to PC was done by multiplying those coordinates by 1.6666666 and 2.0 respectively.
This is why everything menu-related looks like crap on the PC, while it's nice and sharp on the PSX.

Native PC resolution:
(http://backup.ninjaloot.se/share/640x480.png)

Adjusted to match PSX resolution:
(http://backup.ninjaloot.se/share/768x480.png)

Some hacks were necessary to make the second image, simply changing resolution will not make menus look any better for you.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-05 17:53:19
everything in the second shot seems a little fatter. like it was stretched a bit for widescreen
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-08-05 17:56:49
everything in the second shot seems a little fatter. like it was stretched a bit for widescreen

Actually, no. If you look closely, the first picture was the one that was stretched vertically (lol) to fit the screen. The second picture is in the correct aspect ratio.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-05 18:00:25
everything in the second shot seems a little fatter. like it was stretched a bit for widescreen

Actually, no. If you look closely, the first picture was the one that was stretched horinzontaly to fit the screen. The second picture is in the correct aspect ratio.



Oh, My mistake.

What does this mean though Aali? That you're going to have a b*tch of a time fixing it?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-05 18:16:36
It means that by undoing the things they did properly for the PC version, we can have FF8 on the PC in it's original 16:10 widescreen glory.

The other option is a lot less tempting; rebuilding all the menus to look good in 4:3
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-05 18:20:55
and i JUST got a 16:9 monitor..... <censor for offending words>

Oh well, i say do it. Will the models look normal? Or Fat?

Cause i was running PCSX2 with FFX today and they were lookin kinda chubby in Widescreen haha
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-08-05 20:27:30
It means that by undoing the things they did properly for the PC version, we can have FF8 on the PC in it's original 16:10 widescreen glory.

By that you mean you're going to get rid of the black bars on the top and bottom of the screen, right? Wouldn't that introduce glitches?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: seifertemp on 2009-08-06 02:53:35
This is what I have been waiting for.  Finally!  The damn text looking correct!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-06 03:08:23
It means that by undoing the things they did properly for the PC version, we can have FF8 on the PC in it's original 16:10 widescreen glory.

By that you mean you're going to get rid of the black bars on the top and bottom of the screen, right? Wouldn't that introduce glitches?


No, those would still be there, the viewport would just get wider. And yes it does introduce tons of glitches right now, so for the near future expect only menus to actually occupy that extra space.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Prince Lex on 2009-08-06 03:14:11
No, those would still be there, the viewport would just get wider. And yes it does introduce tons of glitches right now, so for the near future expect only menus to actually occupy that extra space.

A bit like the menus in FF7, then? I can't wait for this one Aali, it'll finally look like it should (technically).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-06 03:18:19
*sigh* can someone tell me what happened here?

http://www.mediafire.com/?sharekey=fcbfab3cf7a0a29aaaca48175a79d1c3e04e75f6e8ebb871
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-06 04:12:02
A bit like the menus in FF7, then? I can't wait for this one Aali, it'll finally look like it should (technically).

I guess, except the black borders will be bigger and on the sides.

drfeelgud88: Random memory corruption, most likely, the crash happened in some music related code but thats probably not what trashed the memory in the first place.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-06 05:15:51
A bit like the menus in FF7, then? I can't wait for this one Aali, it'll finally look like it should (technically).

I guess, except the black borders will be bigger and on the sides.

drfeelgud88: Random memory corruption, most likely, the crash happened in some music related code but thats probably not what trashed the memory in the first place.

hmm, how do i get around to fixing it? its crashed twice in that same scene (where the President introduces the Sorceress)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-06 05:22:11
At the TV station in Timber? If so, I have played through that section without any issues. Perhaps you have a corrupted file somewhere and/or bad media?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-06 05:47:57
At the TV station in Timber? If so, I have played through that section without any issues. Perhaps you have a corrupted file somewhere and/or bad media?

yeah, in that exact area when the broadcasting is happening... but will only re-installing fix this? cuz i really dont want to play thru it again...  :|
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-06 07:58:07
I'm running ff7 and ff8 under wine (version 1.1.26) on Gentoo Linux, and wanted to give your driver a try.

For FF7, ff7_opengl-0.7b.zip reports that no-cd versions are not supported.  However, the no-cd version is the only one that will work for me, since my computer can no longer read the original CDs.  I searched through about 20 pages of this thread, but I didn't see the reason for this version not being supported.  Was this an ethical or technical decision?

For FF8, ff8_opengl-0.2a.zip crashes on startup with the following app.log:
INFO: Auto-detected version: FF8 1.2 US English (Nvidia)
INFO: NVIDIA Corporation GeForce 8800 GTS/PCI/SSE2/3DNOW! 3.0.0 NVIDIA 185.18.31
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1920x1200, output resolution 1600x1200, internal resolution 1920x1440
INFO: FBO extension detected, using fast scaling/postprocessing path
MATRIX INITIALIZE
INITIALIZING SOUND...
  initializing direct sound
  EAXDirectSoundCreate
ERROR: unhandled exception

I had changed the resolution to 1920x1200, but the crash happens all the same with a default ff8_opengl.cfg file.  I base64-encoded the tgz file containing the app.log and crash.dmp at http://docs.google.com/Doc?docid=0ASOZpnjE0eKOZGN3emc1c3NfMHR4YnhiNDM4&hl=en (http://docs.google.com/Doc?docid=0ASOZpnjE0eKOZGN3emc1c3NfMHR4YnhiNDM4&hl=en)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-08-06 08:55:42
myk if your PC cant read the original CD's how did you install the game ?
Well there is a few things you could do but the easyest method would be to make a fake ISO with the label FF7DISC1 (or 2 or 3 depending on which your on) and mount the ISO on the same drive the game is looking for.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-08-06 10:50:30
I agree, it's really quite simple to mount isos  under linux
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-06 15:01:59
I have wine installations that have been sitting around for years (I've played through ff8 in software rendering mode and I've been trying to get ff7 working for ages).  The CDs are here, but can't be read for some reason by my cdrom drive.  It's not even recognized as a CD when I put it in.  Looking at the registry, I seem to have modified it to point to the hard drive so it doesn't even look for the cds.  Assuming I can get the ISOs (perhaps another computer can read the CDs), I'll probably need to restore the registry to look for a cd drive.  What does a pristine "HKEY_LOCAL_MACHINE\Software\Square Soft, Inc" tree look like for ff7 anf ff8?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-06 15:11:43
Other people have gotten it working in wine without using a no-cd .exe so I don't see why you shouldn't be able to.

As for FF8, make sure you have the real eax.dll in your system dir.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-06 15:18:56
For FF8 Make sure you have the correct 1.2 patch  Geforce  (http://www.fileplanet.com/40187/40000/fileinfo/Final-Fantasy-VIII-v1.2(GeForce)) i had that same error then i used this and it worked.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-08-06 15:55:08
Update on my situation on the FF8 driver:

Turning off shaders on the cfg file fixed the speed problem. The game now always runs at full speed, which brings up a question: I'm a 100% sure my card supports OpenGL 2.0, so why would 1.1 be faster? Also, do you lose any detail graphics-wise with the OpenGL 1.1 backend?

Diablo's bats and blind effect are still missing, but this isn't a big deal for now.

EDIT: Just tried the same thing on FF7, and the results were surprisingly positive too. No more slowdowns whatsoever.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-06 17:17:19
I'm on Linux, and until recently, my Linux box didn't have a CD drive (or rather it did, I just didn't have enough IDE channels to hook it up and I didn't have a PATA->SATA adaptor). I tried to just mount an ISO of the disk, but ff7 complained that it wasn't the actual disk. Oddly enough, it worked when I mounted the ISO, copied all the files to another folder, and told WINE to treat that folder as a CD drive with the label FF7DISC1. Doing the same thing with the folder where the ISO was mounted made ff7 complain that I didn't have the CD in.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Zen on 2009-08-06 23:27:31
FINALLY figured out what was wrong. It turns out that it was indeed my video drivers that were causing all the problems. I just updated to 190.38 forceware and everything (even Diablos' bats) was fixed.

Sorry for confusing you Aali, updating the drivers should have been the first thing I tried to do.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ViagraPolice on 2009-08-07 00:05:44
Having problems with FF7 custom driver......

Opening movie plays fine but when I go into battle screen the game crashes and does the crash dump plus app.log here's what it says.

INFO: Auto-detected version: 1.02 US English
INFO: FFMpeg movie player plugin loaded
INFO: FFMpeg version SVN-r19334, Copyright (c) 2000-2009 Fabrice Bellard, et al.
INFO: NVIDIA Corporation GeForce 9800 GTX/9800 GTX+/PCI/SSE2 3.1.0
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1920x1080, output resolution 1440x1080, 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
INITIALIZING MIDI...
selecting device 0:Microsoft GS Wavetable SW Synth, mid=1, pid=102,
midi data type: GENERAL MIDI
using midi data file: C:\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
100% of 127 = 127
set music volume: 127
MIDI set master volume: 100
MIDI set volume: 127
100% of 127 = 127
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
INFO: G:\FF7\Movies\eidoslogo.avi; truemotion2/pcm_u8 320x240, 15.000000 FPS, duration: 10.133333, frames: 152
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
100% of 127 = 127
Exiting MAIN
START OF MENU SYSTEM!!!
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save00.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save01.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save02.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save03.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save04.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save05.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save06.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save07.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save08.ff7
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\save/save09.ff7
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
MIDI stop - OK
INFO: G:\FF7\Movies\opening.avi; truemotion2/pcm_u8 320x224, 15.000000 FPS, duration: 119.400000, frames: 1791
MIDI play: 2
reading midi file: OB.mid
current volume: 127
MIDI is playing SUCCESSFULLY!!!
Field Quit
Entering MAIN
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# 300
[BATTLE] Exitting FRAME_INITIALIZE
ERROR: unhandled exception

EDIT: I found the solution by reinstalling the game and carefully applying the patches this time
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-07 00:19:54
And where's the crash dump..?

Also, are you running any mods?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-07 16:54:54
I'm sorry, I'm trying to use the custom driver, but it appears like I'm making some mistake as I can't make it works.
I updated the registry with the .reg file that comes with the pack... put the files in the folder, but my ff7 seems to run the normal way.
And any modifications I do in the .cfg file it takes no effect at all. I don't get any APP.LOG also...

What Am I doing wrong? btw, i'm running in Windows 7 RC - en

 :?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-07 16:59:45
run FF7 as admin. it'll work
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-07 17:09:23
YAY! Thx... now it seems to works.. but I'm getting "No-cd versions not supported" error...
Need to use original ff7.exe ?

nevermind... i got it works with 1.02 original exe.

Amazing Work!!! Gratz Aali!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-07 20:54:32
I'm just wondering... is someone already hi-res'ing textures?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-08 04:15:48
SOMEONE HELP!!!!! How does this work I extracted the files to my FF 8 folder but how do I change the resolution, trying to use this cause ff 8 launcher by magixts didnt work for me
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-08 04:34:06
Change options in .cfg file.
Open it with notepad.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Satoh on 2009-08-08 05:16:06
I'm just wondering... is someone already hi-res'ing textures?

What exactly do you mean by this question?

Are you asking if someone is modifying the EXE to use the textures that aren't working properly in FF8 PC?

OR

Are you asking if someone is attempting to raise the quality of existing textures to a new larger size to fit the higher capacity of the new driver?

If it's the latter, then I have a photoshop plugin that allows for increasing image sizes while retaining a large amount of clarity (thus making them look about as good as they can without being re-rendered alltogether)

I'd be more than willing to try resizing all of the images in one map to test the concept of hirez field maps... but someone else will have to re-inject the new textures into the game for testing... I don't have 7 or 8 PC accessible at this time...

I'll post an image for comparison (original image size scaled up, and the new image with the special resizing process) later if you're interested...

Maybe we can reinvent FF7 and 8 altogether with better model rendering AND maps... Well anyway, I have high hopes for this driver.

EDIT:

Here is a part of the Iron Man enemy from FF8, I don't have any map images to use so this was the next best choice...


(http://i86.photobucket.com/albums/k99/eremes/FF8DISC2_0340copy.png)

Personally I find the quality of the fractal scaled version to be the most appealing... Specifically look at the brown decorations and the chink cut out of the chest plate.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Xelane on 2009-08-08 06:00:17
i dont see a difference
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-08 07:36:39
I'd be more than willing to try resizing all of the images in one map to test the concept of hirez field maps... but someone else will have to re-inject the new textures into the game for testing...

Ok, resize field map md1_stin from ff7 and i'll inject to test it... and i'll post comparison ss's
What about animated parts of bg fields? Can u resize the layers too?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Satoh on 2009-08-08 16:09:16
I'd be more than willing to try resizing all of the images in one map to test the concept of hirez field maps... but someone else will have to re-inject the new textures into the game for testing...

Ok, resize field map md1_stin from ff7 and i'll inject to test it... and i'll post comparison ss's
What about animated parts of bg fields? Can u resize the layers too?

I should clear up something... as I do not have the games on hand, I can't access the textures directly... plus, I don't even know how to get to the texture at "md1_stin" XD;;  Then again I suddenly realize I can't ask you for those textures as that would be technical redistribution...

Instead I suppose I can point you toward the source of my plugin...

Fractal Scaling... (http://www.ononesoftware.com/products/genuine_fractals.php)

Anyway I hope this helps... in the future I'll try to think through my offers better XD;
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-08 17:33:57
ok I opened .cfg file with notepad and in window size x i put 1440 and in window size y I put 900 because I want a resoolution of 1440x900, but when I start the game these huge black blotches appear. am i doing something wrong?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Satoh on 2009-08-08 17:42:47
ok I opened .cfg file with notepad and in window size x i put 1440 and in window size y I put 900 because I want a resoolution of 1440x900, but when I start the game these huge black blotches appear. am i doing something wrong?

Try 1200 x 900... I believe FFPC's are designed for 4:3 I don't know whether that affects Aali's driver, but for sake of argument, try it anyway.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-08-08 18:39:01
ok I opened .cfg file with notepad and in window size x i put 1440 and in window size y I put 900 because I want a resoolution of 1440x900, but when I start the game these huge black blotches appear. am i doing something wrong?

Try 1200 x 900... I believe FFPC's are designed for 4:3 I don't know whether that affects Aali's driver, but for sake of argument, try it anyway.
No, mine is set to 1680x1050 (16:10) and it simply pillarboxes it. Unless the blotches being referred to are just black bars on the left and right, the problem is probably something different than a widescreen problem.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-08 20:14:58
tried setting res to 1200x900 and it still doesnt work, the black blotches appear in the middle of the screen, I think it might have to do with the 8 bit paletted textures cause when i run magixts launcher the blotches don't appear but the resolution stays the same, 640x480 even when I change it to 1440x900 or any other res
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-08 20:41:08
Please post a screenshot.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-08 21:03:41
ummm I got the screen shot but how do I upload the image to this forum???
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-08 21:09:25
Upload your image to imageshack (http://imageshack.us/) (or a similar site), then post a link here. Also, if you haven't done so already, use a program like paint to change the screenshot to a .jpg image.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-08 22:21:35
http://img193.imageshack.us/img193/3974/ffviiix.jpg

here is the image
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-08 22:23:01
BTW, thanks kudistos for the tip on how to upload the image
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Satoh on 2009-08-08 22:29:59
It is an alpha issue, there's no doubt about that...it is possible that the paletting got screwed up for you somehow... but as Aali is obviously better at this than I, I'll leave it up to him to figure out.

Those black areas all correspond to a transparent area on an overlain layer. As I'm sure you noticed, however, those areas are not transparent.

Though in the end my post is a waste of time...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-08 22:41:47
You're not using the driver.

I'm curious to know how you managed to get a resolution of 720x480 though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-08 22:53:30
the resolution of 720x480 was just the res. of the pic., and when I use magixts launcher and click on the 8-bit palleted texture fix, the game doesnt show those black spots
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-09 06:44:53
I don't have FF8, but it also sounds like wen you run the game from that launcher, Aali's driver isn't loaded.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-09 16:34:40
well then how do I load it? do i need to overwrite the original .dll or move it to another folder?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Gemini on 2009-08-09 18:24:11
Run the game from the original exe.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-08-10 09:21:49
That direct mode is a sexy option. If you only have one file in there, does it automatically override what is in the LGP, or is it all-or-nothing?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-10 09:27:22
It's all or nothing.

Unfortunately, they (the FF7PC team) could not stick to using their own file API, so to make it override things I would have to reimplement the whole thing with all of their 3 or so different file access methods.
Still doable, but it would take a lot more time.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-08-10 09:29:23
Most likely *that* was overridden from the three or so file access methods from the original game :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-10 09:35:59
Well, here's the thing, they have an excellent "high-level" API that calls all the other APIs that they could have used all around and this wouldn't have been a problem. But of course, some guy just *had* to use the LGP functions directly. :roll:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-08-10 09:46:20
installed 0.7.1 and got:

INITIALIZING MIDI...
selecting device 0:Microsoft GS Wavetable Synth, mid=1, pid=27,
midi data type: GENERAL MIDI
using midi data file: C:\Program Files\Square Soft, Inc.\Final Fantasy VII\Data\midi\midi.lgp
midiOutGetVolume returned: ffffffff
MIDI INITIALIZED
ERROR: unhandled exception
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-10 10:03:27
Ah, screwed over by my own release process :-P
Please re-download.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-08-10 10:16:42
Fixed.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-10 16:34:33
Aali, do i need to extract ALL the LGP files to work in direct mode correct?
battle, magic, cr_us, disc_us,moviecam, char, f_level, ect
Right? not just the usually battle, char, f_level?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-10 17:28:37
Aali nice job! Just wondering... will that direct mode for lpg files be implemented in ff8 driver as well? I mean, for the .fi .fs .fl files ?
Would be awesome!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-10 17:57:17
"Fixed the cross-fade-to-same-song stopping problem with FF7Music" The exiting vehicles on the world map music cuttout is fixed! i still get those script events (ex. paying at an inn,chocobo dancing to get the choco\mog materia***Save file Game #2 (http://www.filefront.com/14248231/save01.ff7))missing with the new driver. Its odd cause with 0.6.10b it works great.Is that fixable or something to just deal with lol?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: gigaherz on 2009-08-10 18:27:27
Hi people,

I'm not in the mood to read through 45 pages of replies so I'll jsut ask here: Is there any chance at getting the source for these drivers, or at least some documentation on the interface?
I'm just interested in playing with it, specifically I'd like to try making a Direct3d10/11 version of the driver.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-10 18:32:04
Well, Aali would be the best... if not the only person who can answer you that.  :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-10 19:29:55
Aali would be the only person who has the source.

Just curious, with such an old game, would you get any benefit from using dx10/11?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: gigaherz on 2009-08-10 19:41:26
Basically just the same benefits you get from having an OpenGL driver, except I kinda hate ogl myself. Also just like you can replace the models in the game itself, it should be possible to add "extras" by analyzing calls, crc'ing data, etc. Just a bit like how some emulators let you replace textures on the fly.

In any case, it's not about the benefits. More like I like to "prove" myself I can do something, when I believe I might be able to.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-10 19:53:05
I thought Aali's driver was using dx9... am I wrong in this info?  :?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-10 20:01:57
I thought Aali's driver was using dx9... am I wrong in this info?  :?
Yep.  It's OpenGL
Basically just the same benefits you get from having an OpenGL driver, except I kinda hate ogl myself. Also just like you can replace the models in the game itself, it should be possible to add "extras" by analyzing calls, crc'ing data, etc. Just a bit like how some emulators let you replace textures on the fly.

In any case, it's not about the benefits. More like I like to "prove" myself I can do something, when I believe I might be able to.
Hmmm, well after you create a decent driver (When/If Aali gives you the info) It would definitely be nice to have another person around here who is good with programming and all that other technical mumbo jumbo :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-10 20:35:44
I know is off-topic... maybe not that much but... Which is better? OGL or DX?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-10 21:27:55
I know is off-topic... maybe not that much but... Which is better? OGL or DX?

That question has started many holy wars between developers. The main difference is that DirectX is a Microsoft product and thus linked to their OS, whereas OpenGL is a cross platform standard established by an open group. OpenGL is exclusively an API for hardware accelerated graphics, whereas DirectX also has DirectSound and a few other things besides video.
My general impression is that OpenGL is more low level, but I haven't tried to code any DirectX, so I can't speak confidently there.

As to which is "better," it varies from card to card. Some OpenGL implementations are faster than DirectX, and vice versa. There's no definitive answer there.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: gigaherz on 2009-08-10 21:34:34
Hm... that's one of those questions that could start a 1000-page flamewar, so I will try to write a reply without getting either side "insulted"... :p

This is just a very rough list of what I think are the 4 major points of each API:

Opengl:
 - Crossplatform
 - C-based functional API
 - Up to 3.0, still keeps compatibility with almost every feature of the original OpenGL (3.1 drops some).
 - Extension support allows to create new features without needing a new API version.

Direct3D:
 - Windows-Only
 - COM-based Object-oriented API
 - Each new version of D3D has its own interfaces, meaning that while it loses the source code compatibility, you dont' have any "clutter" from deprecated stuff
 - The feature set is fixed on each version of Direct3D. (In d3d9 there was a capabilities list, but since Direct3D10, Microsoft dropped that design and in D3D11, replaced it with "feature levels", so a level "11_0" device requires all features of d3d11, where a "9_0" device only requires direct3d 9.0 features)

As you might see, each one has its own advantages and disadvantages.

Personally, I think OpenGL is rather "messy", but I also think COM adds a bit too much code clutter which could be avoided.
I prefer Direct3D mostly because it seems a lot more organized. And it's clearly documented what you can do, and how to do it,
where openGL is more "free-form", and the optimal code path depends a lot on hardware, drivers, and operating system.

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-08-10 21:38:48
Aali would be the only person who has the source.

Just curious, with such an old game, would you get any benefit from using dx10/11?

Besides not having work right on XP? I don't think so.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: gigaherz on 2009-08-10 21:39:39
Hey XP is about to be 2 generations old... time to move on ppl... :p
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Tekkie.X on 2009-08-10 21:41:50
And yet has far better compatibility with most older games than Vista and 7 put together.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-10 21:43:51
Hey XP is about to be 2 generations old... time to move on ppl... :p

You'd be surprised how many people just refuse to upgrade to Vista, and 7 isn't out yet. Entire schools and businesses are still using XP.

It's the most stable and trouble free OS Microsoft has come up with so far.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-10 21:47:44
It's the most stable and trouble free OS Microsoft has come up with so far.
Debatable.  Try 7.  You'd be surprised how great it really is.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: DLPB on 2009-08-10 21:49:17
I went back to XP.

Reasons:

Vista incompatibility with some of my programs and devices
Vista slow with some of my games and also had problems with Aalis driver + fraps.
Vista bloated and eats up all your harddisk space
Vista resource hog.  Compare the recommended system specs for XP and Vista and you will see why
Update service for Vista is awful.  Every little update takes ages.

It looks good but that is all it beats XP on imho.  I have made a bare bones XP installer from my disc and a fresh install takes less than 1.5 GB.

I will be skipping Windows 7 too, windows needs to totally overhaul.  MS need to release 1 new OS that is totally new and that has moved on.  64 bit , no registry for program "installs" (use ini or similar system).    Until they do that I have no problem sticking with XP for at least another 5 years.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-10 21:50:50
It's the most stable and trouble free OS Microsoft has come up with so far.
Debatable.  Try 7.  You'd be surprised how great it really is.

Try Linux. I haven't run Windows on any of my computers since before Vista came out. This is just what I hear and what I see from working on other computers.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: gigaherz on 2009-08-10 22:00:39
Omfg..... some dude asks about ogl vs dx, and WE END UP IN A VISTA VS XP VS LINUX WAR! Xd

I know ppl who used linux, then tried vista and decided it was better.
I know ppl who used xp, then tried vista and hated it so much they switched to linux.
I know ppl who used xp, tried vista but couldnt' get usedto it, then went back to xp, but finally decided to try vista again and they realizedi t's not rly so bad at all.

I have been using Vista x64 for over 2 years and what I have to say is:
 - It does take more HDD space than XP, but with over 1.5Tb of HDD space in my pc, I don't care.
 - It does use more RAM than XP, but given I have 6Gb in my pc, I don't care.
 - Some apps and games do fail to work with Vista, but in MOST of the cases it's because those apps use the API calls in ways which weren't supposed to work, and which Vista fixed.
 - Many devices from before vista was released don't have x64 drivers. I had to buy a new scanner, and new printer, and new webcam, but  I can't really complain, given they all were over 10 years old. I think the money I spent on them was already worth it years before I got the new PC with Vista on it.

On a side note: there are some benchmarks of xp vs vista vs win7, and in cheap/old PCs, win7 wins over vista, and gets really close to XP, beating it sometimes. Microsoft just forgot some of their users would want to use Vista in low-end (or old) computers.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-10 22:07:05
Omfg..... some dude asks about ogl vs dx, and WE END UP IN A VISTA VS XP VS LINUX WAR! Xd

I know ppl who used linux, then tried vista and decided it was better.
I know ppl who used xp, then tried vista and hated it so much they switched to linux.
I know ppl who used xp, tried vista but couldnt' get usedto it, then went back to xp, but finally decided to try vista again and they realizedi t's not rly so bad at all.

I have been using Vista x64 for over 2 years and what I have to say is:
 - It does take more HDD space than XP, but with over 1.5Tb of HDD space in my pc, I don't care.
 - It does use more RAM than XP, but given I have 6Gb in my pc, I don't care.
 - Some apps and games do fail to work with Vista, but in MOST of the cases it's because those apps use the API calls in ways which weren't supposed to work, and which Vista fixed.
 - Many devices from before vista was released don't have x64 drivers. I had to buy a new scanner, and new printer, and new webcam, but  I can't really complain, given they all were over 10 years old. I think the money I spent on them was already worth it years before I got the new PC with Vista on it.

On a side note: there are some benchmarks of xp vs vista vs win7, and in cheap/old PCs, win7 wins over vista, and gets really close to XP, beating it sometimes. Microsoft just forgot some of their users would want to use Vista in low-end (or old) computers.

Microsoft forgets a lot of things that I could expound on, but we should get back on topic. We all use different OSs for different reasons, and I doubt any of us are going to change based on a forum argument.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: polaris_027 on 2009-08-10 22:30:19
okay vista is great and so is xp, and so is linux.

NOW MOVING BACK TO THE TOPIC

ive got a problem. ff7music doesn't play any music at all when i installed this patch. any solution?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-10 23:15:33
Did you go in the config file and remove the # next to music_plugin = plugins/ff7music.fgp?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: polaris_027 on 2009-08-10 23:39:13
what are you saying? should i delete that entire line?

# plugins
# a movie plugin is required, the music plugin is optional, but required to make FF7Music work
movie_plugin = plugins/ffmpeg_movies.fgp
#music_plugin = plugins/ff7music.fgp

can you be more specific please?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-10 23:39:50
just remove # next to #music_plugin = plugins/ff7music.fgp
that enables it once you remove the # so it looks like this
music_plugin = plugins/ff7music.fgp instead of this
#music_plugin = plugins/ff7music.fgp
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-10 23:48:20
Curlyoxide: No fix for that issue yet, but if you find any game-breaking issues with the FF7Music plugin please report it.

gigaherz: The source is technically available on request, but not in a form that compiles directly (partly because of some sensitive stuff, partly because I don't want to see any modified clones released). Oh and to be honest, "porting" it to D3D is just a massive waste of time, OpenGL is superior in every single way. :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-10 23:54:55
Ah ok thanks... no problem it really isn't like you said game-breaking lol just wanted to make sure it wasn't just me. Outstanding work none the less  the driver keeps getting better.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-11 01:43:52
Aali, if I may... you seem to have missed my question back there...   :-)


Aali nice job! Just wondering... will that direct mode for lpg files be implemented in ff8 driver as well? I mean, for the .fi .fs .fl files ?
Would be awesome!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: gigaherz on 2009-08-11 01:51:31
gigaherz: The source is technically available on request, but not in a form that compiles directly (partly because of some sensitive stuff, partly because I don't want to see any modified clones released). Oh and to be honest, "porting" it to D3D is just a massive waste of time, OpenGL is superior in every single way. :-P

I fail to see any superiority in ogl, but I'd rather not start a war here. :p
If you prefer not to share the src, or can't, it's ok. All I wanted was something "fun" to do this week, never pretended to make anything useful out of it anyhow. :p
Hell the way I am, even if you did share the src, I'd probably never get it working anyhow. I tend to get bored as soon as I get stuck somewhere for more than a few minutes.

As for releasing modified clones... well I'm rly not that kind of person, but you wouldn't know. All I did around here was some tiny little contribution to qgears (when it was still meant to be a ff7.exe replacement and not a generic engine :p)

Anyhow all I'm/was interested in would be the how to interface with ff7 engine, and decode/parse the file formats. If that's where the sensitive stuff is, and lacking it would make me do too much reverse-engineering work to recreate it, then nevermind. I don't have the patience to do reverse-engineering work myself.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-08-11 21:35:49
On my Windows XP

System Specs:
512MB Ram
Geforce Nvidia 5500 Graphic card
Dual Core processor


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?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-11 22:18:25
Whats your setup in the cfg file? You enable post-processing? that slows it down.Did you try turning the shaders off just to see if that helps performance wise?
Also the obvious make sure you have up-to-date video drivers
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Makubex (Mendelevium) on 2009-08-11 22:20:09
i am not sure.
I will get you that info soon..
it all depends, if i get to my PC tonight..
I am on my vista right now.
 :wink:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-11 23:34:56
Hey Peeps

Im running a advent qt5500 laptop with intel chipset. ive download the masterpeice of Aalis custom graphics driver. i have it all up and running smooth with the npc patch. but one little thing is bugging me. i have ff7 running on 1280x800 ress. but ive noticed when im in battle the magic/ sword skills all look pretty plain. i.e really dull lack of colour. blurry etc. now im sure i remeber playing ff7 years ago on the old school 3d graphics cards, and all the spell effects looked sharp and really colourfull. i have played around with ff7config and makes no differnce if its on direct 3d or software render. i also have a error about my graphics card dosent support 8bit textures npot from the custom graphics driver. unless that is wat my problem is. so please is there anyone out there who can help me out with this problem. or just tell me im getting it all wrong and im seeing wat i should be seeing. Im using the intel graphics chipset so no nvidia or ati. thanks so much peeps :) ^^

mindrip.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-11 23:49:45
First of all, open up app.log (in your FF7 install dir) and paste the first 10 or so lines here.

You should not start FF7Config after installing the driver or you'll have to import the .reg file again.
Don't worry about any of the graphics settings in FF7Config, they're either overridden or ignored with this driver.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-11 23:54:49
do you have the lastest video drivers for the laptop? that intel chipset is a pain.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-12 02:30:13
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
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-12 02:39:41
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?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-12 03:03:58
You have these current drivers (http://downloadcenter.intel.com/filter_results.aspx?strTypes=all&ProductID=2301&OSFullName=Windows+XP+Professional*&lang=eng&strOSs=44&submit=Go%21) for your laptop mindrip?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 04:31:57
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?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-12 04:35:51
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...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 04:39:35
The registry looks ok.  It's easy to verify, since if I use one of FF7's default renderers, the game crashes immediately.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-12 04:39:59
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?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 04:43:49
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 04:45:13
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-12 04:46:25
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?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 04:51:20
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!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-12 04:58:01
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-12 05:00:38
Make sure InstallPath (in the FF7 reg key) is correct, the driver reads this separately to determine where its files are.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 05:06:01
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:\
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-12 05:30:56
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 05:35:34
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Curlyoxide on 2009-08-12 06:19:32
Myk Does this (http://forums.qhimm.com/index.php?topic=8712.msg111158#msg111158) sound like your problem?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-12 06:20:24
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.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 06:27:10
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?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-12 06:30:45
@myk:

I'm sorry... u said the movies path is "D:\ff7\movies\" and said its the patch where u put DISC1 files into it...
If I may ask... if u really put all DISC1 files into this folder then... the movies would really be at D:\ff7\movies\ff7\movies\*.avi
And the game may be expecting the *.avi's to be exactly at D:\ff7\movies\...

sorry if I misunderstood what u said


EDIT: nvm... i've just read ur post again and now I understood
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-12 06:35:51
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?

HKLM/Software/Square Soft, Inc./Final Fantasy VII
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 06:36:28
Here's the output of APP.LOG with SSI_DEBUG set to "SHOWMETHEAPPLOG\0":

INITIALIZE DD/D3D START
DIRECT DRAW 2
TOTAL 335544320 FREE 335544320
DD MODE: W 800 H 600 P 3200 RGB 1 BPP 32
DD MODE: W 320 H 200 P 1280 RGB 1 BPP 32
DD MODE: W 400 H 300 P 1600 RGB 1 BPP 32
DD MODE: W 512 H 384 P 2048 RGB 1 BPP 32
DD MODE: W 640 H 480 P 2560 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 1280 H 1024 P 5120 RGB 1 BPP 32
DD MODE: W 1400 H 1050 P 5600 RGB 1 BPP 32
DD MODE: W 1600 H 1200 P 6400 RGB 1 BPP 32
DD MODE: W 1920 H 1200 P 7680 RGB 1 BPP 32
DD MODE: W 800 H 600 P 1600 RGB 1 BPP 16
DD MODE: W 320 H 200 P 640 RGB 1 BPP 16
DD MODE: W 400 H 300 P 800 RGB 1 BPP 16
DD MODE: W 512 H 384 P 1024 RGB 1 BPP 16
DD MODE: W 640 H 480 P 1280 RGB 1 BPP 16
DISPLAY MODE MATCH
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 1280 H 1024 P 2560 RGB 1 BPP 16
DD MODE: W 1400 H 1050 P 2800 RGB 1 BPP 16
DD MODE: W 1600 H 1200 P 3200 RGB 1 BPP 16
DD MODE: W 1920 H 1200 P 3840 RGB 1 BPP 16
DD MODE: W 800 H 600 P 800 RGB 1 BPP 8
DD MODE: W 320 H 200 P 320 RGB 1 BPP 8
DD MODE: W 400 H 300 P 400 RGB 1 BPP 8
DD MODE: W 512 H 384 P 512 RGB 1 BPP 8
DD MODE: W 640 H 480 P 640 RGB 1 BPP 8
DD MODE: W 1024 H 768 P 1024 RGB 1 BPP 8
DD MODE: W 1152 H 864 P 1152 RGB 1 BPP 8
DD MODE: W 1280 H 1024 P 1280 RGB 1 BPP 8
DD MODE: W 1400 H 1050 P 1400 RGB 1 BPP 8
DD MODE: W 1600 H 1200 P 1600 RGB 1 BPP 8
DD MODE: W 1920 H 1200 P 1920 RGB 1 BPP 8
Direct3D HAL
  Wine D3DDevice using WineD3D and OpenGL
EXCLUSIVE MODE
LOCK UNLOCK TEST
MATRIX INITIALIZE
ERROR: COULD NOT WRITE TO FILE TF2D.P
ERROR: COULD NOT READ FROM FILE TF2D.P
ERROR: COULD NOT WRITE TO FILE TF3D.P
ERROR: COULD NOT READ FROM FILE TF3D.P
ERROR: COULD NOT WRITE TO FILE TG2D.P
ERROR: COULD NOT READ FROM FILE TG2D.P
ERROR: COULD NOT WRITE TO FILE TG3D.P
ERROR: COULD NOT READ FROM FILE TG3D.P
ERROR: COULD NOT WRITE TO FILE T2D.P
ERROR: COULD NOT READ FROM FILE T2D.P
ERROR: COULD NOT WRITE TO FILE T3D.P
ERROR: COULD NOT READ FROM FILE T3D.P
ERROR: COULD NOT WRITE TO FILE TGT2D.P
ERROR: COULD NOT READ FROM FILE TGT2D.P
ERROR: COULD NOT WRITE TO FILE TGT3D.P
ERROR: COULD NOT READ FROM FILE TGT3D.P
ERROR: COULD NOT WRITE TO FILE SF2D.P
ERROR: COULD NOT READ FROM FILE SF2D.P
ERROR: COULD NOT WRITE TO FILE SF3D.P
ERROR: COULD NOT READ FROM FILE SF3D.P
ERROR: COULD NOT WRITE TO FILE SG2D.P
ERROR: COULD NOT READ FROM FILE SG2D.P
ERROR: COULD NOT WRITE TO FILE SG3D.P
ERROR: COULD NOT READ FROM FILE SG3D.P
ERROR: COULD NOT WRITE TO FILE S2D.P
ERROR: COULD NOT READ FROM FILE S2D.P
ERROR: COULD NOT WRITE TO FILE S3D.P
ERROR: COULD NOT READ FROM FILE S3D.P
ERROR: COULD NOT WRITE TO FILE SGT2D.P
ERROR: COULD NOT READ FROM FILE SGT2D.P
ERROR: COULD NOT WRITE TO FILE SGT3D.P
ERROR: COULD NOT READ FROM FILE SGT3D.P
INITIALIZE DD/D3D END
ERROR: COULD NOT OPEN FILE c:\ff7\ff7input.cfg
initializing sound...
creating dsound primary buffer
reading audio file
loading static sounds
sound initialized
INITIALIZING MIDI...
selecting device 1:TiMidity - TiMidity port 1, mid=255, pid=1,
midi data type: GENERAL MIDI
using midi data file: c:\ff7\data\midi\midi.lgp
midiOutGetVolume returned: ffffffff
MIDI INITIALIZED
set music volume: 127
MIDI set volume: 127
10036623060f 127 = 127
set music volume: 127
MIDI set master volume: 100
MIDI set volume: 127
10036623060f 127 = 127
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: LeeHiOoO on 2009-08-12 06:39:01
It seems to me.... permissions to access .p files
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 06:39:15
AFAICT, all the *.P files listed are writable and exist in the current directory (c:\ff7)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-12 07:26:16
Nah, that's just WINE's lack of a certain win95 compatibility fix, FF7 will always fail to write those files if the driver isn't loaded.

But it's pretty obvious that it's dropping to software mode.. I don't remember how to get this info off the top of my head, but WINE should be able to tell you exactly why the library isn't loading if you enable the right debugging channel(s).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: lukas227 on 2009-08-12 09:04:15
@myk: To me it looks like you don't have the 1.02 exe (that's what happens in my wine using the 1.00 exe)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-12 14:04:57
@Curlyoxide thanks for your reply, and yes this is the current driver i am running. but i just cant get the ff7 to render in 3d. ive tweaked with intels opengl settings and dosnt make anydifferce. i have also read someone that the intel 945 chipset dosnt support opengl 2.0, im running out of idears. i also notice that it does seem to render in 3d looking at the app.log with the standard ff7.config set to nvidia tnt. but i would like it to work with the custom driver.

if anyone can help i will be most gratefull

many thanks mindrip XD

I feel like giveing up intel graphics sucks. lol
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: _Ombra_ on 2009-08-12 14:23:36
Hey Aali,

you should create a hacked out or brand new version of FF7Config.exe which contains the third option to use your driver and takes care of modifying the registry based on the windows version, and maybe the possibility to set all extra options trough simple check marks or drop down menus inside it. And to make it perfect even autodetect older graphic cards and set the use_shaders option on know gfx that needs it, detect current resolution, wine and so on.

I know it sounds like a lot of work but that will make it the perfect driver. Easy and powerful. Just right for a 1.0 release (even with an installer) ;)

EDIT:
Almost forgot, it will solve the problem where FF7Config, if opened after the reg file is imported, will set the Driver value back to 1 and screw everything up :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: myk on 2009-08-12 14:56:32
@lukas227: Thanks!  I had thought the version installed from FFVIIXP.exe was the 1.02 patch.  Looking for 1.02 explicitly, though turned up http://www.gzanime.net/index.php?gz=dl&name=ff7 (http://www.gzanime.net/index.php?gz=dl&name=ff7) which was the correct one.  MIDI is still fuzzy and eventually stops entirely, but, for the first time, I can play beyond the first battle without the game crashing! Graphics and non-midi sounds are perfect, and everything runs smoothly!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-12 14:58:55
@Curlyoxide / Aali thanks for your reply, and yes this is the current driver i am running. but i just cant get the ff7 to render in 3d. ive tweaked with intels opengl settings and dosnt make anydifferce. i have also read someone that the intel 945 chipset dosnt support opengl 2.0, im running out of idears. i also notice that it does seem to render in 3d looking at the app.log with the standard ff7.config set to nvidia tnt. but i would like it to work with the custom driver.

if anyone can help i will be most gratefull

many thanks mindrip XD

I feel like giveing up intel graphics sucks. lol

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-12 15:51:07
@Curlyoxide thanks for your reply, and yes this is the current driver i am running. but i just cant get the ff7 to render in 3d. ive tweaked with intels opengl settings and dosnt make anydifferce. i have also read someone that the intel 945 chipset dosnt support opengl 2.0, im running out of idears. i also notice that it does seem to render in 3d looking at the app.log with the standard ff7.config set to nvidia tnt. but i would like it to work with the custom driver.

if anyone can help i will be most gratefull

many thanks mindrip XD

I feel like giveing up intel graphics sucks. lol

Just found out intel chipset only supports up to OpenGL Version=1.4.0  could this be my problem

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: lukas227 on 2009-08-12 16:57:28
@myk: midi has always been crappy, so I'm using ff7music which (thanks to aali's driver) works fine on linux. If the sound effects get cut off in a weird way, try setting Direct Sound Hardware Acceleration to Emulation in winecfg (Audio Tab).
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: willis936 on 2009-08-12 17:43:12
I'm using LoopBe because I can't seem to get the driver or ff7music to cut out the midi.  I've tried different combinations of music_plugin = plugins/ff7music.fgp and fake_midi = true but still no dice in ff7_opengl.cfg.

I was wondering if there is a trainer that works with this driver or do you have to use cheat engine?  Even then a lot of the values (save experience and gil) will likely be the same.  Levels, stats, things like that.  Plus it's limited in adding items and materia.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-12 17:50:02
Aali, does FF7Config do anything but edit the registry? It would be all too easy to replicate it if that's the case. Heck, I would do it if that's all it would take.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Satoh on 2009-08-12 21:37:36
This isn't a question specific to Aali's driver, but Aali would be the best to know the answer...

Does FFVII have backface culling?  I see a lot of people using the KH and CC style models in their mods (or otherwise cartoony looking textures) and I was thinking...

If there was backface culling, an inverted and enlarged version of all of the body parts, painted black, would make an effective black outline around the characters...

Granted I have no idea how many people would want a full anime look to FFVII... but I figured there's no harm in asking if it's possible.

Besides that, if anyone were to be able to add or remove functionality to FFVII's visual engine... I'd bet on Aali...(not that I'm asking for it... I don't even have my PC copy right now...)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: neohiei on 2009-08-13 14:49:38
Hey Aali, thanks for your stuff... it seems to be awesome! but not here,
when I use your stuff, FF7 asks to remove a no cd patch... I'm on 1.02 patch... what's wrong? any ideas?
Thanks all
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-13 14:52:08
Have you ever had a no-CD patch installed? (you shouldn't, BTW)

The driver is supposed to work with just a normal .exe with the 1.02 patch. I think there are problems whem no-CD cracks are used with the driver.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-08-13 20:33:30
how exactly does the new PNG loading work?  Do you still load textures into the /textures directory, or do you place them within the /direct folder?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-08-13 20:49:54
nm, FINALLY got it figured out.  I ended up creating a plain white, 4-bit paletted bmp and modifying the HEX values within that.  It was much easier to see where to insert my code than using a "real" image.

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-13 22:50:09
Hey Peeps

Is there a 1280x800 Saint patch buy anychance?. i cant get ff7 to render in 3d with my intel 945 chipset on Aalis custom driver.

many thanks xD
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-14 02:31:03
Firstly, this isn't a good place to ask that.
Secondly, no, there isn't one.
Thirdly, why doesn't the driver work, and have you considered trying to get it to work instead of immediately abandoning it?

From reading your other posts, here's what I would do.
Uninstall FF7. Make sure C:\Program Files\Square Soft, Inc\Final Fantasy 7 is completely gone.
Make sure your graphics drivers are updated to the latest version.
Reinstall FF7 straight from the CDs. Do not apply any patches or mods.
Apply the 1.02 patch by replacing FF7.exe and FF7Config.exe. Do not apply any other patches or mods.
Open FF7Config.exe and make sure MIDI is all good.
Install the graphics driver by unzipping the latest release to the folder that contains FF7.exe.
Run the correct reg file to put the driver into the registry.
Edit ff7_opengl.cfg and set fullscreen to false and resolution to 800x600.
Run the game and report back whether it works or not.

The driver should run on your card. OpenGL 2.0 support is irrelevant.
The two things you can't do are install other patches/mods and run FF7Config after the driver is installed. Most patches/mods will work with the driver, but worry about installing them *after* you have the driver working so you can revert back if they don't work.
Also, setting fullscreen to false is probably the simplest and most foolproof way to test whether the driver is loading. If it runs in a window, you've gotten it working. If it launches in fullscreen, something's wrong.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: willis936 on 2009-08-14 02:33:40
In his defense, at first glance it doesn't seem to do nearly as much as it's actually capable of.

Someone mentioned in another thread that a readme should be made for this to go over all of the features and how to use them.  If you do make one include a log of all changes, known issues/solutions, what it does exactly, compatibilities, etc.

Also, excellent work on this guys.  It's awesome.   8-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-14 03:21:54
Aali, sorry to finally (and sadly..) post a problem but, FF7 just crashed.

Right after Barret stepped forward to attack. here is the app log

Code: [Select]
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: NVIDIA Corporation GeForce 9800 GT/PCI/SSE2 3.0.0
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 1280x960, output resolution 1280x960, internal resolution 1280x960
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
ERROR: COULD NOT OPEN FILE C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\ff7input.cfg
initializing sound...
creating dsound primary buffer
reading audio file
loading static sounds
sound initialized
INITIALIZING MIDI...
selecting device 0:Microsoft GS Wavetable Synth, mid=1, pid=27,
midi data type: GENERAL MIDI
using midi data file: C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\Data\midi\midi.lgp
midiOutGetVolume returned: ffffffff
MIDI INITIALIZED
Failed to load: C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\Data\battle/battle.lgp

EDIT: Yeah, tried again, exact same error, Barret can attack once, then on his second attack he steps forward and it crashes..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-14 03:31:26
Well the forward slash before battle.lgp is weird... is your battle.lgp modified?  If so did you use Aali's LGP/UnLGP or LGPTools?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-14 03:32:19
modified, and LGPtools, and that was the first thing i noticed. About to try the original

EDIT: this time it just crashed RIGHT in the start of the battle with the original battle.lgp this time to desktop instead of locking up. Applog didn't generate

EDIT2: found the issue. sl1982's fonts when used in battle. Any idea why it might be doing that? He can't replicate it
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: neohiei on 2009-08-14 06:09:31
Have you ever had a no-CD patch installed? (you shouldn't, BTW)

The driver is supposed to work with just a normal .exe with the 1.02 patch. I think there are problems whem no-CD cracks are used with the driver.

Thanks for your reply... well, I installed a 1.02 downloaded somewhere... forgot where ^^ and thought it was an official version...
Do you think that no-cd is in another file? not in ff7 executable?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: neohiei on 2009-08-14 08:02:54
Ok, I reinstalled the game, took XP patch and give a try! It works perfect!!! plus in window mode :P
You guys are awesome ^^
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-14 10:45:17
@arew264 thank you for your reply. firstly i want to say sorry for my last post. i didnt mean to upset anyone i was just getting fustrated with it. i have tested out wat you mention and it seems to be working thank you very much :), ff7 pops up in a window. but i cant tell if its using 3d render or software this is my app.log as follows thanks again.

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 800x600, output resolution 800x600, internal resolution 640x480
INFO: No NPOT texture support
ERROR: init_indirect failed, scaling and postprocessing will be disabled
INFO: internal resolution clamped to 800x600
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END

Just noticed that DirectX is disabling Direct3d For some strange reason not sure why. maybe its all connect. going to reformat and start fresh and see if that solves anything
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-14 13:56:22
how exactly does the new PNG loading work?  Do you still load textures into the /textures directory, or do you place them within the /direct folder?

The old png loading scheme is still there, for replacing textures without FF7 knowing about it, or to replace things that aren't in .tex format.
However, if you want to load a normal texture for a model or whatever, you can just replace the tex file with a png and it'll work.

hellbringer616: It's very odd that you're having that error message for a font issue, but atleast you solved it.
Oh and forward slashes are not a problem.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-14 14:48:36
A NoCD crack would be in either ff7.exe or CDCheck.exe, depending on the approach used to block the CD check.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-08-14 14:51:50
@arew264 thank you for your reply. firstly i want to say sorry for my last post. i didnt mean to upset anyone i was just getting fustrated with it. i have tested out wat you mention and it seems to be working thank you very much :), ff7 pops up in a window. but i cant tell if its using 3d render or software this is my app.log as follows thanks again.

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 800x600, output resolution 800x600, internal resolution 640x480
INFO: No NPOT texture support
ERROR: init_indirect failed, scaling and postprocessing will be disabled
INFO: internal resolution clamped to 800x600
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END

Just noticed that DirectX is disabling Direct3d For some strange reason not sure why. maybe its all connect. going to reformat and start fresh and see if that solves anything

That log is perfectly normal. The driver doesn't use DirectX at all, it uses OpenGL. Right now, it's showing that your driver doesn't support OpenGL 2.0, which seems to be the case for most internal graphics drivers.
If you want to check whether you're using software or hardware rendering, enable the option to draw the FPS inside your game and/or raise the resolution to what you want and enable fullscreen again. The driver is loading, so now's the time to get your settings the way you want them.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-14 15:50:00
how exactly does the new PNG loading work?  Do you still load textures into the /textures directory, or do you place them within the /direct folder?

The old png loading scheme is still there, for replacing textures without FF7 knowing about it, or to replace things that aren't in .tex format.
However, if you want to load a normal texture for a model or whatever, you can just replace the tex file with a png and it'll work.

hellbringer616: It's very odd that you're that error message for a font issue, but atleast you solved it.
Oh and forward slashes are not a problem.

Oh figured it was. But the issue was it was calling for files that didn't exsist. Caused from the multiple colors flashing in the limit break
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-08-14 19:04:57
how exactly does the new PNG loading work?  Do you still load textures into the /textures directory, or do you place them within the /direct folder?

The old png loading scheme is still there, for replacing textures without FF7 knowing about it, or to replace things that aren't in .tex format.
However, if you want to load a normal texture for a model or whatever, you can just replace the tex file with a png and it'll work.

hellbringer616: It's very odd that you're having that error message for a font issue, but atleast you solved it.
Oh and forward slashes are not a problem.

I've got quite a few new textures onto the world map, it's looking promising that the whole map could be redone fairly quickly.  The hard part is that the entire texture isn't used everytime.  The engine kinda randomly picks a spot for every tile and flip/flops it around, so a single seamless texture doesn't work.  I've had success with a "noisy" grass texture, and it looks much better than the original.  I'm owrking on the clouds in the sky now, but they seem to be a bit different than the grass textures, and a simple swap in and out won't be the case.

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-14 21:28:09
FF7 Custom Driver FIXED!! intel 945gm chipset

Step 1 Install Final Fantasy 7 using your original CDs.

Step 2 Apply the ff7 1.02 patch. replace ff7.exe and config.exe in C:\ProgramFiles\Square Soft, Inc\FinalFantasy7

Step 3 Open ff7.config and test to make sure all midi/sound is working then close.

Step 4 Download and Apply Aalis Custom Graphics Driver (Latest Version) extract all files to the same directory as above.

Step 5 Right click on ff7_opengl (Registration Entry) and select merge to engage the driver.

Step 6 Replace your ff7_CFG file with the one i have uploaded. (Please note the changes i have made have got ff7 running like a dream on my intel 945 chipset if may or maynot do the same for you. Also the file has been set for 1280x800 ress. You can open the file in notpad and set the ress to wat ever suits you.)

http://rapidshare.com/files/267437457/ff7_opengl.rar (http://rapidshare.com/files/267437457/ff7_opengl.rar)

Step 7 Open your intel opengl settings. using your system tray icon, or right click desktop select properties. next click setting tab, then advanced. then select the intel  graphics media accelerator tab. Select Graphics Properties, then 3D Settings.

Step 8 Configure your settings as bellow.

Asynchronous Flip = ON
Triple Buffering = ON
Flipping Policy =BLITS
Depth Buffer Bit Depth =16 BITS PER TEXEL
Force S3TC Texture Compression = OFF
Force FXT1 Texture Compression = OFF
Driver Memory Footprint = NORMAL
Texture Color Depth = 16 BITS PER TEXEL
Anisotropic Filtering = ON

Step 9 Run ff7.exe and enjoy one of the best games ever made!!!

And there we have it running as sweet as a honey bees nutsack!!! xD

A big Shout goes to Arew264 For helping me Get this working thanks mate xD. And of course another Shout out to Aalis for makeing this possible pure genuis.

Thanks again peeps Mindrip XD




Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-14 21:40:15
can someone guide me on how to do this step by step for FF 8, cause I changed res in open gl but that didn't do anything res still stays the same, do I need to overwrite the original .dll with the one included in this driver? cause if I take out the original .dll ff 8 won't start, please help
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-15 01:17:15
can someone guide me on how to do this step by step for FF 8, cause I changed res in open gl but that didn't do anything res still stays the same, do I need to overwrite the original .dll with the one included in this driver? cause if I take out the original .dll ff 8 won't start, please help

Put the original eax.dll in your system directory (C:\Windows\System32 on most systems) and put the one included with the driver in your FF8 directory.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: willis936 on 2009-08-15 02:36:00
Now I'm not 110% certain that this is the driver since it may be the fact that I'm just using the PRP .lgps instead of their .exe (so I can use ff7music) but materia in game don't appear or shutter hard core.  Things like the key stone and other orbs.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-15 02:40:33
Now I'm not 110% certain that this is the driver since it may be the fact that I'm just using the PRP .lgps instead of their .exe (so I can use ff7music) but materia in game don't appear or shutter hard core.  Things like the key stone and other orbs.

It's a PRP bug, it doesn't even appear using the regular software renderer Just take the original Materia models

Materia - Black (hjgc)
Materia - Green (dabf)
Materia - Holy (gwib)
Materia - Pink (aude)
Materia - Red (awbe)
Materia - Teal (byib)
Materia - Yellow (ateb)

From the original char.lgp and put them in your new one. Then it works perfectly
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: willis936 on 2009-08-15 02:48:33
 :-o

While we're here, which file is the save point in the field.lgp?
I like the original more.   :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-15 02:50:20
:-o

While we're here, which file is the save point in the field.lgp?
I like the original more.   :-D

That would be this
Save Icon - Normal (avfe)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: willis936 on 2009-08-15 03:21:58
Thanks!  The materia worked perfectly but the save icon was the exact same size (160kb) which I would think is coincidence but the archive shows the same save icon as before...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-15 03:30:07
Hmm, not sure then. it's the only save point i know of in the char.lgp
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: willis936 on 2009-08-15 03:38:50
Also, this is very strange but the keystone still gives the same shudder issue.  I thought this was just shown as blue materia, perhaps it is not?

Is there a documented list of the field.lgp's file equivalents?

Okay, my bad.  I didn't replace Holy and avge was identical, but avga.p a few files down was smaller and I believe that's what it is, but I'm backing up and testing just to make sure.
Frack, regardless of these changes I still have the same keystone shudder and unchanged save point issues.  I'll fix 'em tomorrow.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: CygnusRekcah on 2009-08-15 04:49:43
ok I put original .dll in system directory but it says that the game cant start because the .dll was not found, BTW does this driver have an 8 bit paletted texture fix like magixts launcher?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Mindrip on 2009-08-15 14:14:36
Just a quick question, is there anyway to increase the resolution on the background images on ff7? a patch or mod or anything?

many thanks mindrip xD
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-08-15 15:12:10
Mindrip, does this also work for 915GM? I understand that the dialogs are all the same, but the 945 is the first one to be compatible with WDDM, and I suspect that there are some major under-the-hood differences that may affect other stuff like OpenGL also.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-15 15:49:07
Just a quick question, is there anyway to increase the resolution on the background images on ff7? a patch or mod or anything?

many thanks mindrip xD


With Aali's driver an Palmer you can, But it's VERY hard to do.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Napper on 2009-08-15 18:38:23
Why does the character eyes really stand out when using this opengl driver?

All the model's eyes look really dark and emphasized.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RagnarHomsar on 2009-08-15 20:41:07
EDIT: APP.LOG and Crash.dmp and screenshot: http://nintendoresort.net/ff8crash.zip

I tried using the FF8Launcher as well; did nothing.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RepeolRR on 2009-08-16 07:55:17
How do I configure the new Music driver after turning it on in the config? Do I have to install Ficedula's FF7 music as normal or just place the new PSF files somewhere?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-16 09:05:06
EDIT: APP.LOG and Crash.dmp and screenshot: http://nintendoresort.net/ff8crash.zip

I tried using the FF8Launcher as well; did nothing.

Get the Nvidia patch from Square, the non-Nvidia version doesn't work with 0.2b.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: RagnarHomsar on 2009-08-16 21:23:24
EDIT: APP.LOG and Crash.dmp and screenshot: http://nintendoresort.net/ff8crash.zip

I tried using the FF8Launcher as well; did nothing.

Get the Nvidia patch from Square, the non-Nvidia version doesn't work with 0.2b.
Thanks, it works now.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-17 04:52:55
Found another potential issue with the sound in FF7.  During the part in the Wall Market where you infiltrate the inn to get a vending machine item, after you get the item from the vending machine, the music immediately restarts from the beginning.

It may have always done that, but it seemed a little odd so I thought I'd let you know just in case.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Great Sephiroth on 2009-08-17 15:57:04
Sorry to disturb but i have a problem with the old drivers ff7music works well but when i install tjhe newest drivers 0.7.1  the music dont start

heres the app.log

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 640x480, window size 1280x960, output resolution 1280x960, internal resolution 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/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# 322
[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!!!
SET VOLUME 1: 127
stop_sound
[BATTLE] Entering FRAME_QUIT
[BATTLE] endof battle.
[BATTLE] Exitting FRAME_QUIT
Entering MAIN
Exiting MAIN
START OF MENU SYSTEM!!!
SET VOLUME 5: 127
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
cross play music: 0
set music volume trans: 127->0, step=4
MIDI cross fade: 6, time: 4
MIDI set volume trans: 127->15; step=2
MIDI set volume: 15
10036743060f 15 = 15
MIDI play: 6
reading midi file: MAKORO.mid
current volume: 15
MIDI set volume trans: 15->127; step=2
MIDI set volume: 127
10036743060f 127 = 127
MIDI is playing SUCCESSFULLY!!!
set music volume: 127
WM_CLOSE
Field Quit
MIDI stop - OK
resetting MIDI driver volume - OK
UNINITIALIZE DD
END UNINITIALIZE DD

edit: forget it i found what the problem is (have not read enough in this topic since the the version before this one)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-18 01:28:53
When the Sector 7 plate falls, the battle music doesn't stop playing when it should.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-18 01:41:28
When the Sector 7 plate falls, the battle music doesn't stop playing when it should.

for me, it just doenst play at all... idk why :(
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-18 02:09:20

for me, it just doenst play at all... idk why :(
Check the thread I made on setting up your FF7 Music, then use Aali's newest driver .7.1 and make sure to uncomment the plugins part of the .cfg.  And it should run just fine
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrisu on 2009-08-18 22:20:55
Wow dude this new graphics driver is just awesome!!
Very big thanks for that from me, you are a genius ^^

edit: one question, does the linear filtering work? or does it only work on the world map?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-08-18 22:22:39
i realize this is probably very premature, but is there any chance of you adding bumpmapping to a future version of your driver?

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-18 23:22:22

for me, it just doenst play at all... idk why :(
Check the thread I made on setting up your FF7 Music, then use Aali's newest driver .7.1 and make sure to uncomment the plugins part of the .cfg.  And it should run just fine
did u say... ff7 music? oh god no! the process of installing ff7music is sooo complicating that i wont even touch it! tho i wish i could but i dont want to f*** anything up  :oops:

EDIT: sincerest apologies for going off-topic
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-18 23:37:07
Aali, FF7 music is fixed, you put a # before the music patch you mades path, Remove it and FF7Music works like a charm
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-08-19 00:21:04
i realize this is probably very premature, but is there any chance of you adding bumpmapping to a future version of your driver?

lee
What would bumpmapping do? None of the game's assets use it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-08-19 19:44:57
well, older games (such as deus ex) have implemented bumpmapping and the effect is tremendous.  The world map with bumpmapped textures, weapons, enemies, player models, etc... could all be outfitted with bumpmaps.  Obviously this would only apply to custom content, the stock textures and materials would not show them by default.  Not sure if it is even possible due to the fact that the game has static lighting, so most bumpmaps would not really change depending on angle of viewing.  Still, i thought it might be interesting.

Just a question.

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-19 19:49:57
To be fair, it doesn't have static lighting, try moving around at the bottom of the north crater for example, the green light is clearly coming from the center of the screen.

However, the lighting system is pretty simple, and it may not contain enough information about the lights to do all kinds of effects.

Of course none of this matters if I can't be arsed to actually understand how the software lighting works, something which I have yet to do.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-08-19 22:10:31
To be fair, it doesn't have static lighting, try moving around at the bottom of the north crater for example, the green light is clearly coming from the center of the screen.

i stand corrected :)  However, most of the game seems to take place in the same level of lighting(battles, world map, alot of scenes/backgrounds)  and i was just curious.  It's a piece of cake to create textures and bumpmaps for them, but alas, i lack the understanding to even begin to see how the light systems actually "lights".  I wish you the best of luck, you've done an excellent job so far!  Even without, the tools you've already provided have given a much needed boost to the FF7 (and FF7+) modding community.

lee
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-20 04:45:57
Aali, just a few basic questions on your driver (and a possible request)

From sl1982: Are semi transparent pixels on pngs ignored with your driver?

And now, when your driver loads up many PNG's at once there is lag. Is it possible to preload some of these textures (mostly for the menu/limit break i'd think) into memory without to much impact on performance? normal requirement for FF7 is 32mb, and 90% of PC's today have AT LEAST 512 so i'd think it wouldn't be to bad. But i don't know much about that.

If we can't preload them, Is it possible to make them load faster?

Thanks for your time in making your driver by the way, It is a must have if you play FF7
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-08-20 06:00:04
PNG files are not the most efficient file formats in the world. They take time to decompress. If yo need quick, you may want to try something with a little less compression.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-20 07:02:48
Quote from: obesebear
Found another potential issue with the sound in FF7.  During the part in the Wall Market where you infiltrate the inn to get a vending machine item, after you get the item from the vending machine, the music immediately restarts from the beginning.

It may have always done that, but it seemed a little odd so I thought I'd let you know just in case.
When the Sector 7 plate falls, the battle music doesn't stop playing when it should.
Upon waking up after Jenova's escape from Hojo's lab, the "resting" music continues playing until you inspect the guard.
Something also happened while RedXII and Aerith were in the tank, but I don't remember what  :-P

I figure I'll just keep modifying this one post with all the Music problems I discover
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-20 07:07:36
PNG files are not the most efficient file formats in the world. They take time to decompress. If yo need quick, you may want to try something with a little less compression.

I'll bring that up. Can Aali's driver load anything other then png? what format would you recommend?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-20 07:59:35
Nevermind that, the next version of the driver will only ever load external textures once.

Right now it'll reload the texture every time FF7 reloads the original texture, and that's pretty often.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BlitzNCS on 2009-08-20 12:38:35
 :-D :-D :-D Sweet! :-D
but....wont that make FF7 eat up RAM or VRAM or something?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-20 16:10:38
Means that for sl1982's GUI mod on top of FF7 you'll be using 35.5mb of RAM haha So i don't think it will

EDIT: Aali, what about semi transparent pixels? sl1982 wants to use AA'd fonts but can't because his semi transparent pixels show up solid.

Anyway to implement this?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cyberman on 2009-08-21 02:01:42
Nevermind that, the next version of the driver will only ever load external textures once.

Right now it'll reload the texture every time FF7 reloads the original texture, and that's pretty often.
And how much memory will you consume as a consequence? Remember the more memory you consume without releasing it the more likely you'll have:
1 a memory leakage issue
2 a slower program due to swapping because other programs running need memory.

Microsoft assumes that RAM is theres (not a joke it's a fact) and they do use a HUGE chunk of it even if it doesn't look like it.  This means you'll always have SWAPPED out memory.
Any time you have large chunks of allocated memory you will get slower hard disk performance. This is because of SWAPPING caused by loading more data into memory. It seems part of there allocation scheme for memory involves swapping data out immediately (to keep more room for ... something).

Anyhow.. windows is ill behaved with large memory allocations.  Hence I recommend you consider a texture caching scheme before you make it difficult to implement.

Genius is the art of planning ahead.

Cyb
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-21 02:10:46
I thought thats what he was going to do was cache the textures
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-21 06:55:54
I'm an idiot
A word of advice to anyone who stumbles upon this message.  DO NOT delete any of the files in the wm folder...
The .p files in the other folders seem to be fine to delete, but the ones in 'wm' are important.  Let this be a warning to anyone else who foolishly goes around deleting stuff in their folders :P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: posh927 on 2009-08-21 11:12:32
accidentally sent please delete this
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: posh927 on 2009-08-21 11:20:42
hey can anybody tell me what happened here?

its on temple of the ancients after you solve the puzzle with the 'ancient'..it said error opening 'BLDD.chi' file..i was modding sephiroth prior to this and then this happened..i tried to put the original sephiroth but problem not solved..anybody help? cause i didnt back up my files.. :cry:

http://www.mediafire.com/?ynzzymmkjmz
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: V95 on 2009-08-22 09:36:30
Heys, I'm a newb here.

I can't seem to download the FF7 custom driver, I don't know if the link is dead or that my internet has got a problem.
Could you please kindly upload a mirror? :S I really wanna try this out, looks awesome!

BTW, does this support resolution 1366x768 (16:9)?

P.S: Sorry for any inconvenient caused.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-22 09:41:03
I think that the driver will support any resolution, but you should configure it to preserve aspect ratio when playing on a widescreen monitor (unless you want the picture to be stretched out).

BTW, I'm getting a timeout from Aali's link as well :|
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-08-22 10:04:17
I think that the driver will support any resolution, but you should configure it to preserve aspect ratio when playing on a widescreen monitor (unless you want the picture to be stretched out).

BTW, I'm getting a timeout from Aali's link as well :|
Yeah, same here. Try again tomorrow. Maybe it'll be back hopefully.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: V95 on 2009-08-22 15:14:58
Well, guess I've got to wait then, kekes! I'm glad that it's not my connection tho, cause my internet gone haywire nowadays :oops:

Thanks alot for the prompt reply guys!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: secondadvent on 2009-08-22 18:46:35
dang... i wanted to update my version from whatever version i have that is not that one :P.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: sl1982 on 2009-08-22 20:15:19
Aali is there any way i can get more detailed information about what tex files are loaded when from the driver? Im trying to hunt down some textures for some of the spells and if the driver was able to show what was loaded that would be cool. Maybe added to the app.log?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-22 21:53:22
hey can anybody tell me what happened here?

its on temple of the ancients after you solve the puzzle with the 'ancient'..it said error opening 'BLDD.chi' file..i was modding sephiroth prior to this and then this happened..i tried to put the original sephiroth but problem not solved..anybody help? cause i didnt back up my files.. :cry:

http://www.mediafire.com/?ynzzymmkjmz
BLDD is an animation file that Sephiroth uses, and somehow you've corrupted it.


Here is a temporary mirror for OpenGL .7.1 http://www.mediafire.com/download.php?yt52d4hmlon (http://www.mediafire.com/download.php?yt52d4hmlon)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: secondadvent on 2009-08-22 22:32:56
thanks for the temp link obesebear, i probably would have kept clicking refresh all day otherwise :3.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-23 01:21:55
I know this might sound a little strange with me only just joining but i kinda went here before i had a profile, i can give you a backup place to host if you want i got an unlimited package from my webhost so space is no problem and ether is bandwith so if you want just ask me or email me.

Edit: forgot to mention there is no strings or anything like ads just a direct link.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-08-23 02:08:43
The link for all the stuff seems to be dead.  Any word on when it will be going back up?  Also dear god an FF8 patch.  Took me completely by surprise.  GOOD SHOW SIR.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-23 02:27:17
If Aali runs his own server then maybe his server (and possibly his PC) are down. since he hasn't been on here.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Fleet Command on 2009-08-23 07:20:12
Yes. For all intents and purposes, his server IS down. No response to HTTP requests, no response to ping... but domain name is fine.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: V95 on 2009-08-23 09:18:25
Uh, may I ask if the mirror link is completely same as the original? If so, then it's my stupidity that I couldn't get anything to work.

I downloaded from the mirror link and followed Aali's post about how to get things work (by just clicking the reg file to enter it inside the registry it said), but I failed.

I mean, I don't see any differences from before. How do I configure things, or do I even need to? Ugh..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-23 15:48:50
Uh, may I ask if the mirror link is completely same as the original? If so, then it's my stupidity that I couldn't get anything to work.

I downloaded from the mirror link and followed Aali's post about how to get things work (by just clicking the reg file to enter it inside the registry it said), but I failed.

I mean, I don't see any differences from before. How do I configure things, or do I even need to? Ugh..
Yes, it's the exact download Aali had up.  I'm guessing you're not using windows XP... try running different things as admin and see if that helps.  Also go into the .cfg and set 'fullscreen=no'
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Trenholm on 2009-08-23 16:22:58
The mirror link is the FF7 driver, I'm looking to get the FF8 one.  Would anyone who happens to have it be able to host it so I can get it?  big thanks.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-23 16:54:11
The mirror link is the FF7 driver, I'm looking to get the FF8 one.  Would anyone who happens to have it be able to host it so I can get it?  big thanks.
Here is a temporary mirror of FF8 .2a OpenGLhttp://www.mediafire.com/download.php?qhh12duzzdw (http://www.mediafire.com/download.php?qhh12duzzdw)
I had to combine the files myself, so something COULD be missing
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-23 17:44:40
Ignore me
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-23 17:47:42
http://www.mediafire.com/?sharekey=932606d10a896c23d9d5c56d04dfa8b09b35e5b0a72c83e85621d66e282a0ee8

Aali's driver, .7.1b untouched for everyone (good think i keep backups XD)
Psssstt...
Here is a temporary mirror for OpenGL .7.1 http://www.mediafire.com/download.php?yt52d4hmlon (http://www.mediafire.com/download.php?yt52d4hmlon)
Welcome to yesterday  :-P
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-23 17:58:57
Oh thought you had an FF7 not FF8. my bad on the reup haha
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Matt2Tees on 2009-08-23 18:34:51
The mirror link is the FF7 driver, I'm looking to get the FF8 one.  Would anyone who happens to have it be able to host it so I can get it?  big thanks.
Here is a temporary mirror of FF8 .2a OpenGLhttp://www.mediafire.com/download.php?qhh12duzzdw (http://www.mediafire.com/download.php?qhh12duzzdw)
I had to combine the files myself, so something COULD be missing

Thanks for this Mirror, I've just re-installed my copy of FF8 and wanted this driver
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-24 00:59:54
if anyone can get unaltered compressed files i can put them on a permant link on my server
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Fleet Command on 2009-08-24 06:37:34
Aali's driver aside, Aali himself/herself has been missing for three days now. Now, I know I shouldn't worry about people who are missing on Friday, Saturday or Sunday but somehow I cannot force my sentements to submit.

Let's just hope Aali and his/her server are both on a well-deserved vacation.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: V95 on 2009-08-24 09:46:25
Uh, may I ask if the mirror link is completely same as the original? If so, then it's my stupidity that I couldn't get anything to work.

I downloaded from the mirror link and followed Aali's post about how to get things work (by just clicking the reg file to enter it inside the registry it said), but I failed.

I mean, I don't see any differences from before. How do I configure things, or do I even need to? Ugh..
Yes, it's the exact download Aali had up.  I'm guessing you're not using windows XP... try running different things as admin and see if that helps.  Also go into the .cfg and set 'fullscreen=no'

Uhm, sorry but how do I open .cfg files, with what programme? :S
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-08-24 09:59:14
notepad
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-08-25 07:58:38
Aali i am tryin to download your latest ver for ff7 driver(http://backup.ninjaloot.se/share/ff7_opengl-0.7.1b.zip) I seems there is somethin wrong with your sever or its down any way you can up load it somewhere else? please and thank you



Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-25 10:44:52
like i said if someone can get the unaltered files i can host them as a backup.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-08-25 15:59:26
i have the original ZIP files by Aali still if you want them. I have most of Aali's stuff in the original archive still.
It includes
ff7_lessdebug.zip
ff7_opengl-0.1a.zip
ff7_opengl-0.2b.zip
ff7_opengl-0.3b.zip
ff7_opengl-0.4b_.zip
ff7_opengl-0.5b.zip
ff7_opengl-0.6.10b.zip
ff7_opengl-0.6.1b.zip
ff7_opengl-0.6.2b.zip
ff7_opengl-0.6.3b.zip
ff7_opengl-0.6.6b.zip
ff7_opengl-0.6.8b.zip
ff7_opengl-0.6.9b.zip
ff7_opengl-0.6b.zip
ff7_opengl-0.7.1b.zip
ff7_opengl-0.7.1bv2.zip    (I RENAMED THIS ONE. THIS IS THE GOOD ONE, THE ONE ABOVE THIS ONE WAS THE FIRST RELEASE OF 0.7.1b AND WAS BROKEN)
ff7_opengl-0.7b.zip
ff7_opengl_0.1a-zfix.zip
ff8_opengl-0.1a.zip
ff8_opengl-0.2a.zip
palmer-0.2a.zip
palmer-0.3a.zip

The only one i renamed was ff7_opengl-0.7.1bv2.zip because Aali released it twice but it is still the original ZIP just renamed. I also have palmer-0.1a.zip on my other computer if anyone needs the old version for some reason. Also there is some other files in the zip which are just files from Aali's Sever and 1 file i think i added by accident.
http://www.mediafire.com/?nmkfjjzzdeq
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KnifeTheSky77 on 2009-08-25 15:59:59
like i said if someone can get the unaltered files i can host them as a backup.

(MOD EDIT)
Ascii Art is obnoxious, and looks terrible on fixed/foreign fonts.
Please don't.
(MOD EDIT)

ff7_opengl-0.7.1.b.zip
http://www.megaupload.com/?d=0DV772SB

ff7_opengl-0.6.10b.zip
http://www.megaupload.com/?d=6E9KWUN0

Edit: God dam you kranmer  :mrgreen:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-08-25 16:29:31
knifethesky77 Thanks for the link

kranmer is this all his zip in this one download?


EDIT: OH nevermind dowloaded it and all his zips are here thanks kranmer way to be a life saver
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-25 20:21:48
SexyActionSquad - Fixed link - UK - No speed caps - No wait

-------------------------------------------------------------

Downloads:

Final Fantasy VII OpenGL Drivers

FF7_Lessdebug         | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_lessdebug.zip
FF7_opengl-0.1a       | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.1a.zip
FF7_opengl-0.2b       | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.2b.zip
FF7_opengl-0.3b       | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.3b.zip
FF7_opengl-0.4b       | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.4b_.zip
FF7_opengl-0.5b       | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.5b.zip
FF7_opengl-0.6.10b   | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.6.10b.zip
FF7_opengl-0.6.1b    | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.6.1b.zip
FF7_opengl-0.6.2b    | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.6.2b.zip
FF7_opengl-0.6.3b    | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.6.3b.zip
FF7_opengl-0.6.6b    | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.6.6b.zip
FF7_opengl-0.6.8b    | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.6.8b.zip
FF7_opengl-0.6.9b    | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.6.9b.zip
FF7_opengl-0.6b       | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.6b.zip
FF7_opengl-0.7.1b    | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.7.1b.zip
FF7_opengl-0.7.1bv2 | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.7.1bv2.zip
FF7_opengl-0.7b       | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl-0.7b.zip
FF7_opengl 0.1a-zfix  | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff7_opengl_0.1a-zfix.zip

Final Fantasy VII Mods

FF7Run_unrun | http://www.sexyactionsquad.co.uk/downloads/aali_files/FF7Run_unrun.rar
FF7Run_YAMP | http://www.sexyactionsquad.co.uk/downloads/aali_files/DefaultRun.rar
FF7Music        | http://www.sexyactionsquad.co.uk/downloads/aali_files/FF7musicbundle.zip
Team Avalanche's GUI Overhaul beta6 | http://www.sexyactionsquad.co.uk/downloads/aali_files/Team%20Avalanche%20GUI%20beta6.rar

Final Fantasy VIII OpenGL Drivers

FF8_opengl-0.1a | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff8_opengl-0.1a.zip
FF8_opengl-0.2a | http://www.sexyactionsquad.co.uk/downloads/aali_files/ff8_opengl-0.2a.zip

Other Files

MDef_YAMP  | http://www.sexyactionsquad.co.uk/downloads/aali_files/MDef_YAMP.rar
Palmer-0.2a  | http://www.sexyactionsquad.co.uk/downloads/aali_files/palmer-0.2a.zip
Palmer-0.3a  | http://www.sexyactionsquad.co.uk/downloads/aali_files/palmer-0.3a.zip
Vncviewer_dualmonitor_scroll | http://www.sexyactionsquad.co.uk/downloads/aali_files/vncviewer_dualmonitor_scroll.zip

-------------------------------------------------------------

Contact Info:
Email¬
[email protected]
[email protected]

Contact if you want something hosted.

Enjoy,
(http://img10.imageshack.us/img10/8449/91217446m.png)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-26 02:12:17
http://forums.qhimm.com/index.php?topic=8758.0 (http://forums.qhimm.com/index.php?topic=8758.0) This should be hosted.  It's two years old and who knows when he'll realize it and take it down.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-26 02:21:09
http://forums.qhimm.com/index.php?topic=8758.0 (http://forums.qhimm.com/index.php?topic=8758.0) This should be hosted.  It's two years old and who knows when he'll realize it and take it down.

Added under "Final Fantasy VII Mods"

Edit: i would add more but filefront isent responding for me.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Deaths Head II on 2009-08-26 03:00:28
Hi, I'm a newbie and I keep encountering a problem.

I get an error that causes my game to crash when entering a random battle in the North Crater. It seems to happen randomly. I installed the latest version of the driver after the crashes started popping up (many thanks for the alternate links) and it stopped crashing for a while but now it seems to be doing it again and more frequently.

http://www.megaupload.com/?d=ASZUNM5T
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-26 03:08:09
If you have an app.log in the same folder as your FF7Music, post that
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Deaths Head II on 2009-08-26 03:50:53
I already copied the App.LOG from my ficedula folder since I noticed that had more text then the one in the main folder. I tried putting it in the folder I linked, but if it's not showing up there then here is a link to the file by itself.

http://www.megaupload.com/?d=CM791IG5
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-26 04:24:40
No it works fine.. the FF7Music one is usually more specific.  Here's the problem
Code: [Select]
[BATTLE] Entering FRAME_INITIALIZE
[BATTLE] Scene# 869
[BATTLE] Exitting FRAME_INITIALIZE
ERROR: unhandled exception
Something is wrong with scene #869.  My guess is that has to do with the battle.lgp... or maybe even menu_us.lgp.  But I really have no idea.  And I definitely don't know how to read a crash.dmp
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-26 04:26:07
try replace them 2 files with the orignals but keep the current ones backed up untill you get past the crash zone save it and put the moded files back in see if that does anything
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kranmer on 2009-08-26 07:07:25
Aali's server is back online
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-26 14:18:43
Aali's server is back online

Hurrah!

Although it seems that Aali himself isn't...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ultima espio on 2009-08-26 15:19:26
Its only been 5 days since he was last online, dont panic lol.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-26 15:19:45
That's 5 years in internet time :-D

And he used to be on all the time, so it's quite out of character :|
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-26 15:28:28
i dont know him, but mabby isp problems? happened to me before so
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ultima espio on 2009-08-26 17:24:46
Well it is August, so he could have just gone on holiday for a week.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-26 17:26:42
Well it is August, so he could have just gone on holiday for a week.

How selfish! :x
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-27 10:02:00
The rumors of my vacation have been greatly exaggerated.

I moved to a new city, had ISP problems and went to uni, in that order.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-27 13:32:46
yay i got one
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: obesebear on 2009-08-27 14:33:51
The rumors of my vacation have been greatly exaggerated.

I moved to a new city, had ISP problems and went to uni, in that order.
Glad to hear it wasn't a tragic house fire, or a freak tornado or something :-)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-27 16:16:49
Great to have you back Aali
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cyberman on 2009-08-27 22:06:38
The rumors of my vacation have been greatly exaggerated.

I moved to a new city, had ISP problems and went to uni, in that order.
But more importantly you didn't go into net withdrawl LOL

Vacation right now sounds nice ... really really nice.

Cyb
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: halkun on 2009-08-28 00:14:40
Cyb! Welcome! Where have YOU been?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-08-28 16:20:19
I just had my second crash today, I don't know if it's a driver thing or something else? It doesn't bother me much, thanks to the emergency save (that's a life saver since I'm at the end of the game where saving is not possible).

App.log and Crash.dmp is here:
http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871)

You're seeing the same crash as Chrysalis had a while ago.. I thought it was just his garden gnomes being upset, but apparently there's a real issue here. See if you can find a pattern to this problem. Are you using Barret with slash-all by any chance?

(phew, thats the entire backlog of crash dumps :-))

Aali I did fine a 2nd problem with my pc as well, it was failing memtest86 so I toned down the ram timings, this and the hdd swap and now I am getting no crashes at all again, so I think my crash wasnt your driver.  If you disagree I take your word for it :) bot no crashes again now so am happy.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Chrysalis on 2009-08-28 16:21:34
I just had my second crash today, I don't know if it's a driver thing or something else? It doesn't bother me much, thanks to the emergency save (that's a life saver since I'm at the end of the game where saving is not possible).

App.log and Crash.dmp is here:
http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871 (http://www.mediafire.com/?sharekey=98720e415c6a419f0dec85adfe0a530ae04e75f6e8ebb871)

You're seeing the same crash as Chrysalis had a while ago.. I thought it was just his garden gnomes being upset, but apparently there's a real issue here. See if you can find a pattern to this problem. Are you using Barret with slash-all by any chance?

(phew, thats the entire backlog of crash dumps :-))


First of alll, thanks for taking a look! I didn't have Barret in my party, and as for a pattern, I didn't see one. Both my crashes happened after some battle in the Northern Crater. After loading the emergency save, I could finish the game without any problems. I don't know if it's relevant, but I did install a few mods: YAMP fix for framerate and transparent dialog boxes, and I also installed the NPC_Reconstruction_Project_for_FF7PC_0.6_mod. To sum it up, your driver worked great and I finally managed to finish this game without any glitches,except for the above mentioned two crashes at the end of the game.

I also have yamp frame rate limiter and transpert dialog box patches.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Cyberman on 2009-08-29 22:07:18
Cyb! Welcome! Where have YOU been?
Working on the OSMC 4? (Open Source Motor Controller) It's in yahoo groups.
Since I'm an engineer by job, training, and by blood (4th generation) it's something I do :D
Programming is something I do as well.

Aali your PC DLL is probably going to make those old programs (FF7 FF8 PC) go a lot longer.

Cyb
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-08-30 02:38:10
If only I could find some time sober to do the FF8 version properly...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Metaphoria on 2009-08-30 02:58:45
I've gotten this driver to work and can get in game but the movies don't play. I can play them in WMP and have all the truemotion codecs and what not but they won't work in game. I have the correct movies folder set in the registry too. The APP.LOG told me this

Quote
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 Mobile Intel(R) 4 Series Express Chipset Family 2.1.0 - Build 8.15.10.1808
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 640x480, output resolution 640x480, internal resolution 640x480
INFO: No errors.
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:Microsoft GS Wavetable Synth, mid=1, pid=27,
midi data type: GENERAL MIDI
using midi data file: C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\Data\midi\midi.lgp
midiOutGetVolume returned: ffffffff
MIDI INITIALIZED
set music volume: 127
MIDI set volume: 127
100% of 127 = 127
set music volume: 127
MIDI set master volume: 100
MIDI set volume: 127
100% of 127 = 127
Entering MAIN
Exiting MAIN
START OF CREDITS!!!
ERROR: couldn't open movie file
ERROR: couldn't open movie file

set music volume: 127
MIDI set volume: 127
100% of 127 = 127
MIDI play: 95
reading midi file: PRE.mid
current volume: 127
MIDI is playing SUCCESSFULLY!!!
WM_CLOSE
END OF CREDITS!!!
Field Quit
MIDI stop - OK
resetting MIDI driver volume - OK
UNINITIALIZE DD

Any ideas?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-08-30 03:00:39
add a \ at the end of the movie path chances are thats your issue, should be something like this "C:\program Files\Square Soft, inc.\Final Fantasy VII\Movies\" note the final slash, I forget to do that and get that issue EVERYtime haha
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: sl1982 on 2009-08-30 04:48:56
If only I could find some time sober to do the FF8 version properly...

Nothing wrong with not being sober. AS a matter of fact i am definately not sober right npw
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-08-30 09:26:11
If only I could find some time sober to do the FF8 version properly...

Nothing wrong with not being sober. AS a matter of fact i am definately not sober right npw


Lol right ain't that the truth nothin worng about relaxin with a nice cold one
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-08-30 17:32:11
If only I could find some time sober to do the FF8 version properly...

Nothing wrong with not being sober. AS a matter of fact i am definately not sober right npw


Lol right ain't that the truth nothin worng about relaxin with a nice cold one
I'm probably alone in this, but I don't drink. At all.

Unless you count coffee.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-08-30 19:46:33
If only I could find some time sober to do the FF8 version properly...

Nothing wrong with not being sober. AS a matter of fact i am definately not sober right npw


Lol right ain't that the truth nothin worng about relaxin with a nice cold one
I'm probably alone in this, but I don't drink. At all.

Unless you count coffee.

Pepsi Addict reporting in!
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-08-31 19:32:25
um real quick how do i run a custum res at 1440X900 with this driver
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-31 19:35:04
 :roll:

Open ff7_opengl.cfg in notepad, look at "# set the window size", and set it to this:

Code: [Select]
window_size_x = 1440
window_size_y = 900
preserve_aspect = true
fullscreen = true
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-08-31 19:59:15
:roll:

Open ff7_opengl.cfg in notepad, look at "# set the window size", and set it to this:

Code: [Select]
window_size_x = 1440
window_size_y = 900
preserve_aspect = true
fullscreen = true

so does fullsceen ant preseve got to say  TRUE or just yes
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-31 20:00:47
Dunno. I'd say "true", just to be sure. Anyway, it's only one extra letter.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-08-31 20:03:10
and it is said you cant run this driver with the nivdia tnt patch correct
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-08-31 20:07:39
I haven't heard of this, but in any case, I don't think you need those patches with the driver. What is true is that if you do anything with FF7 config after installing the driver, the driver won't work until you reset the registry entries. erhaps whoever said that meant that you can't get the benefit of the patch and the driver at the same time? Anyway, I don't think it matters. The driver works for me and I think that I've used the Nvidia patch at some point :roll:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-08-31 20:16:05
Ok thanks for the info but i but bak on page 12 grimmy307 post a pic with grid lines on it see when i try to run the driver and the tnt patch i get the grid lines like that but all my characters are just fine now when i dont use the tnt patch the grid lines are gone but my charaters are all messed up well just tifa and aeris missing there face and stuff the are custum charters any one know y it does this and how to fix it
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-09-01 04:07:53
whats actually the difference between this driver and and tnt patch?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-09-01 04:14:33
This is assuming you're talking about the FF7 driver.

install Aali's driver by dropping it onto your FF7 directory. then open the .cfg file (if in Vista disable UAC or do this in the desktop) then change it to the settings you want. run Aali's reg file and done, must be using FF7 patch 1.02

If this is about the FF8 driver. I can't be of any help here, and disregard everything i said.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-09-01 04:27:17
This is assuming you're talking about the FF7 driver.

install Aali's driver by dropping it onto your FF7 directory. then open the .cfg file (if in Vista disable UAC or do this in the desktop) then change it to the settings you want. run Aali's reg file and done, must be using FF7 patch 1.02

If this is about the FF8 driver. I can't be of any help here, and disregard everything i said.

Ok im using vista and im talkin about ff7 so i disabled uac but are you saying since i disabled uac to run the regular file or the vista 64 file
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-09-01 04:34:53
you don't HAVE to disable UAC, you can put the config file on the desktop, change the settings, save it, then put it back in the folder.

If you are running anything other then Vista/7 64 bit, then use the other reg. to check click on the start orb, right click on my computer and select properties.

look under System, and look for System type. if it doesn't say 64 bit operating system, then just run the regular reg file
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-09-01 05:13:25
OMG i got it thank you hellbringer for all your help and thank you Kudistos Megistos for your help also i guess i was never really installing the driver correctly thats y i could do what i wanted to but thanks to yall i finally got it workin the way i want it too
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-09-01 05:18:59
No problem, I'm pretty much tech support here haha :-D
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: MilesTailsPrower on 2009-09-01 14:34:58
ever been tech support for a company that has that one person who demands to use a mac,
god i hated that XD
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-09-01 20:14:07
Hey Aali!

Just thanks again for your fantastic Custom Driver!

I wrote a PC FAQ on the official german FinalFantasy.de Forum and put your Driver right there- I uploaded your Driver on my server and it has been downloaded over 3000 times! Everyone LOVES it! Really! Here the link to the FAQ:
http://forum.finalfantasy.de/thread.php?threadid=57314 (http://forum.finalfantasy.de/thread.php?threadid=57314)

And we're all waiting for your updates :) Oh, I didn't forgot you, you're standing in the Credits in the first post :D

See ya,

Deniz
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-09-01 20:54:51
Do you link back to this thread anywhere?
Preferably, you should do that instead of providing your own download mirror, but I can see how that could be confusing for non-english speakers.
Still, people who can should contribute to this thread.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-09-01 21:01:08
This thread will always have the latest up to date version, which is a huge plus.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: sl1982 on 2009-09-02 00:38:47
Aali is partially transparent pixels in png's on your list of improvements? If it was it would be awesome
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Eslava on 2009-09-03 15:50:34
I encountered a bug but I don't know if it's because of the driver or it's a known glitch so please ignore the post if it's one of those.
When playing at the northern crater the shadows of the characters in battle started to act strange (they grow bigger then move around the screen and things like that, like poltergeist shadows), the only thing i can remember is that they started to act strange just after the dragon zombie casted pandoras box and that glitch was carried to the other battles aswell. I will put a pic/app.log when i get back home.
PD I was using vincent/cait sith/cloud and only vincent's shadow was not acting strange, cait's and cloud's were.

EDIT: I can confirm that glitch happens when the dragon zombie casts pandoras box, also the texture of shadowflare sometimes does strange things and the save points 'glow' dissapear.


(http://img405.imageshack.us/img405/7682/shadowglitch.png) (http://img405.imageshack.us/i/shadowglitch.png/)

(http://img156.imageshack.us/img156/3706/shadowglitch2.png) (http://img156.imageshack.us/i/shadowglitch2.png/)

Whops the app.log is too long to post, i was playing for quite a long time..
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-09-03 16:14:59
Aali, I made an easy-installer for your custom driver- and for all other mods. On this way it's easier for the people to apply it. And I am updating the driver whenever a newer version comes out. If I see a bug, which is not posted here, I will post it here :)

Just a protection of more spam here :D
But greetings from...

Chiller0815-
Breezy-
ShadowOfCloud-
Dome-
and Rapthorne :D

Oh, and greetz from me ;)

- Deniz
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ddmosho on 2009-09-03 21:59:45
hey im having trouble with shaders option on the opengl config. how exactly do i put in pete's epsxe custom shaders? if u can tell me i will very much appreciate it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: titeguy3 on 2009-09-03 22:44:21
Edited for incorrectness...

You're right. trippy things happen when you put the vertex and fragment files in for the main ones...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Harruzame on 2009-09-04 01:09:33
I got the same prob as Eslava..Like when TIFA does her limit break the SFX leaves a somewhat shadow of the EFX making it look like an aftermath of..idk!..?


Also when I use other MODELS some textures don't work its (in the app.log) Can this be fixed?....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-09-05 00:31:43
Hey can some one explain to me how to use this divers texture injections to use instead of the original texture
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Costa07 on 2009-09-05 07:56:44
Sry to double post but i think i almost got this figured out but now when i start up instead of it being white where the texture should be its black and app log says this

[BATTLE] Entering FRAME_INITIALIZE
[BATTLE] Scene# 300
[BATTLE] Exitting FRAME_INITIALIZE
GLITCH: unsupported texture format

instead of when it used to say it couldn't find it but now y is it saying unsupported texture format
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-09-06 20:01:57
Alright. I have spent all day trying to get your drivers to work on my computer without internet. It is in my front room... lol, not that it matters.
Here is the thing, i get the drivers working just fine. Configured and everything.
But the FMVs and the Game itself runs at a far, emphasis on FAR slower rate than it usual does. Take the opening FMV for example, it takes about two minutes, right? Try about twenty for me. However it works perfectly with saint's hi resolution patch. Normally I would be content with what i had, but with all these new mods coming out, that need these drivers as a base, I kind of need these drivers. lol.

Okay time for system specs:
(http://i576.photobucket.com/albums/ss203/BrokenCrowe/FF7/systemspecs.jpg)
(http://i576.photobucket.com/albums/ss203/BrokenCrowe/FF7/videocard.jpg)
(http://i576.photobucket.com/albums/ss203/BrokenCrowe/FF7/specxd.jpg)

And just to top it all off, here is my how my configuration file looks:

# ff7_opengl config file

# use shaders, if available and supported
# turn shaders off to use the OpenGL 1.1 backend
use_shaders = yes

# plugins
# a movie plugin is required, the music plugin is optional, but required to make FF7Music work
movie_plugin = plugins/ffmpeg_movies.fgp
#music_plugin = plugins/ff7music.fgp

# vertex and fragment shaders
vert_source = shaders/main.vert
frag_source = shaders/main.frag

# post-processing shader, used to apply fullscreen effects
post_source = shaders/bloom2.post
enable_postprocessing = no

# display frames per second counter in upper right corner
show_fps = no

# display some real-time debug information
show_stats = no

# set the window size (and fullscreen resolution) of FF7
# 0 means use original resolution (whatever ff7.exe provides)
# preserve_aspect adds black borders as needed to preserve a 4:3 aspect ratio
window_size_x = 640
window_size_y = 480
preserve_aspect = yes
fullscreen = no

# prevent glitches due to rounding errors by rendering in the nearest (larger, if supported)
# multiple of the original resolution and up/down-scaling
prevent_rounding_errors = yes

# check your driver settings if this option doesn't seem to work
enable_vsync = yes

# limit snowboard, coaster and highway minigames to refresh rate / 2, i.e. 30fps for a 60hz display mode
# vsync must be enabled and working for this to have any effect
minigame_framelimiter = on

# same thing, but for the battle swirl
battleswirl_framelimiter = off

# replace FF7's default framelimiter timer source
use_new_timer = yes

# use a more stable (but less accurate) timer to control FF7's framelimiter
# this option has no effect unless the use_new_timer option is on
use_stable_timer = no

# 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
linear_filter = off

# read files directly instead of using LGP archives
# this option requires you to have all your LGP archives unpacked in direct/, with one folder for each archive
# for example; if FF7 is looking for aaab.rsd in char.lgp, this option will make it open direct/char/aaab.rsd instead
# this option should be used for testing only, performance will take a hit
direct_mode = off


Maybe the setting are too high for the computer. I don't know. There is no crash log or anything. So I can't post that for further analysis. Lol.
Any help will be greatly appreciated.

Thanks,
Soul_Torn
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: AlbusJC on 2009-09-06 21:36:50
I had the same problem that you. Put use_shaders in not and try again. good luck  :wink:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-09-07 01:09:06
The GeForce FX 5500 does not support OpenGL 2.0, so setting "use_shaders = no" should fix your problem.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-09-07 03:25:50
It did not. it still likes like crazy. -.-

alright. well i messed with it a bit more.

here is my app log:

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: NVIDIA Corporation GeForce FX 5500/PCI/SSE2 2.1.2
INFO: Found swap_control extension
INFO: Original resolution 640x480, window size 980x720, output resolution 980x720, internal resolution 1280x960
INFO: FBO extension detected, using fast scaling/postprocessing path
LOCK UNLOCK TEST
MATRIX INITIALIZE
INITIALIZE DD/D3D END
ERROR: COULD NOT OPEN FILE C:\Program Files\Square Soft, Inc.\Final Fantasy VII\ff7input.cfg
initializing sound...
creating dsound primary buffer
reading audio file
loading static sounds
sound initialized
INITIALIZING MIDI...
selecting device 0:Microsoft GS Wavetable SW Synth, mid=1, pid=102,
midi data type: YAMAHA XG MIDI
using midi data file: C:\Program Files\Square Soft, Inc.\Final Fantasy VII\Data\midi\xg.lgp
midiOutGetVolume returned: ffffffff
MIDI INITIALIZED
set music volume: 127
MIDI set volume: 127
100% of 127 = 127
set music volume: 127
MIDI set master volume: 100
MIDI set volume: 127
100% of 127 = 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
WM_CLOSE
END OF CREDITS!!!
Field Quit
MIDI stop - OK
resetting MIDI driver volume - OK
UNINITIALIZE DD
END UNINITIALIZE DD


here are my parameters:

# ff7_opengl config file

# use shaders, if available and supported
# turn shaders off to use the OpenGL 1.1 backend
use_shaders = no

# plugins
# a movie plugin is required, the music plugin is optional, but required to make FF7Music work
movie_plugin = plugins/ffmpeg_movies.fgp
#music_plugin = plugins/ff7music.fgp

# vertex and fragment shaders
vert_source = shaders/main.vert
frag_source = shaders/main.frag

# post-processing shader, used to apply fullscreen effects
post_source = shaders/bloom2.post
enable_postprocessing = no

# display frames per second counter in upper right corner
show_fps = no

# display some real-time debug information
show_stats = no

# set the window size (and fullscreen resolution) of FF7
# 0 means use original resolution (whatever ff7.exe provides)
# preserve_aspect adds black borders as needed to preserve a 4:3 aspect ratio
window_size_x = 980
window_size_y = 720
preserve_aspect = no
fullscreen = no

# prevent glitches due to rounding errors by rendering in the nearest (larger, if supported)
# multiple of the original resolution and up/down-scaling
prevent_rounding_errors = yes

# check your driver settings if this option doesn't seem to work
enable_vsync = yes

# limit snowboard, coaster and highway minigames to refresh rate / 2, i.e. 30fps for a 60hz display mode
# vsync must be enabled and working for this to have any effect
minigame_framelimiter = on

# same thing, but for the battle swirl
battleswirl_framelimiter = on

# replace FF7's default framelimiter timer source
use_new_timer = no

# use a more stable (but less accurate) timer to control FF7's framelimiter
# this option has no effect unless the use_new_timer option is on
use_stable_timer = no

# 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
linear_filter = off

# read files directly instead of using LGP archives
# this option requires you to have all your LGP archives unpacked in direct/, with one folder for each archive
# for example; if FF7 is looking for aaab.rsd in char.lgp, this option will make it open direct/char/aaab.rsd instead
# this option should be used for testing only, performance will take a hit
direct_mode = off


and the game lags just the same... i have the shaders turned off. and it still lags.
-.-

the funny thing is.. it says in the app log that i finished the eidos logo movie.... when i never do.
And i never have a chance to quit from field... i always end up having to hit alt-F4, before the logo fmv is even over....
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-09-07 04:00:08
The only other thing I can think of is to make sure your video card drivers are up to date.

I can't help but wonder why you'd put an outdated video card in the same machine as a 3GHz dual core processor, though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-09-07 04:03:24
Need help finding out out why a model crashes in game...

http://www.megaupload.com/?d=6E0VGRIH

Crash.dmp for anyone who can open/read it. Cause i can't

Thanks in advance.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-09-07 04:04:48
its my moms PC... we are poor.. and that is the left overs from out last computer... the funny thing is its way better than the graphics card i have on my vista... but the shaders work on vista...

it all works on vista...


[newb question alert!]


and how do i upgrade the drivers to a computer without internet?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: sl1982 on 2009-09-07 05:04:19
its my moms PC... we are poor.. and that is the left overs from out last computer... the funny thing is its way better than the graphics card i have on my vista... but the shaders work on vista...

it all works on vista...


[newb question alert!]


and how do i upgrade the drivers to a computer without internet?

download the drivers on a computer with internet and put them on a flash drive
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-09-07 05:12:40
wow...  i feel stupid. I should have been able to guess that. its probably due to my 2 hours of sleep last night...
thanks i will report whether it works or not tomorrow. If it does.. YAY.
if not.... my computer is screwy. :(.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-09-07 07:20:28
Soul_Torn:
You have two options, either turn off prevent_rounding_errors or set your resolution to an even multiple of 640x480. That will give you a big boost.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ddmosho on 2009-09-07 07:35:01
how do u put epsxe custom shaders in? can someone plz help me with my problem?  :-(
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: titeguy3 on 2009-09-07 07:57:19
how do u put epsxe custom shaders in? can someone plz help me with my problem?  :-(

ddmosho, I looked into this, and the official way to do it would be to take the .slf file, rename it to .frag, take the .slv file, rename it to .vert, put them in the \shaders folder, and set them as the frag_source and the vert_source in Aali's ff7_opengl.cfg file, but this causes all kinds of things to screw up. The only way I've managed to get any kind of non f-ed up results is when I take the .slf file, rename it to .post, put it in the \shaders folder, and set it as the post_source, then turn postprocessing on, but this doesn't make it look the way it's supposed to. I'm not sure if doing it the right way isn't working because the shaders are incompatible somehow, or if Aali's driver doesn't support them, or if I'm just going about it wrong. At any rate, the best person to ask would be Aali, so if you aren't getting a response, try PMing him your question and provide a link to a specific shader that you'd like to get working (you can find em online pretty easily), and if he can't help you, it's a futile effort.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: KaOSoFt on 2009-09-07 13:33:56
Could someone please send me their ff7input.cfg file...? I accidentally deleted it while trying to make FF7 work on Windows 7...

Thanks in advance...
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-09-07 14:33:11
ddmosho, I looked into this, and the official way to do it would be to take the .slf file, rename it to .frag, take the .slv file, rename it to .vert, put them in the \shaders folder, and set them as the frag_source and the vert_source in Aali's ff7_opengl.cfg file, but this causes all kinds of things to screw up. The only way I've managed to get any kind of non f-ed up results is when I take the .slf file, rename it to .post, put it in the \shaders folder, and set it as the post_source, then turn postprocessing on, but this doesn't make it look the way it's supposed to. I'm not sure if doing it the right way isn't working because the shaders are incompatible somehow, or if Aali's driver doesn't support them, or if I'm just going about it wrong. At any rate, the best person to ask would be Aali, so if you aren't getting a response, try PMing him your question and provide a link to a specific shader that you'd like to get working (you can find em online pretty easily), and if he can't help you, it's a futile effort.

Or, perhaps it's because doing it "the right way" is actually horribly and awfully wrong.
The driver does not support shaders for pete's GL plugins out of the box, and it never will.
If you don't know anything about GLSL you shouldn't be messing with the shaders.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: titeguy3 on 2009-09-07 16:00:41
Or, perhaps it's because doing it "the right way" is actually horribly and awfully wrong.
The driver does not support shaders for pete's GL plugins out of the box, and it never will.
If you don't know anything about GLSL you shouldn't be messing with the shaders.

I knew you'd flame me for fuxing with the shaders at random, but hell. Least I got a definitive answer outta ya.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: BrokenCrowe (Mendelevium) on 2009-09-07 19:15:58
Soul_Torn:
You have two options, either turn off prevent_rounding_errors or set your resolution to an even multiple of 640x480. That will give you a big boost.

This worked wonders. The drivers are working perfectly. But now, my FF7 music  isn't working... no music is being played even when its running?
I think it has something to do with that plug in of yours. -.-
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ddmosho on 2009-09-07 19:52:30
are there any other shaders that you know of that would work on your driver Aali?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: sl1982 on 2009-09-07 20:12:42
Soul_Torn:
You have two options, either turn off prevent_rounding_errors or set your resolution to an even multiple of 640x480. That will give you a big boost.

This worked wonders. The drivers are working perfectly. But now, my FF7 music  isn't working... no music is being played even when its running?
I think it has something to do with that plug in of yours. -.-
open up the config file and remove the # that is in front of the music_plugin
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: pyrozen on 2009-09-07 21:10:01
(http://img405.imageshack.us/img405/7682/shadowglitch.png) (http://img405.imageshack.us/i/shadowglitch.png/)

(http://img156.imageshack.us/img156/3706/shadowglitch2.png) (http://img156.imageshack.us/i/shadowglitch2.png/)

I am also getting this error sometimes.  I had it happen while in the Ancient Forest, fighting those skinny sticks things.  Whenver they would cast Autumn Leaves, it would cause all of the shadows to begin acting strangly.  It goes away after the battle though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: ddmosho on 2009-09-07 21:38:04
hey Aali so what custom shaders do happen to work on your driver?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Harruzame on 2009-09-08 06:13:29
hey Aali so what custom shaders do happen to work on your driver?


Yeah that's what those folders are there for right?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-09-08 14:35:13
The ones that were written for it.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-09-08 17:53:49
Nice answer ;)

Aali, your Driver is so fu**ing awesome xD

Here 4 Videos of your awesome working driver :D

2 in Field, 2 in Battle:

Final Fantasy VII- Field Modtest 1:
(http://united-odc.de/data/Final_Fantasy_VII/Screenshoots/FAQ/Field_Mod_YT.jpg) (http://www.youtube.com/watch?v=mAYp3bc-SP8)
Final Fantasy VII- Field Modtest 2:
(http://united-odc.de/data/Final_Fantasy_VII/Screenshoots/FAQ/Field_Mod_YT_2.jpg) (http://www.youtube.com/watch?v=sNnogoaW6Tc)
Final Fantasy VII- Battle Modtest 1
(http://united-odc.de/data/Final_Fantasy_VII/Screenshoots/FAQ/Battle_Mod_YT.jpg) (http://www.youtube.com/watch?v=I5_X4oLHckY)
Final Fantasy VII- Battle Modtest 2
(http://united-odc.de/data/Final_Fantasy_VII/Screenshoots/FAQ/Battle_Mod_YT_2.jpg) (http://www.youtube.com/watch?v=IiQs4s_Hk0g)


Using:
* Final Fantasy VII 1.02 GER
* Aali's Custom Driver v0.7.1b (Released)
* NPC Reconstruction Models (Released)
* Advent Children Mod (No official Release)
* FiceMusic v1.51(Released)
* FinalFanTim's Remastered OST (Released)
* YAMP (Released)


Many, many thanks again!

- Deniz

EDIT: Oh, don't forget enjoying YouTube HD :)
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Kudistos Megistos on 2009-09-08 18:16:35
For a second I thought you'd figured out a way to embed YouTube videos into your post :-P

But sadly it wasn't to be :oops:
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: omnivorism on 2009-09-09 03:37:19
I am having difficulties getting this thing to work properly.

I have installed (multiple times now)

ff7
patch 1.02
opengl

I can get the game to work just fine (at least from what ive seen with limited testing)
But I dont think im getting the hi res effects.

When i installed, the game normal animated movie played, and then at the trainstation the backgrounds are all kinds of messed up. looking kind of postured kind of like a negative with completely incorrect color placement (mostly looking dark or reversed) yet the characters look normal, the battles look normal, and from what little the played, the movies seem to be working fine.

After this i went into the config and changed it to nvidia tnt, and then that fixed the background problem, but the game looks just like it did on my ps1 in 97.

Is there something I am missing?

I have this on ps1, as well as no shortage of emulators, but I want to be able to play it with battle character models etc.

My pc is a dell optiplex
Pentium 4 2.8 ghz
2 gigs ram
Nvidia 6200 video card
with Windows Xp (32 bit i think)
Also, my display is a television not a monitor, but i still want what i can get, cause i plan to change it to a lcd tv later.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: secondadvent on 2009-09-09 03:55:00
changing the ffvii config made it so that the new driver doesn't see it (the ffvii default driver took control), so IIRC you have to re-merge the registry data supplied with aali's driver so that it takes control again.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: omnivorism on 2009-09-09 04:02:57
i understand that the custom driver isn't working anymore, but that isn't really an issue to me because i figured i would just reinstall again if i was going to give it another try.

It didn't work the first time as I said.

it displayed background colors very wrong.

So i assume the driver was technically running then (before i adjusted the config) but it wasnt working properly for me.

Any idea why?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-09-09 05:03:16
If you'd put up a screenshot that shows the bad colors you're talking about, you might get a better response.
Have you tried upgrading your graphics drivers?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Harruzame on 2009-09-09 07:44:20
Upgrade you nvidia card first... is your PC an old one or Brand new?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-09-09 09:46:12
Hey Aali!

It's me again ;)
So, I released your Driver for FF8 in the Forum too- to help you ;)

But I think it doesn't support the German 1.2 version?

Can you add this feature in your next release or re-release v0.2a with added German-Non-Geforce Support ;)

Thanks again :)

- Deniz
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-09-09 12:23:58
If you provide the german .exe's I can support it.
However, there will be no new FF8 release until the "stretching problem" has been resolved.. and that could take a while, seeing as I don't have much time to work on this right now.

So, please upload the german .exe's somewhere but don't expect any immediate results.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: omnivorism on 2009-09-09 12:51:43
if you mean buy a newer video card, thats a no go for now.   What I have is a dedicated gaming pc on a budget.  I need  dual core, more hd space, and a better video card.  Not to mention an LCD tv display, but i cant afford any of those at the moment.

It is a nivida 6200, its not impressive, but I think its still considered fairly modern. The pc is a refurbished dell with a fairly fresh xp install. so its semi new.


the video card is actually pretty new, it has the drivers from the cd tht came with it. my direct x is up to date also.
Getting screenshots might be a possibility, but still a little complicated. Which program do you recommend? ive normally done all my screenshots via emulators.

but the screens are exactly as i described. normal characters. normal battle, but the backgrounds have incorrect colors. its almost like a negative.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-09-09 14:41:17
I am sure, you will do your best, it can take a while, sure- you don't have to do this at all ;) I- no, we can wait :)

Here they are:
Nvidia Patch 1.2
~>http://download.eidosweb.de/Final_Fantasy_VIII/Patch_12_GeForce/FF8EidosGerNVPatchV12.zip (http://download.eidosweb.de/Final_Fantasy_VIII/Patch_12_GeForce/FF8EidosGerNVPatchV12.zip)
NoN Nvidia Patch 1.2
~>http://download.eidosweb.de/Final_Fantasy_VIII/Patch_12_NOT_GeForce/FF8EidosGerV12.ZIP (http://download.eidosweb.de/Final_Fantasy_VIII/Patch_12_NOT_GeForce/FF8EidosGerV12.ZIP)

Or witch executable do you mean exactly? The original 1.00 .exe or the 1.2 Version I linked?

Thanks again,

Deniz
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-09-09 16:22:30
if you mean buy a newer video card, thats a no go for now.   What I have is a dedicated gaming pc on a budget.  I need  dual core, more hd space, and a better video card.  Not to mention an LCD tv display, but i cant afford any of those at the moment.

It is a nivida 6200, its not impressive, but I think its still considered fairly modern. The pc is a refurbished dell with a fairly fresh xp install. so its semi new.


the video card is actually pretty new, it has the drivers from the cd tht came with it. my direct x is up to date also.
Getting screenshots might be a possibility, but still a little complicated. Which program do you recommend? ive normally done all my screenshots via emulators.

but the screens are exactly as i described. normal characters. normal battle, but the backgrounds have incorrect colors. its almost like a negative.

I forget whether the plain old printscreen method works if you run in windowed mode, but that's worth a shot.
I would go to the NVidia site and upgrade the graphics drivers. That card should be okay, but the fact that you're the only one getting color corruption and it persists through reinstalls means that something is wrong with your drivers. NVidia makes it into a fairly painless process, and hopefully once you reboot after the upgrade, everything will work.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: omnivorism on 2009-09-09 16:37:37
I don't really see playing it windowed as an option (i could just play it via ps1, emulated ps1 or regular pc version full screen)

I want the updated graphics (which by the way are impressive and make me envious)

I will try again by completely deleting all folder contents and starting with a 100% fresh reinstall and look for the driver updates online if they exist. But my card isnt old, i got it six months ago and installed the drivers that it came with, although I can understand if maybe the driver/card isn't quite up to par with what the custom driver is designed to do (though its very adequate for the original game) Its a little wimpy by the standards of new pc games, although I have Resident Evil 4 running on it.

I'll take your advice and try again soon.  It's a pain because its my other pc which isn't even internet ready.

Do you have a program to recommend that would work well for screenshots? I have cam studio, but ive only tinkered with it a little. I think its more of a video program, but can prob do both. I just got it in case i wanted to do videos of MUGEN.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-09-09 16:43:37
I don't really see playing it windowed as an option (i could just play it via ps1, emulated ps1 or regular pc version full screen)
This would just be a temporary thing so you can take a screenshot. Everyone wants the fullscreen experience, so don't think you'll be denied it.

I will try again by completely deleting all folder contents and starting with a 100% fresh reinstall and look for the driver updates online if they exist. But my card isnt old, i got it six months ago and installed the drivers that it came with, although I can understand if maybe the driver/card isn't quite up to par with what the custom driver is designed to do (though its very adequate for the original game) Its a little wimpy by the standards of new pc games, although I have Resident Evil 4 running on it.
Another reinstall won't fix your problem. Your graphics card is not your problem. It should be powerful enough to handle this, and what you're seeing is not the result of the card being too slow.
Just download the latest drivers for your card from the NVidia website. The driver is the software that tells the card what to do, and in your case, the drivers are somehow feeding the card the wrong colors.
You don't need to reinstall FF7. You don't need to do anything but update the drivers. If that doesn't fix the issue, we can investigate it further.

As for the internet thing, you can go to another computer, download the installer (one file) from there, put it on a flash drive or CD, and then install it on your gaming computer. I've done it before.

Do you have a program to recommend that would work well for screenshots? I have cam studio, but ive only tinkered with it a little. I think its more of a video program, but can prob do both. I just got it in case i wanted to do videos of MUGEN.
I don't really have one that I actively use, and you might as well hold off on the screenshot until you get your drivers updated. Other readers here will hopefully have some recommendations though.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-09-09 16:52:45
not so much a bug report. But a feature request..

I have hybrid SLI (and soon to be normal SLI) and when i have hybrid enabled FF7 runs at half to a third speed, even though an 8300gs should beable to run it (assuming it's not using my 9800GT) i disabled the onboard graphics and it works like a charm. But my other games are slowed down so it's only a temp fix..

Is there a way you could set an option as to which GPU to use? or add SLI/Hybrid support?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Aali on 2009-09-09 16:54:39
There's nothing to support. All that stuff is "magic" as far as OpenGL is concerned, there are no options for it, you can't control it, the driver handles everything behind the scenes.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-09-09 17:00:14
Ah, Guess i need to go yell at nVidia and get shot down..

Wait.. I think that doing that might draw unwanted attention from square..... Guess i just wait until i get normal SLI and pray it works
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: sl1982 on 2009-09-09 17:06:44
Ah, Guess i need to go yell at nVidia and get shot down..

Wait.. I think that doing that might draw unwanted attention from square..... Guess i just wait until i get normal SLI and pray it works
You might want to change how the driver handles the rendering in sli. There are 2 options, Alternate field rendering which renderers a different frame on each card and another one which i cant remember the name of that splits the screen and each render part of each frame. Might be worth a shot
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Hellbringer616 on 2009-09-09 17:20:08
aren't an option for that when using hybrid SLI... But when i get my other 9800gt i'll do that
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: omnivorism on 2009-09-09 19:42:16
Sucess!

I redid the registry thing.

Updated my drivers

added character model mods.

No background issues, new character models look good.

But while im here I have some related questions. Though I know its a little off topic from this thread, maybe someone can point in the right direction.


I swear i saw somewhere on Youtube where the start up sequence to the game used the version from the FF7 "remake" trailer from a couple of years ago. Am I imagining this? Or is this an actual mod?

Also, I have looked for the "FiceMusic v1.51" mod, but i only see a couple of references to it on google, couple of youtube vids and then the german ff7 site (Too bad I don't speak German). I see no download.

I see the "FinalFanTim's Remastered OST" and ill be trying that soon though.
As well as the keyboard patch.

And last i see there is no "offical release" for the advent children portrait mod, is there still somewhere I can find it? Or is that kind of taboo here because its technically importing content from another game?

Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: omnivorism on 2009-09-09 20:03:02
I guess the youtube video I am refering to is this one

http://www.youtube.com/watch?v=rbexquxkt6Y

That still looks better than mine. My videos look the same as they did before. kinda grainy, and you dont even get a 100% solid black on the the part with the stars in the start up vid.

Is the reunion patch what I want?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: omnivorism on 2009-09-09 20:52:52
ok nevermind about the reunion patch.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Garland_Ilferet on 2009-09-09 22:04:10
omnivorism.. will you use edit instead of "triple-post"?

hey Aali! got question here... i'm using your ff7 opengl... but why it doesn't change anything? everything are looks the same
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: arew264 on 2009-09-09 22:34:20
omnivorism.. will you use edit instead of "triple-post"?

hey Aali! got question here... i'm using your ff7 opengl... but why it doesn't change anything? everything are looks the same

The driver itself doesn't change anything, it just makes FF7 use OpenGL output instead of DirectX, and in doing so it makes FF7 work in a lot of places where it didn't, and it makes life easier when adding custom models and backgrounds.
Plus you can crank the game's resolution up to insane levels, run it in a window, and in general configure it in ways that were impossible before.

The simplest way to make sure the driver is loading correctly is to set fullscreen to false in your config and make sure the game starts in a window. You can also look in APP.LOG and make sure OpenGL is mentioned in the first 10 lines or so.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Covarr on 2009-09-10 00:07:19
Also, I have looked for the "FiceMusic v1.51" mod, but i only see a couple of references to it on google, couple of youtube vids and then the german ff7 site (Too bad I don't speak German). I see no download.
That's because the program is called FF7Music. This tutorial (http://forums.qhimm.com/index.php?topic=8493.0) might help you.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-09-10 00:57:50
When I try to use this driver, it says "Registry editing has been disabled by the user." How can I fix this?
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: sl1982 on 2009-09-10 01:09:52
When I try to use this driver, it says "Registry editing has been disabled by the user." How can I fix this?

Someone has disabled registry editing on your computer. If you are not the owner of the pc ask the owner, if you are the owner u need to log into an administrator account
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: drfeelgud88 on 2009-09-10 01:10:18
When I try to use this driver, it says "Registry editing has been disabled by the user." How can I fix this?

Someone has disabled registry editing on your computer. If you are not the owner of the pc ask the owner, if you are the owner u need to log into an administrator account
How do you enable it? I am the owner of it but I don't know how to enable it back.
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: Garland_Ilferet on 2009-09-10 05:35:50
When I try to use this driver, it says "Registry editing has been disabled by the user." How can I fix this?

Someone has disabled registry editing on your computer. If you are not the owner of the pc ask the owner, if you are the owner u need to log into an administrator account
How do you enable it? I am the owner of it but I don't know how to enable it back.


if it happened so sudden... that's mean your computer is attacked by virus... it happened once to me
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: d33eniz on 2009-09-10 13:16:52
omnivorism...

This sounds like the description of my TechDemo Upload's @ YouTube^^
Title: Custom graphics driver for FF7/FF8 [v.1-.7.6]
Post by: omnivorism on 2009-09-10 16:12:23
omnivorism...

This sounds like the description of my TechDemo Upload's @ YouTube^^