mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-24 17:01:49 +01:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 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 = 00050000101D0300,00050000101D0600,000500001014D200,00050000101D3F00
|
|
name = "Project Zero Maiden of Black Water - <?=$title?>"
|
|
version = 2
|
|
|
|
[TextureRedefine] # tv
|
|
width = 1280
|
|
height = 720
|
|
tileModesExcluded = 0x001
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine] # tv
|
|
width = 1278
|
|
height = 718
|
|
overwriteWidth = <?=round($scaleFactorX*1278)?>
|
|
overwriteHeight = <?=round($scaleFactorY*718)?>
|
|
|
|
[TextureRedefine] # half-res alpha
|
|
width = 640
|
|
height = 360
|
|
tileModesExcluded = 0x001
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
|
|
|
[TextureRedefine] # gamepad
|
|
width = 854
|
|
height = 480
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|