mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-25 18:05:12 -04:00
tools: DirectWrite/Direct2D/WIC are system DLLs, not payload
recomp-ui's Win32 emoji and font path imports DWrite.dll, d2d1.dll and the WIC/D3D family. None was in the system list, so the bundler went looking for them in the MinGW sysroot, did not find them (they only exist on Windows) and failed the packaging step — measured on the SNES side, where the same recomp-ui pulled the same imports and killed the release job. Brings the list to parity with snesrecomp's bundle_runtime_libs.sh, whose entries this one was missing as well (KERNELBASE, GDIPLUS, SHCORE, DWMAPI, UXTHEME, HID, XINPUT*, AVRT, MF*, EXT-MS-*, and the rest). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DYwgPRbwbXz8FhpVzDM7tA
This commit is contained in:
@@ -106,7 +106,16 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SYSTEM_DLL_RE='^(KERNEL32|USER32|GDI32|ADVAPI32|SHELL32|OLE32|OLEAUT32|WS2_32|WINMM|IMM32|SETUPAPI|VERSION|OPENGL32|COMCTL32|COMDLG32|RPCRT4|SHLWAPI|CRYPT32|BCRYPT|IPHLPAPI|NSI|DNSAPI|MSVCRT|UCRTBASE|VCRUNTIME|DBGHELP|API-MS-).*\.DLL$'
|
||||
# Windows' own DLLs ship with the OS; copying them is at best noise and at
|
||||
# worst a version conflict with the loader's.
|
||||
#
|
||||
# A name missing from this list is not a warning, it is a FAILED RELEASE: the
|
||||
# bundler hunts for it in the MinGW sysroot, does not find it (it only exists
|
||||
# on Windows), and exits 1. That is how DWrite.dll broke a setup-pack job --
|
||||
# recomp-ui's Win32 emoji/font path imports DirectWrite, Direct2D and WIC, and
|
||||
# none of the three was listed. When a new import shows up here, ask whether
|
||||
# Windows ships it before reaching for a copy of it.
|
||||
SYSTEM_DLL_RE='^(KERNEL32|KERNELBASE|USER32|GDI32|GDIPLUS|ADVAPI32|SHELL32|SHCORE|OLE32|OLEAUT32|WS2_32|WINMM|IMM32|SETUPAPI|VERSION|OPENGL32|GLU32|D2D1|DWRITE|DCOMP|DXGI|D3D[0-9]*|D3DCOMPILER_[0-9]*|WINDOWSCODECS|PROPSYS|COMCTL32|COMDLG32|RPCRT4|SHLWAPI|CRYPT32|BCRYPT|NCRYPT|IPHLPAPI|NSI|DNSAPI|MSVCRT|UCRTBASE|VCRUNTIME[0-9]*|MSVCP[0-9]*|DBGHELP|DWMAPI|UXTHEME|POWRPROF|CFGMGR32|HID|WINTRUST|MSIMG32|AVRT|MF[A-Z]*|AUDIOSES|DINPUT8|XINPUT[0-9_]*|USERENV|API-MS-.*|EXT-MS-.*)\.DLL$'
|
||||
|
||||
PROBE_DLLS=(
|
||||
SDL2.dll
|
||||
|
||||
Reference in New Issue
Block a user