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)?>
|
|
|
|
|
|
|
|
[TextureRedefine] #Only saw depth in Nsight
|
|
|
|
width = 640
|
|
|
|
height = 360
|
|
|
|
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
|
|
|
|
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)?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #Shadows?
|
|
|
|
#width = 1024
|
|
|
|
#height = 2048
|
|
|
|
#formats = 0x005
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*1024)?>
|
|
|
|
#overwriteHeight = <?=round($scaleFactorY*2048)?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #Dupe of Main Game?
|
|
|
|
#width = 64
|
|
|
|
#height = 64
|
|
|
|
#formats = 0x005
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*64)?>
|
|
|
|
#overwriteHeight = <?=round($scaleFactorY*64)?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #Dupe of Main Game?
|
|
|
|
#width = 16
|
|
|
|
#height = 16
|
|
|
|
#formats = 0x005
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*16)?>
|
|
|
|
#overwriteHeight = <?=round($scaleFactorY*16)?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #Dupe of Main Game?
|
|
|
|
#width = 4
|
|
|
|
#height = 4
|
|
|
|
#formats = 0x005
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*6)?>
|
|
|
|
#overwriteHeight = <?=round($scaleFactorY*6)?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #Dupe of Main Game?
|
|
|
|
#width = 1
|
|
|
|
#height = 1
|
|
|
|
#formats = 0x005
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*1)?>
|
2017-10-19 01:53:28 +02:00
|
|
|
#overwriteHeight = <?=round($scaleFactorY*1)?>
|