mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-27 03:54:15 +01:00
8f194d929a
Scale AA fix in PS as well Default to negative LOD, negligible shimmer but sharper image
146 lines
3.6 KiB
Plaintext
146 lines
3.6 KiB
Plaintext
<?php
|
|
include 'Source/functions.php';
|
|
$fullWidth = $argv[1];
|
|
$fullHeight = $argv[2];
|
|
$scaleFactorX = $fullWidth / 1280.0;
|
|
$scaleFactorY = $fullHeight / 720.0;
|
|
$title = get_title($fullWidth, $fullHeight);
|
|
?>
|
|
[Definition]
|
|
titleIds = 00050000101ED700,00050000101ED800,0005000010131D00
|
|
name = "Tokyo Mirage Sessions FE - <?=$title?>"
|
|
version = 2
|
|
|
|
[TextureRedefine] #lod override, shimmer and sharper textures
|
|
formats = 0x011,0x235,0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
|
|
overwriteRelativeLodBias = -4 #
|
|
|
|
[TextureRedefine]
|
|
width = 1280
|
|
height = 720
|
|
formats = 0x816
|
|
overwriteFormat = 0x820
|
|
tileModesExcluded = 0x001
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine]
|
|
width = 1280
|
|
height = 720
|
|
formatsExcluded = 0x816
|
|
tileModesExcluded = 0x001
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine]
|
|
width = 1280
|
|
height = 340
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*340)?>
|
|
|
|
[TextureRedefine]
|
|
width = 1147
|
|
height = 720
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*1147)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine] # shadows 0x011
|
|
width = 1024
|
|
height = 2048
|
|
formatsExcluded = 0x433,0x431,0x235,0x035,0x034,0x033,0x031,0x01a
|
|
overwriteWidth = <?=round($scaleFactorX*1024)?>
|
|
overwriteHeight = <?=round($scaleFactorY*2048)?>
|
|
|
|
[TextureRedefine] # Scale dyn shadows 0x011
|
|
width = 1024
|
|
height = 1024
|
|
formatsExcluded = 0x433,0x431,0x235,0x035,0x034,0x033,0x031,0x01a
|
|
overwriteWidth = <?=round($scaleFactorX*1024)?>
|
|
overwriteHeight = <?=round($scaleFactorY*1024)?>
|
|
|
|
[TextureRedefine]
|
|
width = 1014
|
|
height = 720
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*1014)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine]
|
|
width = 881
|
|
height = 720
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*881)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine]
|
|
width = 854
|
|
height = 480
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine]
|
|
width = 854
|
|
height = 342
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*854)?>
|
|
overwriteHeight = <?=round($scaleFactorY*342)?>
|
|
|
|
[TextureRedefine]
|
|
width = 853
|
|
height = 232
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*853)?>
|
|
overwriteHeight = <?=round($scaleFactorY*232)?>
|
|
|
|
[TextureRedefine]
|
|
width = 640
|
|
height = 720
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine]
|
|
width = 640
|
|
height = 360
|
|
tileModesExcluded = 0x001
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
|
|
|
[TextureRedefine] #Bloom
|
|
width = 320
|
|
height = 180
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
|
|
|
[TextureRedefine]
|
|
width = 300
|
|
height = 480
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*300)?>
|
|
overwriteHeight = <?=round($scaleFactorY*480)?>
|
|
|
|
[TextureRedefine]
|
|
width = 266
|
|
height = 480
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*266)?>
|
|
overwriteHeight = <?=round($scaleFactorY*480)?>
|
|
|
|
[TextureRedefine]
|
|
width = 254
|
|
height = 480
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*254)?>
|
|
overwriteHeight = <?=round($scaleFactorY*480)?>
|
|
|
|
[TextureRedefine]
|
|
width = 160
|
|
height = 120
|
|
#formatsExcluded =
|
|
overwriteWidth = <?=round($scaleFactorX*160)?>
|
|
overwriteHeight = <?=round($scaleFactorY*120)?>
|