RGSS games don't seem to work with Wine

Questions about Wine on Linux
Locked
MegaBrutal
Level 1
Level 1
Posts: 6
Joined: Wed Dec 05, 2012 7:19 am

RGSS games don't seem to work with Wine

Post by MegaBrutal »

Hello,

Games using the RGSS engine (those made with RPG Maker) don't seem to work with Wine. I've tried 3 of such games: Melolune, To the Moon, Fleuret Blanc - none of them worked properly. What actually makes me pessimistic is that the symptoms are various. Sometimes the games don't even start, but sometimes they do start but crash early.

To at least try to make things simpler, from now on I'm only talking about Melolune. It produces at least 2 types of symptoms, they vary between distinct start attempts. The machine and the OS is the same.
  1. Sometimes the game freezes immediately after I choose "New Game" in the main menu. (Just after the boy appears at the middle of the screen.)
  2. The game produces a page fault when I place a piece of Melolune to a pedestal. Normally, a music track should start playing at that moment - I think this is what crashes the game.
  3. The game may produce random crash after it starts, but before you reach the pedestals.
Trace log for the 1st scenario:

Code: Select all

fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d004 (device=4 access=3 func=401 method=0)
fixme:win:EnumDisplayDevicesW ((null),0,0x81d38c,0x00000000), stub!
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:win:EnumDisplayDevicesW ((null),0,0x81783c,0x00000000), stub!

(process:8253): GThread-WARNING **: GThread system no longer supports custom thread implementations.
fixme:gstreamer:event_sink 0x7c8416c0 stub tag
fixme:gstreamer:event_sink 0x7c841720 stub tag
fixme:gstreamer:event_sink 0x7c841750 stub tag
fixme:gstreamer:event_sink 0x7c841780 stub tag
fixme:gstreamer:event_sink 0x7c8417b0 stub tag
fixme:gstreamer:watch_bus mpegaudioparse0: A GStreamer általános adatfolyamhibát észlelt.
fixme:gstreamer:GST_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:MediaSeeking_SetRate (0x1d9bb0/0x1d9bbc)->(1,000000): stub !!!
fixme:quartz:MediaSeeking_SetRate (0x1d9bb0/0x1d9bbc)->(1,000000): stub !!!
fixme:gstreamer:event_sink 0x75b01a30 stub tag
fixme:gstreamer:event_sink 0x75b01a60 stub tag
fixme:gstreamer:event_sink 0x75b01a90 stub tag
fixme:gstreamer:event_sink 0x75b01ac0 stub tag
fixme:gstreamer:event_sink 0x75b01af0 stub tag
fixme:gstreamer:event_sink 0x75b01e30 stub tag
err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
wine client error:9: read: Hibás cím
Trace log for the 2nd scenario:

Code: Select all

fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d004 (device=4 access=3 func=401 method=0)
fixme:win:EnumDisplayDevicesW ((null),0,0x81d38c,0x00000000), stub!
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:win:EnumDisplayDevicesW ((null),0,0x81783c,0x00000000), stub!

