From d9359e2b57d8f8d23d19b350bf1d33ea0032ce53 Mon Sep 17 00:00:00 2001 From: Sku-111 Date: Sun, 5 Nov 2023 17:22:03 +0100 Subject: [PATCH] preventing tact error E_REPAIR (28) prevents error "Failed to initialize TACT client : E_REPAIR (28), invalid build info?" from happening --- hook_lib/Main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hook_lib/Main.cpp b/hook_lib/Main.cpp index 0842f22..bade3a0 100644 --- a/hook_lib/Main.cpp +++ b/hook_lib/Main.cpp @@ -55,6 +55,9 @@ BOOL WINAPI DllMain(HMODULE hModule, DWORD Reason, LPVOID lpVoid) printf("Base Address: %p\n", 0_b); + // prevents tact error E_REPAIR (28) from happening + remove("Data/data/CASCRepair.mrk"); + debug_output_init(nullptr); addCustomCmds(); patchGame();