mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 19:44:14 +01:00
d95c760c5c
Fixes the problem. The actual DoF shader adjustment (the one included was a placeholder or something from me??! didn't do anything) made my computer crash in Nsight everytime I tried anything to change the related value (it's unique) so might try tomorrow. Anyway, closing the related issue.
27 lines
663 B
Plaintext
27 lines
663 B
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 = 0005000010131F00,0005000010184E00,0005000010184D00
|
|
name = "Yoshi's Woolly World - <?=$title?>"
|
|
version = 2
|
|
|
|
[TextureRedefine] # tv
|
|
width = 1280
|
|
height = 720
|
|
formatsExcluded = 0x033
|
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
|
overwriteHeight = <?=round($scaleFactorY*720)?>
|
|
|
|
[TextureRedefine] # half res
|
|
width = 640
|
|
height = 360
|
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|