From 7e70bbdbb6e2b7b41dbbb623b7682f078a41c4f5 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sun, 3 Sep 2023 19:10:24 -0500 Subject: [PATCH] Data: add Fishing Resort, Silent Hill, Super Smash Bros Brawl, and Wind Waker mods to avoid users having to enable frame buffer copies to Ram manually. --- .../Load/GraphicMods/Fishing Resort/SFV.txt | 0 .../GraphicMods/Fishing Resort/metadata.json | 40 ++++++++++ .../Silent Hill Shattered Memories/R5W.txt | 0 .../metadata.json | 32 ++++++++ .../Super Smash Bros Brawl/RSB.txt | 0 .../Super Smash Bros Brawl/metadata.json | 73 +++++++++++++++++++ .../The Legend of Zelda Wind Waker/GZL.txt | 0 .../metadata.json | 49 +++++++++++++ 8 files changed, 194 insertions(+) create mode 100644 Data/Sys/Load/GraphicMods/Fishing Resort/SFV.txt create mode 100644 Data/Sys/Load/GraphicMods/Fishing Resort/metadata.json create mode 100644 Data/Sys/Load/GraphicMods/Silent Hill Shattered Memories/R5W.txt create mode 100644 Data/Sys/Load/GraphicMods/Silent Hill Shattered Memories/metadata.json create mode 100644 Data/Sys/Load/GraphicMods/Super Smash Bros Brawl/RSB.txt create mode 100644 Data/Sys/Load/GraphicMods/Super Smash Bros Brawl/metadata.json create mode 100644 Data/Sys/Load/GraphicMods/The Legend of Zelda Wind Waker/GZL.txt create mode 100644 Data/Sys/Load/GraphicMods/The Legend of Zelda Wind Waker/metadata.json diff --git a/Data/Sys/Load/GraphicMods/Fishing Resort/SFV.txt b/Data/Sys/Load/GraphicMods/Fishing Resort/SFV.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Data/Sys/Load/GraphicMods/Fishing Resort/metadata.json b/Data/Sys/Load/GraphicMods/Fishing Resort/metadata.json new file mode 100644 index 0000000000..9b7f79aa22 --- /dev/null +++ b/Data/Sys/Load/GraphicMods/Fishing Resort/metadata.json @@ -0,0 +1,40 @@ +{ + "meta": + { + "title": "Framebuffer Fixes", + "author": "iwubcode", + "description": "Automatically disables 'Store EFB Copies to Texture Only' when viewing unknown photo fish in the photobook." + }, + "groups": + [ + { + "name": "InvisiblePhotoFish", + "targets": [ + { + "type": "efb", + "texture_filename": "efb1_n000920_256x256_3" + }, + { + "type": "efb", + "texture_filename": "efb1_n000921_128x128_3" + }, + { + "type": "efb", + "texture_filename": "efb1_n005662_448x448_3" + } + ] + } + ], + "features": + [ + { + "group": "InvisiblePhotoFish", + "action": "set_settings", + "action_data": + { + "setting_name": "skip_efb_to_ram", + "setting_value": false + } + } + ] +} \ No newline at end of file diff --git a/Data/Sys/Load/GraphicMods/Silent Hill Shattered Memories/R5W.txt b/Data/Sys/Load/GraphicMods/Silent Hill Shattered Memories/R5W.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Data/Sys/Load/GraphicMods/Silent Hill Shattered Memories/metadata.json b/Data/Sys/Load/GraphicMods/Silent Hill Shattered Memories/metadata.json new file mode 100644 index 0000000000..72c1d20da9 --- /dev/null +++ b/Data/Sys/Load/GraphicMods/Silent Hill Shattered Memories/metadata.json @@ -0,0 +1,32 @@ +{ + "meta": + { + "title": "Framebuffer Fixes", + "author": "iwubcode", + "description": "Automatically disables 'Store EFB Copies to Texture Only' during scenes when snow falls." + }, + "groups": + [ + { + "name": "Snow", + "targets": [ + { + "type": "efb", + "texture_filename": "efb1_n000387_256x256_3" + } + ] + } + ], + "features": + [ + { + "group": "Snow", + "action": "set_settings", + "action_data": + { + "setting_name": "skip_efb_to_ram", + "setting_value": false + } + } + ] +} \ No newline at end of file diff --git a/Data/Sys/Load/GraphicMods/Super Smash Bros Brawl/RSB.txt b/Data/Sys/Load/GraphicMods/Super Smash Bros Brawl/RSB.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Data/Sys/Load/GraphicMods/Super Smash Bros Brawl/metadata.json b/Data/Sys/Load/GraphicMods/Super Smash Bros Brawl/metadata.json new file mode 100644 index 0000000000..ac4026c713 --- /dev/null +++ b/Data/Sys/Load/GraphicMods/Super Smash Bros Brawl/metadata.json @@ -0,0 +1,73 @@ +{ + "meta": + { + "title": "Framebuffer Fixes", + "author": "iwubcode", + "description": "Automatically disables 'Store EFB Copies to Texture Only' when a character is offscreen. Automatically disables 'Store XFB Copies to Texture Only' during the classic mode clear screen." + }, + "groups": + [ + { + "name": "OffscreenHoop", + "targets": [ + { + "type": "efb", + "texture_filename": "efb1_n000022_4x4_6" + } + ] + }, + { + "name": "GameFinished", + "targets": [ + { + "type": "draw_started", + "texture_filename": "tex1_400x148_5449617efae6c800_2" + } + ] + }, + { + "name": "GameFinishedNextScreen", + "targets": [ + { + "comment": "C icon in complete for classic mode", + "type": "draw_started", + "texture_filename": "tex1_64x64_8e4f1690719cedc3_5b746334fe35ceed_9" + }, + { + "comment": "winner icon in free for all", + "type": "draw_started", + "texture_filename": "tex1_104x80_62c38626af7e71e5_ebce21f4ae57a46e_9" + } + ] + } + ], + "features": + [ + { + "group": "OffscreenHoop", + "action": "set_settings", + "action_data": + { + "setting_name": "skip_efb_to_ram", + "setting_value": false + } + }, + { + "group": "GameFinished", + "action": "set_settings", + "action_data": + { + "setting_name": "skip_xfb_to_ram", + "setting_value": false + } + }, + { + "group": "GameFinishedNextScreen", + "action": "set_settings", + "action_data": + { + "setting_name": "skip_xfb_to_ram" + } + } + ] +} \ No newline at end of file diff --git a/Data/Sys/Load/GraphicMods/The Legend of Zelda Wind Waker/GZL.txt b/Data/Sys/Load/GraphicMods/The Legend of Zelda Wind Waker/GZL.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Data/Sys/Load/GraphicMods/The Legend of Zelda Wind Waker/metadata.json b/Data/Sys/Load/GraphicMods/The Legend of Zelda Wind Waker/metadata.json new file mode 100644 index 0000000000..936e094d07 --- /dev/null +++ b/Data/Sys/Load/GraphicMods/The Legend of Zelda Wind Waker/metadata.json @@ -0,0 +1,49 @@ +{ + "meta": + { + "title": "Framebuffer Fixes", + "author": "iwubcode", + "description": "Automatically disables 'Store EFB Copies to Texture Only' during pictograph gameplay." + }, + "groups": + [ + { + "name": "PictographStart", + "targets": [ + { + "type": "draw_started", + "texture_filename": "tex1_32x224_ccd5b94c8c1af275_14" + } + ] + }, + { + "name": "PictographEnd", + "targets": [ + { + "type": "draw_started", + "texture_filename": "tex1_24x24_7e201aa9d5e4a597_598b8b532cc3e935_9" + } + ] + } + ], + "features": + [ + { + "group": "PictographStart", + "action": "set_settings", + "action_data": + { + "setting_name": "skip_efb_to_ram", + "setting_value": false + } + }, + { + "group": "PictographEnd", + "action": "set_settings", + "action_data": + { + "setting_name": "skip_efb_to_ram" + } + } + ] +} \ No newline at end of file