From 4cc1750c0281891807958ac56b3c657c6009c56e Mon Sep 17 00:00:00 2001 From: Rib <1957489+RibShark@users.noreply.github.com> Date: Sat, 13 Jan 2024 18:34:23 +0000 Subject: [PATCH] Add missing cleanup EXE names for various SafeDisc versions --- SafeDiscShim.sdb | Bin 1846 -> 2630 bytes src/dllmain.cpp | 4 ++++ 2 files changed, 4 insertions(+) diff --git a/SafeDiscShim.sdb b/SafeDiscShim.sdb index 958b91fabe72ffa0b12a2a0902dbda57f31dce24..7370fe312ec2501ba172ae11d2301b0224f48ca1 100644 GIT binary patch delta 1089 zcmdnScTA+7iGhKE8HkHhlG2ze%2n;IR=^2_Bx&YZGtU$JjrJ=c-Yuz*u+tk#+#n7$p2Z(KE>}YB1Ru{zvWE-2f8k)M* z?E$fkfNC7w>g3oNHv0QBB`3k{W0?T4$&p7cF!<9QR*)&y-i!-*QW^Pysu?nU%rh5% zd?pAokdT30MyLDm~ae8au)D_*%yE$N5U&0 z$zBix7GVPh2U~&)kYr5=n*0)I&K9q8mrlfFIIf+R)je_g(R$*{DFB<(2Q|l=RleTt z)zZ9~J(t~kw%*qIm|faLoH_fz=G=jp10-1{2msyrTz6sGvwTmtWs3XFx6YmFEC?1o z8*@{b^>B>uR*}#PTW^>$qS#Q6)5{FNG{Tl32PA=BhFfuFN<)pj(GjPmH@1uJIjj^6 zvEu6e&%6=_stz;ju9(M967fc{0;dg5K(p)F5)#m?5TCX@&#L9M*TfCWDyOe6Du-Ah zFfm;0+{}FM?f&N{GQQiPN}LrfU{5SUvth>`f%%bc3%#1Z3)Y>*JChZFksN0Y|B>9r~woa7c^qfW3XVT zV9;eS2C@tp3?|=Xb7a&4$r*y=41iFVp$w=`kHG|}4wwo%B!FZcLmE(Z3Q*P*2=y3B z7;+g3CQGu(s)AISqp37zuw+OC+F*vE(hNmvW?G=iGhKE8HkHhlG2ze#8`m53JV~g$%4Ir*@7`a%z+WeW1OJ^Bn=G=4D?K0 z>xzJ?^bAc5U4ZN>AhwC6p}CuDof+%Kx&S6)Be-^!2@s8pP9f7TC+3KP6ko7h-rAA7 zFa%`C>V&>6%fD>dXSUgpIg*hni*a%fOBCaZ$nzO%X={ z8^|FEM}Q<}0S}mc4oGq&ya1By1uYl6#UPgZ&7MY6|t*Ir0->7Qs+ zVKli}j5u?Wz~(eS%~{PVZ**$!xua5Zg?%?HE-XGg_sCoP<}g;wV4U2--ZWW-ONv#O gp^U*~vN}gSqs(MMPH9Hd$>%v786|*hNnr2;08Ig1hyVZp diff --git a/src/dllmain.cpp b/src/dllmain.cpp index 1574f7f..2cf3396 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -35,7 +35,11 @@ bool Initialize() { wchar_t exeName[MAX_PATH]; GetModuleFileNameW(nullptr, exeName, MAX_PATH); if ( wcsstr(exeName, L"~ef7194.tmp") || + wcsstr(exeName, L"~f51e43.tmp") || + wcsstr(exeName, L"~f39a36.tmp") || + wcsstr(exeName, L"~f1d055.tmp") || wcsstr(exeName, L"~e5d141.tmp") || + wcsstr(exeName, L"~fad052.tmp") || wcsstr(exeName, L"~e5.0001") ) { /* DLL has been loaded into SafeDisc cleanup, need to relaunch main game * executable and inject into that instead */