2018-01-20 20:21:39 +01:00
|
|
|
<?php
|
|
|
|
include 'Source/functions.php';
|
|
|
|
$fullWidth = $argv[1];
|
|
|
|
$fullHeight = $argv[2];
|
|
|
|
$scaleFactorX = $fullWidth / 1920.0;
|
|
|
|
$scaleFactorY = $fullHeight / 1080.0;
|
|
|
|
$title = get_title($fullWidth, $fullHeight);
|
|
|
|
?>
|
2018-01-20 21:11:47 +01:00
|
|
|
|
2018-01-20 20:21:39 +01:00
|
|
|
[Definition]
|
|
|
|
titleIds = 00050000101db200,0005000010203200,0005000c101db200,0005000c10203200 # All regions
|
2018-01-20 21:49:35 +01:00
|
|
|
name = "Shantae: Half-Genie Hero - <?=$title?>"
|
2018-01-20 20:21:39 +01:00
|
|
|
version = 2
|
|
|
|
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 1920
|
|
|
|
height = 1080
|
|
|
|
#formatsExcluded =
|
2018-01-20 21:49:35 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1920)?>
|
2018-01-20 22:34:39 +01:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*1080)?>
|
2018-01-20 20:21:39 +01:00
|
|
|
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 854
|
|
|
|
height = 480
|
|
|
|
#formatsExcluded =
|
2018-01-20 21:49:35 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*854)?>
|
2018-01-20 22:34:39 +01:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*480)?>
|
2018-01-20 20:21:39 +01:00
|
|
|
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 480
|
|
|
|
height = 270
|
|
|
|
#formatsExcluded =
|
2018-01-20 21:49:35 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*480)?>
|
2018-01-20 22:34:39 +01:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*270)?>
|