mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-29 11:21:49 +01:00
c87f1051f5
Scale to res bloom n blur, shadows 0x0011 are too broken to fix
69 lines
1.8 KiB
Plaintext
69 lines
1.8 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 = 0005000010172600,0005000010172700,000500001011B900
|
|
name = "Bayonetta 2 - <?=$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 = 180
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
|
|
|
[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)?> |