cemu_graphic_packs/Source/TokyoMirage/rules.txt

146 lines
3.5 KiB
Plaintext
Raw Normal View History

<?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
2018-02-26 02:49:34 +01:00
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
2018-08-13 22:51:40 +02:00
formats = 0x011,0x811
overwriteWidth = <?=round($scaleFactorX*1024)?>
overwriteHeight = <?=round($scaleFactorY*2048)?>
[TextureRedefine] # Scale dyn shadows 0x011
width = 1024
height = 1024
2018-08-13 22:51:40 +02:00
formats = 0x011,0x811
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)?>
2018-07-01 00:32:43 +02:00
[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)?>