(process:8296): GThread-WARNING **: GThread system no longer supports custom thread implementations.
fixme:gstreamer:event_sink 0x7c9956c0 stub tag
fixme:gstreamer:event_sink 0x7c995720 stub tag
fixme:gstreamer:event_sink 0x7c995750 stub tag
fixme:strmbase:MemInputPin_NotifyAllocator Read only flag not handled yet!
fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:strmbase:TransformFilterImpl_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:MediaSeeking_SetRate (0x1da9b8/0x1da9c4)->(1,000000): stub !!!
fixme:quartz:Parser_QueryInterface No interface for {2dd74950-a890-11d1-abe8-00a0c905f375}!
fixme:quartz:MediaSeeking_SetRate (0x1da9b8/0x1da9c4)->(1,000000): stub !!!
fixme:gstreamer:event_sink 0x75b01fb0 stub tag
fixme:gstreamer:event_sink 0x75101430 stub tag
fixme:gstreamer:event_sink 0x75101460 stub tag
fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:strmbase:TransformFilterImpl_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:MediaSeeking_SetRate (0x1ea2c8/0x1ea2d4)->(1,000000): stub !!!
fixme:quartz:MediaSeeking_SetRate (0x1ea2c8/0x1ea2d4)->(1,000000): stub !!!
fixme:quartz:DSoundRender_UpdatePositions Underrun of data occurred!
fixme:quartz:Parser_QueryInterface No interface for {2dd74950-a890-11d1-abe8-00a0c905f375}!
fixme:quartz:Parser_QueryInterface No interface for {2dd74950-a890-11d1-abe8-00a0c905f375}!
fixme:quartz:FileAsyncReader_WaitForNext Returned: 258 (00000000)
err:dmloader:IDirectMusicLoaderImpl_IDirectMusicLoader_SetObject : could not attach stream to file
fixme:dmime:IDirectMusicPerformance8Impl_InitAudio (0x5312a38, (nil), 0x812ffc, (nil), 0, 0, 0, 0x813040): to check
fixme:dmime:IDirectMusicPerformance8Impl_Init (iface = 0x5312a38, dmusic = (nil), dsound = 0x18729c, hwnd = (nil))
fixme:dmime:IDirectMusicAudioPathImpl_IPersistStream_Load (0x1ea728, 0x1ea838): Loading not implemented yet
fixme:dmime:IDirectMusicPerformance8Impl_CreateAudioPath (0x5312a38, 0x1ea728, 1, 0xb7741c): stub
fixme:dmime:IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate (0x1ea760, 1): stub
fixme:dmime:IDirectMusicAudioPathImpl_IDirectMusicAudioPath_GetObjectInPath (0x1ea760, -5, 24576, 1, {00000000-0000-0000-0000-000000000000}, 0, {6825a449-7524-4d82-920f-50e36ab3ab1e}, 0xb77420): stub
wine: Unhandled page fault on read access to 0x10003a70 at address 0x10003a70 (thread 0009), starting debugger...
Trace log for the 3rd case:

Code: Select all

fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d004 (device=4 access=3 func=401 method=0)
fixme:win:EnumDisplayDevicesW ((null),0,0x81d38c,0x00000000), stub!
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:win:EnumDisplayDevicesW ((null),0,0x81783c,0x00000000), stub!

(process:10395): GThread-WARNING **: GThread system no longer supports custom thread implementations.
fixme:gstreamer:event_sink 0x7cbf30c0 stub tag
fixme:gstreamer:event_sink 0x7cbf3120 stub tag
fixme:gstreamer:event_sink 0x7cbf3150 stub tag
fixme:strmbase:MemInputPin_NotifyAllocator Read only flag not handled yet!
fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:strmbase:TransformFilterImpl_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:MediaSeeking_SetRate (0x1db538/0x1db544)->(1,000000): stub !!!
fixme:quartz:Parser_QueryInterface No interface for {2dd74950-a890-11d1-abe8-00a0c905f375}!
fixme:quartz:MediaSeeking_SetRate (0x1db538/0x1db544)->(1,000000): stub !!!
fixme:gstreamer:event_sink 0x7cbf3180 stub tag
fixme:gstreamer:event_sink 0x75201a00 stub tag
fixme:gstreamer:event_sink 0x75201a30 stub tag
fixme:gstreamer:event_sink 0x75201a60 stub tag
fixme:gstreamer:event_sink 0x75201a90 stub tag
fixme:gstreamer:watch_bus mpegaudioparse1: A GStreamer általános adatfolyamhibát észlelt.
fixme:gstreamer:GST_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:MediaSeeking_SetRate (0x1e9ed0/0x1e9edc)->(1,000000): stub !!!
fixme:quartz:MediaSeeking_SetRate (0x1e9ed0/0x1e9edc)->(1,000000): stub !!!
fixme:quartz:DSoundRender_UpdatePositions Underrun of data occurred!
fixme:quartz:Parser_QueryInterface No interface for {2dd74950-a890-11d1-abe8-00a0c905f375}!
fixme:gstreamer:event_sink 0x75201af0 stub tag
fixme:gstreamer:event_sink 0x75201b50 stub tag
fixme:gstreamer:event_sink 0x75201b80 stub tag
fixme:gstreamer:event_sink 0x75201bb0 stub tag
fixme:gstreamer:event_sink 0x75201c00 stub tag
fixme:gstreamer:event_sink 0x75201db0 stub tag
wine: Unhandled page fault on read access to 0x10003a70 at address 0x10003a70 (thread 0009), starting debugger...
err:seh:start_debugger Couldn't start debugger ("winedbg --auto 8 84") (6)
Read the Wine Developers Guide on how to set up winedbg or another debugger
err:quartz:DSoundRender_SendSampleData 0
err:quartz:DSoundRender_SendSampleData 0
err:quartz:DSoundRender_SendSampleData 0
Process of pid=0008 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000020    0
	0000001f    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001d    0
	0000001a    0
	00000014    0
	00000013    0
