From 22cb4d689c37901bc4113de0e3fddf48890be646 Mon Sep 17 00:00:00 2001 From: llm96 Date: Fri, 27 Mar 2026 19:19:32 +0000 Subject: [PATCH] utils: print DLL info for early hooks (#597) ## Link to GitHub Issue or related Pull Request, if one exists #596 ## Description of change Adds call to `libutils::print_dll_info` for early hooks too. ## Testing ``` [2026/03/27 09:51:16] I:launcher: SpiceTools Bootstrap (x64) (spice2x) [2026/03/27 09:51:16] I:launcher: 1.0-V-2026-03-27T07:46:10 [2026/03/27 09:51:16] I:launcher: spice2x is free & open source; if you paid money for it, you got scammed [2026/03/27 09:51:16] I:launcher: visit https://spice2x.github.io to download the latest version for free [2026/03/27 09:51:16] I:launcher: arguments: [...] -z C:\Users\Noe\AppData\Local\Programs\SpiceTools\hooks\64\mempatcher64.dll [...] [2026/03/27 09:51:16] I:launcher: loading early hook DLL C:\Users\Noe\AppData\Local\Programs\SpiceTools\hooks\64\mempatcher64.dll [2026/03/27 09:51:16] I:superexit: enabled [2026/03/27 09:51:16] I:libutils: DLL info for mempatcher64.dll: CompanyName = aixxe, ProductName = mempatcher, Version = 4975386c637a86e8daa89d479a0c67ab28d792ec ``` --- src/spice2x/launcher/launcher.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spice2x/launcher/launcher.cpp b/src/spice2x/launcher/launcher.cpp index 8fcd96b..89c955e 100644 --- a/src/spice2x/launcher/launcher.cpp +++ b/src/spice2x/launcher/launcher.cpp @@ -1507,6 +1507,7 @@ int main_implementation(int argc, char *argv[]) { // early hooks for (auto &hook : early_hooks) { log_info("launcher", "loading early hook DLL {}", hook); + libutils::print_dll_info(hook); HMODULE module; if (!(module = libutils::try_library(hook))) { log_warning("launcher", "failed to load early hook {}: {}", hook, get_last_error_string());