WINEDLLOVERRIDES Help

Questions about Wine on Linux
Locked
Xplorer4x4
Level 1
Level 1
Posts: 7
Joined: Thu Jul 17, 2014 6:54 pm

WINEDLLOVERRIDES Help

Post by Xplorer4x4 »

I am trying to install a game called Emergency 4 Deluxe on Manjaro x64(arch based) but having trouble with the WINEDLLOVERRIDES listed here. I get the error
wine: cannot find L"C:\\windows\\system32\\Em4Deluxe.exe"
If I make a symlink in system32 I get
err:module:import_dll Library LC_API.dll (which is needed by L"C:\\windows\\system32\\Em4Deluxe.exe") not found
err:module:import_dll Library vision71.dll (which is needed by L"C:\\windows\\system32\\Em4Deluxe.exe") not found
err:module:import_dll Library vBase71.dll (which is needed by L"C:\\windows\\system32\\Em4Deluxe.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\Em4Deluxe.exe" failed, status c0000135
Google provided some help on LC_API.dll and I thought I had solved the dependency but i guess not. Any help?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINEDLLOVERRIDES Help

Post by dimesio »

Use winetricks to install native quartz and devenum. Navigate to the directory containing Em4Deluxe.exe before trying to run it. http://wiki.winehq.org/FAQ#run_from_terminal
Xplorer4x4
Level 1
Level 1
Posts: 7
Joined: Thu Jul 17, 2014 6:54 pm

Re: WINEDLLOVERRIDES Help

Post by Xplorer4x4 »

Code: Select all

[xplorer4x4@xplorer4x4-hcm ~]$ wine start 'c:\Program Files\sixteen tons entertainment\Emergency 4 Deluxe\Em4Delux
fixme:exec:SHELL_execute flags ignored: 0x00000100
[xplorer4x4@xplorer4x4-hcm ~]$ fixme:win:EnumDisplayDevicesW ((null),0,0x100f3f4,0x00000000), stub!
err:quartz:GetClassMediaFile Media class not found
fixme:quartz:Parser_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}!
fixme:quartz:MPEGSplitter_query_accept MPEG-1 system streams not yet supported.
err:quartz:GetClassMediaFile Media class not found
fixme:quartz:Parser_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}!
fixme:quartz:MPEGSplitter_query_accept MPEG-1 system streams not yet supported.
err:quartz:GetClassMediaFile Media class not found
fixme:quartz:Parser_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}!
fixme:quartz:MPEGSplitter_query_accept MPEG-1 system streams not yet supported.
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
err:quartz:GetClassMediaFile Media class not found
fixme:quartz:Parser_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}!
fixme:quartz:MPEGSplitter_query_accept MPEG-1 system streams not yet supported.
wine: Unhandled page fault on read access to 0x000000f8 at address 0x6fce8d (thread 0023), starting debugger...
They are installed, this is what I got.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINEDLLOVERRIDES Help

Post by dimesio »

Your console output shows you did not install native quartz. According to the AppDB you need to.
Xplorer4x4
Level 1
Level 1
Posts: 7
Joined: Thu Jul 17, 2014 6:54 pm

Re: WINEDLLOVERRIDES Help

Post by Xplorer4x4 »

Code: Select all

[xplorer4x4@xplorer4x4-hcm ~]$ WINEDLLOVERRIDES="quartz,devenum=n" regsvr32 quartz
regsvr32: Successfully registered DLL 'quartz'
[xplorer4x4@xplorer4x4-hcm ~]$ WINEDLLOVERRIDES="quartz,devenum=n" regsvr32 devenum
regsvr32: Successfully registered DLL 'devenum'
Seems installed to me. :s
Xplorer4x4
Level 1
Level 1
Posts: 7
Joined: Thu Jul 17, 2014 6:54 pm

Re: WINEDLLOVERRIDES Help

Post by Xplorer4x4 »

User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINEDLLOVERRIDES Help

Post by dimesio »

Specifying WINEDLLOVERRIDES in the command line only sets the override for that session. So yes, you were using native quartz and devenum when you ran regsvr32, but not when you ran the app.

To avoid having to specify WINEDLLOVERRIDES every time you run the app, you need to set the override in winecfg, which you clearly haven't (at least not for that wineprefix), because you wouldn't be getting quartz fixmes in the console if you had.
Xplorer4x4
Level 1
Level 1
Posts: 7
Joined: Thu Jul 17, 2014 6:54 pm

Re: WINEDLLOVERRIDES Help

Post by Xplorer4x4 »

So it was set for that session why do i get the errors for that session and i run the game right after why do i still get the errors? I dont understand. Could you point me in the right direction for setting it in winecfg? I cant seem to figure out a solution using google or the wine faq. Thanks!
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: WINEDLLOVERRIDES Help

Post by spoon0042 »

Xplorer4x4 wrote:So it was set for that session why do i get the errors for that session and i run the game right after why do i still get the errors? I dont understand.
Basic shell stuff: setting WINEDLLOVERRIDES like that only applies it to that one command. You could use 'export' to set it for any command run in that shell but...
Could you point me in the right direction for setting it in winecfg? I cant seem to figure out a solution using google or the wine faq. Thanks!
http://wiki.winehq.org/winecfg is what you probably want to use anyway. Add the application as it describes, then click 'Libraries' and add the appropriate overrides.
Xplorer4x4
Level 1
Level 1
Posts: 7
Joined: Thu Jul 17, 2014 6:54 pm

Re: WINEDLLOVERRIDES Help

Post by Xplorer4x4 »

spoon0042 wrote:add the application as it describes, then click 'Libraries' and add the appropriate overrides.
I just dont understand how to add them in there. The options do not anything like the overrides cli above.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINEDLLOVERRIDES Help

Post by dimesio »

Go to the Libraries tab.
Under "New override for library" select quartz from the dropdown list.
Click "Add"
Do the same for devenum.
Click Apply.
Click OK.
Locked