2017-10-18 20:49:18 -07: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);
|
|
|
|
?>
|
2018-01-20 18:32:48 +01:00
|
|
|
|
2017-10-18 20:49:18 -07:00
|
|
|
[Definition]
|
2018-01-20 18:32:48 +01:00
|
|
|
titleIds = 050000101c4d00 # replace with fulltitleID
|
|
|
|
name = " "
|
2017-10-18 20:49:18 -07:00
|
|
|
version = 2
|
|
|
|
|
2018-01-20 18:32:48 +01:00
|
|
|
[TextureRedefine]
|
2017-10-18 20:49:18 -07:00
|
|
|
width = 1280
|
|
|
|
height = 720
|
2018-01-20 18:32:48 +01:00
|
|
|
#formatsExcluded =
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280?>
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*720?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
|
|
|
|
#width = 1024
|
|
|
|
#height = 1024
|
|
|
|
#formatsExcluded =
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*1024?>
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*1024?>
|
2017-10-18 20:49:18 -07:00
|
|
|
|
2018-01-20 18:32:48 +01:00
|
|
|
[TextureRedefine]
|
2017-11-20 01:53:39 +01:00
|
|
|
width = 854
|
|
|
|
height = 480
|
2018-01-20 18:32:48 +01:00
|
|
|
#formatsExcluded =
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*854?>
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*480?>
|
2017-11-20 01:53:39 +01:00
|
|
|
|
2018-01-20 18:32:48 +01:00
|
|
|
[TextureRedefine]
|
2017-10-18 20:49:18 -07:00
|
|
|
width = 640
|
|
|
|
height = 360
|
2018-01-20 18:32:48 +01:00
|
|
|
#formatsExcluded =
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*640?>
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*360?>
|
2017-10-18 20:49:18 -07:00
|
|
|
|
2018-01-20 18:32:48 +01:00
|
|
|
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
|
|
|
|
#width = 512
|
|
|
|
#height = 512
|
|
|
|
#formatsExcluded =
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*512?>
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*512?>
|
2017-10-18 20:49:18 -07:00
|
|
|
|
2018-01-20 18:32:48 +01:00
|
|
|
[TextureRedefine]
|
|
|
|
width = 512
|
|
|
|
height = 288
|
|
|
|
#formatsExcluded =
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*512?>
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*288?>
|
2017-10-18 20:49:18 -07:00
|
|
|
|
2018-01-20 18:32:48 +01:00
|
|
|
[TextureRedefine]
|
|
|
|
width = 426
|
2017-10-18 20:49:18 -07:00
|
|
|
height = 240
|
2018-01-20 18:32:48 +01:00
|
|
|
#formatsExcluded =
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*426?>
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*240?>
|
2017-10-18 20:49:18 -07:00
|
|
|
|
2018-01-20 18:32:48 +01:00
|
|
|
[TextureRedefine]
|
|
|
|
width = 320
|
|
|
|
height = 180
|
|
|
|
#formatsExcluded =
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*320?>
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*180?>
|
2017-10-18 20:49:18 -07:00
|
|
|
|
2018-01-20 18:32:48 +01:00
|
|
|
[TextureRedefine]
|
2017-10-18 20:49:18 -07:00
|
|
|
width = 160
|
|
|
|
height = 90
|
2018-01-20 18:32:48 +01:00
|
|
|
#formatsExcluded =
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*160?>
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*90?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
|
|
|
|
#width = 128
|
|
|
|
#height = 128
|
|
|
|
#formatsExcluded =
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*128?>
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*128?>
|
|
|
|
|
|
|
|
[TextureRedefine]
|
2017-10-18 20:49:18 -07:00
|
|
|
width = 80
|
|
|
|
height = 46
|
2018-01-20 18:32:48 +01:00
|
|
|
#formatsExcluded =
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*80?>
|
|
|
|
overwriteWidth = <?=round($scaleFactorY*46?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
|
|
|
|
#width = 64
|
|
|
|
#height = 64
|
|
|
|
#formatsExcluded =
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*64?>
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*64?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
|
|
|
|
#width = 32
|
|
|
|
#height = 32
|
|
|
|
#formatsExcluded =
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*32?>
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*32?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
|
|
|
|
#width = 8
|
|
|
|
#height = 8
|
|
|
|
#formatsExcluded =
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*8?>
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*8?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
|
|
|
|
#width = 4
|
|
|
|
#height = 4
|
|
|
|
#formatsExcluded =
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*4?>
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*4?>
|
|
|
|
|
|
|
|
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
|
|
|
|
#width = 1
|
|
|
|
#height = 1
|
|
|
|
#formatsExcluded =
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*1?>
|
|
|
|
#overwriteWidth = <?=round($scaleFactorY*1?>
|