cemu_graphic_packs/Source/Bayonetta/rules.txt
getdls c87f1051f5 [Bayonettii] - Bloom n blur scaling to res
Scale to res bloom n blur, shadows  0x0011 are too broken to fix
2018-01-11 01:06:45 +01:00

62 lines
1.7 KiB
Plaintext

<?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
tileModesExcluded = 0x001
overwriteWidth = <?=round($scaleFactorX*1280)?>
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)?>