From 705882dbe3b6e8c24744d069d3e9faef4f569afc Mon Sep 17 00:00:00 2001 From: jw098 Date: Thu, 28 May 2026 23:34:43 -0700 Subject: [PATCH 1/3] add required resources to program descriptors --- .../Panels/PanelDescriptor.cpp | 4 +++- .../CommonFramework/Panels/PanelDescriptor.h | 7 ++++++- .../ResourceDownload/ResourceType.h | 19 +++++++++++++++++++ .../NintendoSwitch_MultiSwitchProgram.cpp | 6 ++++-- .../NintendoSwitch_MultiSwitchProgram.h | 3 ++- .../NintendoSwitch_SingleSwitchProgram.cpp | 6 ++++-- .../NintendoSwitch_SingleSwitchProgram.h | 5 ++++- .../AutoStory/PokemonSV_AutoStory.cpp | 4 +++- SerialPrograms/cmake/SourceFiles.cmake | 1 + 9 files changed, 46 insertions(+), 9 deletions(-) create mode 100644 SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceType.h diff --git a/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.cpp b/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.cpp index 4192cc3e1b..2b1b4fc06c 100644 --- a/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.cpp +++ b/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.cpp @@ -15,7 +15,8 @@ PanelDescriptor::PanelDescriptor( std::string identifier, std::string category, std::string display_name, std::string doc_link, - std::string description + std::string description, + std::vector required_resources ) : m_color(color) , m_identifier(std::move(identifier)) @@ -23,6 +24,7 @@ PanelDescriptor::PanelDescriptor( , m_display_name(std::move(display_name)) , m_doc_link(std::move(doc_link)) , m_description(std::move(description)) + , m_required_resources(std::move(required_resources)) {} std::unique_ptr PanelDescriptor::make_panel() const{ return std::unique_ptr(new PanelInstance(*this)); diff --git a/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.h b/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.h index 262b2a5e81..7d51daf6c5 100644 --- a/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.h +++ b/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.h @@ -9,6 +9,8 @@ #include #include +#include +#include "CommonFramework/ResourceDownload/ResourceType.h" #include "Common/Cpp/Color.h" namespace PokemonAutomation{ @@ -25,7 +27,8 @@ class PanelDescriptor{ std::string identifier, std::string category, std::string display_name, std::string doc_link, - std::string description + std::string description, + std::vector required_resources = {} ); virtual ~PanelDescriptor() = default; @@ -35,6 +38,7 @@ class PanelDescriptor{ const std::string& display_name() const{ return m_display_name; } const std::string& doc_link() const{ return m_doc_link; } const std::string& description() const{ return m_description; } + const std::vector& required_resources() const{ return m_required_resources; } virtual std::unique_ptr make_panel() const = 0; @@ -45,6 +49,7 @@ class PanelDescriptor{ const std::string m_display_name; const std::string m_doc_link; const std::string m_description; + const std::vector m_required_resources; }; diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceType.h b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceType.h new file mode 100644 index 0000000000..0b27581ac9 --- /dev/null +++ b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceType.h @@ -0,0 +1,19 @@ +/* Resource Type + * + * From: https://github.com/PokemonAutomation/ + * + */ + +#ifndef PokemonAutomation_ResourceType_H +#define PokemonAutomation_ResourceType_H + + +namespace PokemonAutomation{ + +enum class ResourceType { + OCR, + YOLO_MODEL_AREA_ZERO, +}; + +} +#endif diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.cpp b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.cpp index 22fbb1f58e..3ddfbd092c 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.cpp +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.cpp @@ -115,14 +115,16 @@ MultiSwitchProgramDescriptor::MultiSwitchProgramDescriptor( size_t min_switches, size_t max_switches, size_t default_switches, - bool deprecated + bool deprecated, + std::vector required_resources ) : ProgramDescriptor( pick_color(color_class), std::move(identifier), std::move(category), std::move(display_name), std::move(doc_link), - std::move(description) + std::move(description), + std::move(required_resources) ) , m_color_class(color_class) , m_feedback(feedback) diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h index 788e3c3f08..850c07384e 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h @@ -81,7 +81,8 @@ class MultiSwitchProgramDescriptor : public ProgramDescriptor{ size_t min_switches, size_t max_switches, size_t default_switches, - bool deprecated = false + bool deprecated = false, + std::vector required_resources = {} ); ProgramControllerClass color_class() const{ return m_color_class; } diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp index 30643e0b28..a8bef62df9 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp @@ -33,14 +33,16 @@ SingleSwitchProgramDescriptor::SingleSwitchProgramDescriptor( ProgramControllerClass color_class, FeedbackType feedback, AllowCommandsWhenRunning allow_commands_while_running, - bool deprecated + bool deprecated, + std::vector required_resources ) : ProgramDescriptor( pick_color(color_class), std::move(identifier), std::move(category), std::move(display_name), std::move(doc_link), - std::move(description) + std::move(description), + std::move(required_resources) ) , m_color_class(color_class) , m_feedback(feedback) diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h index c55b8b3d68..2061d83d43 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h @@ -12,6 +12,7 @@ #include "CommonFramework/Notifications/EventNotificationOption.h" #include "CommonFramework/Tools/ProgramEnvironment.h" #include "CommonFramework/Panels/ProgramDescriptor.h" +#include "CommonFramework/ResourceDownload/ResourceType.h" #include "NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController.h" #include "NintendoSwitch/NintendoSwitch_ConsoleHandle.h" @@ -60,7 +61,8 @@ class SingleSwitchProgramDescriptor : public ProgramDescriptor{ ProgramControllerClass color_class, FeedbackType feedback, AllowCommandsWhenRunning allow_commands_while_running, - bool deprecated = false + bool deprecated = false, + std::vector required_resources = {} ); ProgramControllerClass color_class() const{ return m_color_class; } @@ -76,6 +78,7 @@ class SingleSwitchProgramDescriptor : public ProgramDescriptor{ const FeedbackType m_feedback; const bool m_allow_commands_while_running; const bool m_deprecated; + const std::vector m_required_resources; }; diff --git a/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp b/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp index af3d5dcc4f..dc66ec74de 100644 --- a/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp +++ b/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp @@ -376,7 +376,9 @@ AutoStory_Descriptor::AutoStory_Descriptor() "Progress through the mainstory of SV.", ProgramControllerClass::StandardController_RequiresPrecision, FeedbackType::VIDEO_AUDIO, - AllowCommandsWhenRunning::DISABLE_COMMANDS + AllowCommandsWhenRunning::DISABLE_COMMANDS, + false, + { ResourceType::YOLO_MODEL_AREA_ZERO } ) {} diff --git a/SerialPrograms/cmake/SourceFiles.cmake b/SerialPrograms/cmake/SourceFiles.cmake index f73a430dcf..31837a2ce7 100644 --- a/SerialPrograms/cmake/SourceFiles.cmake +++ b/SerialPrograms/cmake/SourceFiles.cmake @@ -491,6 +491,7 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/Recording/StreamRecorder.h Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h + Source/CommonFramework/ResourceDownload/ResourceType.h Source/CommonFramework/Startup/NewVersionCheck.cpp Source/CommonFramework/Startup/NewVersionCheck.h Source/CommonFramework/Startup/SetupSettings.cpp From 7222791c1f3f989d22ec339940d9ab140db03420 Mon Sep 17 00:00:00 2001 From: jw098 Date: Fri, 29 May 2026 12:25:18 -0700 Subject: [PATCH 2/3] change resource list from enum to string. --- .../Panels/PanelDescriptor.cpp | 2 +- .../CommonFramework/Panels/PanelDescriptor.h | 7 +++---- .../ResourceDownload/ResourceType.h | 19 ------------------- .../NintendoSwitch_MultiSwitchProgram.cpp | 2 +- .../NintendoSwitch_MultiSwitchProgram.h | 2 +- .../NintendoSwitch_SingleSwitchProgram.cpp | 2 +- .../NintendoSwitch_SingleSwitchProgram.h | 5 ++--- .../AutoStory/PokemonSV_AutoStory.cpp | 5 ++++- SerialPrograms/cmake/SourceFiles.cmake | 1 - 9 files changed, 13 insertions(+), 32 deletions(-) delete mode 100644 SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceType.h diff --git a/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.cpp b/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.cpp index 2b1b4fc06c..203c8e1290 100644 --- a/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.cpp +++ b/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.cpp @@ -16,7 +16,7 @@ PanelDescriptor::PanelDescriptor( std::string category, std::string display_name, std::string doc_link, std::string description, - std::vector required_resources + std::vector required_resources ) : m_color(color) , m_identifier(std::move(identifier)) diff --git a/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.h b/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.h index 7d51daf6c5..954ec4655c 100644 --- a/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.h +++ b/SerialPrograms/Source/CommonFramework/Panels/PanelDescriptor.h @@ -10,7 +10,6 @@ #include #include #include -#include "CommonFramework/ResourceDownload/ResourceType.h" #include "Common/Cpp/Color.h" namespace PokemonAutomation{ @@ -28,7 +27,7 @@ class PanelDescriptor{ std::string category, std::string display_name, std::string doc_link, std::string description, - std::vector required_resources = {} + std::vector required_resources = {} ); virtual ~PanelDescriptor() = default; @@ -38,7 +37,7 @@ class PanelDescriptor{ const std::string& display_name() const{ return m_display_name; } const std::string& doc_link() const{ return m_doc_link; } const std::string& description() const{ return m_description; } - const std::vector& required_resources() const{ return m_required_resources; } + const std::vector& required_resources() const{ return m_required_resources; } virtual std::unique_ptr make_panel() const = 0; @@ -49,7 +48,7 @@ class PanelDescriptor{ const std::string m_display_name; const std::string m_doc_link; const std::string m_description; - const std::vector m_required_resources; + const std::vector m_required_resources; }; diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceType.h b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceType.h deleted file mode 100644 index 0b27581ac9..0000000000 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceType.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Resource Type - * - * From: https://github.com/PokemonAutomation/ - * - */ - -#ifndef PokemonAutomation_ResourceType_H -#define PokemonAutomation_ResourceType_H - - -namespace PokemonAutomation{ - -enum class ResourceType { - OCR, - YOLO_MODEL_AREA_ZERO, -}; - -} -#endif diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.cpp b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.cpp index 3ddfbd092c..17ea07b354 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.cpp +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.cpp @@ -116,7 +116,7 @@ MultiSwitchProgramDescriptor::MultiSwitchProgramDescriptor( size_t max_switches, size_t default_switches, bool deprecated, - std::vector required_resources + std::vector required_resources ) : ProgramDescriptor( pick_color(color_class), diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h index 850c07384e..601cd0d7e3 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h @@ -82,7 +82,7 @@ class MultiSwitchProgramDescriptor : public ProgramDescriptor{ size_t max_switches, size_t default_switches, bool deprecated = false, - std::vector required_resources = {} + std::vector required_resources = {} ); ProgramControllerClass color_class() const{ return m_color_class; } diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp index a8bef62df9..d53a334ebd 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp @@ -34,7 +34,7 @@ SingleSwitchProgramDescriptor::SingleSwitchProgramDescriptor( FeedbackType feedback, AllowCommandsWhenRunning allow_commands_while_running, bool deprecated, - std::vector required_resources + std::vector required_resources ) : ProgramDescriptor( pick_color(color_class), diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h index 2061d83d43..4c4092630b 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h @@ -12,7 +12,6 @@ #include "CommonFramework/Notifications/EventNotificationOption.h" #include "CommonFramework/Tools/ProgramEnvironment.h" #include "CommonFramework/Panels/ProgramDescriptor.h" -#include "CommonFramework/ResourceDownload/ResourceType.h" #include "NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController.h" #include "NintendoSwitch/NintendoSwitch_ConsoleHandle.h" @@ -62,7 +61,7 @@ class SingleSwitchProgramDescriptor : public ProgramDescriptor{ FeedbackType feedback, AllowCommandsWhenRunning allow_commands_while_running, bool deprecated = false, - std::vector required_resources = {} + std::vector required_resources = {} ); ProgramControllerClass color_class() const{ return m_color_class; } @@ -78,7 +77,7 @@ class SingleSwitchProgramDescriptor : public ProgramDescriptor{ const FeedbackType m_feedback; const bool m_allow_commands_while_running; const bool m_deprecated; - const std::vector m_required_resources; + const std::vector m_required_resources; }; diff --git a/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp b/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp index dc66ec74de..85b31e7fc0 100644 --- a/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp +++ b/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp @@ -378,7 +378,10 @@ AutoStory_Descriptor::AutoStory_Descriptor() FeedbackType::VIDEO_AUDIO, AllowCommandsWhenRunning::DISABLE_COMMANDS, false, - { ResourceType::YOLO_MODEL_AREA_ZERO } + { + "PokemonSV/AreaZero", + "PaddleOCR" // not needed since an OCR library is bundled with this program + } ) {} diff --git a/SerialPrograms/cmake/SourceFiles.cmake b/SerialPrograms/cmake/SourceFiles.cmake index 31837a2ce7..f73a430dcf 100644 --- a/SerialPrograms/cmake/SourceFiles.cmake +++ b/SerialPrograms/cmake/SourceFiles.cmake @@ -491,7 +491,6 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/Recording/StreamRecorder.h Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h - Source/CommonFramework/ResourceDownload/ResourceType.h Source/CommonFramework/Startup/NewVersionCheck.cpp Source/CommonFramework/Startup/NewVersionCheck.h Source/CommonFramework/Startup/SetupSettings.cpp From a6f06b15a19e594e1aa9ac53e0b029fd37c2a9bb Mon Sep 17 00:00:00 2001 From: jw098 Date: Fri, 29 May 2026 16:13:21 -0700 Subject: [PATCH 3/3] validate resource list in descriptor --- .../CommonFramework/Panels/PanelInstance.cpp | 20 ++++++++++++++++++- .../CommonFramework/Panels/PanelInstance.h | 2 ++ .../ResourceDownloadHelpers.cpp | 13 ++++++++++++ .../ResourceDownloadHelpers.h | 2 ++ .../AutoStory/PokemonSV_AutoStory.cpp | 2 +- 5 files changed, 37 insertions(+), 2 deletions(-) diff --git a/SerialPrograms/Source/CommonFramework/Panels/PanelInstance.cpp b/SerialPrograms/Source/CommonFramework/Panels/PanelInstance.cpp index 48167da756..aff704aaf0 100644 --- a/SerialPrograms/Source/CommonFramework/Panels/PanelInstance.cpp +++ b/SerialPrograms/Source/CommonFramework/Panels/PanelInstance.cpp @@ -4,17 +4,24 @@ * */ +#include "Common/Cpp/Exceptions.h" +#include "CommonFramework/ResourceDownload/ResourceDownloadHelpers.h" #include "Common/Cpp/Json/JsonValue.h" #include "CommonFramework/PersistentSettings.h" #include "CommonFramework/Logging/Logger.h" #include "PanelInstance.h" +#include +using std::cout; +using std::endl; namespace PokemonAutomation{ PanelInstance::PanelInstance(const PanelDescriptor& descriptor) : m_descriptor(descriptor) -{} +{ + validate_resource_list(); +} void PanelInstance::from_json(){ JsonValue* node = PERSISTENT_SETTINGS().panels.get_value(m_descriptor.identifier()); @@ -36,5 +43,16 @@ void PanelInstance::save_settings() const{ } +void PanelInstance::validate_resource_list(){ + + const std::unordered_set& master_list = all_resource_names(); + + for (std::string resource_string : m_descriptor.required_resources()){ + if (!master_list.contains(resource_string)){ + throw InternalProgramError(nullptr, PA_CURRENT_FUNCTION, "validate_resource_list: Invalid resource in descriptor."); + } + } +} + } diff --git a/SerialPrograms/Source/CommonFramework/Panels/PanelInstance.h b/SerialPrograms/Source/CommonFramework/Panels/PanelInstance.h index 830d0d9d57..f224633189 100644 --- a/SerialPrograms/Source/CommonFramework/Panels/PanelInstance.h +++ b/SerialPrograms/Source/CommonFramework/Panels/PanelInstance.h @@ -30,6 +30,8 @@ class PanelInstance{ void save_settings() const; + void validate_resource_list(); + public: // The implmentation is defined in "UI/PanelWidget.h" to avoid circular dependency // Returns a UI/PanelWidget.h:PanelWidget diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp index 6a29c02bb5..ab98ce9acb 100644 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp +++ b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp @@ -126,5 +126,18 @@ ResourceVersionStatus get_version_status(uint16_t expected_version_num, std::opt } +const std::unordered_set& all_resource_names(){ + static std::unordered_set names = [](){ + std::unordered_set resource_names; + for (const DownloadedResourceMetadata& resource : local_resource_download_list()){ + resource_names.insert(resource.resource_name); + } + return resource_names; + }(); + + return names; +} + + } diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h index f0305bde6b..5d652b4fe8 100644 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h +++ b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h @@ -8,6 +8,7 @@ #define PokemonAutomation_ResourceDownloadHelpers_H #include +#include #include @@ -51,6 +52,7 @@ const std::vector& local_resource_download_list(); const std::vector& remote_resource_download_list(); std::optional get_resource_version_num(Filesystem::Path folder_path); ResourceVersionStatus get_version_status(uint16_t expected_version_num, std::optional current_version_num); +const std::unordered_set& all_resource_names(); } #endif diff --git a/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp b/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp index 85b31e7fc0..8c9ebfe09a 100644 --- a/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp +++ b/SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp @@ -380,7 +380,7 @@ AutoStory_Descriptor::AutoStory_Descriptor() false, { "PokemonSV/AreaZero", - "PaddleOCR" // not needed since an OCR library is bundled with this program + // "PaddleOCR" // not needed since an OCR library is bundled with this program } ) {}