Font issue with Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jhyn
Newbie
Newbie
Posts: 3
Joined: Wed May 13, 2009 2:32 am

Font issue with Wine

Post by Jhyn »

Hello,

I'm under Ubuntu - Jaunty Jackalope. While installing 3 different games under Wine (Medieval II - Total War, Patrician III : Rise of the Hanse and Anno 1503), the installation went smoothly but the same problem of the game asking to insert an already inserted CD occured.

By searching the web, it appeared that it was a cd protection issue, so I found no-cd patches and applied them. Each of the game complain in a different manner that fonts are missing (directly for the two latter, by "facing an unknown error" for the former). I installed the allfonts and fontfix packages with winetricks, tried to jump to the unstable version, no change.

All those games are rated between Gold and Platinium in WineHQ, so I guess there must be a solution. Do you have any hint?

Edit : Oh, by the way, I tried launching wine from the cd itself or from the directory the games are installed in (it seems to be a common solution to font issues), and the messages don't change. Trying not to emulate a virtual desktop only changed the message to a freezed black screen.
Jhyn
Newbie
Newbie
Posts: 3
Joined: Wed May 13, 2009 2:32 am

Post by Jhyn »

For information, this problem has not been solved by a full uninstallation/reinstallation of the latest version of Wine. The games work fine on a post-installation "naked" WinXP.

Plus, it seems that I am the only one to experience it on those games, so it might be an reading issue with my CD/DVD drive or any hardware stuff.

If you have a goo explanation, it might be worthwile to document.
RDMatWineHQ
Newbie
Newbie
Posts: 2
Joined: Sat May 16, 2009 12:20 pm

installation CD/DVD requested / not found although present

Post by RDMatWineHQ »

As I recall what finally got me past that problem was simply to define D: within the wine configuration as /media/cdrom [or was it actually /media/cdrom0 or /media/cdrom1 depending on which I actually use for installing the game(s)?]

However, being as I am currently using Karmic Koala = Ubuntu 9.10 Alpha and my wine installation took place under Jaunty Jackolope = Ubuntu9.04 Beta I may be forgetting something else I needed to do.

As for the problem with fonts, I seem to recall having had to add a soft link within my wine profile in order to solve that problem.

Sorry, I'm a bit too busy to check back with my Jaunty Jackolope installation at this moment. Maybe a bit later if I get the chance. But do try that wine configuration change. Maybe that will in the end prove to be all you need to do to solve the "CD missing" problem. ;)
James Mckenzie

Font issue with Wine

Post by James Mckenzie »

RDMatWineHQ wrote about [Wine] Re: Font issue with Wine
As I recall what finally got me past that problem was simply to define D: within the wine configuration as /media/cdrom [or was it
actually /media/cdrom0 or /media/cdrom1 depending on which I actually use for installing the game(s)?]
You should use Winecfg for this. Just map D: to the mount point for your CD media. On single drive systems (that is one CD drive), this should be /media/cdrom. For systems with multiple CD drives, this could be /media/cdrom0 or /media/cdrom1. The only way to tell is to navigate in Linux to the drive and look.
However, being as I am currently using Karmic Koala = Ubuntu 9.10 Alpha and my wine installation took place under Jaunty Jackolope =
Ubuntu9.04 Beta I may be forgetting something else I needed to do.
This should not change between subversions. It might have changed between 8.x and 9.x. This would be unusual.
As for the problem with fonts, I seem to recall having had to add a soft link within my wine profile in order to solve that problem.
You have to symlink the fonts directory on Linux into the fonts directory in your user Wine space. I would give an example, but it might be more confusing than helpful.

Also, you may have to use winetricks to install corefonts, as most Linux distributions do not come with Microsoft supplied fonts.

James McKenzie
Jhyn
Newbie
Newbie
Posts: 3
Joined: Wed May 13, 2009 2:32 am

Post by Jhyn »

First, thank for your answers.

Without any changes, D: was linked to /media/cdrom and I had already tried to change it to /media/cdrom0 without success. Building a .iso CD image and linking D: to it didn't help.

Concerning the fonts, I have already installed the allfonts package from winetricks (which, I thought, is designed for having things working with Wine directly). In the /.wine/drive_c/windows/fonts, there is a bunch of .TTF files which names correspond to the basic fonts in windows, I guess.

I have not tried to link the Linux fonts directory and the Wine one, as I have no idea about what a symlinc is. Could you develop, please?
Locked