From 8d04eba21d6ec566714c1b30d5879f61acd945ec Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Fri, 10 Jul 2026 01:51:04 -0700 Subject: [PATCH] build: check for win7 compat, fix 32-bit xp check (#789) ## Link to GitHub Issue or related Pull Request, if one exists #787 ## Description of change Updates usage of `windows_dll_compat_checker` ## Testing it builds --- src/spice2x/build_all.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/spice2x/build_all.sh b/src/spice2x/build_all.sh index a75b712..cdd1bb0 100755 --- a/src/spice2x/build_all.sh +++ b/src/spice2x/build_all.sh @@ -214,6 +214,19 @@ time ( echo "===========================" ) +echo "" +echo "Checking Win7 compatibility..." +echo "=============================" +if ! command -v windows_dll_compat_checker &> /dev/null; then + echo "WARNING: windows_dll_compat_checker not found, skipping Win7 compatibility check" +else + windows_dll_compat_checker -s PREMADE/konami_win7_museca_x86_64.ini \ + ${BUILDDIR_64}/spicetools/64/spice64.exe + windows_dll_compat_checker -s PREMADE/konami_win7_museca_x86_64_32bit_dlls.ini \ + ${BUILDDIR_32}/spicetools/spicecfg.exe \ + ${BUILDDIR_32}/spicetools/32/spice.exe +fi + if ((BUILD_XP_32 > 0)) || ((BUILD_XP_64 > 0)) then echo "" @@ -229,7 +242,7 @@ then fi if ((BUILD_XP_32 > 0)) then - windows_dll_compat_checker -s PREMADE/winxp_x86_64_32bit_dlls.ini \ + windows_dll_compat_checker -s PREMADE/konami_winxp_jubeat_i686.ini \ ${BUILDDIR_WINXP_32}/spicetools/spicecfg.exe \ ${BUILDDIR_WINXP_32}/spicetools/32/spice.exe fi