2017-10-18 04:06:31 +02:00
|
|
|
<?php
|
2017-10-18 08:46:57 +02:00
|
|
|
include 'Source/functions.php';
|
2017-10-18 04:06:31 +02:00
|
|
|
$fullWidth = $argv[1];
|
|
|
|
$fullHeight = $argv[2];
|
|
|
|
$scaleFactorX = $fullWidth / 1280.0;
|
|
|
|
$scaleFactorY = $fullHeight / 720.0;
|
2017-10-18 08:46:57 +02:00
|
|
|
$title = get_title($fullWidth, $fullHeight);
|
2017-10-18 04:06:31 +02:00
|
|
|
?>
|
|
|
|
[Definition]
|
|
|
|
titleIds = 000500001014DB00,0005000010157E00,0005000010157F00
|
|
|
|
name = "Bayonetta - <?=$title?>"
|
|
|
|
version = 2
|
|
|
|
|
2018-01-11 01:06:45 +01:00
|
|
|
[TextureRedefine] # game rendering resolution. #Change this value
|
|
|
|
width = 1280
|
2017-10-18 04:06:31 +02:00
|
|
|
height = 720
|
2017-10-19 06:22:22 +02:00
|
|
|
tileModesExcluded = 0x001
|
2017-10-18 04:06:31 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
2017-10-18 06:35:35 +02:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
2018-01-11 01:06:45 +01:00
|
|
|
|
|
|
|
#[TextureRedefine] # No gamepad view found in B, uncommented
|
|
|
|
#width = 854
|
|
|
|
#height = 480
|
|
|
|
#overwriteWidth = 2560
|
|
|
|
#overwriteHeight = 1440
|
|
|
|
|
|
|
|
[TextureRedefine] # FMV, bloom/blur initial step
|
|
|
|
width = 640
|
2017-10-18 04:06:31 +02:00
|
|
|
height = 360
|
2018-01-11 01:06:45 +01:00
|
|
|
tileModesExcluded = 0x001
|
2017-10-18 04:06:31 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
2018-01-11 01:06:45 +01:00
|
|
|
|
|
|
|
[TextureRedefine] # Bloom/blur pyaramid
|
|
|
|
width = 320
|
2017-10-18 04:06:31 +02:00
|
|
|
height = 176
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*176)?>
|
2018-01-11 01:06:45 +01:00
|
|
|
|
|
|
|
[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)?>
|