0000001b plugplay.exe
	00000021    0
	0000001e    0
	0000001c    0
00000022 explorer.exe
	00000023    0
winedbg: Internal crash at 0x7ebeebba
For the 2nd and 3rd case, there is an additional line which keeps repeating thousand times:

Code: Select all

fixme:quartz:Parser_OutputPin_QueryInterface No interface for {56a868a5-0ad4-11ce-b03a-0020af0ba770}!
I filtered it out, because it made the log unreadable.

Whether case 1, case 2 or case 3 happens is completely random. I just start the app with the very same command and do the very same thing: set the game to windowed mode with F12 (for it starts on full screen), then select "New Game". There are no exact steps to reproduce case 1 or case 3, it seems it's pure luck whether the game starts at all. To reproduce case 2, get through the intro dialogs, take the Melolune (as the game instructs you to do - it is the light glow in front of you), head to the other room (the only way you can go), and place the Melolune to one of the 3 pedestals there. It can be done in a minute, so don't worry that you need to get deep into the game to reproduce this error. As I said, the game tries to play a music track then, but it crashes.

The game's demo can be downloaded from here for free:
http://www.freshpulp.com/shigi/Melolune.exe
(^ Linked at the developer's official site here.)
I would be glad if a major Wine developer would look at it, because it seems this application has multiple problems, so the case seems to be complicated - at least, for someone who's completely inexperienced with Wine debugging.

I've already tried the solution suggested here: that is, to extract the game's packfile with the provided tool. It didn't help much.

Platform description:
OS: Ubuntu 12.10, Linux kernel 3.5.0-19-generic
Wine: wine-1.5.18
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: RGSS games don't seem to work with Wine

Post by dimesio »

Code: Select all

(process:8253): GThread-WARNING **: GThread system no longer supports custom thread implementations.
Disable winegstreamer. http://bugs.winehq.org/show_bug.cgi?id=30557

If you still have crashes or other sound issues after disabling winegstreamer, ask for help on the Ubuntu forum:

Code: Select all

fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
MegaBrutal
Level 1
Level 1
Posts: 6
Joined: Wed Dec 05, 2012 7:19 am

Re: RGSS games don't seem to work with Wine

Post by MegaBrutal »

I've re-compiled Wine without GStreamer support, the problem persists.

Also, I'm not sure if it's entirely a sound issue (except case 2, maybe) - other games don't have any problems with playing sounds, only RGSS games. Though it is possible that it's because other games use other libraries... Nah, I see there is a way to disable WinePulse on the page you linked... If it turns out the problem is not caused by WinePulse, I'll come back to share my experiences.

Guess: Support for RPG Maker/RGSS games suggest to add the game's EXE file as an exception for DEP (Data Execution Prevention). Though games used to work for me on Windows anyway, with full DEP enabled to all applications, but maybe it causes problem here. Does Wine or the Linux kernel implement DEP (or equivalent)? If so, how do I disable it (only for this app, of course)?
MegaBrutal
Level 1
Level 1
Posts: 6
Joined: Wed Dec 05, 2012 7:19 am

Re: RGSS games don't seem to work with Wine

Post by MegaBrutal »

I've disabled GStreamer and Winepulse. Ironically, it seems to have eliminated case 1 and case 3, while I expected the opposite (that it'll eliminate case 2 and leave the others).

I can't tell it for certain, but it seems the game doesn't produce random crashes anymore. But case 2 persists: when I place the Melolune to the pedestal, the game crashes.
MegaBrutal wrote:To reproduce case 2, get through the intro dialogs, take the Melolune (as the game instructs you to do - it is the light glow in front of you), head to the other room (the only way you can go), and place the Melolune to one of the 3 pedestals there. It can be done in a minute, so don't worry that you need to get deep into the game to reproduce this error. As I said, the game tries to play a music track then, but it crashes.
Trace log:

