cemu_graphic_packs/Source/ShantaeHGH/rules.txt

34 lines
833 B
Plaintext
Raw Normal View History

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);
?>
[Definition]
titleIds = 00050000101db200,0005000010203200,0005000c101db200,0005000c10203200 # All regions
name = "Shantae: Half-Genie Hero"
version = 2
[TextureRedefine]
width = 1920
height = 1080
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*1920?>
overwriteWidth = <?=round($scaleFactorY*1080?>
[TextureRedefine]
width = 854
height = 480
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*854?>
overwriteWidth = <?=round($scaleFactorY*480?>
[TextureRedefine]
width = 480
height = 270
#formatsExcluded =
overwriteWidth = <?=round($scaleFactorX*480?>
overwriteWidth = <?=round($scaleFactorY*270?>