Graphic Problem

AppleApe

New member
Joined
Jun 5, 2010
Messages
327
I am running Black & White on PlayOnLinux under Arch Linux (with the MATE DE & of course, Xorg, using NVidia 304.xx driver with a 9800 GT) (and I have Wine, kernel, etc., updated to latest versions available in the repositories).
However, the graphics (trees, villages, people and others) look like textures that I haven't seen used in the game before.  :suspect
I installed B&W to the equivalent of C:/Games and installed both patches; However, they don't seem to have helped much.
Here is a picture from the God's playground (Note the green arrow in front of my hand is actually my cursor):
https://www.dropbox.com/s/i26mnmcqmlvnytd/Screenshot.png?dl=0
Anyone know a fix?

Help appreciated! :)
 
Not that it really helps, but if memory serves, those textures look like they're from inside the temple.
 
This bug is due to Wine not having a software DXTC to ARGB converter implemented, nor do your proprietary drivers. (I think mesa drivers work?) DXTC is the texture format used by the game.

You need to compile Wine with the following patches applied:
Code:
mkdir ~/src
cd ~/src
git clone git://source.winehq.org/git/wine.git ~/src/wine
cd ~/src/wine
wget -O wine-dxt13-to-argb4444-xrgb1555-conversion.patch http://bugs.winehq.org/attachment.cgi?id=34559
wget -O wine-dderr.patch http://bugs.winehq.org/attachment.cgi?id=33563
patch -p1 < wine-dxt13-to-argb4444-xrgb1555-conversion.patch
patch -p1 < wine-dderr.patch

Check http://wiki.winehq.org/Recommended_Packages to make sure you get all necessary packages, or if you encounter trouble compiling. Then copy and paste the next set of commands:
Code:
./configure --prefix=/usr
make depend
make
sudo make install
 
fenton_pat said:
Not that it really helps, but if memory serves, those textures look like they're from inside the temple.

Indeed.

Handsome Matt said:
You need to compile Wine

When I do either of the wgets, I get:

zsh: no matches found: http://bugs2.winehq.org/attachment.cgi?id=34559

So, I went to the address in a web browser and got:

Forbidden

You don't have permission to access /attachment.cgi on this server.

Is there an alternative URL?
Thank you for your answer!  :)
 
Not sure why they changed their domain, but it's bugs2 -> bugs. Edited my post to fit that.
 
Well I'm not getting the 403 error anymore, but I am still getting problems/errors.
Here is a copy and paste from my terminal:

Code:
% mkdir ~/src
% cd ~/src
% git clone git://source.winehq.org/git/wine.git ~/src/wine
Cloning into '/home/user/src/wine'...
remote: Counting objects: 770781, done.
remote: Compressing objects: 100% (129923/129923), done.
remote: Total 770781 (delta 639144), reused 770474 (delta 638924)
Receiving objects: 100% (770781/770781), 143.19 MiB | 2.01 MiB/s, done.
Resolving deltas: 100% (639144/639144), done.
Checking connectivity... done.
% cd ~/src/wine
% wget -O wine-dxt13-to-argb4444-xrgb1555-conversion.patch http://bugs.winehq.org/attachment.cgi?id=34559
zsh: no matches found: http://bugs.winehq.org/attachment.cgi?id=34559
% wget -O wine-dderr.patch http://bugs.winehq.org/attachment.cgi?id=33563
zsh: no matches found: http://bugs.winehq.org/attachment.cgi?id=33563

So, I went to the URL's in Chromium and saved the files as the designated .patch files, and attempted to run the patch commands.
The second patch command seems to work fine, but with the first one I get:

Code:
Hunk #1 succeeded at 3240 with fuzz 2 (offset -8 lines).
Hunk #2 FAILED at 3555.
1 out of 2 hunks FAILED -- saving rejects to file dlls/wined3d/surface.c.rej

I went ahead and tried to compile one time, but got a 32bit missing library error, so I had to replace the gcc package with gcc-multilib (pacman -S gcc-multilib), then it compiled for a good few long minutes, before failing with this error (I may not have copied enough of the error?):

Code:
Makefile:715: recipe for target 'surface.o' failed
make[1]: *** [surface.o] Error 1
make[1]: Leaving directory '/home/user/src/wine/dlls/wined3d'
Makefile:17990: recipe for target 'dlls/wined3d' failed
make: *** [dlls/wined3d] Error 2

I suspect the error goes back to the patch errors?
If so, is there any fix/way around it?
Thank you for your help.  :)
 
Hi, did you ever figure this out?
I've been trying to run it myself, experiencing the exact same errors as you when trying to compile wine. The game runs so nicely otherwise, it's too bad if there is no way to run it on OS X anymore.
 
Back
Top