Hi! I’m game developer and I use OSX, yet my game is for Windows, so thought it would be convenient to test it in Wine:
The game runs okay on real hardware and in emulator (although there is a problem with cursor movement, when no hardware 3d acceleration available), but fails in wine-3.21 (started using “wine explorer cmd”), while trying to init SDL2, with following errors:
0031:fixme:win:EnumDisplayDevicesW ((null),0,0x21b3ed80,0x00000000), stub!
0031:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x21b3ed80,0x00000000), stub!
0031:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x21b3e8a0,0x00000000), stub!
0031:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",1,0x21b3ed80,0x00000000), stub!
0031:fixme:win:EnumDisplayDevicesW ((null),1,0x21b3ed80,0x00000000), stub!
0031:fixme:win:EnumDisplayDevicesW ((null),0,0x21b3ed80,0x00000000), stub!
0031:fixme:win:EnumDisplayDevicesW ((null),1,0x21b3ed80,0x00000000), stub!
0009:fixme:shell:IShellBrowser_fnOnViewWindowActive stub, 0x14a3f0 (0x618ae8)
0009:fixme:shell:IShellBrowser_fnOnViewWindowActive stub, 0x14a3f0 (0x618ae8)
0009:fixme:exec:SHELL_execute flags ignored: 0x0000000c
003a:fixme:win:EnumDisplayDevicesW ((null),0,0x21b3ed80,0x00000000), stub!
003a:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x21b3ed80,0x00000000), stub!
003a:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x21b3e8a0,0x00000000), stub!
003a:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",1,0x21b3ed80,0x00000000), stub!
003a:fixme:win:EnumDisplayDevicesW ((null),1,0x21b3ed80,0x00000000), stub!
003a:fixme:win:EnumDisplayDevicesW ((null),0,0x21b3ed80,0x00000000), stub!
003a:fixme:win:EnumDisplayDevicesW ((null),1,0x21b3ed80,0x00000000), stub!
003a:fixme:seh:call_stack_handlers calling personality routine in system library not supported yet
003a:fixme:seh:call_stack_handlers calling personality routine in system library not supported yet
003a:fixme:seh:call_stack_handlers calling personality routine in system library not supported yet
Is it just me or SDL2 isn’t supposed to work in Wine? There were no such problems with SDL1, but SDL2 is just a mess.
Also, there is a trouble running SDL2, when sound is disabled in OS or there is no audio driver. SDL2 crashes with “XAudio2: Couldn’t create mastering voice”. Maybe it would be more robust to still allow SDL running? Not everyone has sound enabled.
Thanks!!!