Wine visual novel game,Directshow VideoDecoderError, ubuntu

Questions about Wine on Linux
Locked
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Wine visual novel game,Directshow VideoDecoderError, ubuntu

Post by miu »

I have searched the forum and find threads above, but I can't get useful help from threads above.
Exactly, I

I have wine1.4 installed. :D

I wine the game 青空の見える丘 and run perfectly on wine1.4 till the game play a video.

When the game play a video, it show the error.

Image

I have also installed gstreamer 1.0 in my Ubuntu 12.04.

Code: Select all

sudo add-apt-repository ppa:gstreamer-developers/ppa
sudo apt-get update
sudo apt-get install gstreamer1.0*
But it isn't helpful. :?:

How to solve the problem.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by dimesio »

Start by upgrading Wine to 1.6. If that doesn't fix it, post terminal output.
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by miu »

Code: Select all

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.6
Restart(not log in and log out) my computer

then I start the game, get the same error.

Image

The code I get when wine the game.

Code: Select all

wine aozora.exe
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10070 0x00000000
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,0x32f528,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
err:quartz:GetClassMediaFile Media class not found
err:ole:CoCreateInstance apartment not initialised
I pay attention to that

when the error window appears,

it seems that the code

Code: Select all

err:ole:CoCreateInstance apartment not initialised
appears at the same time.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by dimesio »

Try native quartz.
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by miu »

Do you mean quartz.dll, right?
It seems that it doesn't work.

I get the quartz.dll from WinXP(32bit).

My os is ubuntu12.04(32bit).

rename the ~/.wine/drive_c/windows/system32/quartz.dll as quartz.dll.backup

then I copy the quartz.dll to the path ~/.wine/drive_c/windows/system32/



then wine the game with

Code: Select all

wine aozora.exe


It's the same error.

Then I do

Code: Select all

WINEDLLOVERRIDES=quartz=n wine aozora.exe
when the game began to play a video, the wine aozora.exe crashed.


After that, I copy the devenum.dll from WinXP(32bit)

and copy it to the ~/.wine/drive_c/windows/system32/

do

Code: Select all

WINEDLLOVERRIDES=quartz,devenum=n wine aozora.exe
the same situation happened as above.
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by miu »

I find another phenomenon, but it can only play the sound, no image when playing video.

The way I do is that

I disable the winegstreamer.dll and copy the quartz.dll from winXP to ~/.wine/drive_c/windows/system32/

then the game begin to play a video with sound and no image.
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by miu »

Code: Select all

fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10070 0x00000000
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,0x32f528,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
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
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000001 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x327dd18,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x327d848,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x327d848,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:win:EnumDisplayDevicesW ((null),0,0x327dbb8,0x00000000), stub!
fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x10070
fixme:mci:MCI_SendCommand unhandled MCI_ALL_DEVICE_ID

Though I disable the winegstreamer.dll, the wine seems to try to load winegstreamer.dll.
A little strange :?:
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by miu »

Successfully! :D I resolved it .

I disable the winegstreamer.dll and copy the quartz.dll from winXP to ~/.wine/drive_c/windows/system32/

configure wine >> dll >> make "quartz.dll" native

winetricks >> install a window dll or component >> install ffdshow

Start the ffdshow programe, make some settings to let ffdshow decode the game which have interlude video.

THEN start your game and happily play your game :D
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by miu »

Though successful, I put up the terminal output here to make some improvement later on.

Code: Select all

fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10070 0x00000000
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,0x32f528,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
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
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000001 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x2eadd08,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x2ead838,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x2ead838,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
err:ole:CoGetClassObject class {7d8aa343-6e63-4663-be90-6b80f66540a3} not registered
err:ole:CoGetClassObject no class object {7d8aa343-6e63-4663-be90-6b80f66540a3} could be created for context 0x1
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {6bc1cffa-8fc1-4261-ac22-cfb4cc38db50}, hres is 0x80040154
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000001 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x1adc9e8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x1adcad8,0x00000000), stub!
fixme:devenum:DEVENUM_IMediaCatMoniker_IsEqual (0x237cbb0)->(0x23802d8): stub
fixme:devenum:DEVENUM_IMediaCatMoniker_IsEqual (0x237cbb0)->(0x2381388): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:d3d:wined3d_get_adapter_raster_status wined3d 0x2388ea8, adapter_idx 0, raster_status 0x510db98 semi-stub!


miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: Wine visual novel game,Directshow VideoDecoderError, ubu

Post by miu »

maybe we can combine linux ffmpeg with wine,
and it can also solve the problem. I don't test it. Just a suppose.
If anyone tests it successfully, Please inform me. Great thanks.

This is referential link to install ffmpeg in ubuntu12.04:
http://askubuntu.com/a/148567
Locked