2017-10-18 06:59:41 +02:00
|
|
|
<?php
|
2017-10-18 08:46:57 +02:00
|
|
|
include 'Source/functions.php';
|
2017-10-18 06:59:41 +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 06:59:41 +02:00
|
|
|
?>
|
2017-01-10 05:09:40 +01:00
|
|
|
[Definition]
|
2017-10-19 05:35:32 +02:00
|
|
|
titleIds = 000500001010EC00,000500001010ED00,000500001010EB00
|
2017-10-18 06:59:41 +02:00
|
|
|
name = "Mario Kart 8 - <?=$title?>"
|
2017-05-25 00:55:55 +02:00
|
|
|
version = 2
|
2017-01-10 05:09:40 +01:00
|
|
|
|
2017-01-11 21:36:18 +01:00
|
|
|
# Main Screen Resolution
|
|
|
|
[TextureRedefine]
|
2017-01-10 05:09:40 +01:00
|
|
|
width = 1280
|
|
|
|
height = 720
|
2017-01-11 21:36:18 +01:00
|
|
|
formatsExcluded = 0x41A,0x431 # exclude the intro background texture, race end background
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
2017-01-10 05:09:40 +01:00
|
|
|
|
2017-01-11 21:36:18 +01:00
|
|
|
# Half Res Alpha (and DOF)
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 640
|
|
|
|
height = 360
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
2017-01-11 21:36:18 +01:00
|
|
|
|
2017-03-12 23:49:22 +01:00
|
|
|
# Quarter Res Alpha (motion blur effect around edges of screen)
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 320
|
|
|
|
height = 180
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
2017-03-12 23:49:22 +01:00
|
|
|
|
2017-01-17 18:07:29 +01:00
|
|
|
# Multiplayer-Mode Resolution (2p)
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 640
|
|
|
|
height = 720
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
2017-01-17 18:07:29 +01:00
|
|
|
|
2017-01-21 01:18:17 +01:00
|
|
|
# Multiplayer-Mode Half Res Alpha (2p)
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 320
|
|
|
|
height = 360
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*640)?>
|
2017-01-21 01:18:17 +01:00
|
|
|
|
2017-03-12 23:49:22 +01:00
|
|
|
# Multiplayer-Mode Quarter Res Alpha (2p)
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 160
|
|
|
|
height = 180
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*160)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
2017-03-12 23:49:22 +01:00
|
|
|
|
2017-01-11 21:36:18 +01:00
|
|
|
# MKTV screen
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 960
|
|
|
|
height = 540
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*960)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*540)?>
|
2017-01-11 21:36:18 +01:00
|
|
|
|
|
|
|
# MKTV internal render targets
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 960
|
|
|
|
height = 536
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*960)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*536)?>
|
2017-01-11 21:36:18 +01:00
|
|
|
|
|
|
|
# MKTV half res alpha
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 480
|
|
|
|
height = 268
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*960)?>
|
|
|
|
overwriteHeight = <?=round($scaleFactorY*268)?>
|
2017-03-12 23:49:22 +01:00
|
|
|
|
|
|
|
# MKTV quarter res alpha
|
|
|
|
[TextureRedefine]
|
|
|
|
width = 240
|
|
|
|
height = 134
|
|
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
2017-10-18 06:59:41 +02:00
|
|
|
overwriteWidth = <?=round($scaleFactorX*240)?>
|
2017-10-19 01:53:28 +02:00
|
|
|
overwriteHeight = <?=round($scaleFactorY*134)?>
|