From 27b489831458cbe761ba6cc13a4aa85f8cf13778 Mon Sep 17 00:00:00 2001 From: Flextape05 <162949034+Flextape05@users.noreply.github.com> Date: Thu, 12 Dec 2024 03:35:41 +0100 Subject: [PATCH] [Tekken Tag Tournament 2] Add ultrawide zoom and culling fixes, plus a FOV pack Thanks @Flextape05 for these fixes! --- Mods/TekkenTagTournament2_FOV/patches.txt | 3 + Mods/TekkenTagTournament2_FOV/rules.txt | 26 +++++++++ .../patches.txt | 5 ++ .../TekkenTagTournament2_Resolution/rules.txt | 58 ++++++++++++++++++- TekkenTagTournament2_FOV/patches.txt | 3 + TekkenTagTournament2_FOV/rules.txt | 26 +++++++++ 6 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 Mods/TekkenTagTournament2_FOV/patches.txt create mode 100644 Mods/TekkenTagTournament2_FOV/rules.txt create mode 100644 Resolutions/TekkenTagTournament2_Resolution/patches.txt create mode 100644 TekkenTagTournament2_FOV/patches.txt create mode 100644 TekkenTagTournament2_FOV/rules.txt diff --git a/Mods/TekkenTagTournament2_FOV/patches.txt b/Mods/TekkenTagTournament2_FOV/patches.txt new file mode 100644 index 000000000..4c149742a --- /dev/null +++ b/Mods/TekkenTagTournament2_FOV/patches.txt @@ -0,0 +1,3 @@ +[tekken32] +moduleMatches = 0x465EA719 +0x106d2e24 = .float $fov #FOV/Zoom diff --git a/Mods/TekkenTagTournament2_FOV/rules.txt b/Mods/TekkenTagTournament2_FOV/rules.txt new file mode 100644 index 000000000..0eb6795b4 --- /dev/null +++ b/Mods/TekkenTagTournament2_FOV/rules.txt @@ -0,0 +1,26 @@ +[Definition] +titleIds = 000500001010F800,0005000010110000 +name = Field of View +path = "Tekken Tag Tournament 2/Graphics/FOV" +description = Changes the FOV of the game for aspect ratio patches. Made by Flextape05 +version = 4 + +[Preset] +name = Default FOV +$fov = 0.017453292 + +[Preset] +name = Match 16:9 horizontal FOV to 21:9 +$fov = 0.022907446 + +[Preset] +name = High FOV for 21:9 +$fov = 0.026 + +[Preset] +name = FOV for 32:9 +$fov = 0.028 + +[Preset] +name = FOV for 48:9 +$fov = 0.0285 diff --git a/Resolutions/TekkenTagTournament2_Resolution/patches.txt b/Resolutions/TekkenTagTournament2_Resolution/patches.txt new file mode 100644 index 000000000..7d52def30 --- /dev/null +++ b/Resolutions/TekkenTagTournament2_Resolution/patches.txt @@ -0,0 +1,5 @@ +[tekken32] +moduleMatches = 0x465EA719 +0x10433450 = .float $width/$height #Main aspect ratio +0x101798a4 = .float (0.017453292 * (($width/$height)/($gameWidth/$gameHeight))) #Culling +0x1072d978 = .float (0.017453292 * (($width/$height)/($gameWidth/$gameHeight))) #Props culling diff --git a/Resolutions/TekkenTagTournament2_Resolution/rules.txt b/Resolutions/TekkenTagTournament2_Resolution/rules.txt index e22a50769..341ed4348 100644 --- a/Resolutions/TekkenTagTournament2_Resolution/rules.txt +++ b/Resolutions/TekkenTagTournament2_Resolution/rules.txt @@ -2,7 +2,7 @@ titleIds = 000500001010F800,0005000010110000 name = Resolution path = "Tekken Tag Tournament 2/Graphics/Resolution" -description = Changes the resolution of the game. +description = Changes the resolution of the game. Aspect ratio patch Made by Flextape05 version = 4 [Preset] @@ -79,6 +79,62 @@ $height = 4320 $gameWidth = 1280 $gameHeight = 720 +[Preset] +name = 2560x1080(21:9) +$width = 2560 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3440x1440(21:9) +$width = 3440 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2160(21:9) +$width = 2560 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 6880x2880(21:9) +$width = 3440 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x1080(32:9) +$width = 3840 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x1440(32:9) +$width = 5120 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5760x1080(48:9) +$width = 5760 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 7680x1440(48:9) +$width = 5120 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + # TV [TextureRedefine] diff --git a/TekkenTagTournament2_FOV/patches.txt b/TekkenTagTournament2_FOV/patches.txt new file mode 100644 index 000000000..4c149742a --- /dev/null +++ b/TekkenTagTournament2_FOV/patches.txt @@ -0,0 +1,3 @@ +[tekken32] +moduleMatches = 0x465EA719 +0x106d2e24 = .float $fov #FOV/Zoom diff --git a/TekkenTagTournament2_FOV/rules.txt b/TekkenTagTournament2_FOV/rules.txt new file mode 100644 index 000000000..0eb6795b4 --- /dev/null +++ b/TekkenTagTournament2_FOV/rules.txt @@ -0,0 +1,26 @@ +[Definition] +titleIds = 000500001010F800,0005000010110000 +name = Field of View +path = "Tekken Tag Tournament 2/Graphics/FOV" +description = Changes the FOV of the game for aspect ratio patches. Made by Flextape05 +version = 4 + +[Preset] +name = Default FOV +$fov = 0.017453292 + +[Preset] +name = Match 16:9 horizontal FOV to 21:9 +$fov = 0.022907446 + +[Preset] +name = High FOV for 21:9 +$fov = 0.026 + +[Preset] +name = FOV for 32:9 +$fov = 0.028 + +[Preset] +name = FOV for 48:9 +$fov = 0.0285