From 750b1fea805e88bcaaf8691a545e7ce6d186dd79 Mon Sep 17 00:00:00 2001 From: bicarus-dev <202771338+bicarus-dev@users.noreply.github.com> Date: Mon, 17 Nov 2025 19:16:19 -0800 Subject: [PATCH] patches: disable patches tab for unity games (#425) ## Description of change To redirect confused users why no one is developing a remote patch server for PolCho ## Testing checked spicecfg in working vs non-working games --- src/spice2x/overlay/windows/patch_manager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/spice2x/overlay/windows/patch_manager.cpp b/src/spice2x/overlay/windows/patch_manager.cpp index a203cb8..c8b9a8a 100644 --- a/src/spice2x/overlay/windows/patch_manager.cpp +++ b/src/spice2x/overlay/windows/patch_manager.cpp @@ -288,6 +288,12 @@ namespace overlay::windows { this->reload_local_patches(); } + if (avs::game::DLL_NAME == "kamunity.dll") { + ImGui::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Patches are not supported for Unity-based games."); + ImGui::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Instead, look for downloads of pre-patched DLLs."); + return; + } + // game code info std::string identifiers; identifiers += avs::game::get_identifier() + "\n\n";