mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-23 18:19:16 +01:00
75 lines
2.1 KiB
Plaintext
75 lines
2.1 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 = 0005000010116100,00050000101C4C00,00050000101C4D00
|
||
|
name = "Xenoblade Chronicles X - <?=$title?>"
|
||
|
version = 2
|
||
|
|
||
|
[TextureRedefine] # tv
|
||
|
width = 1280
|
||
|
height = 720
|
||
|
tileModesExcluded = 0x001
|
||
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
||
|
|
||
|
[TextureRedefine] # half-res alpha
|
||
|
width = 640
|
||
|
height = 360
|
||
|
formatsExcluded = 0x41A # exclude obvious textures
|
||
|
tileModesExcluded = 0x001
|
||
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
||
|
|
||
|
[TextureRedefine] # q-res alpha (Previously not added due to potential conflict, please remove rule when using Xeno GCN4 workaround)
|
||
|
width = 320
|
||
|
height = 180
|
||
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
||
|
|
||
|
[TextureRedefine] # Gear menu
|
||
|
width = 1024
|
||
|
height = 720
|
||
|
overwriteWidth = <?=round($scaleFactorX*1024)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
||
|
|
||
|
[TextureRedefine] # Fog
|
||
|
width = 426
|
||
|
height = 240
|
||
|
overwriteWidth = <?=round($scaleFactorX*426)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*240)?>
|
||
|
|
||
|
// vvvv credits to Getdls & GITech vvvv //
|
||
|
|
||
|
[TextureRedefine] # Sun, Light Sources (plants, armor etc)
|
||
|
width = 512
|
||
|
height = 288
|
||
|
overwriteWidth = <?=round($scaleFactorX*512)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*288)?>
|
||
|
|
||
|
[TextureRedefine] # "God rays" size (not quality), lens reflections.
|
||
|
width = 256
|
||
|
height = 144
|
||
|
overwriteWidth = <?=round($scaleFactorX*256)?>
|
||
|
overwriteHeight = <?=round($scaleFactorY*144)?>
|
||
|
|
||
|
[TextureRedefine]# Probe glow. Does not increase sample amount, only scales up
|
||
|
width = 160
|
||
|
height = 90
|
||
|
formatsExcluded = 0x816 #fix probe glow
|
||
|
#overwriteWidth = <?=round($scaleFactorX*160)?>
|
||
|
#overwriteHeight = <?=round($scaleFactorY*90)?>
|
||
|
|
||
|
[TextureRedefine]# Probe Beacon glow.
|
||
|
width = 80
|
||
|
height = 46
|
||
|
formatsExcluded = 0x816 #fix probe glow
|
||
|
#overwriteWidth = <?=round($scaleFactorX*80)?>
|
||
|
#overwriteHeight = <?=round($scaleFactorY*46)?>
|