minimap and Leaderheads not showing up in Civilization IV

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
asch
Level 1
Level 1
Posts: 7
Joined: Wed Jul 28, 2010 11:27 am

minimap and Leaderheads not showing up in Civilization IV

Post by asch »

Civilization IV Beyond the Sword expansion.

I'm using Wine 1.1.44 with the latest intel drivers (2.12.0) and mesa at 7.8.2. OS is GNU/Linux, Gentoo distribution

Both the minimap at the lower left corner and leaderheads don't show up, showing just a black section on the screen instead. Also, some artifacts are showing up in forests and jungles.

This is very different from the results described on http://appdb.winehq.org/objectManager.p ... ngId=51250.

I followed these instructions thoroughly, tried different graphics settings in both wine and game. alsto tried winetricks msxml3 msxml4 d3dx9, with the required overrides, and no improvement was noticed. If you see te screenshots from Appdb, we can see that minimaps are rendered correcly, and the wine version is the same as of mine.

I'm using an intel GMA 4500HD and I have seen claims that it rendered Civ IV under wine correctly. Also driver support for intel chipsets seems to be good on linux, and it supports opengl 2.1 and dx10 natively, and has enough horsepower for that game.

Am I missing a setting in xorg.conf? Is there a missing library on my system?

Thank you very much, posting screenshots as soon as I host them on the internet. See you soon.
asch
Level 1
Level 1
Posts: 7
Joined: Wed Jul 28, 2010 11:27 am

Post by asch »

Image

This picture shows the clear minimap at the lower left corner on the screen, as well as the aforementioned forest and jugle artifacts (they kind of blink, appear and disapper, just like the reflex of a starry sky on a lake.

Espected results, for both minimap and forests: similar to the ones displayed here: http://appdb.winehq.org/screenshots.php ... onId=10158

Image

As you can see from the second picture, not only the leaderhead is not showing, but also the normal map in the back, that should be similar to the map in the first picture.
asch
Level 1
Level 1
Posts: 7
Joined: Wed Jul 28, 2010 11:27 am

Post by asch »

Also, sorry for the triple-posting, but the minimap is that black square on the lower RIGHT corner, not left. Silly me.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: minimap and Leaderheads not showing up in Civilization I

Post by dimesio »

asch wrote: I'm using Wine 1.1.44
Upgrade to 1.2. If that doesn't fix it, run it from a terminal and post whatever messages appear.
asch
Level 1
Level 1
Posts: 7
Joined: Wed Jul 28, 2010 11:27 am

Post by asch »

I opened regedit and changed OffscreenRenderingMode to backbuffer instead of fbo (http://wiki.winehq.org/UsefulRegistryKeys). Now minimap and most leader heads displays correctly, but not all.

The main errors (?) in terminal now are:

Code: Select all

fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x300f4 0x00000000
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 2, in ?
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 4 and card vendor 0000.
fixme:win:EnumDisplayDevicesW ((null),0,0x32ee34,0x00000000), stub!
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 4 and card vendor 0000.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f36c,0x00000000), stub!
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 4 and card vendor 0000.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f378,0x00000000), stub!
fixme:d3d:buffer_PreLoad Too many declaration changes or converting dynamic buffer, stopping converting
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d:state_vertexblend_w Vertex blend flags 0x3 not supported.
fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x300f4
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

make sure the AA option inside of the game is disabled... other than that, I've never tried it on an intel card, might be something to do with that...
asch
Level 1
Level 1
Posts: 7
Joined: Wed Jul 28, 2010 11:27 am

Post by asch »

Well, I set the vendor and device IDs on registry, as well as set up the video memory to 384 (had a crash due to "not enough video memory available" before that, not happened again yet). Also enabled Multisampling and set DirectDrawRenderer to opengl.

Yet, the artifacts and corruptions still appear.

Well, not that bad. I can always look at the forests and remember of a pristine night, near the calm shores of a fresh and calm lake, under the bright of the divine stars and of their reflexes on the lake. All of that while fucking a whore. Man, nothing as romantic as fucking a whore.

Anyway, if any of you have success on getting rid of these artifacts please tell me, I might as well try AA just to see what happens (I can always save the game :p)
asch
Level 1
Level 1
Posts: 7
Joined: Wed Jul 28, 2010 11:27 am

Post by asch »

Also, on an interesting note, both the city bars work correctly here, even tho appdb says they don't. Maybe the drivers are just that radically different between different manufacturers. :/

Also, I hope that double posting again was not such that big a deal.
Locked