Code: Select all

fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d004 (device=4 access=3 func=401 method=0)
fixme:win:EnumDisplayDevicesW ((null),0,0x81d48c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x81799c,0x00000000), stub!
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\winegstreamer.dll"
err:ole:CoGetClassObject no class object {f9d8d64e-a144-47dc-8ee0-f53498372c29} could be created for context 0x1
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\winegstreamer.dll"
err:ole:CoGetClassObject no class object {728dcf55-128f-4dd1-ad22-becfa66ce7aa} could be created for context 0x1
fixme:strmbase:MemInputPin_NotifyAllocator Read only flag not handled yet!
fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:strmbase:TransformFilterImpl_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:MediaSeeking_SetRate (0x202e38/0x202e44)->(1.000000): stub !!!
fixme:quartz:Parser_QueryInterface No interface for {2dd74950-a890-11d1-abe8-00a0c905f375}!
fixme:quartz:MediaSeeking_SetRate (0x202e38/0x202e44)->(1.000000): stub !!!
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\winegstreamer.dll"
err:ole:CoGetClassObject no class object {f9d8d64e-a144-47dc-8ee0-f53498372c29} could be created for context 0x1
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\winegstreamer.dll"
err:ole:CoGetClassObject no class object {728dcf55-128f-4dd1-ad22-becfa66ce7aa} could be created for context 0x1
fixme:strmbase:MemInputPin_NotifyAllocator Read only flag not handled yet!
fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:strmbase:TransformFilterImpl_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}!
fixme:quartz:MediaSeeking_SetRate (0x656c8b8/0x656c8c4)->(1.000000): stub !!!
fixme:quartz:MediaSeeking_SetRate (0x656c8b8/0x656c8c4)->(1.000000): stub !!!
fixme:quartz:DSoundRender_UpdatePositions Underrun of data occurred!
fixme:quartz:Parser_QueryInterface No interface for {2dd74950-a890-11d1-abe8-00a0c905f375}!
fixme:quartz:Parser_QueryInterface No interface for {2dd74950-a890-11d1-abe8-00a0c905f375}!
err:quartz:ACMWrapper_Receive Error sending sample (80040227)
err:dmloader:IDirectMusicLoaderImpl_IDirectMusicLoader_SetObject : could not attach stream to file
fixme:dmime:IDirectMusicPerformance8Impl_InitAudio (0x6570aa8, (nil), 0x81300c, (nil), 0, 0, 0, 0x813050): to check
fixme:dmime:IDirectMusicPerformance8Impl_Init (iface = 0x6570aa8, dmusic = (nil), dsound = 0x1450b4, hwnd = (nil))
fixme:dmime:IDirectMusicAudioPathImpl_IPersistStream_Load (0x656c578, 0x65ff840): Loading not implemented yet
fixme:dmime:IDirectMusicPerformance8Impl_CreateAudioPath (0x6570aa8, 0x656c578, 1, 0xb7747c): stub
fixme:dmime:IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate (0x65ff840, 1): stub
fixme:dmime:IDirectMusicAudioPathImpl_IDirectMusicAudioPath_GetObjectInPath (0x65ff840, -5, 24576, 1, {00000000-0000-0000-0000-000000000000}, 0, {6825a449-7524-4d82-920f-50e36ab3ab1e}, 0xb77480): stub
wine: Unhandled page fault on read access to 0x10003a70 at address 0x10003a70 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x10003a70 in 32-bit code (0x10003a70).
fixme:dbghelp_dwarf:dwarf2_parse_subprogram_block Unhandled Tag type 0x15 at ctx(0x33c32c,L"kernel32<elf>"), for debug_info(abbrev:0x3b3fe8,symt:(nil))
fixme:dbghelp_dwarf:dwarf2_parse_subprogram_block Unhandled Tag type 0xf at ctx(0x33c32c,L"kernel32<elf>"), for debug_info(abbrev:0x3b3fe8,symt:(nil))
fixme:dbghelp_dwarf:dwarf2_parse_udt_type Unhandled Tag type 0x1 at ctx(0x33c32c,L"ntdll<elf>"), for debug_info(abbrev:0x771430,symt:0xa7599c)
fixme:dbghelp_dwarf:dwarf2_parse_udt_type Unhandled Tag type 0x1 at ctx(0x33c32c,L"ntdll<elf>"), for debug_info(abbrev:0x771430,symt:0xa7599c)
fixme:dbghelp_dwarf:dwarf2_parse_subprogram Unhandled Tag type 0xf at ctx(0x33c32c,L"ntdll<elf>"), for debug_info(abbrev:0x771d10,symt:0xa75848)
fixme:dbghelp_dwarf:compute_location Only supporting one reg (eax/17 -> -2)
fixme:dbghelp_dwarf:compute_location Only supporting one reg (eax/17 -> -2)
fixme:dbghelp_dwarf:compute_location Only supporting one reg (eax/17 -> -2)
fixme:dbghelp_dwarf:compute_location Only supporting one reg (eax/17 -> -2)
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:10003a70 ESP:0081da58 EBP:0081fd48 EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:0040169c EBX:00000000 ECX:00000000 EDX:00000000
 ESI:00000000 EDI:00000000
