Good news! That commit fixed it. Details here:
https://bugs.scummvm.org/ticket/10613#comment:21
I've attached a binary as proof but don't use it for anything serious since I didn't add all the dependencies. This will work on 95,NT4 and above.
For a future guide:
Scummvm built with Mingw-W64 w/ gcc 7.3.0 and 8.0 are incompatible with ScummVM for <XP:
https://sourceforge.net/projects/mingw-w64/fi … ds-win32/dwarf/
https://sourceforge.net/projects/mingw-w64/fi … ds-win32/dwarf/
error:
___mb_cur_max_func in msvcrt.dll
https://sourceforge.net/p/mingw-w64/mailman/m … ssage/36106593/
Think I already checked but need to verify that the above doesn't exist in the latest v6 msvcrt
Use this version:
https://sourceforge.net/projects/mingw-w64/fi … f-rt_v5-rev1.7z
Need to track down when committed after 7.2.0
From MINGW shell:
git clone https://github.com/scummvm/scummvm.git scummvm
./configure --disable-sparkle
make
strip scummvm.exe
UNTESTED
From MSYS2 shell:
pacman -S --needed --noconfirm git mingw-w64-i686-{curl,faad2,freetype,flac,fluidsynth,libjpeg-turbo,libogg,libvorbis,libmad,libmpeg2-git,libtheora,libpng,nasm,readline,toolchain,zlib}
REMOVE SDL2,SDL2_net,winsparkle