http://bugs.winehq.org/show_bug.cgi?id=32965
Bug #: 32965 Summary: Text applied to textures in Kerbal Space Program (Unity4) are not visible Product: Wine Version: 1.5.23 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sal_vager@o2.co.uk Classification: Unclassified
The Unity4 Demo version of Kerbal Space Program uses a new method to display text on 3D objects as the method that was used in Unity3.5 no longer works in Unity4.
Wine cannot reproduce this method so the text is not visible on these objects, despite the fonts used being available and the text being visible in other areas of the game.
Here is an Imgur gallery showing the problem http://imgur.com/a/mtMY7#0
It appears that only 3D objects in the game are affected, KSP also writes some text to a 2D layer which displays normally, showing that it is not a font error.
The Unity output_log can be seen here http://pastie.org/6149732 it does not show any issues that I can see however.
Here is the debug output from Wine http://pastebin.com/sbGV5qH1
I used PlayOnLinux to run KSP on Xubuntu 12.10, and do not have any winetricks packages installed in this prefix, I have tried to resolve this in another prefix by installing the following with no success.
cc580 Microsoft Core Fonts d3dx9 gdiplus msasn1 quartz riched20
I do not believe this is graphics card related as I know of others who have seen the same issue with different hardware, my card is an nVidia gtx650 and is using the nVidia-common driver.
This bug may effect other Unity4 games that use the same method to display 3D text objects such as buttons, and is likely to still be present in the non-demo version of Kerbal Space Program.
http://bugs.winehq.org/show_bug.cgi?id=32965
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2013-02-13 09:09:38 CST --- Maybe it's related to dwrite (bug 31374). Try running winecfg, go to libraries, and mark dwrite as "native".
http://bugs.winehq.org/show_bug.cgi?id=32965
Mike dahlgren@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dahlgren@gmail.com
--- Comment #2 from Mike dahlgren@gmail.com 2013-02-13 14:01:57 CST --- I tried making dwrite native and it did not fix the issue.
The demo of the game has this issue and it can be downloaded here. https://kerbalspaceprogram.com/files/KSP_demo_win.zip
(In reply to comment #1)
Maybe it's related to dwrite (bug 31374). Try running winecfg, go to libraries, and mark dwrite as "native".
http://bugs.winehq.org/show_bug.cgi?id=32965
Mathew sal_vager@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.kerbalspaceprog | |ram.com/download.php
--- Comment #3 from Mathew sal_vager@o2.co.uk 2013-02-14 07:53:09 CST --- I also tried putting a dwrite.dll in the game folder and set it to native but it has no effect.
Thanks for providing the download link Mike, I forgot it.
http://bugs.winehq.org/show_bug.cgi?id=32965
default_357-line@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |default_357-line@yahoo.de
--- Comment #4 from default_357-line@yahoo.de 2013-02-15 02:02:45 CST --- I have the same issue, and can confirm it is present in the 0.18.4 release.
http://bugs.winehq.org/show_bug.cgi?id=32965
--- Comment #5 from default_357-line@yahoo.de 2013-02-15 02:16:24 CST --- winetricks allfonts "fixes" it for me.
http://bugs.winehq.org/show_bug.cgi?id=32965
Mathew sal_vager@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Mathew sal_vager@o2.co.uk 2013-02-15 11:21:27 CST --- Also for me, use winetricks to install the allfonts pack.
Here's a step-by-step in case it's needed:
Step 1, Install winetricks.
Step 2, If doing this system wide, open a terminal, type "winetricks", hit enter, if doing this for POL, select KSP, click the configure button, select miscellaneous tab, click "Open a shell", type "winetricks", hit enter.
Step 3, Select default wineprefix, then install a font, then allfonts. You do not need any other font package selected. Ignore the error message.
Many thanks go to ebx on Reddit and default_357-line@yahoo.de here :D
http://bugs.winehq.org/show_bug.cgi?id=32965
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Ever Confirmed|0 |1
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com 2013-02-15 11:40:18 CST --- I'm reopening because that is a workaround, not a real solution.
http://bugs.winehq.org/show_bug.cgi?id=32965
--- Comment #8 from Mathew sal_vager@o2.co.uk 2013-02-15 11:47:53 CST --- Sorry Bruno, still new to this.
The font that Unity uses by default, and is the one used in KSP, is Helvetica.
I tried to install that separately with no success though, there are far too many types of Helvetica font and they aren't cheap.
http://bugs.winehq.org/show_bug.cgi?id=32965
--- Comment #9 from Mike dahlgren@gmail.com 2013-02-15 16:32:53 CST --- I ran 'winetricks allfonts' and stopped every couple of fonts to see which one was needed. Since I can't figure out how to uninstall them can someone try running 'winetricks eufonts' and see if that fixes it.
http://bugs.winehq.org/show_bug.cgi?id=32965
--- Comment #10 from Mathew sal_vager@o2.co.uk 2013-02-16 03:42:19 CST --- Mike, I can confirm that the uefonts pack is the only one required to fix this issue.
Tested using POL, text was missing before installing eufonts and was visible after installing it.
http://bugs.winehq.org/show_bug.cgi?id=32965
--- Comment #11 from Mathew sal_vager@o2.co.uk 2013-02-16 03:43:13 CST --- Eufonts, sorry.
http://bugs.winehq.org/show_bug.cgi?id=32965
--- Comment #12 from Mathew sal_vager@o2.co.uk 2013-02-16 05:55:47 CST --- Okay I have tried copying one font at a time from .PlayOnLinux/wineprefix/ksp/drive_c/windows/Fonts to a new prefix to find which specific font is the one we need.
It turns out to be two of the fonts from the eufonts pack, Arial.ttf and ArialBd.ttf
Ariel.ttf alone will work but looks strange in places where KSP uses bold text.
I had tried to fix this with the POL Microsoft Core Fonts pack without success even though it includes Arial and ArialBold.
I can't see what's different between the eufonts version of Arial and the mscorefonts version, or with the version of Arial bundled with Ubuntu for that matter.
Also, Arial is what used to be the Unity and KSP default, I'm guessing when Unity4 cannot find Helvetica it will fallback to Arial if it can find it and if that file is "right".
http://bugs.winehq.org/show_bug.cgi?id=32965
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW Component|-unknown |fonts See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=8060 Summary|Text applied to textures in |arialbd.ttf not found (Text |Kerbal Space Program |applied to textures in |(Unity4) are not visible |Kerbal Space Program | |(Unity4) are not visible) Severity|normal |minor
--- Comment #13 from Ken Sharp kennybobs@o2.co.uk 2013-08-04 13:27:24 CDT --- Chances are arialbd.ttf will appear along with arial.ttf.
See Bug 8060 for arial.ttf.
https://bugs.winehq.org/show_bug.cgi?id=32965
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |8060