Stack dump:
0x0081da58:  004016a5 7b8554f0 00000000 7b8ac000
0x0081da68:  00000000 00000000 00000000 00000000
0x0081da78:  00000000 00000000 00000000 00000000
0x0081da88:  00000000 00000000 00000000 00000000
0x0081da98:  00000000 00000000 00000000 00000000
0x0081daa8:  00000000 00000000 00000000 00000000
Backtrace:
=>0 0x10003a70 (0x0081fd48)
  1 0x00401b36 in game (+0x1b35) (0x0081fe70)
  2 0x7b85bdfc call_process_entry+0xb() in kernel32 (0x0081fe88)
  3 0x7b85d06f start_process+0x5e(peb=0x7ffdf000) [/root/wine-git/dlls/kernel32/process.c:1083] in kernel32 (0x0081fec8)
  4 0x7bc776c0 call_thread_func_wrapper+0xb() in ntdll (0x0081fed8)
  5 0x7bc7a4bd call_thread_func+0x7c(entry=0x7b85d010, arg=0x7ffdf000, frame=0x81ffc8) [/root/wine-git/dlls/ntdll/signal_i386.c:2522] in ntdll (0x0081ffa8)
  6 0x7bc7769e call_thread_entry_point+0x11() in ntdll (0x0081ffc8)
  7 0x7bc4dbde start_process+0x1d(kernel_start=0x7b85d010) [/root/wine-git/dlls/ntdll/loader.c:2653] in ntdll (0x0081ffe8)
  8 0xb762300d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xb76230cb wine_switch_to_stack+0x2a(func=0x7bc4dbc0, arg=0x7b85d010, stack=0x820000) [/root/wine-git/libs/wine/port.c:59] in libwine.so.1 (0xbfc8bb88)
  10 0x7bc535f8 LdrInitializeThunk+0x3b7(kernel_start=0x7b85d010, unknown2=0, unknown3=0, unknown4=0) [/root/wine-git/dlls/ntdll/loader.c:2709] in ntdll (0xbfc8bbf8)
  11 0x7b863270 __wine_kernel_init+0xbbf() [/root/wine-git/dlls/kernel32/process.c:1255] in kernel32 (0xbfc8cd08)
  12 0x7bc53c73 __wine_process_init+0x182() [/root/wine-git/dlls/ntdll/loader.c:2918] in ntdll (0xbfc8cd88)
  13 0xb7620caa wine_init+0x299(argc=0x2, argv=0xbfc8d2d4, error="", error_size=0x400) [/root/wine-git/libs/wine/loader.c:831] in libwine.so.1 (0xbfc8cde8)
  14 0x7bf00d7b main+0x8a(argc=<is not available>, argv=<is not available>) [/root/wine-git/loader/main.c:237] in <wine-loader> (0xbfc8d238)
  15 0xb74564d3 __libc_start_main+0xf2(main=0x7bf00cf0, argc=0x2, ubp_av=0xbfc8d2d4, init=0x7bf01110, fini=0x7bf01180, rtld_fini=0xb776f270, stack_end=0xbfc8d2cc) [/build/buildd/eglibc-2.15/csu/libc-start.c:226] in libc.so.6 (0x00000000)
