cemu_graphic_packs/Source/FASTRacingNEO/rules.txt
2018-02-24 23:03:54 -08:00

117 lines
2.8 KiB
Text

<?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]
titleIds = 000500001012f000
name = "FAST Racing NEO - <?=$title?>"
version = 2
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
#width = 4096
#height = 4096
#formatsExcluded =
#overwriteWidth = <?=round($scaleFactorX*4096)?>
#overwriteHeight = <?=round($scaleFactorY*4096)?>
[TextureRedefine]
width = 1280
height = 720
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*1280)?>
overwriteHeight = <?=round($scaleFactorY*720)?>
[TextureRedefine]
width = 1280
height = 580
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*1280)?>
overwriteHeight = <?=round($scaleFactorY*580)?>
[TextureRedefine]
width = 640
height = 360
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*640)?>
overwriteHeight = <?=round($scaleFactorY*360)?>
[TextureRedefine]
width = 640
height = 290
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*640)?>
overwriteHeight = <?=round($scaleFactorY*290)?>
#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
#width = 512
#height = 512
#formatsExcluded =
#overwriteWidth = <?=round($scaleFactorX*512)?>
#overwriteHeight = <?=round($scaleFactorY*512)?>
[TextureRedefine]
width = 320
height = 180
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*320)?>
overwriteHeight = <?=round($scaleFactorY*180)?>
[TextureRedefine]
width = 320
height = 145
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*320)?>
overwriteHeight = <?=round($scaleFactorY*145)?>
[TextureRedefine]
width = 196
height = 73
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*196)?>
overwriteHeight = <?=round($scaleFactorY*73)?>
[TextureRedefine]
width = 160
height = 90
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*160)?>
overwriteHeight = <?=round($scaleFactorY*90)?>
[TextureRedefine]
width = 160
height = 72
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*160)?>
overwriteHeight = <?=round($scaleFactorY*72)?>
[TextureRedefine]
width = 80
height = 45
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*80)?>
overwriteHeight = <?=round($scaleFactorY*45)?>
[TextureRedefine]
width = 80
height = 36
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*80)?>
overwriteHeight = <?=round($scaleFactorY*36)?>
[TextureRedefine]
width = 40
height = 22
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*40)?>
overwriteHeight = <?=round($scaleFactorY*22)?>
[TextureRedefine]
width = 40
height = 18
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*40)?>
overwriteHeight = <?=round($scaleFactorY*18)?>