mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-24 00:41:51 +01:00
1eb76d2a9d
before: https://cdn.discordapp.com/attachments/292733452590120961/362580915198754827/Untitled.jpg after: https://cdn.discordapp.com/attachments/292733452590120961/362581086506844171/Untitled.jpg
102 lines
2.8 KiB
Plaintext
102 lines
2.8 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 = 000500001010EC00,000500001010ED00,000500001010EB00
|
|
name = "Mario Kart 8 - <?=$title?>"
|
|
version = 2
|
|
|
|
# Main Screen Resolution
|
|
[TextureRedefine]
|
|
width = 1280
|
|
height = 720
|
|
formatsExcluded = 0x41A,0x431 # exclude the intro background texture, race end background
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
# Half Res Alpha (and DOF)
|
|
[TextureRedefine]
|
|
width = 640
|
|
height = 360
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
|
|
|
# Quarter Res Alpha (motion blur effect around edges of screen)
|
|
[TextureRedefine]
|
|
width = 320
|
|
height = 180
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
|
|
|
# Multiplayer-Mode Resolution (2p)
|
|
[TextureRedefine]
|
|
width = 640
|
|
height = 720
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
# Multiplayer-Mode Half Res Alpha (2p)
|
|
[TextureRedefine]
|
|
width = 320
|
|
height = 360
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
|
overwriteHeight = <?=round($scaleFactorY*640)?>
|
|
|
|
# Multiplayer-Mode Quarter Res Alpha (2p)
|
|
[TextureRedefine]
|
|
width = 160
|
|
height = 180
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*160)?>
|
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
|
|
|
# MKTV screen
|
|
[TextureRedefine]
|
|
width = 960
|
|
height = 540
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*960)?>
|
|
overwriteHeight = <?=round($scaleFactorY*540)?>
|
|
|
|
# MKTV internal render targets
|
|
[TextureRedefine]
|
|
width = 960
|
|
height = 536
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*960)?>
|
|
overwriteHeight = <?=round($scaleFactorY*536)?>
|
|
|
|
# MKTV half res alpha
|
|
[TextureRedefine]
|
|
width = 480
|
|
height = 268
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*960)?>
|
|
overwriteHeight = <?=round($scaleFactorY*268)?>
|
|
|
|
# MKTV quarter res alpha
|
|
[TextureRedefine]
|
|
width = 240
|
|
height = 134
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*240)?>
|
|
overwriteHeight = <?=round($scaleFactorY*134)?>
|
|
|
|
# Multiplayer kart preview
|
|
[TextureRedefine]
|
|
width = 640
|
|
height = 320
|
|
formatsExcluded = 0x41A # exclude obvious textures
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
overwriteHeight = <?=round($scaleFactorY*320)?>
|