cemu_graphic_packs/Source/TwilightPrincessHD/rules.txt

48 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-10-19 05:55:21 +02: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 = 000500001019C800,000500001019E600,000500001019E500
name = "The Legend of Zelda: Twilight Princess HD - <?=$title?>"
version = 2
[TextureRedefine] # game rendering resolution
width = 1920
height = 1080
formatsExcluded = 0x41A # exclude the intro background texture
overwriteWidth = <?=round($scaleFactorX*1920)?>
overwriteHeight = <?=round($scaleFactorY*1080)?>
[TextureRedefine] # Blur, bloom
width = 960
height = 540
2017-12-06 18:05:26 +01:00
formatsExcluded = 0x8 # exclude the menu background textures
2017-10-19 05:55:21 +02:00
overwriteWidth = <?=round($scaleFactorX*960)?>
overwriteHeight = <?=round($scaleFactorY*540)?>
[TextureRedefine] #colour grading
width = 480
height = 270
formats = 0x01a
#overwriteWidth = <?=round($scaleFactorX*480)?>
#overwriteHeight = <?=round($scaleFactorY*270)?>
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = <?=round($scaleFactorX*1920)?>
#overwriteHeight = <?=round($scaleFactorY*1080)?>
[TextureRedefine] # shadows
width = 384
height = 384
#formats = 0x5 # find the format
overwriteWidth = <?=round($scaleFactorY*384)?>
overwriteHeight = <?=round($scaleFactorY*384)?>