FLHDE / freelancer-hd-edition

Freelancer: HD Edition is a mod that aims to improve every aspect of the game Freelancer (2003) while keeping the look and feel as close to vanilla as possible.
https://www.moddb.com/mods/freelancer-hd-edition
183 stars 15 forks source link

Missing speed and distance readouts #215

Closed tremby closed 11 months ago

tremby commented 11 months ago

I suspect this may not actually be HD edition's fault, but maybe it is. Even if not, I bet you can help and I'm not sure where else to ask.

I'm on Linux, using Proton.

When I first started up the game the menu fonts were all wrong. I quickly found that I didn't have the Agency FB font installed, and installing that fixed the issue. I played for a while before noticing that something else font-related is wrong -- I'm not seeing distance readouts on waypoints or in the contacts list, and I'm also not seeing my speed or whatever the other readout is meant to be (thrust remaining? if 20-year-old memory serves) in the little spaces near bottom centre of the HUD.

I found on the installation CD there's another font in its fonts directory, ARIALUNI.TTF. I installed that (and both weights of Agency which are there to be safe), and ran fc-cache but it hasn't helped.

Any idea what might be wrong? Maybe there's some other built-in Windows font it wants to use for those readouts, which I don't have?

Thanks.

BC46 commented 11 months ago

What resolution do you play Freelancer in? Also did you install the mod using the installer?

tremby commented 11 months ago

3840x2160. And yes, I used the installer. I think I picked the recommended options for everything.

BC46 commented 11 months ago

I see. The missing text elements is a known issue that occurs when playing Freelancer in 4K. The installer does include an option to fix it by essentially opening the DATA\FONTS\fonts.ini file, finding the HudSmall and Normal entries and lowering their fixed_height values to 0.029. However, a while ago we had a Wine user on the Discord server who still experienced the issue despite having the fix applied. Turns out that when playing Freelancer on Wine in 4K, the fixed_height values have to be lowered to 0.024. This fix will be included in a future installer update.

tremby commented 11 months ago

That did it! Thanks so much. I'll leave closing this up to you (maybe you want it as a reminder for the future installer update).

tremby commented 11 months ago

Oh and if anyone stumbles on this in future, it was the DATA/FONTS dir nested in the HD version files, not in the vanilla installation location. (Maybe that's obvious to others!)

BC46 commented 11 months ago

Good to hear that the issue has been resolved! The fix has actually already been implemented a while ago (https://github.com/oliverpechey/Freelancer-HD-Edition-Installer/pull/122/commits/53e6747c67e5fc981418725c63770481e4a58a4e), but the branch hasn't been merged yet. I'll link this issue to the pull request. 🙂