2018-02-04 08:02:41 +01:00
|
|
|
<?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
|
|
|
|
|
2018-08-03 11:44:35 +02:00
|
|
|
[TextureRedefine] #lod override, shimmer and sharper textures
|
|
|
|
formats = 0x011,0x235,0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
|
|
|
|
overwriteRelativeLodBias = -4 #
|
|
|
|
|
2018-02-04 08:02:41 +01:00
|
|
|
[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
|
2018-02-04 08:29:32 +01:00
|
|
|
tileModesExcluded = 0x001
|
2018-02-04 08:02:41 +01:00
|
|
|
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)?>
|
|
|
|
|
2018-07-31 12:42:04 +02:00
|
|
|
[TextureRedefine] # shadows 0x011
|
2018-02-04 08:02:41 +01:00
|
|
|
width = 1024
|
|
|
|
height = 2048
|
2018-08-13 22:51:40 +02:00
|
|
|
formats = 0x011,0x811
|
2018-02-04 08:02:41 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1024)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*2048)?>
|
|
|
|
|
2018-07-30 18:47:30 +02:00
|
|
|
[TextureRedefine] # Scale dyn shadows 0x011
|
|
|
|
width = 1024
|
|
|
|
height = 1024
|
2018-08-13 22:51:40 +02:00
|
|
|
formats = 0x011,0x811
|
2018-07-30 18:47:30 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1024)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*1024)?>
|
2018-02-04 08:02:41 +01:00
|
|
|
|
|
|
|
[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 =
|
2018-07-05 00:47:45 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
2018-02-04 08:02:41 +01:00
|
|
|
|
|
|
|
[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
|
2018-02-04 08:29:32 +01:00
|
|
|
tileModesExcluded = 0x001
|
2018-02-04 08:02:41 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
|
|
|
|
2018-07-01 00:32:43 +02:00
|
|
|
[TextureRedefine] #Bloom
|
2018-02-04 08:02:41 +01:00
|
|
|
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)?>
|