1
Releases / Re: [REL] FF8 Rephrased
« on: 2012-01-27 06:55:46 »
Oops! Should be fixed now.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
// very simple bloom shader, shamelessly stolen from http://myheroics.wordpress.com/
// Further tweaks to suit FF8 PC made by Arve Eriksson
uniform sampler2D tex;
uniform float width;
uniform float height;
void main()
{
vec4 sum = vec4(0);
vec2 texcoord = vec2(gl_TexCoord[0]);
int j;
int i;
for( i= -4 ;i < 4; i++)
{
for (j = -3; j < 3; j++)
{
sum += texture2D(tex, texcoord + vec2(j, i)*0.004) * 0.12;
}
}
if (texture2D(tex, texcoord).r < 0.3)
{
gl_FragColor = sum*sum*0.009 + texture2D(tex, texcoord);
}
else
{
if (texture2D(tex, texcoord).r < 0.5)
{
gl_FragColor = sum*sum*0.008 + texture2D(tex, texcoord);
}
else
{
gl_FragColor = sum*sum*0.0055 + texture2D(tex, texcoord);
}
}
}
INFO: FF7/FF8 OpenGL driver version 0.7.11b
INFO: Auto-detected version: FF8 1.2 US English (Nvidia)
INFO: NVIDIA Corporation GeForce 9600 GT/PCI/SSE2/3DNOW! 3.3.0
INFO: OpenGL 2.0 support detected
INFO: Using PBO
INFO: Found swap_control extension
INFO: Max texture size: 8192x8192
INFO: Number of texture units: 4
INFO: Original resolution 640x480, window size 1280x1024, output resolution 1280x960, internal resolution 1280x960
INFO: FBO extension detected, using fast scaling/postprocessing path
INFO: Shader limits: varying 60, vert uniform 4096, frag uniform 2048
INFO: main program link log:
Fragment info
-------------
0(43) : warning C7050: "texture_color.xyz" might be used before being initialized
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: SB Live! DirectMusic Synthesizer [A800]
GUID={0xc6402642,0x888,0x11d3,0xbd,0x6b,0x0,0x0,0xe8,0x4e,0x5d,0x7}
PORT 1: SB Live! Audio [A800]
GUID={0x490a03e8,0x742f,0x11d2,0x8f,0x8a,0x0,0xc0,0x4f,0xbf,0x8f,0xef}
PORT 2: Microsoft MIDI Mapper [Emulated]
GUID={0x2c0eab2b,0x8f6c,0x4373,0xb0,0xec,0x9b,0x49,0xe1,0xb7,0x9b,0x5d}
PORT 3: SB Live! Synth A [A800] [Emulated]
GUID={0xeb26be56,0x9394,0x40f4,0x9d,0xef,0x1e,0x52,0x81,0xb0,0xc9,0x60}
PORT 4: Microsoft GS Wavetable SW Synth [Emulated]
GUID={0xf54cc91a,0x3007,0x4da8,0xb1,0x7b,0x27,0xb6,0x63,0x4f,0x1b,0xb3}
PORT 5: SB Live! Sw Synth [A800] [Emulated]
GUID={0x6b0476e4,0xaa6f,0x4097,0xa0,0x74,0xa9,0x4c,0x30,0x1c,0x5b,0x11}
PORT 6: SB Live! Synth B [A800] [Emulated]
GUID={0x637c9468,0x2698,0x42ac,0xad,0xa0,0x35,0xcd,0x5b,0x8b,0x5f,0x4c}
PORT 7: SB Live! MIDI Port [A800] [Emulated]
GUID={0x8685e038,0xc53c,0x445b,0x99,0xf8,0xbb,0x63,0x21,0x94,0x1f,0xde}
PORT 8: SB Live! MIDI Port [A800] [Emulated]
GUID={0xf21d8fae,0xfd9,0x406d,0x88,0x44,0xc2,0x83,0xe8,0x88,0x6b,0x46}
PORT 9: Microsoft Synthesizer
GUID={0x58c2b4d0,0x46e7,0x11d1,0x89,0xac,0x0,0xa0,0xc9,0x5,0x41,0x29}
Creating Port1...
SB Live! Audio [A800]
Port1 supports XG data
BinkClose
GLITCH: missed palette write to external texture data/eng/menu/icon
SdMusicPlay ()
sd_music_play (number=0, song_id=79, volume=0)
midi_play...
Stopping Performance
Loading DLS...
Playing Segment
midi_play successful
MIDI stop
Can't open file: \ff8\data\eng\field\mapdata\bg\bgmon_5\bgmon_5.sfx
SdMusicPlay ()
sd_music_play (number=0, song_id=27, volume=0)
midi_play...
Stopping Performance
Playing Segment
midi_play successful
SdMusicPlay ()
sd_music_play (number=0, song_id=5, volume=127)
MIDI stop
midi_play...
Stopping Performance
Playing Segment
midi_play successful
GLITCH: unsupported texture format
MIDI stop
SdMusicPlay ()
sd_music_play (number=0, song_id=1, volume=0)
midi_play...
Stopping Performance
Playing Segment
midi_play successful
MIDI stop
sd_music_play (number=0, song_id=27, volume=127)
midi_play...
Stopping Performance
Playing Segment
midi_play successful
SdMusicPlay ()
sd_music_play (number=0, song_id=5, volume=127)
MIDI stop
midi_play...
Stopping Performance
Playing Segment
midi_play successful
GLITCH: unsupported texture format
MIDI stop
sd_music_play (number=0, song_id=27, volume=127)
midi_play...
Stopping Performance
Playing Segment
midi_play successful
SdMusicPlay ()
sd_music_play (number=0, song_id=13, volume=0)
MIDI stop
midi_play...
Stopping Performance
Playing Segment
midi_play successful
GLITCH: unsupported texture format
MIDI stop
SdMusicPlay ()
sd_music_play (number=0, song_id=1, volume=0)
midi_play...
Stopping Performance
Playing Segment
midi_play successful
MIDI stop
sd_music_play (number=0, song_id=27, volume=0)
midi_play...
Stopping Performance
Playing Segment
midi_play successful
SdMusicPlay ()
sd_music_play (number=0, song_id=65, volume=0)
MIDI stop
midi_play...
Stopping Performance
Playing Segment
midi_play successful
ERROR: unhandled exception
# ff7_opengl-0.7.10b 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 FF8
# 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 = 1280
window_size_y = 1024
preserve_aspect = yes
fullscreen = yes
# mod directory
# subdirectroy of mods/ where textures will be loaded from
# does not affect the old external textures feature, those should still go in textures/
mod_path = seed
# check your driver settings if this option doesn't seem to work
enable_vsync = yes
# allow FF8 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 = on
## ENHANCEMENTS ##
## All the little extras that weren't part of the original game, default options include only trivial bug fixes.
# post-processing shader, used to apply fullscreen effects
post_source = shaders/bloom2min.post
enable_postprocessing = yes
## ADVANCED OPTIONS ##
## Don't fiddle with these unless you know what you're doing.
# use shaders, if available and supported
# turn shaders off to use the OpenGL 1.1 backend
use_shaders = yes
# 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
# enable alpha blending for textures without an existing blending effect
fancy_transparency = on
# 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 = yes
# use pixel buffer objects to speed up texture loading
# will probably crash horribly on ATI cards but should work for NVIDIA users
use_pbo = yes
## MODDER OPTIONS ##
## These options are mostly useful to modders and should not be enabled during normal play.
# show every failed attempt at loading a .png texture
show_missing_textures = no
disable_popup = yes
And now I've discovered another bug/random glitch in FF8: Eyes. With this driver, Quistis's eyes always semmed to be closed in the beginning, even when I remember they should be open. It's a small thing, but eventually solving it adds polish.INFO: FF7/FF8 OpenGL driver version 0.7.11b
INFO: Auto-detected version: FF7 1.02 US English
INFO: ATI Technologies Inc. AMD Radeon HD 6800 Series 4.2.11318 Compatibility Profile Context
INFO: OpenGL 2.0 support detected
INFO: Found swap_control extension
INFO: Max texture size: 16384x16384
INFO: Number of texture units: 8
INFO: Original resolution 640x480, window size 1280x1024, output resolution 1280x960, internal resolution 1280x960
INFO: Shader limits: varying 128, vert uniform 16384, frag uniform 16384
INFO: vertex shader compile log:
Vertex shader was successfully compiled to run on hardware.
INFO: fragment shader compile log:
Fragment shader was successfully compiled to run on hardware.
INFO: main program link log:
Vertex shader(s) linked, fragment shader(s) linked.
INFO: FFMpeg movie player plugin loaded
INFO: FFMpeg version SVN-r19334, Copyright (c) 2000-2009 Fabrice Bellard, et al.
INFO: FF7Music helper plugin loaded
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!!!
ERROR: couldn't open movie file
ERROR: couldn't open movie file
set music volume: 127
set music volume trans: 127->0, step=60
END OF CREDITS!!!
Entering MAIN
set music volume: 127
Exiting MAIN
START OF MENU SYSTEM!!!
END OF MENU SYSTEM!!!
Entering MAIN
Exiting MAIN
Field Start
INFO: C:\Final Fantasy VII\Data\movies\opening.avi; h264/aac 1280x896, 15.000000 FPS, duration: 119.533333, frames: 1793
ERROR: unhandled exception