cemu_graphic_packs/Source/Bayonetta/rules.txt

62 lines
1.7 KiB
Plaintext
Raw Normal View History

<?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 = 000500001014DB00,0005000010157E00,0005000010157F00
name = "Bayonetta - <?=$title?>"
version = 2
[TextureRedefine] # game rendering resolution. #Change this value
width = 1280
height = 720
2017-10-19 06:22:22 +02:00
tileModesExcluded = 0x001
overwriteWidth = <?=round($scaleFactorX*1280)?>
2017-10-18 06:35:35 +02:00
overwriteHeight = <?=round($scaleFactorY*720)?>
#[TextureRedefine] # No gamepad view found in B, uncommented
#width = 854
#height = 480
#overwriteWidth = 2560
#overwriteHeight = 1440
[TextureRedefine] # FMV, bloom/blur initial step
width = 640
height = 360
tileModesExcluded = 0x001
overwriteWidth = <?=round($scaleFactorX*640)?>
overwriteHeight = <?=round($scaleFactorY*360)?>
[TextureRedefine] # Bloom/blur pyaramid
width = 320
height = 176
overwriteWidth = <?=round($scaleFactorX*320)?>
overwriteHeight = <?=round($scaleFactorY*176)?>
[TextureRedefine] #Bloom/blur pyaramid
width = 160
height = 80
overwriteWidth = <?=round($scaleFactorX*160)?>
overwriteHeight = <?=round($scaleFactorY*80)?>
[TextureRedefine] # Bloom/blur pyaramid
width = 80
height = 48
overwriteWidth = <?=round($scaleFactorX*80)?>
overwriteHeight = <?=round($scaleFactorY*48)?>
[TextureRedefine] # Bloom/blur pyaramid
width = 48
height = 32
overwriteWidth = <?=round($scaleFactorX*48)?>
overwriteHeight = <?=round($scaleFactorY*32)?>
[TextureRedefine] # Bloom/blur pyaramid
width = 32
height = 16
overwriteWidth = <?=round($scaleFactorX*32)?>
overwriteHeight = <?=round($scaleFactorY*16)?>