mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-29 11:21:49 +01:00
37 lines
932 B
Plaintext
37 lines
932 B
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 = 0005000010175400,00050000101A1300
|
||
|
name = "Paper Monsters Recut - <?=$title?>"
|
||
|
version = 2
|
||
|
|
||
|
[TextureRedefine] # tv
|
||
|
width = 1280
|
||
|
height = 720
|
||
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
||
|
|
||
|
[TextureRedefine] # TV 2
|
||
|
width = 960
|
||
|
height = 540
|
||
|
overwriteWidth = <?=round($scaleFactorX*960)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*540)?>
|
||
|
|
||
|
[TextureRedefine] # TV 2 half-res
|
||
|
width = 480
|
||
|
height = 270
|
||
|
overwriteWidth = <?=round($scaleFactorX*480)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*270)?>
|
||
|
|
||
|
[TextureRedefine] # gamepad
|
||
|
width = 854
|
||
|
height = 480
|
||
|
#overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||
|
#overwriteHeight = <?=round($scaleFactorY*720)?>
|