From 209d46442275a95114d9260a70bff15b9b0795e3 Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Sat, 25 May 2019 18:10:46 +0200 Subject: [PATCH] Add Star Fox Guard and Tekken Tag 2 res packs Also added the european title id to Star Fox Zero since that was missing. --- Resolutions/StarFoxGuard_Resolution/rules.txt | 130 +++++++++++++++++ Resolutions/StarFoxZero_Resolution/rules.txt | 2 +- .../TekkenTagTournament2_Resolution/rules.txt | 134 ++++++++++++++++++ docs/_data/GameTitles.yml | 4 +- 4 files changed, 267 insertions(+), 3 deletions(-) create mode 100644 Resolutions/StarFoxGuard_Resolution/rules.txt create mode 100644 Resolutions/TekkenTagTournament2_Resolution/rules.txt diff --git a/Resolutions/StarFoxGuard_Resolution/rules.txt b/Resolutions/StarFoxGuard_Resolution/rules.txt new file mode 100644 index 00000000..3e4e3ca8 --- /dev/null +++ b/Resolutions/StarFoxGuard_Resolution/rules.txt @@ -0,0 +1,130 @@ +[Definition] +titleIds = 00050000101BEC00,00050000101BED00 +name = Resolution +path = "Star Fox Guard/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 + +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +# Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +# Common HD Resolutions + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + + +[TextureRedefine] # TV Resolution +width = 1280 +height = 720 +formats = 0x816,0x011,0x80e,0x01a +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 + +[TextureRedefine] # Gamepad Resolution +width = 854 +height = 480 +formats = 0x816,0x011 +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] +width = 864 +height = 480 +formats = 0x816,0x011 +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] # Half res +width = 640 +height = 360 +formats = 0x816,0x01a,0x011 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 + +[TextureRedefine] +width = 640 +height = 368 +formats = 0x816,0x011,0x01a +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] # Quarter res +width = 320 +height = 180 +formats = 0x816,0x01a,0x011 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 + +[TextureRedefine] +width = 320 +height = 192 +formats = 0x816,0x01a,0x011 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 \ No newline at end of file diff --git a/Resolutions/StarFoxZero_Resolution/rules.txt b/Resolutions/StarFoxZero_Resolution/rules.txt index 3483ee81..5c78098e 100644 --- a/Resolutions/StarFoxZero_Resolution/rules.txt +++ b/Resolutions/StarFoxZero_Resolution/rules.txt @@ -1,5 +1,5 @@ [Definition] -titleIds = 00050000101B0400 +titleIds = 00050000101B0400,00050000101B0500 name = Resolution path = "Star Fox Zero/Graphics/Resolution" description = Changes the resolution of the game. diff --git a/Resolutions/TekkenTagTournament2_Resolution/rules.txt b/Resolutions/TekkenTagTournament2_Resolution/rules.txt new file mode 100644 index 00000000..d174b7df --- /dev/null +++ b/Resolutions/TekkenTagTournament2_Resolution/rules.txt @@ -0,0 +1,134 @@ +[Definition] +titleIds = 000500001010F800,0005000010110000 +name = Resolution +path = "Tekken Tag Tournament 2/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 + +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +# Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +# Common HD Resolutions + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +# TV + +[TextureRedefine] +width = 1280 +height = 720 +formats = 0x011,0x01a +tileModesExcluded = 0x001 +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 + +# Blur + +[TextureRedefine] +width = 640 +height = 368 +formats = 0x80e,0x01a +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] +width = 640 +height = 360 +formats = 0x80e,0x01a +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 + +[TextureRedefine] +width = 320 +height = 192 +formats = 0x80e,0x01a +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] +width = 320 +height = 180 +formats = 0x80e,0x01a +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 + +[TextureRedefine] +width = 160 +height = 96 +formats = 0x80e,0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 96 + +[TextureRedefine] +width = 160 +height = 90 +formats = 0x80e,0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 90 \ No newline at end of file diff --git a/docs/_data/GameTitles.yml b/docs/_data/GameTitles.yml index 095864d2..1e0b485b 100644 --- a/docs/_data/GameTitles.yml +++ b/docs/_data/GameTitles.yml @@ -304,7 +304,7 @@ "Star Fox Guard": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Star_Fox_Guard" - version: 2 + version: 3 "Star Fox Zero": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Star_Fox_Zero" @@ -333,7 +333,7 @@ "Tekken Tag Tournament 2: Wii U Edition": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Tekken_Tag_Tournament_2" - version: 2 + version: 3 "Tengami": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Tengami"