0x10003a70: addb	%al,0x0(%eax)
Modules:
Module	Address			Debug info	Name (136 modules)
PE	  400000-  412000	Export          game
ELF	7b800000-7ba3c000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba3c000	\               kernel32
ELF	7bc00000-7bcd7000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcd7000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7c44e000-7c473000	Deferred        devenum<elf>
  \-PE	7c450000-7c473000	\               devenum
ELF	7c473000-7c49e000	Deferred        msvfw32<elf>
  \-PE	7c480000-7c49e000	\               msvfw32
ELF	7c49e000-7c582000	Deferred        quartz<elf>
  \-PE	7c4b0000-7c582000	\               quartz
ELF	7c582000-7c7aa000	Deferred        shell32<elf>
  \-PE	7c590000-7c7aa000	\               shell32
ELF	7cb90000-7cbba000	Deferred        dmusic<elf>
  \-PE	7cba0000-7cbba000	\               dmusic
ELF	7cbba000-7cc00000	Deferred        dmime<elf>
  \-PE	7cbc0000-7cc00000	\               dmime
ELF	7cd1b000-7cd49000	Deferred        dmloader<elf>
  \-PE	7cd20000-7cd49000	\               dmloader
ELF	7cd8d000-7ce00000	Deferred        shlwapi<elf>
  \-PE	7cda0000-7ce00000	\               shlwapi
ELF	7cf01000-7cf18000	Deferred        libresolv.so.2
ELF	7cf18000-7cf20000	Deferred        libogg.so.0
ELF	7cf20000-7cf4c000	Deferred        libvorbis.so.0
ELF	7cf4c000-7d0c4000	Deferred        libvorbisenc.so.2
ELF	7d0c4000-7d114000	Deferred        libflac.so.8
ELF	7d114000-7d11b000	Deferred        libasyncns.so.0
ELF	7d11b000-7d18f000	Deferred        libsndfile.so.1
ELF	7d18f000-7d1d9000	Deferred        libdbus-1.so.3
ELF	7d1d9000-7d23d000	Deferred        libpulsecommon-2.1.so
ELF	7d23d000-7d28b000	Deferred        libpulse.so.0
ELF	7d28b000-7d37d000	Deferred        libasound.so.2
ELF	7d382000-7d389000	Deferred        libasound_module_pcm_pulse.so
ELF	7d394000-7d3c4000	Deferred        winealsa<elf>
  \-PE	7d3a0000-7d3c4000	\               winealsa
ELF	7d3c4000-7d3e5000	Deferred        mmdevapi<elf>
  \-PE	7d3d0000-7d3e5000	\               mmdevapi
ELF	7d3e5000-7d42e000	Deferred        dsound<elf>
  \-PE	7d3f0000-7d42e000	\               dsound
ELF	7d42e000-7d460000	Deferred        libtxc_dxtn.so
ELF	7d560000-7d56b000	Deferred        libpciaccess.so.0
ELF	7d56b000-7d589000	Deferred        libgcc_s.so.1
ELF	7d672000-7d694000	Deferred        libdrm_intel.so.1
ELF	7d694000-7d6bc000	Deferred        libexpat.so.1
ELF	7d6bc000-7da5a000	Deferred        libdricore9.0.0.so.1
ELF	7da5a000-7dab5000	Deferred        i915_dri.so
ELF	7dab5000-7dac2000	Deferred        libdrm.so.2
ELF	7dac2000-7dada000	Deferred        libxcb-glx.so.0
ELF	7dada000-7db38000	Deferred        libgl.so.1
ELF	7db38000-7dc3e000	Deferred        opengl32<elf>
  \-PE	7db50000-7dc3e000	\               opengl32
ELF	7dc3e000-7dd7e000	Deferred        wined3d<elf>
  \-PE	7dc50000-7dd7e000	\               wined3d
ELF	7dd7e000-7ddb4000	Deferred        uxtheme<elf>
  \-PE	7dd80000-7ddb4000	\               uxtheme
ELF	7ddb4000-7dede000	Deferred        oleaut32<elf>
  \-PE	7ddd0000-7dede000	\               oleaut32
