I have also tried the threadsafe newly built JS library with Oolite compiled with #define JS_THREADSAFE 1 and it now fails in the same place as the non-threadsafe one (SetVMFrameRegs) rather than much earlier so the flag was what I was missing before. Next step will be to compile debug versions of libraries to investigate SetVMFrameRegs.another_commander wrote: ↑Thu Sep 04, 2025 8:11 amThe threadsafe dll I generated is meant to be used in combination with the standard binaries distributed with the game. I would expect all sorts of issues if you tried to use it with binaries built on a different environment, as you have already experienced.
Here are the versions of stuff that are being used when I run - most are standard MSYS2 libraries except for C:\oolite\oolite.app\mozjs.dll, gnustep-base 1.31.1 that needed to be rebuilt with gcc and SDL1.2 built from master branch (although I compiled without espeak for now):
Code: Select all
$ cygcheck ./oolite.exe
C:\oolite\oolite.app\oolite.exe
C:\WINDOWS\system32\ADVAPI32.dll
C:\WINDOWS\system32\msvcrt.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNELBASE.dll
C:\WINDOWS\system32\SECHOST.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\dwmapi.dll
C:\WINDOWS\system32\win32u.dll
C:\WINDOWS\system32\USER32.dll
C:\WINDOWS\system32\GDI32.dll
C:\msys64\mingw64\bin\libgcc_s_seh-1.dll
C:\msys64\mingw64\bin\libwinpthread-1.dll
C:\WINDOWS\system32\GLU32.dll
C:\WINDOWS\system32\OPENGL32.dll
C:\msys64\mingw64\bin\gnustep-base-1_31.dll
C:\msys64\mingw64\bin\libffi-8.dll
C:\msys64\mingw64\bin\libgnutls-30.dll
C:\msys64\mingw64\bin\libbrotlidec.dll
C:\msys64\mingw64\bin\libbrotlicommon.dll
C:\msys64\mingw64\bin\libbrotlienc.dll
C:\WINDOWS\system32\CRYPT32.dll
C:\msys64\mingw64\bin\libgmp-10.dll
C:\msys64\mingw64\bin\libhogweed-6.dll
C:\msys64\mingw64\bin\libnettle-8.dll
C:\msys64\mingw64\bin\libidn2-0.dll
C:\msys64\mingw64\bin\libiconv-2.dll
C:\msys64\mingw64\bin\libintl-8.dll
C:\msys64\mingw64\bin\libunistring-5.dll
C:\WINDOWS\system32\ncrypt.dll
C:\msys64\mingw64\bin\libp11-kit-0.dll
C:\WINDOWS\system32\SHELL32.dll
C:\WINDOWS\system32\msvcp_win.dll
C:\msys64\mingw64\bin\libtasn1-6.dll
C:\WINDOWS\system32\WS2_32.dll
C:\msys64\mingw64\bin\zlib1.dll
C:\msys64\mingw64\bin\libzstd.dll
C:\msys64\mingw64\bin\libicuin77.dll
C:\msys64\mingw64\bin\libicuuc77.dll
C:\msys64\mingw64\bin\libicudt77.dll
C:\msys64\mingw64\bin\libstdc++-6.dll
C:\WINDOWS\system32\NETAPI32.dll
C:\msys64\mingw64\bin\libobjc-4.dll
C:\msys64\mingw64\bin\libxml2-16.dll
C:\WINDOWS\system32\bcrypt.dll
C:\msys64\mingw64\bin\liblzma-5.dll
C:\msys64\mingw64\bin\libxslt-1.dll
C:\msys64\mingw64\bin\libopenal-1.dll
C:\WINDOWS\system32\AVRT.dll
C:\WINDOWS\system32\ole32.dll
C:\WINDOWS\system32\combase.dll
C:\WINDOWS\system32\WINMM.dll
C:\msys64\mingw64\bin\libpng16-16.dll
C:\msys64\mingw64\bin\SDL.dll
C:\WINDOWS\system32\SHLWAPI.dll
C:\msys64\mingw64\bin\libvorbisfile-3.dll
C:\msys64\mingw64\bin\libvorbis-0.dll
C:\msys64\mingw64\bin\libogg-0.dll
C:\oolite\oolite.app\mozjs.dll
C:\msys64\mingw64\bin\libnspr4.dll
C:\WINDOWS\system32\MSWSOCK.dll

