2017-10-20 04:28:36 +02: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]
|
2018-07-28 20:46:09 +02:00
|
|
|
titleIds = 000500001012f000,00050000101d6000,00050000101e4100
|
2017-10-20 04:28:36 +02:00
|
|
|
name = "FAST Racing NEO - <?=$title?>"
|
|
|
|
version = 2
|
|
|
|
|
2018-02-25 08:10:50 +01:00
|
|
|
[TextureRedefine] # TV
|
2017-10-20 04:28:36 +02:00
|
|
|
width = 1280
|
|
|
|
height = 720
|
2018-02-25 08:10:50 +01:00
|
|
|
formatsExcluded = 0x433
|
2017-10-20 04:28:36 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
2018-02-25 08:10:50 +01:00
|
|
|
[TextureRedefine] # Half-width 1
|
2017-10-20 04:28:36 +02:00
|
|
|
width = 640
|
2018-02-25 08:10:50 +01:00
|
|
|
height = 720
|
2017-10-20 04:28:36 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
2018-02-25 08:10:50 +01:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
2017-10-20 04:28:36 +02:00
|
|
|
|
2018-02-25 08:10:50 +01:00
|
|
|
[TextureRedefine] # Half-res
|
2018-02-25 08:03:54 +01:00
|
|
|
width = 640
|
2018-02-25 08:10:50 +01:00
|
|
|
height = 360
|
2018-02-25 08:03:54 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
2018-02-25 08:10:50 +01:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
2018-02-25 08:03:54 +01:00
|
|
|
|
2018-02-25 08:10:50 +01:00
|
|
|
[TextureRedefine] # Half-width 2
|
2018-02-25 08:03:54 +01:00
|
|
|
width = 320
|
2018-02-25 08:10:50 +01:00
|
|
|
height = 360
|
2018-02-25 08:03:54 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
2018-02-25 08:10:50 +01:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
2018-02-25 08:03:54 +01:00
|
|
|
|
2018-02-25 08:10:50 +01:00
|
|
|
[TextureRedefine] # Q-res
|
2018-02-25 08:03:54 +01:00
|
|
|
width = 160
|
2018-02-25 08:10:50 +01:00
|
|
|
height = 180
|
2018-02-25 08:03:54 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*160)?>
|
2018-02-25 08:10:50 +01:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
2017-10-20 04:28:36 +02:00
|
|
|
|
2018-02-25 08:10:50 +01:00
|
|
|
[TextureRedefine] # gamepad
|
|
|
|
width = 854
|
|
|
|
height = 480
|
|
|
|
#overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
#overwriteHeight = <?=round($scaleFactorY*720)?>
|