ELF	7dede000-7dfdf000	Deferred        comctl32<elf>
  \-PE	7def0000-7dfdf000	\               comctl32
ELF	7dfdf000-7e091000	Deferred        winmm<elf>
  \-PE	7dff0000-7e091000	\               winmm
ELF	7e091000-7e110000	Deferred        rpcrt4<elf>
  \-PE	7e0a0000-7e110000	\               rpcrt4
ELF	7e110000-7e239000	Deferred        ole32<elf>
  \-PE	7e130000-7e239000	\               ole32
ELF	7e2c8000-7e2d2000	Deferred        libwrap.so.0
ELF	7e2d2000-7e2e8000	Deferred        libglapi.so.0
ELF	7e2e9000-7e2ff000	Deferred        winejoystick<elf>
  \-PE	7e2f0000-7e2ff000	\               winejoystick
ELF	7e2ff000-7e370000	Deferred        ddraw<elf>
  \-PE	7e310000-7e370000	\               ddraw
ELF	7e370000-7e395000	Deferred        iphlpapi<elf>
  \-PE	7e380000-7e395000	\               iphlpapi
ELF	7e398000-7e3ba000	Deferred        dmsynth<elf>
  \-PE	7e3a0000-7e3ba000	\               dmsynth
ELF	7e3ba000-7e420000	Deferred        libmpg123.so.0
ELF	7e437000-7e44d000	Deferred        winemp3<elf>
  \-PE	7e440000-7e44d000	\               winemp3
ELF	7e44d000-7e463000	Deferred        midimap<elf>
  \-PE	7e450000-7e463000	\               midimap
ELF	7e463000-7e47c000	Deferred        msacm32<elf>
  \-PE	7e470000-7e47c000	\               msacm32
ELF	7e47c000-7e491000	Deferred        avicap32<elf>
  \-PE	7e480000-7e491000	\               avicap32
ELF	7e518000-7e522000	Deferred        libjson.so.0
ELF	7e525000-7e541000	Deferred        wsock32<elf>
  \-PE	7e530000-7e541000	\               wsock32
ELF	7e541000-7e575000	Deferred        ws2_32<elf>
  \-PE	7e550000-7e575000	\               ws2_32
ELF	7e575000-7e59f000	Deferred        msacm32<elf>
  \-PE	7e580000-7e59f000	\               msacm32
ELF	7e5b8000-7e5dc000	Deferred        imm32<elf>
  \-PE	7e5c0000-7e5dc000	\               imm32
ELF	7e60c000-7e613000	Deferred        libxfixes.so.3
ELF	7e613000-7e61e000	Deferred        libxcursor.so.1
ELF	7e61e000-7e62e000	Deferred        libxi.so.6
ELF	7e62e000-7e632000	Deferred        libxcomposite.so.1
ELF	7e632000-7e63d000	Deferred        libxrandr.so.2
ELF	7e63d000-7e647000	Deferred        libxrender.so.1
ELF	7e647000-7e64d000	Deferred        libxxf86vm.so.1
ELF	7e64d000-7e651000	Deferred        libxinerama.so.1
ELF	7e651000-7e673000	Deferred        libxcb.so.1
ELF	7e673000-7e679000	Deferred        libuuid.so.1
ELF	7e679000-7e693000	Deferred        libice.so.6
ELF	7e693000-7e7c9000	Deferred        libx11.so.6
ELF	7e7c9000-7e7db000	Deferred        libxext.so.6
ELF	7e7db000-7e86c000	Deferred        winex11<elf>
  \-PE	7e7f0000-7e86c000	\               winex11
ELF	7e86c000-7e885000	Deferred        libz.so.1
ELF	7e885000-7e91f000	Deferred        libfreetype.so.6
ELF	7e924000-7e92d000	Deferred        librt.so.1
ELF	7e92d000-7e930000	Deferred        libx11-xcb.so.1
ELF	7e930000-7e934000	Deferred        libxdamage.so.1
ELF	7e936000-7e950000	Deferred        version<elf>
  \-PE	7e940000-7e950000	\               version
ELF	7e950000-7e9bb000	Deferred        advapi32<elf>
  \-PE	7e960000-7e9bb000	\               advapi32
