mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 11:34:15 +01:00
b969a61b7b
* Move shadow packs to main pack As talked about in #143 * remove splatoon shader edit Same shader is also in the main pack... confusing * Add end-screen fix for shadow scaling Also added a label. Could mean that there's a need to scale a different shader like https://github.com/slashiee/cemu_graphic_packs/issues/149#issuecomment-379528843 suggests, although I'm not sure anymore.
67 lines
1.7 KiB
Plaintext
67 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 = 00050000101DF400,00050002101DF401,00050000101DF500
|
|
name = "Pokken Tournament - <?=$title?>"
|
|
version = 2
|
|
|
|
[TextureRedefine] # TV
|
|
width = 1280
|
|
height = 720
|
|
formatsExcluded = 0x033
|
|
tileModesExcluded = 0x001
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine] # In-Game Resolution
|
|
width = 960
|
|
height = 720
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine] # Quarter-Res Resolution
|
|
width = 640
|
|
height = 360
|
|
formatsExcluded = 0x033
|
|
tileModesExcluded = 0x001
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
|
|
|
[TextureRedefine] # Another Resolution
|
|
width = 128
|
|
height = 72
|
|
overwriteWidth = <?=round($scaleFactorX*128)?>
|
|
overwriteHeight = <?=round($scaleFactorY*72)?>
|
|
|
|
[TextureRedefine] # Yet Another Resolution
|
|
width = 120
|
|
height = 72
|
|
overwriteWidth = <?=round($scaleFactorX*120)?>
|
|
overwriteHeight = <?=round($scaleFactorY*72)?>
|
|
|
|
[TextureRedefine] # Dialog Background
|
|
width = 480
|
|
height = 288
|
|
overwriteWidth = <?=round($scaleFactorX*480)?>
|
|
overwriteHeight = <?=round($scaleFactorY*288)?>
|
|
|
|
[TextureRedefine] # Gamepad
|
|
width = 854
|
|
height = 480
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine] #shadows
|
|
width = 512
|
|
height = 512
|
|
formats = 0x005
|
|
overwriteWidth = <?=round($scaleFactorY*512)?>
|
|
overwriteHeight = <?=round($scaleFactorY*512)?>
|