debugging / dll file / wine / company of heroes

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
cometa
Level 1
Level 1
Posts: 6
Joined: Sun May 11, 2008 9:59 am

debugging / dll file / wine / company of heroes

Post by cometa »

hi.

i try to get company of heroes 2.301 workin on ubuntu 8.04.
i get this error:
user666@user666-desktop:~$ wine "e:\Gamez\Company Of Heroes\RelicCOH.exe"fixme:heap:HeapSetInformation 0x16a0000 0 0xfffb9c 4
fixme:heap:HeapSetInformation 0x19d0000 0 0xfffb98 4
fixme:heap:HeapSetInformation 0x1ae0000 0 0xfffb98 4
fixme:heap:HeapSetInformation 0x1bf0000 0 0xfffcf0 4
fixme:heap:HeapSetInformation 0x2140000 0 0xfffca0 4
fixme:heap:HeapSetInformation 0x2250000 0 0xfffca0 4
fixme:heap:HeapSetInformation 0x2360000 0 0xfffcf0 4
fixme:heap:HeapSetInformation 0x2470000 0 0xfffd94 4
fixme:heap:HeapSetInformation 0x2580000 0 0xfffd94 4
fixme:heap:HeapSetInformation 0x2690000 0 0xfffe20 4
fixme:heap:HeapSetInformation 0x27a0000 0 0xfffe20 4
with loaddll parameter:
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\midimap.dll" at 0x7e220000: builtin
fixme:heap:HeapSetInformation 0x16a0000 0 0xfffb9c 4
fixme:heap:HeapSetInformation 0x19d0000 0 0xfffb98 4
fixme:heap:HeapSetInformation 0x1ae0000 0 0xfffb98 4
fixme:heap:HeapSetInformation 0x1bf0000 0 0xfffcf0 4
fixme:heap:HeapSetInformation 0x2140000 0 0xfffca0 4
fixme:heap:HeapSetInformation 0x2250000 0 0xfffca0 4
fixme:heap:HeapSetInformation 0x2360000 0 0xfffcf0 4
fixme:heap:HeapSetInformation 0x2470000 0 0xfffd94 4
fixme:heap:HeapSetInformation 0x2580000 0 0xfffd94 4
fixme:heap:HeapSetInformation 0x2690000 0 0xfffe20 4
fixme:heap:HeapSetInformation 0x27a0000 0 0xfffe20 4
i tried to start the program with winecfg libraries and with WINEDLLOVERRIDES="d3dx9_36.dll,midimap.dll, but it did not start.

does someone have an idea what i could do? i can start the game through winefile, but the display is corrupted, terminal shows direct3d errors.

best regards
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: debugging / dll file / wine / company of heroes

Post by vitamin »

cometa wrote:user666@user666-desktop:~$ wine "e:\Gamez\Company Of Heroes\RelicCOH.exe
This is not correct. Read FAQ first question for complete explanation why.
cometa wrote:i tried to start the program with winecfg libraries and with WINEDLLOVERRIDES="d3dx9_36.dll,midimap.dll, but it did not start.
You can't just override any dll you also have to copy it to program's or system32 dir.
cometa
Level 1
Level 1
Posts: 6
Joined: Sun May 11, 2008 9:59 am

Post by cometa »

well for the syntax, there is a " missing... the app is starting.

i copied the files into the system32 folder, too.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

cometa wrote:well for the syntax, there is a " missing... the app is starting.
You again didn't read what I said. Go read the FAQ.
cometa
Level 1
Level 1
Posts: 6
Joined: Sun May 11, 2008 9:59 am

Post by cometa »

yes, i see. sorry. i try it out just right now.
plz be more specific, which part of the faq?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: debugging / dll file / wine / company of heroes

Post by vitamin »

vitamin wrote:
cometa wrote:user666@user666-desktop:~$ wine "e:\Gamez\Company Of Heroes\RelicCOH.exe"
This is not correct. Read FAQ first question for complete explanation why.
cometa
Level 1
Level 1
Posts: 6
Joined: Sun May 11, 2008 9:59 am