ELF	7e9bb000-7eace000	Deferred        gdi32<elf>
  \-PE	7e9d0000-7eace000	\               gdi32
ELF	7eace000-7ec22000	Deferred        user32<elf>
  \-PE	7eae0000-7ec22000	\               user32
ELF	7ef96000-7efa3000	Deferred        libnss_files.so.2
ELF	7efa3000-7efbd000	Deferred        libnsl.so.1
ELF	7efbd000-7efe9000	Deferred        libm.so.6
ELF	7efeb000-7eff7000	Deferred        libnss_nis.so.2
ELF	7eff7000-7f000000	Deferred        libnss_compat.so.2
ELF	b7430000-b7437000	Deferred        libxdmcp.so.6
ELF	b7438000-b743d000	Deferred        libdl.so.2
ELF	b743d000-b75e7000	Dwarf           libc.so.6
ELF	b75e8000-b7603000	Deferred        libpthread.so.0
ELF	b7606000-b760a000	Deferred        libxau.so.6
ELF	b760a000-b7613000	Deferred        libsm.so.6
ELF	b761a000-b775e000	Dwarf           libwine.so.1
ELF	b7760000-b7782000	Deferred        ld-linux.so.2
ELF	b7782000-b7783000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\megabrutal\Melolune\Game.exe
	00000029   15
	00000027    0
	00000025   15
	00000024    0
	00000023    0
	00000009    0 <==
0000000e services.exe
	0000001f    0
	0000001e    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000014    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001d    0
	0000001b    0
00000021 explorer.exe
	00000022    0
The log still contains this line thousands of times, but I filtered it out to ensure readability:

Code: Select all

fixme:quartz:Parser_OutputPin_QueryInterface No interface for {56a868a5-0ad4-11ce-b03a-0020af0ba770}!
I'm also worried about this line:

Code: Select all

err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\winegstreamer.dll"
Why is it still looking for GStreamer when I disabled it? Did I do something wrong?

The award winner is this - the actual crash - it appeared in the above case 2 and case 3 trace logs too:

Code: Select all

wine: Unhandled page fault on read access to 0x10003a70 at address 0x10003a70 (thread 0009), starting debugger...
Note the same address!

Extracting the game data files still doesn't help anything.

Any ideas what might cause the problem?

My current Wine build is: wine-1.5.18-261-g60195ff
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: RGSS games don't seem to work with Wine

Post by dimesio »

You have variously said you compiled Wine without gstreamer support and that you have disabled winegstreamer. FYI, they are not the same thing, though either action should work around bug 30557.

It's looking for gstreamer because Wine's quartz needs it. Without gstreamer, you need native quartz, and probably other related dlls.

Try winetricks directmusic.
MegaBrutal
Level 1
Level 1
Posts: 6
Joined: Wed Dec 05, 2012 7:19 am

Re: RGSS games don't seem to work with Wine

Post by MegaBrutal »

dimesio wrote:You have variously said you compiled Wine without gstreamer support and that you have disabled winegstreamer. FYI, they are not the same thing, though either action should work around bug 30557.
Actually, I did both: compiling with "./configure --without-gstreamer" and explicitly disabling the DLL in winecfg... after I've compiled Wine and then saw that GStreamer-related messages are still there, I wondered if GStreamer got compiled anyway and then I explicitly disabled it to go for sure. :)

But wait, if disabling would have been enough, it wasn't really necessary to build Wine from source, right? Good to know, in that case it's likely that I'll delete my compiled Wine and put back the Ubuntu package.
dimesio wrote: It's looking for gstreamer because Wine's quartz needs it. Without gstreamer, you need native quartz, and probably other related dlls.

Try winetricks directmusic.
Thank you very much! It vaguely occurred to me that maybe there's something I must install in place of GStreamer - so this is it.

Now the game doesn't crash at that critical point, but the music doesn't start playing... What's strange is that other music plays well in the game. Possible codec problem? The game has sound files in different formats... MP3, OGG, WAV, MID... <<*Digging game files...*>> This one is actually a MIDI, even my regular media player needed to download a codec for it, though the codec it downloaded is for GStreamer... what I can't use with Wine... How can I install MIDI support for Wine without GStreamer? Not sure if it's Wine-related enough to get an answer here... :( Trying Google...
Locked