2017-10-18 00:50:26 +02:00
|
|
|
<?php
|
2017-10-18 08:46:57 +02:00
|
|
|
include 'Source/functions.php';
|
2017-10-18 00:50:26 +02:00
|
|
|
$fullWidth = $argv[1];
|
|
|
|
$fullHeight = $argv[2];
|
|
|
|
$scaleFactorX = $fullWidth / 1280.0;
|
|
|
|
$scaleFactorY = $fullHeight / 720.0;
|
|
|
|
|
2017-10-18 08:46:57 +02:00
|
|
|
$title = get_title($fullWidth, $fullHeight);
|
2017-10-18 00:50:26 +02:00
|
|
|
?>
|
|
|
|
[Definition]
|
|
|
|
titleIds = 0005000010176900,0005000010176A00,0005000010162B00
|
|
|
|
name = "Splatoon - <?=$title?>"
|
|
|
|
version = 2
|
|
|
|
|
|
|
|
[TextureRedefine] # tv
|
|
|
|
width = 1280
|
|
|
|
height = 720
|
2017-10-26 01:24:36 +02:00
|
|
|
formatsExcluded = 0x19,0x1a
|
2017-10-18 01:20:29 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # tv
|
|
|
|
width = 1280
|
|
|
|
height = 720
|
2017-10-26 01:24:36 +02:00
|
|
|
formats = 0x19,0x1a
|
2017-10-18 01:20:29 +02:00
|
|
|
overwriteFormat = 0x1f
|
2017-10-18 00:50:26 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # half-res alpha
|
|
|
|
width = 640
|
|
|
|
height = 360
|
2017-10-26 01:24:36 +02:00
|
|
|
formatsExcluded = 0x41a,0x431 # exclude obvious textures; 41a exclude is broken atm, stage previews don't show
|
2017-10-18 00:50:26 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # quarter-res alpha
|
|
|
|
width = 320
|
|
|
|
height = 180
|
2017-12-11 00:00:11 +01:00
|
|
|
formatsExcluded = 0x35
|
2017-10-18 00:50:26 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # squid sisters
|
|
|
|
width = 1024
|
|
|
|
height = 576
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*1024)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*576)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # gamepad
|
|
|
|
width = 854
|
|
|
|
height = 480
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # zoom blur
|
|
|
|
width = 512
|
|
|
|
height = 288
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*512)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*288)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # sub zoom blur
|
|
|
|
width = 448
|
|
|
|
height = 252
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*448)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*252)?>
|
|
|
|
|
2017-12-02 03:34:28 +01:00
|
|
|
[TextureRedefine] # player icon - GL_SRGB8_ALPHA8; Disabled because of current graphic pack scaling bugs
|
2017-10-18 00:50:26 +02:00
|
|
|
width = 128
|
|
|
|
height = 128
|
2017-10-26 01:24:36 +02:00
|
|
|
formats = 0x41a
|
2017-10-26 02:01:44 +02:00
|
|
|
#overwriteWidth = <?=round($scaleFactorY*128)?>
|
|
|
|
#overwriteHeight = <?=round($scaleFactorY*128)?>
|
2017-10-18 00:50:26 +02:00
|
|
|
|
2017-12-02 03:34:28 +01:00
|
|
|
[TextureRedefine] # player icon - GL_RGBA8; Disabled because of current graphic pack scaling bugs
|
2017-10-18 00:50:26 +02:00
|
|
|
width = 256
|
|
|
|
height = 256
|
2017-10-26 01:24:36 +02:00
|
|
|
formats = 0x1a
|
2017-10-26 02:01:44 +02:00
|
|
|
#overwriteWidth = <?=round($scaleFactorY*256)?>
|
|
|
|
#overwriteHeight = <?=round($scaleFactorY*256)?>
|
2017-10-18 07:04:52 +02:00
|
|
|
|
|
|
|
[TextureRedefine] # player name - GL_RGBA8
|
|
|
|
width = 128
|
|
|
|
height = 32
|
2017-10-26 01:24:36 +02:00
|
|
|
formats = 0x1a
|
2017-10-29 17:37:56 +01:00
|
|
|
overwriteWidth = <?=round($scaleFactorY*128)?>
|
2017-10-26 01:08:57 +02:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*32)?>
|
2017-10-18 00:50:26 +02:00
|
|
|
|
|
|
|
[TextureRedefine] # multiplayer
|
|
|
|
width = 848
|
|
|
|
height = 480
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # half-res alpha (multiplayer)
|
|
|
|
width = 424
|
|
|
|
height = 240
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
|
|
|
|
|
|
|
[TextureRedefine] # a bloom mip
|
|
|
|
width = 160
|
|
|
|
height = 90
|
|
|
|
formats = 0x816
|
|
|
|
overwriteWidth = <?=round($scaleFactorX*160)?>
|
2017-10-18 04:06:31 +02:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*90)?>
|