mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-23 10:09:18 +01:00
85 lines
2.1 KiB
Plaintext
85 lines
2.1 KiB
Plaintext
<?php
|
|
include 'Source/functions.php';
|
|
$fullWidth = $argv[1];
|
|
$fullHeight = $argv[2];
|
|
$scaleFactorX = $fullWidth / 1920.0;
|
|
$scaleFactorY = $fullHeight / 1080.0;
|
|
|
|
$title = get_title($fullWidth, $fullHeight);
|
|
?>
|
|
[Definition]
|
|
titleIds = 0005000010110E00,0005000010145000,0005000010144F00,ffffffffd72e798a
|
|
name = "Super Smash Bros. for Wii U - <?=$title?>"
|
|
version = 2
|
|
|
|
[TextureRedefine] # tv
|
|
width = 1920
|
|
height = 1080
|
|
overwriteWidth = <?=round($scaleFactorX*1920)?>
|
|
overwriteHeight = <?=round($scaleFactorY*1080)?>
|
|
|
|
[TextureRedefine] # half-res
|
|
width = 960
|
|
height = 540
|
|
overwriteWidth = <?=round($scaleFactorX*960)?>
|
|
overwriteHeight = <?=round($scaleFactorY*540)?>
|
|
|
|
[TextureRedefine] # q-res
|
|
width = 480
|
|
height = 270
|
|
overwriteWidth = <?=round($scaleFactorX*480)?>
|
|
overwriteHeight = <?=round($scaleFactorY*270)?>
|
|
|
|
[TextureRedefine] # o-res
|
|
width = 240
|
|
height = 135
|
|
overwriteWidth = <?=round($scaleFactorX*240)?>
|
|
overwriteHeight = <?=round($scaleFactorY*135)?>
|
|
|
|
[TextureRedefine] # half-res 2
|
|
width = 120
|
|
height = 67
|
|
overwriteWidth = <?=round($scaleFactorX*120)?>
|
|
overwriteHeight = <?=round($scaleFactorY*67)?>
|
|
|
|
[TextureRedefine] # q-res 2
|
|
width = 60
|
|
height = 33
|
|
overwriteWidth = <?=round($scaleFactorX*60)?>
|
|
overwriteHeight = <?=round($scaleFactorY*33)?>
|
|
|
|
[TextureRedefine] # o-res 2
|
|
width = 30
|
|
height = 16
|
|
overwriteWidth = <?=round($scaleFactorX*30)?>
|
|
overwriteHeight = <?=round($scaleFactorY*16)?>
|
|
|
|
[TextureRedefine] # o-res 3
|
|
width = 8
|
|
height = 1
|
|
overwriteWidth = <?=round($scaleFactorX*8)?>
|
|
overwriteHeight = <?=round($scaleFactorY*1)?>
|
|
|
|
[TextureRedefine] # 2nd
|
|
width = 820
|
|
height = 410
|
|
overwriteWidth = <?=round($scaleFactorX*820)?>
|
|
overwriteHeight = <?=round($scaleFactorY*410)?>
|
|
|
|
[TextureRedefine] # 3rd
|
|
width = 730
|
|
height = 365
|
|
overwriteWidth = <?=round($scaleFactorX*730)?>
|
|
overwriteHeight = <?=round($scaleFactorY*365)?>
|
|
|
|
[TextureRedefine] # 4th
|
|
width = 420
|
|
height = 210
|
|
overwriteWidth = <?=round($scaleFactorX*420)?>
|
|
overwriteHeight = <?=round($scaleFactorY*210)?>
|
|
|
|
[TextureRedefine] # gamepad
|
|
width = 854
|
|
height = 480
|
|
#overwriteWidth = <?=round($scaleFactorX*1920)?>
|
|
#overwriteHeight = <?=round($scaleFactorY*1080)?> |