cemu_graphic_packs/Source/PokkenTournament/rules.txt
nosklo cadd1d3ea5 Add EUR version to rules.txt for Pokken (#166)
* Add EUR version

The graphic pack is being enabled only for USA and DEMO version. Add EUR version.

* Add EUR version to rules

The graphic pack is being enabled only for USA and DEMO version. Add EUR version.
2018-01-19 16:01:28 -08:00

60 lines
1.5 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,0050000101DF500
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)?>