2017-10-18 06:35:35 +02:00
|
|
|
<?php
|
2017-10-18 08:46:57 +02:00
|
|
|
include 'Source/functions.php';
|
2017-10-18 06:35:35 +02:00
|
|
|
$fullWidth = $argv[1];
|
|
|
|
$fullHeight = $argv[2];
|
|
|
|
$scaleFactorX = $fullWidth / 1280.0;
|
|
|
|
$scaleFactorY = $fullHeight / 720.0;
|
|
|
|
|
2017-10-18 08:46:57 +02:00
|
|
|
$title = get_title($fullWidth, $fullHeight);
|
2017-10-18 06:35:35 +02:00
|
|
|
?>
|
|
|
|
[Definition]
|
|
|
|
titleIds = 000500001017D800,000500001017D900,000500001017CD00
|
|
|
|
name = "Hyrule Warriors - <?=$title?>"
|
|
|
|
version = 2
|
|
|
|
|
|
|
|
[TextureRedefine] #Game Resolution
|
|
|
|
width = 1280
|
|
|
|
height = 720
|
|
|
|
formatsExcluded = 0x431,0x433
|
|
|
|
tileModesExcluded = 0x001
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
2017-12-25 16:46:46 +01:00
|
|
|
[TextureRedefine] #Game Resolution (Co-Op)
|
|
|
|
width = 864
|
|
|
|
height = 480
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
2017-12-19 03:35:38 +01:00
|
|
|
[TextureRedefine] #Gamepad
|
|
|
|
width = 854
|
|
|
|
height = 480
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
2017-12-25 16:46:46 +01:00
|
|
|
[TextureRedefine] #Gamepad (Co-Op)
|
|
|
|
width = 648
|
2018-05-13 22:10:06 +02:00
|
|
|
height = 360
|
2017-12-25 16:46:46 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
2017-10-18 06:35:35 +02:00
|
|
|
[TextureRedefine] #Only saw depth in Nsight
|
|
|
|
width = 640
|
|
|
|
height = 360
|
2017-12-04 00:33:52 +01:00
|
|
|
formatsExcluded = 0x35
|
2017-10-18 06:35:35 +02:00
|
|
|
tileModesExcluded = 0x001
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
|
|
|
|
|
|
|
[TextureRedefine] #Lighting?
|
|
|
|
width = 322
|
|
|
|
height = 182
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*322)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*182)?>
|
|
|
|
|
|
|
|
[TextureRedefine] #Dupe of Main Game
|
|
|
|
width = 320
|
|
|
|
height = 180
|
2017-12-04 00:33:52 +01:00
|
|
|
formatsExcluded = 0x35,0x433
|
2017-10-18 06:35:35 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
|
|
|
|
|
|
|
[TextureRedefine] #Lighting Blur?
|
|
|
|
width = 162
|
|
|
|
height = 92
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*162)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*92)?>
|
|
|
|
|
|
|
|
[TextureRedefine] #Lighting Blur?
|
|
|
|
width = 160
|
|
|
|
height = 90
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*160)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*90)?>
|
|
|
|
|
2017-12-04 00:33:52 +01:00
|
|
|
[TextureRedefine] #Dupe of Main Game?
|
|
|
|
width = 64
|
|
|
|
height = 64
|
|
|
|
formats = 0x005
|
2018-01-26 00:29:51 +01:00
|
|
|
#overwriteWidth = <?=round($scaleFactorX*64)?>
|
2017-10-18 06:35:35 +02:00
|
|
|
#overwriteHeight = <?=round($scaleFactorY*64)?>
|
|
|
|
|
2017-12-04 00:33:52 +01:00
|
|
|
[TextureRedefine] #Dupe of Main Game?
|
|
|
|
width = 16
|
|
|
|
height = 16
|
|
|
|
formats = 0x005
|
2018-01-26 00:29:51 +01:00
|
|
|
#overwriteWidth = <?=round($scaleFactorX*16)?>
|
2017-10-18 06:35:35 +02:00
|
|
|
#overwriteHeight = <?=round($scaleFactorY*16)?>
|
|
|
|
|
2017-12-04 00:33:52 +01:00
|
|
|
[TextureRedefine] #Dupe of Main Game?
|
|
|
|
width = 4
|
|
|
|
height = 4
|
|
|
|
formats = 0x005
|
2018-01-26 00:29:51 +01:00
|
|
|
#overwriteWidth = <?=round($scaleFactorX*6)?>
|
2017-10-18 06:35:35 +02:00
|
|
|
#overwriteHeight = <?=round($scaleFactorY*6)?>
|
|
|
|
|
2017-12-04 00:33:52 +01:00
|
|
|
[TextureRedefine] #Dupe of Main Game?
|
|
|
|
width = 1
|
|
|
|
height = 1
|
|
|
|
formats = 0x005
|
2018-01-26 00:29:51 +01:00
|
|
|
#overwriteWidth = <?=round($scaleFactorX*1)?>
|
2017-10-19 01:53:28 +02:00
|
|
|
#overwriteHeight = <?=round($scaleFactorY*1)?>
|
2018-04-08 11:33:29 +02:00
|
|
|
|
|
|
|
[TextureRedefine] # shadows
|
|
|
|
width = 1024
|
|
|
|
height = 2048
|
|
|
|
formats = 0x005
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*1024)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*2048)?>
|