R
Reaper24
Guest
The internal resolution option is definitely helpful. Changing the window size option on its own caused my game to crash. Setting the internal resolution to 640 x 480 first solved the issue.
I use:Just a question
In the opengl.cfg ? :
post_source = shaders/SmartBloom.post
enable_postprocessing = yes
use_shaders = yes
??? Thanks!
Ok I added them in the .cfg.I use:
enable_postprocessing = yes
post_source = shaders/SmartBloom.post
yuv_source = shaders/yuv.frag
frag_source = shaders/main.frag
vert_source = shaders/main.vert
Just to be safe.
My APP.log:With the latest HDR shader files-- HDRSBloomV2.zip-- I get a post-processing error when the game starts.
APP.LOG has this to say:
0(46) : error C7011: implicit cast from "vec4" to "vec3"
0(46) : error C1035: assignment of incompatible types
0(153) : error C7011: implicit cast from "vec4" to "vec3"
INFO: Max texture size: 16384x16384INFO: Number of texture units: 4INFO: Original resolution 640x480, window size 1920x1080, output resolution 1920x1080, internal resolution 1920x1440INFO: FBO extension detected, using fast scaling/postprocessing pathINFO: Shader limits: varying 124, vert uniform 4096, frag uniform 2048INFO: FFMpeg movie player plugin loadedINFO: FFMpeg version SVN-r25886, Copyright (c) 2000-2010 Fabrice Bellard, et al.INFO: FF7Music helper plugin loadedINFO: Loading external library Multi.dllLOCK UNLOCK TEST MATRIX INITIALIZE INITIALIZE DD/D3D END initializing sound...creating dsound primary bufferreading audio fileloading static soundssound initializedset music volume: 127set music volume: 127Entering MAINExiting MAINSTART OF CREDITS!!!
INFO: FF7/FF8 OpenGL driver version 0.7.11bINFO: Auto-detected version: FF7 1.02 US EnglishINFO: NVIDIA Corporation GeForce 9800M GTS/PCIe/SSE2 3.3.0INFO: OpenGL 2.0 support detectedINFO: Using PBOINFO: Found swap_control extensionINFO: Max texture size: 8192x8192INFO: Number of texture units: 4INFO: Original resolution 640x480, window size 1920x1200, output resolution 1920x1200, internal resolution 10200x6240INFO: FBO extension detected, using fast scaling/postprocessing pathERROR: Driver didn't accept our FBO attachments, reverting to slow pathINFO: Shader limits: varying 60, vert uniform 4096, frag uniform 2048INFO: main program link log:Vertex info-----------Internal error: assembly compile error for vertex shader at offset 10764:-- error message --line 283, column 1: error: too many result variable components written-- internal assembly text --!!NVvp4.0OPTION NV_parameter_buffer_object2;# cgc version 3.1.0001, build date Feb 29 2012# command line args: #vendor NVIDIA Corporation#version 3.1.0.1#profile gp4vp#program main#semantic gl_ProjectionMatrix : state.matrix.projection.transpose#semantic gl_ModelViewMatrix : state.matrix.modelview.transpose#semantic gl_NormalMatrix : state.matrix.modelview.inverse#semantic lights_position#semantic normal_map#semantic vertextype#semantic fb_texture#semantic blend_mode#semantic d3dprojection_matrix#semantic d3dviewport_matrix#semantic @TMP54 : __LOCAL#semantic @TMP57 : __LOCAL#semantic @TMP56 : __LOCAL#var float4 gl_Vertex : $vin.POSITION : ATTR0 : -1 : 1#var float4 gl_FrontColor : $vout.COLOR0 : COL0 : -1 : 1#var float4 gl_Color : $vin.COLOR0 :main program link log:Vertex info-----------Internal error: assembly compile error for vertex shader at offset 10764:-- error message --line 283, column 1: error: too many result variable components written-- internal assembly text --!!NVvp4.0OPTION NV_parameter_buffer_object2;# cgc version 3.1.0001, build date Feb 29 2012# command line args: #vendor NVIDIA Corporation#version 3.1.0.1#profile gp4vp#program main#semantic gl_ProjectionMatrix : state.matrix.projection.transpose#semantic gl_ModelViewMatrix : state.matrix.modelview.transpose#semantic gl_NormalMatrix : state.matrix.modelview.inverse#semantic lights_position#semantic normal_map#semantic vertextype#semantic fb_texture#semantic blend_mode#semantic d3dprojection_matrix#semantic d3dviewport_matrix#semantic @TMP54 : __LOCAL#semantic @TMP57 : __LOCAL#semantic @TMP56 : __LOCAL#var float4 gl_Vertex : $vin.POSITION : ATTR0 : -1 : 1#var float4 gl_FrontColor : $vout.COLOR0 : COL0 : -1 : 1#var float4 gl_Color : $vin.COLOR0 : ATTR3}ü8TERROR: failed to load shaders, reverting to fixed functionINFO: fragment shader compile log:0(153) : error C7011: implicit cast from "vec4" to "vec3"INFO: postprocessing program link log:Fragment info-------------0(153) : error C7011: implicit cast from "vec4" to "vec3"ERROR: init_postprocessing failed, postprocessing will be disabledERROR: no FBO support, cannot render in higher resolution than window sizeINFO: internal resolution clamped to 1920x1200INFO: FFMpeg movie player plugin loadedINFO: FFMpeg version SVN-r25886, Copyright (c) 2000-2010 Fabrice Bellard, et al.INFO: No shaders, codecs with YUV output will be slow.INFO: FF7Music helper plugin loadedLOCK UNLOCK TEST ERROR: GL_INVALID_VALUEMATRIX INITIALIZE INITIALIZE DD/D3D END initializing sound...creating dsound primary bufferreading audio fileloading static soundssound initializedset music volume: 127set music volume: 127Entering MAINExiting MAINSTART OF CREDITS!!!INFO: C:\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\movies\eidoslogo.avi; h264/ac3 1280x960, 25.000000 FPS, duration: 153.664000, frames: 3842INFO: slow output format from video codec h264; 0WM_CLOSE END OF CREDITS!!!Field QuitUNINITIALIZE DD END UNINITIALIZE DD
Why isn't this error appearing to me? Do i not use any option?I managed to eliminate the error by altering the SmartBloom.post file:
Original:
gl_FragColor.rgb = color + mix(d1,1.75*normalize(vec2(d1*d1,0.82)).x,0.577*d1)*normalize(C1);
Working:
gl_FragColor.rgb = mix(d1,1.75*normalize(vec2(d1*d1,0.82)).x,0.577*d1)*normalize(C1);
Now it's not working for me...Sorry about that fellas, was working for me. Use the below files, I've updated the above file aswel. Works perfectly for me.
HDRSBloomv3.zip
INFO: FF7/FF8 OpenGL driver version 0.7.11bINFO: Auto-detected version: FF7 1.02 US EnglishINFO: NVIDIA Corporation GeForce GTX 550 Ti/PCIe/SSE2 4.2.0INFO: OpenGL 2.0 support detectedINFO: Using PBOINFO: Found swap_control extensionINFO: Max texture size: 16384x16384INFO: Number of texture units: 4INFO: Original resolution 640x480, window size 1920x1080, output resolution 1920x1080, internal resolution 1920x1440INFO: FBO extension detected, using fast scaling/postprocessing pathINFO: Shader limits: varying 124, vert uniform 4096, frag uniform 2048INFO: fragment shader compile log:0(212) : error C7011: implicit cast from "vec4" to "vec3"INFO: postprocessing program link log:Fragment info-------------0(212) : error C7011: implicit cast from "vec4" to "vec3"ERROR: init_postprocessing failed, postprocessing will be disabledINFO: FFMpeg movie player plugin loadedINFO: FFMpeg version SVN-r25886, Copyright (c) 2000-2010 Fabrice Bellard, et al.INFO: FF7Music helper plugin loadedINFO: Loading external library Multi.dllLOCK UNLOCK TEST MATRIX INITIALIZE INITIALIZE DD/D3D END initializing sound...creating dsound primary bufferreading audio fileloading static soundssound initializedset music volume: 127set music volume: 127Entering MAINExiting MAINSTART OF CREDITS!!!ERROR: couldn't open movie file: C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\movies\eidoslogo.aviERROR: couldn't open movie file: C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\movies\sqlogo.aviset music volume: 127WM_CLOSE END OF CREDITS!!!Field QuitUNINITIALIZE DD END UNINITIALIZE DD
INFO: FF7/FF8 OpenGL driver version 0.7.11bINFO: Auto-detected version: FF7 1.02 US EnglishINFO: NVIDIA Corporation GeForce GTX 560 Ti/PCIe/SSE2 4.2.0INFO: OpenGL 2.0 support detectedINFO: Using PBOINFO: Found swap_control extensionINFO: Max texture size: 16384x16384INFO: Number of texture units: 4INFO: Original resolution 640x480, window size 1920x1080, output resolution 1440x1080, internal resolution 1920x1440INFO: FBO extension detected, using fast scaling/postprocessing pathINFO: Shader limits: varying 124, vert uniform 4096, frag uniform 2048INFO: fragment shader compile log:0(212) : error C7011: implicit cast from "vec4" to "vec3"INFO: postprocessing program link log:Fragment info-------------0(212) : error C7011: implicit cast from "vec4" to "vec3"ERROR: init_postprocessing failed, postprocessing will be disabledINFO: FFMpeg movie player plugin loadedINFO: FFMpeg version SVN-r25886, Copyright (c) 2000-2010 Fabrice Bellard, et al.INFO: FF7Music helper plugin loadedLOCK UNLOCK TEST MATRIX INITIALIZE INITIALIZE DD/D3D END ERROR: could not open file C:\Program Files (x86)\Square Soft, Inc.\Final Fantasy VII\ff7input.cfginitializing sound...creating dsound primary bufferreading audio fileloading static soundssound initializedset music volume: 127set music volume: 127Entering MAINExiting MAINSTART OF CREDITS!!!ERROR: couldn't open movie file: C:\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\Movies\eidoslogo.aviINFO: C:\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\Movies\sqlogo.avi; h264/aac 1280x896, 15.000000 FPS, duration: 14.533333, frames: 218set music volume trans: 127->0, step=60END OF CREDITS!!!Entering MAINset music volume: 127Exiting MAINSTART OF MENU SYSTEM!!!WM_CLOSE END OF MENU SYSTEM!!!Field QuitUNINITIALIZE DD END UNINITIALIZE DD
That would be nice...Asmodean if you don't mind could you make a video preview and showoff it more like a comparison?
INFO: FF7/FF8 OpenGL driver version 0.7.11bINFO: Auto-detected version: FF7 1.02 US EnglishERROR: unhandled exception