http://bugs.winehq.org/show_bug.cgi?id=25677
Summary: CaesarIV does not render text in game Product: Wine Version: 1.3.10 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: wjak56@gmail.com CC: wine-bugs@winehq.org
Created an attachment (id=32707) --> (http://bugs.winehq.org/attachment.cgi?id=32707) Stack trace
$ wine --version wine-1.3.10
Follow the directions to get Caesar IV running here: http://bugs.winehq.org/show_bug.cgi?id=10190#c14
Install dotnet20 with winetricks. Install the game. Replace d3dx9_30.dll and d3dx9_36.dll with native versions. I used winetricks to install directx9 into a temporary wineprefix dir and then copied those files over.
The game runs successfully but it does not render text. Instead there are square yellowish boxes where the text should be.
Screenshot: http://i.imgur.com/fVmFT.jpg
I believe the issue is related to these two lines:
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36315220) in the format lookup table fixme:d3d:state_wrap (WINED3DRS_WRAP0) Texture wrapping not yet supported.
Some research leads me to understand that Texture wrapping isn't supported by OpenGL and thus wine, but I was hoping there is a way to work around this bug, or if I could be mistaken and it's unrelated to that.
I've tried various settings in the game's ini file but to no avail. I also tried changing settings in the relevant .fx files, but nothing seemed to work, other than me breaking different rendering aspects :D
http://bugs.winehq.org/show_bug.cgi?id=25677
Wes wjak56@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=10190
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #1 from Wes wjak56@gmail.com 2011-02-04 15:09:52 CST --- (In reply to comment #0)
Created an attachment (id=32707)
--> (http://bugs.winehq.org/attachment.cgi?id=32707) [details]
Stack trace
$ wine --version wine-1.3.10
Follow the directions to get Caesar IV running here: http://bugs.winehq.org/show_bug.cgi?id=10190#c14
Install dotnet20 with winetricks. Install the game. Replace d3dx9_30.dll and d3dx9_36.dll with native versions. I used winetricks to install directx9 into a temporary wineprefix dir and then copied those files over.
The game runs successfully but it does not render text. Instead there are square yellowish boxes where the text should be.
Screenshot: http://i.imgur.com/fVmFT.jpg
I believe the issue is related to these two lines:
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36315220) in the format lookup table fixme:d3d:state_wrap (WINED3DRS_WRAP0) Texture wrapping not yet supported.
Some research leads me to understand that Texture wrapping isn't supported by OpenGL and thus wine, but I was hoping there is a way to work around this bug, or if I could be mistaken and it's unrelated to that.
I've tried various settings in the game's ini file but to no avail. I also tried changing settings in the relevant .fx files, but nothing seemed to work, other than me breaking different rendering aspects :D
I forgot to mention my graphics card and driver...
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GTX] (rev a2)
using "nvidia 260.19.36-1" driver on Arch Linux
http://bugs.winehq.org/show_bug.cgi?id=25677
muhman@lucidia.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |muhman@lucidia.de
--- Comment #2 from muhman@lucidia.de 2011-03-27 11:47:12 CDT --- Have the same problem. I found this for windows, maybe it will help. I couldn´t solve it.
http://www.tiltedmill.com/forums/showthread.php?t=9673
http://bugs.winehq.org/show_bug.cgi?id=25677
Viktoria viktoria.s@freemail.hu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |viktoria.s@freemail.hu
--- Comment #3 from Viktoria viktoria.s@freemail.hu 2011-04-12 08:28:09 CDT --- Hi!
The error appeared to me too. Maybe there is something wrong with the installer because it seems to me there are a lot of missing files. If I ran the game with WINEDEBUG=warn+ntdll options it list a lots of files which are missing like: warn:ntdll:NtQueryAttributesFile L"\??\C:\Program Files\Sierra\Caesar IV\Data\Graphics\interface\backgrounds\mainmenu_1_1.dds" not found (c0000034)
and maybe this file supposed to be the background of the texts, and there is missing a font file too, yes.
I tried to open the cab files to figure out which cab contains them, but I could not open them. (I tried cabextract, unshield, and in wine the wincomander)
http://bugs.winehq.org/show_bug.cgi?id=25677
Viktoria viktoria.s@freemail.hu changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Viktoria viktoria.s@freemail.hu 2011-04-20 02:39:07 CDT --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #5 from Viktoria viktoria.s@freemail.hu 2011-05-01 11:39:22 CDT --- Actually this problem ocures with the demo too (on Ubuntu 11.04 (64 bit) + Wine 1.3.19)
http://bugs.winehq.org/show_bug.cgi?id=25677
surfing86 surfing86@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |surfing86@live.it
--- Comment #6 from surfing86 surfing86@live.it 2011-06-08 09:51:04 CDT --- Same problem here with Ubuntu 10.04 wine 1.3.21
ATI HD 4850
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #7 from surfing86 surfing86@live.it 2011-06-08 12:33:30 CDT --- Running wine with: WINEDEBUG=warn+ntdll wine CaesarIV.exe
i got this errors
warn:ntdll:NtQueryAttributesFile L"\??\C:\Programmi\Sierra\Caesar IV\Data\Fonts\Palatino Linotype_P10_R0_W0_I0_U0_S0_DH768.ttf" not found (c000003a) warn:ntdll:NtQueryAttributesFile L"\??\C:\Programmi\Sierra\Caesar IV\Data\Graphics\interface\backgrounds\scenfull_1_1.dds" not found (c0000034)
I think that the problem is in the missing font Palatino Linotype.
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #8 from surfing86 surfing86@live.it 2011-06-14 09:03:21 CDT --- Created an attachment (id=35132) --> (http://bugs.winehq.org/attachment.cgi?id=35132) WINEDEBUG=warn+font wine CaesarIV.exe
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #9 from surfing86 surfing86@live.it 2011-06-14 09:34:10 CDT --- http://myfreefilehosting.com/f/92a4d4e414_13.31MB
This is the output of: WINEDEBUG=+tid,+seh,+relay,+font wine CaesarIV.exe
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #10 from Anastasius Focht focht@gmx.net 2011-06-14 11:20:01 CDT --- Created an attachment (id=35134) --> (http://bugs.winehq.org/attachment.cgi?id=35134) winetricks with palatino linotype font install recipe added
Hello,
attached is a modified winetricks script with "Palatino Linotype" font install recipe added. The download might be changed to something more suitable than a forum but for testing it should be sufficient.
To install run:
$ bash winetricks palatino
This gets all four "Palatino Linotype" fonts properly installed in WINEPREFIX fonts folder and registered in registry (normal, bold, italic, bold+italic). If you have already copied these .TTF files into windows\fonts, remove them before winetricks as it will check files if recipe already run (and not add any registry data).
They are required for the game, see "languagetext.xml"
Though this does not solve the original problem yet, only the missing prerequisite. The fonts and their glyphs get loaded at runtime, see with +relay,+font
Regards
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #11 from Anastasius Focht focht@gmx.net 2011-06-14 11:26:19 CDT --- Created an attachment (id=35135) --> (http://bugs.winehq.org/attachment.cgi?id=35135) HTML test page for Palatino Linotype fonts
Hello,
attached is a HTML page for testing purposes which references "Palatino Linotype" fonts (normal, bold, italic). This can be used to test if fonts are properly installed in WINEPREFIX.
Save the attachment and run as follows:
$ wine iexplore file:///$(winepath -w palatino_test.html)
Regards
http://bugs.winehq.org/show_bug.cgi?id=25677
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.gamershell.com/d | |ownload_15020.shtml CC| |focht@gmx.net Component|directx-d3dx9 |-unknown
--- Comment #12 from Anastasius Focht focht@gmx.net 2011-06-14 11:37:11 CDT --- Hello,
filling some fields, CaesarIV demo seems to exhibit same problem. You need following prerequisites:
1) .NET Framework 2.0 2) native overrides of d3dx9_30.dll and d3dx9_36.dll
$ sha1sum caesar4_demo_en.exe wi993144afd33ded60b0fce3e1c6e3a33904d0f5da caesar4_demo_en.exe
$ wine --version wine-1.3.22-31-g98394f2
This link: http://www.microsoft.com/typography/fonts/winxp.htm states that Windows XP supplies "Palatino Linotype".
Regards
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #13 from surfing86 surfing86@live.it 2011-06-29 06:09:22 CDT --- The palatino Linotype installs correctly with the modified winetricks version created by Focht. I can see correctly the HTML test page for palatino.
But the problem remains, the text in game is not rendered.
wine 1.3.21
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #14 from surfing86 surfing86@live.it 2011-07-18 12:47:34 CDT --- Problem still present in wine 1.3.23
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #15 from Viktoria viktoria.s@freemail.hu 2011-10-27 11:35:05 CDT --- For me still does not work in wine 1.31
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #16 from surfing86 surfing86@live.it 2011-12-28 09:13:29 CST --- The problem is still present with wine 1.3.35
ATI HD 4850 Latest Catalyst version 11.12
http://bugs.winehq.org/show_bug.cgi?id=25677
Steve Dawson sdawson@pa.metrocast.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sdawson@pa.metrocast.net
--- Comment #17 from Steve Dawson sdawson@pa.metrocast.net 2012-03-23 16:52:10 CDT --- This appears to be fixed in the demo and the retail game with wine version 1.5.0
My steps to run the retail game... In a fresh wine prefix install dotnet20. I used winetricks version 20120308 Install the game. Cancel any dialogs that attempt Direct-X installs. I did not attempt to install the bundled ODBC package.
Place a copy of d3dx9_29.dll in $WINEPREFIX/drive_c/Program Files/Sierra/Caesar IV Use winetricks to install dx9 into a temporary prefix and copy the file over. ( Note the demo version seems to need a native d3dx9_30.dll )
Thats it, mount CD1. Run the game. Enjoy.
Steve.
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #18 from Viktoria viktoria.s@freemail.hu 2012-03-24 00:34:31 CDT --- (In reply to comment #17)
This appears to be fixed in the demo and the retail game with wine version 1.5.0
My steps to run the retail game... In a fresh wine prefix install dotnet20. I used winetricks version 20120308 Install the game. Cancel any dialogs that attempt Direct-X installs. I did not attempt to install the bundled ODBC package.
Place a copy of d3dx9_29.dll in $WINEPREFIX/drive_c/Program Files/Sierra/Caesar IV Use winetricks to install dx9 into a temporary prefix and copy the file over. ( Note the demo version seems to need a native d3dx9_30.dll )
Thats it, mount CD1. Run the game. Enjoy.
Steve.
Unfortunately this method did not worked for me, I still do not see any text. I tried it on the demo with d3dx9_30.dll. And by the way what kind of video card do you have? (I have an ATI video card.) And coincidentally haven't you used any dll overrides?
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #19 from Steve Dawson sdawson@pa.metrocast.net 2012-03-24 07:51:35 CDT --- Here is a snip from glxinfo
OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GTX 260/PCI/SSE2 OpenGL version string: 3.3.0 NVIDIA 275.09.07
I do have the Palatino linotype fonts installed in /usr/share/fonts/TTF which is the system wide TTF font location in this box.
There is no need for the dll override if the dx9 dll file resides in the same folder as the main executable.
HTH
Steve.
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #20 from Viktoria viktoria.s@freemail.hu 2012-03-25 02:25:28 CDT --- (In reply to comment #19)
I do have the Palatino linotype fonts installed in /usr/share/fonts/TTF which is the system wide TTF font location in this box.
Hi,
thank you for your informations. I didn't have the fonts installed. After I have put them into myhomedirectory/.fonts directory the text was displayed to me too :) (Later the demo crashed with some .NET error, but that's another issue.)
http://bugs.winehq.org/show_bug.cgi?id=25677
--- Comment #21 from surfing86 surfing86@live.it 2012-04-03 04:24:36 CDT --- Finally text in game is correctly shown! Using wine 1.4.0 ATI Catalyst 11.12 You have to install Palatino linotype fonts of course.
http://bugs.winehq.org/show_bug.cgi?id=25677
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #22 from Roderick Colenbrander thunderbird2k@gmail.com 2012-06-05 23:53:03 CDT --- Fixed, issue was missing dependency. Not a Wine bug.
http://bugs.winehq.org/show_bug.cgi?id=25677
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #23 from André H. nerv@dawncrow.de 2012-06-22 13:02:04 CDT --- closing invalid