mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 19:44:14 +01:00
Add Bayonetta and Bayonetta 2 build scripts
This commit is contained in:
parent
14a772239c
commit
437a91aa02
52
Source/Bayonetta/rules.txt
Normal file
52
Source/Bayonetta/rules.txt
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
<?php
|
||||||
|
$fullWidth = $argv[1];
|
||||||
|
$fullHeight = $argv[2];
|
||||||
|
$scaleFactorX = $fullWidth / 1280.0;
|
||||||
|
$scaleFactorY = $fullHeight / 720.0;
|
||||||
|
|
||||||
|
$title = $fullWidth . "x" . $fullHeight;
|
||||||
|
?>
|
||||||
|
[Definition]
|
||||||
|
titleIds = 000500001014DB00,0005000010157E00,0005000010157F00
|
||||||
|
name = "Bayonetta - <?=$title?>"
|
||||||
|
version = 2
|
||||||
|
|
||||||
|
[TextureRedefine] # tv
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
tileModesExcluded = 0x001 # Excludes FMV B&W layer (only viewable with rajkosto's implementation)
|
||||||
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||||||
|
overwriteHeight = <?=round($scaleFactorY*1280)?>
|
||||||
|
|
||||||
|
[TextureRedefine]#half-res
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
tileModesExcluded = 0x001
|
||||||
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
||||||
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
||||||
|
|
||||||
|
[TextureRedefine]#q-res1
|
||||||
|
width = 320
|
||||||
|
height = 176
|
||||||
|
formatsExcluded = 0x01a
|
||||||
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
||||||
|
overwriteHeight = <?=round($scaleFactorY*176)?>
|
||||||
|
|
||||||
|
[TextureRedefine]#bloom workaround
|
||||||
|
width = 320
|
||||||
|
height = 176
|
||||||
|
formats = 0x01a
|
||||||
|
overwriteWidth = 0
|
||||||
|
overwriteHeight = 0
|
||||||
|
|
||||||
|
[TextureRedefine]#q-res2
|
||||||
|
width = 320
|
||||||
|
height = 180
|
||||||
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
||||||
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
||||||
|
|
||||||
|
[TextureRedefine] # gamepad
|
||||||
|
width = 854
|
||||||
|
height = 480
|
||||||
|
#overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||||||
|
#overwriteHeight = <?=round($scaleFactorY*720)?>
|
44
Source/Bayonetta2/rules.txt
Normal file
44
Source/Bayonetta2/rules.txt
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?php
|
||||||
|
$fullWidth = $argv[1];
|
||||||
|
$fullHeight = $argv[2];
|
||||||
|
$scaleFactorX = $fullWidth / 1280.0;
|
||||||
|
$scaleFactorY = $fullHeight / 720.0;
|
||||||
|
|
||||||
|
$title = $fullWidth . "x" . $fullHeight;
|
||||||
|
?>
|
||||||
|
[Definition]
|
||||||
|
titleIds = 0005000010172600,0005000010172700,000500001011B900
|
||||||
|
name = "Bayonetta 2 - <?=$title?>"
|
||||||
|
version = 2
|
||||||
|
|
||||||
|
[TextureRedefine] # tv
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
tileModesExcluded = 0x001 # Excludes FMV B&W layer (only viewable with rajkosto's implementation)
|
||||||
|
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||||||
|
overwriteHeight = <?=round($scaleFactorY*1280)?>
|
||||||
|
|
||||||
|
[TextureRedefine]#half-res
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
tileModesExcluded = 0x001
|
||||||
|
overwriteWidth = <?=round($scaleFactorX*640)?>
|
||||||
|
overwriteHeight = <?=round($scaleFactorY*360)?>
|
||||||
|
|
||||||
|
[TextureRedefine]#q-res1
|
||||||
|
width = 320
|
||||||
|
height = 176
|
||||||
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
||||||
|
overwriteHeight = <?=round($scaleFactorY*176)?>
|
||||||
|
|
||||||
|
[TextureRedefine]#q-res2
|
||||||
|
width = 320
|
||||||
|
height = 180
|
||||||
|
overwriteWidth = <?=round($scaleFactorX*320)?>
|
||||||
|
overwriteHeight = <?=round($scaleFactorY*180)?>
|
||||||
|
|
||||||
|
[TextureRedefine] # gamepad
|
||||||
|
width = 854
|
||||||
|
height = 480
|
||||||
|
#overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||||||
|
#overwriteHeight = <?=round($scaleFactorY*720)?>
|
@ -7,6 +7,5 @@ version = 2
|
|||||||
width = 320
|
width = 320
|
||||||
height = 176
|
height = 176
|
||||||
formats = 0x01a
|
formats = 0x01a
|
||||||
textures = 0xf4e11800
|
|
||||||
overwriteWidth = 0
|
overwriteWidth = 0
|
||||||
overwriteHeight = 0
|
overwriteHeight = 0
|
20
build.sh
20
build.sh
@ -36,6 +36,26 @@ build_dir () {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_2880p" 5120 2880
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_4320p" 7680 4320
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_5760p" 10240 5760
|
||||||
|
build_dir "Source/Bayonetta" "Performance/Bayonetta_360p" 640 360
|
||||||
|
build_dir "Source/Bayonetta" "Performance/Bayonetta_540p" 960 540
|
||||||
|
build_dir "Source/Bayonetta" "Quality/Bayonetta_1080p" 1920 1080
|
||||||
|
build_dir "Source/Bayonetta" "Quality/Bayonetta_1440p" 2560 1440
|
||||||
|
build_dir "Source/Bayonetta" "Quality/Bayonetta_1800p" 3200 1800
|
||||||
|
build_dir "Source/Bayonetta" "Quality/Bayonetta_2160p" 3840 2160
|
||||||
|
build_dir "Source/Bayonetta" "Quality/Bayonetta_900p" 1600 900
|
||||||
|
build_dir "Source/Bayonetta2" "Enthusiast/Bayonetta2_2880p" 5120 2880
|
||||||
|
build_dir "Source/Bayonetta2" "Enthusiast/Bayonetta2_4320p" 7680 4320
|
||||||
|
build_dir "Source/Bayonetta2" "Enthusiast/Bayonetta2_5760p" 10240 5760
|
||||||
|
build_dir "Source/Bayonetta2" "Performance/Bayonetta2_360p" 640 360
|
||||||
|
build_dir "Source/Bayonetta2" "Performance/Bayonetta2_540p" 960 540
|
||||||
|
build_dir "Source/Bayonetta2" "Quality/Bayonetta2_1080p" 1920 1080
|
||||||
|
build_dir "Source/Bayonetta2" "Quality/Bayonetta2_1440p" 2560 1440
|
||||||
|
build_dir "Source/Bayonetta2" "Quality/Bayonetta2_1800p" 3200 1800
|
||||||
|
build_dir "Source/Bayonetta2" "Quality/Bayonetta2_2160p" 3840 2160
|
||||||
|
build_dir "Source/Bayonetta2" "Quality/Bayonetta2_900p" 1600 900
|
||||||
build_dir "Source/BreathOfTheWild" "Enthusiast/BreathOfTheWild_2880p" 5120 2880
|
build_dir "Source/BreathOfTheWild" "Enthusiast/BreathOfTheWild_2880p" 5120 2880
|
||||||
build_dir "Source/BreathOfTheWild" "Enthusiast/BreathOfTheWild_4320p" 7680 4320
|
build_dir "Source/BreathOfTheWild" "Enthusiast/BreathOfTheWild_4320p" 7680 4320
|
||||||
build_dir "Source/BreathOfTheWild" "Enthusiast/BreathOfTheWild_5760p" 10240 5760
|
build_dir "Source/BreathOfTheWild" "Enthusiast/BreathOfTheWild_5760p" 10240 5760
|
||||||
|
Loading…
Reference in New Issue
Block a user