Author Topic: Custom graphics driver for FF7/FF8 [v0.8.1b]  (Read 109856 times)

Kaldarasha

  • No life
  • *
  • Posts: 2085
  • Karma: 122
  • Prince of Model Editing
    • View Profile
Re: Custom graphics driver for FF7/FF8 [v0.8.1b]
« Reply #350 on: 2017-04-20 09:27:46 »
I played a bit around with the texture dump. My focus were the light layer. So far I discovered that game makes a simple transition from pure black to the full colored texture and vice versa to animate it. In other words the game darken the texture step by step until it reaches black and removes it step by step to get the original texture back. The question is, if we can't bring it to work by default with custom textures, couldn't we mimic the effect with a script (for each scene), which tells the driver how fast and in how many steps to add/reduce the level of black to/from these textures?

Magnum

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Custom graphics driver for FF7/FF8 [v0.8.1b]
« Reply #351 on: 2017-06-25 02:05:45 »
Hey, been trying to get FF7 up and running again, but running into some problems. Got the game running now, but have massive graphical glitches everywhere, wondering if I missed something or what is happening here. Drivers are up to date, running Win 7 Home Premium 64 Bit



APP log

#
Code: [Select]

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


Config File

Code: [Select]

# ff7_opengl-0.8b config file



## USER OPTIONS ##
## If you just want to play the game, these are the only options you'll want to change.

# set the window size (or fullscreen resolution) of FF7
# 0 means use original resolution in window mode, your current desktop resolution will be used in fullscreen mode
# preserve_aspect adds black borders as needed to preserve a 4:3 aspect ratio
window_size_x = 0
window_size_y = 0
preserve_aspect = no
fullscreen = yes

# mod directory
# subdirectroy of mods/ where textures will be loaded from
mod_path = none

# check your Nvidia/ATI/Intel control panel settings if this option doesn't seem to work
enable_vsync = yes

# allow FF7 to use linear filtering for its textures
# some things look slightly better with this option on, but alot of textures just lose their detail
# only affects low-res textures, high-res replacements will still be filtered where appropriate
linear_filter = off

# plugin used to play music, VGMstream requires a set of looping .ogg files in the music/vgmstream folder.
# If no music plugin is loaded the game will play MIDI as usual but FF7Music will NOT work.
music_plugin = plugins/ff7music.fgp



## ENHANCEMENTS ##
## All the little extras that weren't part of the original game, default options include only trivial bug fixes.

# make all dialog boxes transparent, same effect as the transparent dialog boxes YAMP patch
transparent_dialogs = off

# include armor in magic defense calculation
mdef_fix = yes

# post-processing shader, used to apply fullscreen effects
post_source = shaders/bloom2.post
enable_postprocessing = no



## ADVANCED OPTIONS ##
## Don't fiddle with these unless you know what you're doing.

# enable alpha blending for textures without an existing blending effect
fancy_transparency = off

# display frames per second counter in upper right corner
show_fps = no

# display some real-time debug information
show_stats = no

# store external textures in a compressed cache for increased performance
# compression is not lossless, some artifacts may appear when this option is in use
# texture cache does NOT update automatically if the source image changes, however, deleting anything from the cache
# will cause that file to be recreated from the source
compress_textures = no

# max size of the texture cache to hold in RAM, in megabytes
# don't set it any higher than 1GB unless you want your game to crash
texture_cache_size = 256

# use pixel buffer objects to speed up texture loading
# might crash horribly on ATI cards but should work for NVIDIA users
use_pbo = no

# use mipmaps (anisotropic filtering) for high-res textures
use_mipmaps = yes

# replace FF7's default framelimiter timer source
use_new_timer = yes

# plugin used to play movies, FFMpeg is the only choice for now
movie_plugin = plugins/ffmpeg_movies.fgp



## MODDER OPTIONS ##
## These options are mostly useful to modders and should not be enabled during normal play.

# read files directly instead of using LGP archives
# for example; if FF7 is looking for aaab.rsd in char.lgp, this option will make it open direct/char/aaab.rsd first,
# if this file doesn't exist it will look for the original in the LGP archive
direct_mode = off

# show every failed attempt at loading a .png texture
show_missing_textures = no




Kaldarasha

  • No life
  • *
  • Posts: 2085
  • Karma: 122
  • Prince of Model Editing
    • View Profile
Re: Custom graphics driver for FF7/FF8 [v0.8.1b]
« Reply #352 on: 2017-06-25 11:57:46 »
The settings of the config doesn't match with what I can read from your config (internal res, pbo). Did you use the disc version or the converted Steam version? Either way you may want to use the Gamesconverter and let it set up the things for you.

Magnum

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Custom graphics driver for FF7/FF8 [v0.8.1b]
« Reply #353 on: 2017-06-25 20:02:01 »
You're my hero haha, I was running from the old school disc version but whatever that converter did, it's now playing perfect. Thanks a million, time to enjoy a 20 year old game now