Recent logs - Grand Theft Auto: Vice City Stories

To see your stuff show here, enable Compatibility Server Reports in PPSSPP.

Click on a version, game, or report message to show similar entries. Hover over version to see platform info, and hover over a game title to see region and version info.

Game title Version Latest Report Message
Grand Theft Auto: Vice City Stories v1.9.4 2019-12-09 ReadFromHardware: Invalid address 7f800001 near PC 7f800001 LR 7f800001
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-12-05 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:000000a2 Tex TexAlpha TClamp TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform vec4 u_texclamp; in vec4 v_color0; in highp vec3 v_texcoord; inout vec4 fragColor0; float mymod(float a, float b) { return a - b * floor(a / b); } void main() { vec2 fixedcoord = vec2(mymod(v_texcoord.x, u_texclamp.x), mymod(v_texcoord.y, u_texclamp.y)); vec4 t = texture(tex, fixedcoord.xy); vec4 p = v_color0; vec4 v = p * t; fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; in vec4 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; out highp vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; vec4 outPos = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-12-05 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:00a0d822 Tex TexAlpha LM Fog 2x TFuncMod AlphaTest > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; uniform vec3 u_fogcolor; in highp float v_fogdepth; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t + s; v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; } vs: 01170000:00000b15 HWX T N LM Fog Tex Light: 0: c:0 t:0 MatUp:7 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out lowp vec3 v_color1; out highp vec3 v_texcoord; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0f || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.w = u_cullRangeMax.w; } } gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-12-05 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:00a00802 Tex LM Fog 2x TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in vec3 v_color1; uniform vec3 u_fogcolor; in highp float v_fogdepth; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01170000:00000b15 HWX T N LM Fog Tex Light: 0: c:0 t:0 MatUp:7 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out lowp vec3 v_color1; out highp vec3 v_texcoord; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0f || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.w = u_cullRangeMax.w; } } gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.7.2 2019-12-02 MIPSCompileOp: Invalid instruction 72015850
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-21 Render to area containing texture at 04000000 +480x0
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-21 Rendering to framebuffer offset: 04000000 +480x0
Grand Theft Auto: Vice City Stories v1.9.3 2019-11-16 ReadFromHardware: Invalid address 0000005c near PC 089274b4 LR 089274b0
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-15 Unknown GE command : b6ca3ec0
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-15 CALL to illegal address 0203e0d4 - ignoring! data=03e0d4
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-14 WriteToHardware: Invalid address 000004e4 near PC 0884dcdc LR 0884dac8
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-14 WriteToHardware: Invalid address 00000148 near PC 0881f274 LR 08931388
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-11-12 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:0000d000 AlphaTest > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D testtex; in vec4 v_color0; inout vec4 fragColor0; void main() { vec4 v = v_color0 ; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; } vs: 00000000:00000908 HWX C T #version 300 es precision highp float; in vec3 position; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); vec4 outPos = u_proj * viewPos; v_color0 = color0; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0f || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.w = u_cullRangeMax.w; } } gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-11-12 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:00000022 Tex TexAlpha TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; in vec4 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; out highp vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; vec4 outPos = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-11-12 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:0d20d022 Tex TexAlpha Fog StenToAlpha StenKeep TFuncMod AlphaTest > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; uniform vec3 u_fogcolor; in highp float v_fogdepth; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = vec4(v.rgb, 0.0); } vs: 00000000:0000091c HWX C T Fog Tex #version 300 es precision highp float; in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out highp vec3 v_texcoord; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); vec4 outPos = u_proj * viewPos; v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0f || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.w = u_cullRangeMax.w; } } gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-11-12 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:0000d822 Tex TexAlpha LM TFuncMod AlphaTest > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t + s; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; } vs: 01070000:00000919 HWX C T LM Tex Light: MatUp:7 #version 300 es precision highp float; in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out lowp vec3 v_color1; out highp vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); mediump float ldot; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0f || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.w = u_cullRangeMax.w; } } gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-11 FBO using existing buffer as depthbuffer, 04132000/04110000 and 04110000/04110000
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-11 Render to texture with different strides 256 != 64
Grand Theft Auto: Vice City Stories v1.9.4 2019-12-07 80000107=sceDisplaySetFrameBuf(00000000, 0, 0, 0): must change latched framebuf first
Grand Theft Auto: Vice City Stories v1.9.4 2019-12-07 sceGeBreak(mode=0, unknown=08a6ac20): unknown ptr (valid)
Grand Theft Auto: Vice City Stories v1.9.4 2019-12-07 An uneaten prefix at end of block: 0893bd34
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-13 UNIMPL sceKernelStopUnloadSelfModuleWithStatus(00000001, 00000000, 00000000, 00000000, 00000000): game may have crashed
Grand Theft Auto: Vice City Stories v1.9.4 2019-11-04 ReadFromHardware: Invalid address 6800b188 near PC 6800b188 LR 6800b188
Grand Theft Auto: Vice City Stories v1.6.3 2019-10-31 Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program fs: 00000000:00000000 #version 100 precision lowp float; varying vec4 v_color0; void main() { vec4 v = v_color0 ; gl_FragColor = v; } vs: 00000000:00000908 HWX C T #version 100 precision highp float; attribute vec3 position; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; }
Grand Theft Auto: Vice City Stories v1.9.4 2019-10-31 Error in shader compilation: info: (17) : fatal error C9999: InitSymbolTable -- Current scope dirty 17 lines, 2 errors. 00002a82:00800802 Tex LM 2x ReplaceBlend_2A:10_B:10_Eq:0 TFuncMod #version 100 precision lowp float; uniform sampler2D tex; uniform vec3 u_blendFixA; uniform vec3 u_blendFixB; varying vec4 v_color0; varying vec3 v_color1; varying mediump vec3 v_texcoord; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0); v.rgb = v.rgb * u_blendFixA; gl_FragColor = v; }
Grand Theft Auto: Vice City Stories v1.9.4 2019-10-31 Error in shader compilation: info: (0) : error C3001: no program defined 53 lines, 1 errors. 01370000:00120b11 HWX T N LM Tex UVEnv Light: 0: c:0 t:0 1: c:0 t:0 MatUp:7 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal)), 1.0 + (length(u_lightpos1) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos1), worldnormal))) * 0.5, 1.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = vec4(u_cullRangeMax.w); } } gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-10-28 Error in shader program link: info: Link failed because of missing shader. fs: 00010000:0020d022 Tex TexAlpha Fog TFuncMod AlphaTest > #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) v.a = 0.0; fragColor0 = v; } vs: 00000000:0000091c HWX C T Fog Tex #version 300 es precision highp float; in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); vec4 outPos = u_proj * viewPos; v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0f || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.w = u_cullRangeMax.w; } } gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.6.3-492-g9fddfff66 2019-10-07 Error in shader program link: info: (unknown reason) fs: 00000000:00000082 Tex TClamp TFuncMod #version 300 es precision lowp float; uniform sampler2D tex; uniform vec4 u_texclamp; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec2 fixedcoord = vec2(mod(v_texcoord.x, u_texclamp.x), mod(v_texcoord.y, u_texclamp.y)); vec4 t = texture(tex, fixedcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; in vec4 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; vec4 outPos = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-30 Error in shader program link: info: (unknown reason) fs: 00000000:00a0d822 Tex TexAlpha LM Fog 2x TFuncMod AlphaTest > #version 300 es precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t + s; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01370000:00000b15 HWX T N LM Fog Tex Light: 0: c:0 t:0 1: c:0 t:0 MatUp:7 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out lowp vec3 v_color1; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-30 Error in shader program link: info: (unknown reason) fs: 00000000:00a00802 Tex LM Fog 2x TFuncMod #version 300 es precision lowp float; uniform sampler2D tex; in vec4 v_color0; in vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01370000:00000b15 HWX T N LM Fog Tex Light: 0: c:0 t:0 1: c:0 t:0 MatUp:7 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out lowp vec3 v_color1; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-30 Error in shader program link: info: (unknown reason) fs: 00004000:0000d000 Flat AlphaTest > #version 300 es precision lowp float; uniform sampler2D testtex; flat in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; } vs: 40000000:0000000a THR C Flat #version 300 es precision highp float; in vec4 position; in lowp vec4 color0; uniform mat4 u_proj_through; flat out lowp vec4 v_color0; void main() { v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-29 Error in shader program link: info: (unknown reason) fs: 00000000:00000002 Tex TFuncMod #version 300 es precision lowp float; uniform sampler2D tex; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; in vec4 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-29 Error in shader program link: info: (unknown reason) fs: 00000000:00000002 Tex TFuncMod #version 300 es precision lowp float; uniform sampler2D tex; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:0000001a THR C Tex #version 300 es precision highp float; in vec4 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-29 Error in shader program link: info: (unknown reason) fs: 00000000:000000a2 Tex TexAlpha TClamp TFuncMod #version 300 es precision lowp float; uniform sampler2D tex; uniform vec4 u_texclamp; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec2 fixedcoord = vec2(mod(v_texcoord.x, u_texclamp.x), mod(v_texcoord.y, u_texclamp.y)); vec4 t = texture(tex, fixedcoord.xy); vec4 p = v_color0; vec4 v = p * t; fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; in vec4 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-29 Error in shader program link: info: --From Vertex Shader: Error: Variable v_color0 has mismatched Flat/Smooth qualifiers in vertex and fragment shader. Warning: varying v_color1 is written in the vertex shader but not read in the fragment shader or bound for Transform Feedback. Warning: varying v_fogdepth is written in the vertex shader but not read in the fragment shader or bound for Transform Feedback. Warning: varying v_texcoord is written in the vertex shader but not read in the fragment shader or bound for Transform Feedback. --From Fragment Shader: Error: Variable v_color0 has mismatched Flat/Smooth qualifiers in vertex and fragment shader. Warning: varying v_color1 is written in the vertex shader but not read in the fragment shader or bound for Transform Feedback. Warning: varying v_fogdepth is written in the vertex shader but not read in the fragment shader or bound for Transform Feedback. Warning: varying v_texcoord is written in the vertex shader but not read in the fragment shader or bound for Transform Feedback. fs: 00004000:0000d000 Flat AlphaTest > #version 300 es precision lowp float; uniform sampler2D testtex; flat in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; } vs: 40000000:0000000a THR C Flat #version 300 es precision highp float; in vec4 position; in lowp vec4 color0; uniform mat4 u_proj_through; flat out lowp vec4 v_color0; void main() { v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-29 Error in shader program link: info: (unknown reason) fs: 00000000:00a0d802 Tex LM Fog 2x TFuncMod AlphaTest > #version 300 es precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01170000:00000b15 HWX T N LM Fog Tex Light: 0: c:0 t:0 MatUp:7 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out lowp vec3 v_color1; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-29 Error in shader program link: info: (unknown reason) fs: 00000000:00000382 Tex TClampST TFuncMod #version 300 es precision lowp float; uniform sampler2D tex; uniform vec4 u_texclamp; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec2 fixedcoord = vec2(clamp(v_texcoord.x, u_texclamp.z, u_texclamp.x - u_texclamp.z), clamp(v_texcoord.y, u_texclamp.w, u_texclamp.y - u_texclamp.w)); vec4 t = texture(tex, fixedcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; in vec4 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
Grand Theft Auto: Vice City Stories v1.8.0 2019-09-26 WriteToHardware: Invalid address 000004e4 near PC 08a3550c LR 089bbdb4
Grand Theft Auto: Vice City Stories v1.8.0 2019-09-26 Error in shader program link: info: (unknown reason) fs: postshader /* Hyllian's xBR-lv2 Shader Accuracy (tweak by guest.r) Copyright (C) 2011-2015 Hyllian - [email protected] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Incorporates some of the ideas from SABR shader. Thanks to Joshua Street. */ #ifdef GL_ES precision mediump float; precision mediump int; #endif #define CornerA 0 //ON:1/OFF:0 / A, B, C, D are just different variants of corner rounding #define CornerB 0 //ON:1/OFF:0 / activate only one #define CornerD 0 //ON:1/OFF:0 // CornerC //used as default if none of the above is defined const float XBR_SCALE = 3.0; const float lv2_cf = 2.0; const float coef = 2.0; const vec3 rgbw = vec3(14.352, 28.176, 5.472); const vec4 eq_threshold = vec4(15.0, 15.0, 15.0, 15.0); const vec4 Ao = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bo = vec4( 1.0, 1.0, -1.0,-1.0 ); const vec4 Co = vec4( 1.5, 0.5, -0.5, 0.5 ); const vec4 Ax = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bx = vec4( 0.5, 2.0, -0.5,-2.0 ); const vec4 Cx = vec4( 1.0, 1.0, -0.5, 0.0 ); const vec4 Ay = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 By = vec4( 2.0, 0.5, -2.0,-0.5 ); const vec4 Cy = vec4( 2.0, 0.0, -1.0, 0.5 ); const vec4 Ci = vec4(0.25, 0.25, 0.25, 0.25); uniform sampler2D sampler0; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; varying vec2 v_texcoord0; // Difference between vector components. vec4 df(vec4 A, vec4 B) { return vec4(abs(A-B)); } // Compare two vectors and return their components are different. vec4 diff(vec4 A, vec4 B) { return vec4(notEqual(A, B)); } // Determine if two vector components are equal based on a threshold. vec4 eq(vec4 A, vec4 B) { return (step(df(A, B), eq_threshold)); } // Determine if two vector components are NOT equal based on a threshold. vec4 neq(vec4 A, vec4 B) { return (vec4(1.0, 1.0, 1.0, 1.0) - eq(A, B)); } float c_df(vec3 c1, vec3 c2) { vec3 df = abs(c1 - c2); return df.r + df.g + df.b; } void main() { bool upscale = u_texelDelta.x > (1.6 * u_pixelDelta.x); vec3 res = texture2D(sampler0, v_texcoord0.xy).xyz; // Let's skip the whole scaling if output size smaller than 1.6x of input size if (upscale) { vec4 edri, edr, edr_l, edr_u, px; // px = pixel, edr = edge detection rule vec4 irlv0, irlv1, irlv2l, irlv2u; vec4 fx, fx_l, fx_u; // inequations of straight lines. vec2 pS = 1.0 / u_texelDelta.xy; vec2 fp = fract(v_texcoord0.xy*pS.xy); vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy; vec2 dx = vec2(u_texelDelta.x,0.0); vec2 dy = vec2(0.0,u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec4 delta = vec4(1.0/XBR_SCALE, 1.0/XBR_SCALE, 1.0/XBR_SCALE, 1.0/XBR_SCALE); vec4 delta_l = vec4(0.5/XBR_SCALE, 1.0/XBR_SCALE, 0.5/XBR_SCALE, 1.0/XBR_SCALE); vec4 delta_u = delta_l.yxwz; vec3 A = texture2D(sampler0, TexCoord_0 -dx -dy ).xyz; vec3 B = texture2D(sampler0, Tex
Grand Theft Auto: Vice City Stories v1.8.0 2019-09-26 Error in shader program link: info: (unknown reason) fs: postshader /* AA shader 4.o / AA shader 4.o - filtro Copyright (C) 2014 guest(r) - [email protected] This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Modified as video aware smoothing effect for PPSSPP. // Some variable definitions had to be moved inside functions(and so repeated) due to glsl->hlsl auto translation failing. // Also auto translation fails with bool uniform, which is why u_video is defined as float. #ifdef GL_ES precision mediump float; precision mediump int; #endif uniform sampler2D sampler0; uniform float u_video; //=========== varying vec2 v_texcoord0; const vec3 dt = vec3(1.0,1.0,1.0); vec3 texture2d (vec2 texcoord) { float scale = 1.0; if (u_video==1.0){ scale = 2.0; } else { scale = 7.0; } vec4 yx = vec4(1.0/480.0,1.0/272.0,-1.0/480.0,-1.0/272.0)/scale; vec4 xy = vec4(2.0/480.0,2.0/272.0,-2.0/480.0,-2.0/272.0)/scale; vec3 s00 = texture2D(sampler0, texcoord + yx.zw).xyz; vec3 s20 = texture2D(sampler0, texcoord + yx.xw).xyz; vec3 s22 = texture2D(sampler0, texcoord + yx.xy).xyz; vec3 s02 = texture2D(sampler0, texcoord + yx.zy).xyz; float m1=dot(abs(s00-s22),dt)+0.001; float m2=dot(abs(s02-s20),dt)+0.001; return 0.5*(m2*(s00+s22)+m1*(s02+s20))/(m1+m2); } vec3 texture2dd (vec2 texcoord) { float scale = 1.0; if (u_video==1.0){ scale = 2.0; } else { scale = 7.0; } vec4 yx = vec4(1.0/480.0,1.0/272.0,-1.0/480.0,-1.0/272.0)/scale; vec4 xy = vec4(2.0/480.0,2.0/272.0,-2.0/480.0,-2.0/272.0)/scale; vec3 c11 = texture2D(sampler0, texcoord ).xyz; vec3 c00 = texture2D(sampler0, texcoord + xy.zw).xyz; vec3 c20 = texture2D(sampler0, texcoord + xy.xw).xyz; vec3 c22 = texture2D(sampler0, texcoord + xy.xy).xyz; vec3 c02 = texture2D(sampler0, texcoord + xy.zy).xyz; vec3 s00 = texture2D(sampler0, texcoord + yx.zw).xyz; vec3 s20 = texture2D(sampler0, texcoord + yx.xw).xyz; vec3 s22 = texture2D(sampler0, texcoord + yx.xy).xyz; vec3 s02 = texture2D(sampler0, texcoord + yx.zy).xyz; float d1=dot(abs(c00-c22),dt)+0.001; float d2=dot(abs(c20-c02),dt)+0.001; float m1=dot(abs(s00-s22),dt)+0.001; float m2=dot(abs(s02-s20),dt)+0.001; vec3 t2=(d1*(c20+c02)+d2*(c00+c22))/(2.0*(d1+d2)); return 0.25*(c11+t2+(m2*(s00+s22)+m1*(s02+s20))/(m1+m2)); } void main() { float scale = 7.0; bool filtro = false; if (u_video==1.0){ scale = 2.0; filtro = true; } else { scale = 7.0; filtro = false; } // Calculating texel coordinates vec2 size = vec2(480.0,272.0)*scale; vec2 inv_size = vec2(1.0/480.0,1.0/272.0)/scale; vec2 OGL2Pos = v_texcoord0 * size; vec2 fp = fract(OGL2Pos); vec2 dx = vec2(inv_size.x,0.0); vec2 dy = vec2(0.0, inv_size.y); vec2 g1 = vec2(inv_size.x,inv_size.y); vec2 g2 = vec2(-inv_size.x,inv_size.y); vec2 pC4 = floor(OGL2Pos) * inv_size + 0.5*inv_size; // Reading the texels vec3 C0 = texture2d(pC4 - g1); vec3 C1 = texture2d(pC4 - dy); vec3 C2 = texture2d(pC4 - g2); vec3 C3 = texture2d(pC4 - dx); vec3 C4 = texture2d(pC4 ); vec3 C5 = texture2d(pC4 + dx); vec3 C6 = texture2d(pC4 + g2); vec3 C7 = texture2d(pC4 + dy); vec3 C8 = texture2d(pC4 + g1); vec3 ul, ur, dl, dr; float m1, m2; m1 = dot(abs(C0-C4),dt)+0.001; m2 = dot(abs(C1-C3),dt)+0.001; ul = (m2
Grand Theft Auto: Vice City Stories v1.8.0 2019-09-26 Error in shader program link: info: (unknown reason) fs: postshader /* Hyllian's 5xBR v3.5a Shader Copyright (C) 2011 Hyllian/Jararaca - [email protected] This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef GL_ES precision mediump float; precision mediump int; #endif uniform sampler2D sampler0; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; varying vec2 v_texcoord0; const float coef = 2.0; const vec3 rgbw = vec3(16.163, 23.351, 8.4772); const vec4 Ao = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bo = vec4( 1.0, 1.0, -1.0,-1.0 ); const vec4 Co = vec4( 1.5, 0.5, -0.5, 0.5 ); const vec4 Ax = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bx = vec4( 0.5, 2.0, -0.5,-2.0 ); const vec4 Cx = vec4( 1.0, 1.0, -0.5, 0.0 ); const vec4 Ay = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 By = vec4( 2.0, 0.5, -2.0,-0.5 ); const vec4 Cy = vec4( 2.0, 0.0, -1.0, 0.5 ); vec4 df(vec4 A, vec4 B) { return abs(A-B); } vec4 weighted_distance(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { return (df(a,b) + df(a,c) + df(d,e) + df(d,f) + 4.0*df(g,h)); } void main(){ bool upscale = u_texelDelta.x > (1.6 * u_pixelDelta.x); vec3 res = texture2D(sampler0, v_texcoord0.xy).xyz; // Let's skip the whole scaling if output size smaller than 1.6x of input size if (upscale) { bvec4 edr, edr_left, edr_up, px; // px = pixel, edr = edge detection rule bvec4 interp_restriction_lv1, interp_restriction_lv2_left, interp_restriction_lv2_up; bvec4 nc; // new_color bvec4 fx, fx_left, fx_up; // inequations of straight lines. vec2 pS = 1.0 / u_texelDelta.xy; vec2 fp = fract(v_texcoord0.xy*pS.xy); vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy; vec2 dx = vec2(u_texelDelta.x,0.0); vec2 dy = vec2(0.0,u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec3 A = texture2D(sampler0, TexCoord_0 -dx -dy ).xyz; vec3 B = texture2D(sampler0, TexCoord_0 -dy ).xyz; vec3 C = texture2D(sampler0, TexCoord_0 +dx -dy ).xyz; vec3 D = texture2D(sampler0, TexCoord_0 -dx ).xyz; vec3 E = texture2D(sampler0, TexCoord_0 ).xyz; vec3 F = texture2D(sampler0, TexCoord_0 +dx ).xyz; vec3 G = texture2D(sampler0, TexCoord_0 -dx +dy ).xyz; vec3 H = texture2D(sampler0, TexCoord_0 +dy ).xyz; vec3 I = texture2D(sampler0, TexCoord_0 +dx +dy ).xyz; vec3 A1 = texture2D(sampler0, TexCoord_0 -dx -y2).xyz; vec3 C1 = texture2D(sampler0, TexCoord_0 +dx -y2).xyz; vec3 A0 = texture2D(sampler0, TexCoord_0 -x2 -dy).xyz; vec3 G0 = texture2D(sampler0, TexCoord_0 -x2 +dy).xyz; vec3 C4 = texture2D(sampler0, TexCoord_0 +x2 -dy).xyz; vec3 I4 = texture2D(sampler0, TexCoord_0 +x2 +dy).xyz; vec3 G5 = texture2D(sampler0, TexCoord_0 -dx +y2).xyz; vec3 I5 = texture2D(sampler0, TexCoord_0 +dx +y2).xyz; vec3 B1 = texture2D(sampler0, TexCoord_0 -y2).xyz; vec3 D0 = texture2D(sampler0, TexCoord_0 -x2 ).xyz; vec3 H5 = texture2D(sampler0, TexCoord_0 +y2).xyz; vec3 F4 = texture2D(sampler0, TexCoord_0 +x2 ).xyz; vec4 b = vec4(dot(B ,rgbw), dot(D ,rgbw), dot(H ,rgbw), dot(F ,rgbw)); vec4 c = vec4(dot(C ,rgbw), dot(A ,rgbw), dot(G ,rgbw), dot(I ,rgbw)); vec4 d = vec4(b.y, b.z, b.w, b.x); vec4 e = vec4(dot(E,rgbw)); vec4 f = vec4(b.w, b.x, b.y, b.z); vec4 g = vec4(c.z, c.w, c.x, c.y); vec4 h = vec4(b.z, b.w, b.x, b.y); vec4 i = vec4(c.w,
Grand Theft Auto: Vice City Stories v1.4.2-417-gb2057256b 2019-09-22 Error in shader compilation: info: 0:14: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2019-09-21 Error in shader program link: info: (unknown reason) fs: 00000000:00000002 Tex TFuncMod #version 300 es precision lowp float; uniform sampler2D tex; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:00000918 HWX C T Tex #version 300 es precision highp float; in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
Grand Theft Auto: Vice City Stories v1.8.0 2019-09-15 WriteToHardware: Invalid address 000004e4 near PC 08a09c10 LR 08a09c78
Grand Theft Auto: Vice City Stories v1.8.0 2019-09-14 WriteToHardware: Invalid address 00000148 near PC 08ab9aa4 LR 08ab9a90
Grand Theft Auto: Vice City Stories v1.8.0 2019-08-31 WriteToHardware: Invalid address e53df65a near PC 08a31424 LR 08a313e0
Grand Theft Auto: Vice City Stories v1.8.0 2019-08-31 ReadFromHardware: Invalid address e53df65a near PC 08a31418 LR 08a313e0
Grand Theft Auto: Vice City Stories v1.8.0 2019-08-26 sceKernelLoadModuleByID: unsupported options size=00000014, flags=0000013f, pos=0, access=1, data=2, text=2
Grand Theft Auto: Vice City Stories v1.8.0 2019-08-20 sceGeListEnqueue: invalid address 2bb96332
Grand Theft Auto: Vice City Stories v1.8.0 2019-08-20 MIPSCompileOp: Invalid instruction 00004cba
Grand Theft Auto: Vice City Stories v1.8.0 2019-08-20 MIPSCompileOp: Invalid instruction 70c6ffff
Grand Theft Auto: Vice City Stories v1.8.0 2019-10-06 800201b7=sceKernelCreateFpl(): invalid blockSize/count
Grand Theft Auto: Vice City Stories v1.7 2019-08-06 ReadFromHardware: Invalid address 0c4424bc near PC 0884d14c LR 0898864c
Grand Theft Auto: Vice City Stories v1.8.0 2019-08-04 vsbn not implemented for size 4
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-30 WriteToHardware: Invalid address 00000fe0 near PC 08afe59c LR 08afe59c
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x3ff78ba9
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x4050f0c1
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x02a291f1
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xdd812346
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x4305572a
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xac5f10d4
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x3755c20a
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xec2e0911
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xa071b1a8
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x0aa6bab2
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x70ba6b92
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x4f13a5ab
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x3664d454
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x223f53e6
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x0606a700
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xb23aee72
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x4727cc57
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xa779d1c3
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x9c278c0d
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xd7a569e4
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xe6402fcf
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'IoFileMgrForUser': 0x71b1a80d
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x27d1ff98
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x6ef77d77
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x2aeadb1b
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x69e3eb00
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x5dedba58
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xcbb6d61d
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x25a14f40
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xe9172d31
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xe0ea7457
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x1142ec03
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x06092968
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x0e58b1f9
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x359944f3
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x61090ccb
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xa1d59ead
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x32d6da4b
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x82c90888
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x004e3a11
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xe2aa73c9
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xbc26619d
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x9d349d6d
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0x716d212b
Grand Theft Auto: Vice City Stories v1.8.0 2019-07-29 Unknown syscall in known module 'UtilsForUser': 0xa17591c7