Post by cometa »

i changed to the folder manually and started it like described in the faq, there are still errors coming in the terminal and the display is still corrupted.

could it be that the dll files are not properly being used / loaded by wine?
fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (2) failed ((nil))
fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (3) failed ((nil))
[...] etc.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

cometa wrote:i changed to the folder manually and started it like described in the faq, there are still errors coming in the terminal and the display is still corrupted.

could it be that the dll files are not properly being used / loaded by wine?
fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (2) failed ((nil))
fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (3) failed ((nil))
[...] etc.
What video card? What drivers? Have you disabled compiz?
cometa
Level 1
Level 1
Posts: 6
Joined: Sun May 11, 2008 9:59 am

Post by cometa »

its funny! the whole game actually works, but only the graphics dont.

gfx:= ati x1900gt driver:= off. cat. 8.4 prop

sorry, what is compiz? seems to my a little like there is also a problem with the refresh rate... screen is flickering, i see ubuntu desktop and coh.

thanks, vitamin!

ps:
fixme:d3d:dumpResources Leftover resource 0x19df6f78 with type 1,WINED3DRTYPE_SURFACE
fixme:d3d:dumpResources Leftover resource 0x19df58a0 with type 1,WINED3DRTYPE_SURFACE
fixme:d3d:dumpResources Leftover resource 0x19df41c8 with type 1,WINED3DRTYPE_SURFACE
pss: /me checking out compiz...

psss: seems like i have compiz-0.7.4 in ubuntu, i think its active, too, having visual effects... how can i check wether its active, should i reinstall it? dont you think its because of the d3dx9_36.dll ?
cometa
Level 1
Level 1
Posts: 6
Joined: Sun May 11, 2008 9:59 am

Post by cometa »

plz help me, what sould i do? reconfigure xconf? agp-aperture size? i think its because of the direct3d dll.

fglrx is running:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1900 Series
OpenGL version string: 2.1.7415 Release
http://appdb.winehq.org/objectManager.p ... ngId=13026
http://wine-review.blogspot.com/2008/03 ... table.html

i configured it like this and it still does not work.
gnivler
Level 3
Level 3
Posts: 54
Joined: Wed May 07, 2008 9:30 pm

debugging / dll file / wine / company of heroes

Post by gnivler »

On Sun, 2008-05-11 at 11:43 -0500, cometa wrote:
its funny! the whole game actually works, but only the graphics dont.

gfx:= ati x1900gt driver:= off. cat. 8.4 prop

sorry, what is compiz? seems to my a little like there is also a problem with the refresh rate... screen is flickering, i see ubuntu desktop and coh.

thanks, vitamin!

ps:
fixme:d3d:dumpResources Leftover resource 0x19df6f78 with type 1,WINED3DRTYPE_SURFACE
fixme:d3d:dumpResources Leftover resource 0x19df58a0 with type 1,WINED3DRTYPE_SURFACE
fixme:d3d:dumpResources Leftover resource 0x19df41c8 with type 1,WINED3DRTYPE_SURFACE


http://compiz.org/

It comes with Ubuntu 8.04. Causes problems with wine games/graphics,
not an expert on the subject in any way but I have been reading this
list/forum. Try searching for compiz and see what you come up with. It
can be disabled and that might help with graphic problems, in a
nutshell. Don't quote me on any of this :X
good luck
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Post by Tlarhices »

cometa wrote:plz help me, what sould i do? reconfigure xconf? agp-aperture size? i think its because of the direct3d dll.

fglrx is running:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1900 Series
OpenGL version string: 2.1.7415 Release
http://appdb.winehq.org/objectManager.p ... ngId=13026

http://wine-review.blogspot.com/2008/03 ... table.html
It's actually not a good idea to do this, see http://forum.winehq.org/viewtopic.php?t ... ght=direct for more details about this.
Did you try with wine's own directx implementation before installing microsoft's one ?

To disable compiz, go into System -> Preference -> Appearance in the "visual effects" tab, select "None"
or if you prefer by command line type :

Code: Select all

metacity --replace
Locked