From 85d5c73eab3d8e459ae6056db204aceae3dad4be Mon Sep 17 00:00:00 2001 From: getdls Date: Sat, 9 Feb 2019 21:34:35 +0100 Subject: [PATCH] [TMS] Map fix, bloom scaling --- .../3259d3b3ca333bf3_0000000000000000_vs.txt | 4 ++-- Resolutions/TokyoMirage_Resolution/rules.txt | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Resolutions/TokyoMirage_Resolution/3259d3b3ca333bf3_0000000000000000_vs.txt b/Resolutions/TokyoMirage_Resolution/3259d3b3ca333bf3_0000000000000000_vs.txt index 07c1d529..70ccf0b2 100644 --- a/Resolutions/TokyoMirage_Resolution/3259d3b3ca333bf3_0000000000000000_vs.txt +++ b/Resolutions/TokyoMirage_Resolution/3259d3b3ca333bf3_0000000000000000_vs.txt @@ -55,9 +55,9 @@ attrDecoder.z = 0; attrDecoder.w = 0; R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); // 0 -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); +R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); PV0f.x = R127f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); +R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); PV0f.y = R123f.y; R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w)); PV0f.z = R127f.z; diff --git a/Resolutions/TokyoMirage_Resolution/rules.txt b/Resolutions/TokyoMirage_Resolution/rules.txt index 2cdc8901..b52e4a0d 100644 --- a/Resolutions/TokyoMirage_Resolution/rules.txt +++ b/Resolutions/TokyoMirage_Resolution/rules.txt @@ -205,6 +205,13 @@ height = 720 overwriteWidth = ($width/$gameWidth) * 1014 overwriteHeight = ($height/$gameHeight) * 720 +[TextureRedefine] +width = 896 +height = 480 +formats = 0x001 +overwriteWidth = ($width/$gameWidth) * 896 +overwriteHeight = ($height/$gameHeight) * 480 + [TextureRedefine] # Pad width = 864 height = 480