OpenXcom Forum

Modding => Released Mods => Topic started by: Hythlodaeus on November 08, 2013, 03:48:07 pm

Title: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on November 08, 2013, 03:48:07 pm
Took me ages to finish this, but I'm finally done. I've successfully recreated and expanded the fontset from the Amiga and PSX versions of X-COM for use in OXC.

For those who have no idea of what I'm talking about, the Amiga/PSX version of Enemy Unknown featured a fontset that was considerably different from the PC versions fonts. These fonts were originally part of the (not-so-pretty) Amiga 500 port, but were later incorporated in the Amiga 1200 and PSX ports as well, with various changes and modifications. They were essentially more heavily stylized fonts with bigger, more readable characters, but also sharper contrast, and no anti-aliasing. They were used to give a more serious look to the UI, but weren't without their own flaws; whereas earlier implementations suffered from a limited character set, later ones had poor readability, in brighter backgrounds, due to the lack of proper shading.

What I've done here is not a 1:1 recreation, but rather a polished version of the best aspects of every version of this fontset. Aside from no longer suffering from poor readability, I've also expanded it to include both Cyrillic and Greek alphabet characters, as well as its respective diacritics. All diacritical marks were also optimized to be perfectly distinguishable even in the small set.

I'd appreciate everyone to give this a try, especially if you're either Greek or from a country which uses a Cyrillic-based alphabet, as I really want to make sure I made no big mistakes.

Here's a small preview, if you're curious:

English:

(https://i.imgur.com/JwNxKqMs.png) (https://i.imgur.com/JwNxKqM.png) (https://i.imgur.com/EKaWBJFs.png) (https://i.imgur.com/EKaWBJF.png) (https://i.imgur.com/i29ZxyYs.png) (https://i.imgur.com/uosCeUnl.png)

Greek:

(https://i.imgur.com/3FqdVcds.png) (https://i.imgur.com/3FqdVcd.png) (https://i.imgur.com/9cDkmkis.png) (https://i.imgur.com/9cDkmki.png) (https://i.imgur.com/PTA7mAes.png) (https://i.imgur.com/JWkotV6.png)

Russian:

(https://i.imgur.com/cmdK6vps.png) (https://i.imgur.com/cmdK6vp.png) (https://i.imgur.com/pvNwpNKs.png) (https://i.imgur.com/pvNwpNK.png) (https://i.imgur.com/wZv3sFhs.png) (https://i.imgur.com/wZv3sFh.png)

Romanian:

(https://i.imgur.com/AB8Jl6Ts.png) (https://i.imgur.com/AB8Jl6T.png) (https://i.imgur.com/8bMWVcKs.png) (https://i.imgur.com/8bMWVcK.png) (https://i.imgur.com/li5mTjIs.png) (https://i.imgur.com/sTddYxS.png)

Portuguese:

(https://i.imgur.com/NiXPLQRs.png) (https://i.imgur.com/NiXPLQR.png) (https://i.imgur.com/My1Bhjws.png) (https://i.imgur.com/My1Bhjw.png) (https://i.imgur.com/hqoe0x7s.png) (https://i.imgur.com/hqoe0x7.png)


HOW TO INSTALL:

Download AmigaFontsMod1.4 from this post. Extract the "AmigaFonts" folder from the archive, and place it in ./OpenXCom/standard folder. Start the game, and load the mod from the mod tab.

I'd like to thank the people of the English Amiga Boards for helping me rip the needed characters from the Amiga 1200 version,
and all the folks in #openxcom who helped with the testing.

Hope you all enjoy this mod.
Title: Re: Amiga/PSX Fonts
Post by: cort on November 09, 2013, 09:22:16 am
This is really nice. I like the sharper text, it's especially usefull when playing in higher resolutions.
Found a bug though, and marked where i think the error lies. In the screenshot, it is used "Reïncărcare" instead of "Reîncărcare".
Title: Re: Amiga/PSX Fonts
Post by: Hythlodaeus on November 09, 2013, 11:56:56 am
Hey man, thanks a lot for the feedback. Thanks to you I actually detected two small spacing errors with the same letters, and an extra letter on the line above I accidentally forgot to remove. Reuploaded the fixed version.
Title: Re: Amiga/PSX Fonts
Post by: Ishmaeel on November 09, 2013, 01:54:02 pm
Awesome job. Especially loving the big font. There was a spacing bug with the uppercase Ğ character due to a stray pixel. Other than that, I'm happy to report that Turkish characters are flawless!

Fixed version attached.
Title: Re: Amiga/PSX Fonts
Post by: Hythlodaeus on November 09, 2013, 02:02:04 pm
Thanks. Updated.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Mr. Quiet on November 13, 2013, 04:24:50 pm
(https://images2.fanpop.com/image/photos/8600000/Groovy-Flower-Power-Smiley-keep-smiling-8680598-400-300.gif)

See the resemblance? Anyways, this font is not for me. Reminds me of hippies.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on December 07, 2013, 05:04:44 pm
*UPDATE* Added version 1.1 to the  first post. Changes are as it follows:

- New characters: º ª ´ ¨ and ° are now available in both fontbig and fontsmall. This means that this font has actually surpassed the original PC font in terms of available characters!
- Fixed many pixel gaps
- Fixed a few spacing bugs
- Improved outlines on some accented characters
- Tweaked some russian and greek characters
Title: Re: [UI] Amiga/PSX Fonts
Post by: kkmic on December 09, 2013, 09:47:01 am
First: Excellent job! I LOVE the fonts! Mind you, I play the game in English (and I will continue to do so), but I was still waiting for a character set that will look better in my native language (Romanian).

Second: Can these fonts be distributed with OXC? I mean, since this is some sort of derivative work, are there any copyright issues?
Title: Re: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on December 09, 2013, 01:36:40 pm
Second: Can these fonts be distributed with OXC? I mean, since this is some sort of derivative work, are there any copyright issues?

It's a legal gray area, but then again, we're already distributing the original PC version fonts in the main package, so it's about the same.
Getting these into the main package is up to SupSuper and whether or he'll code a little option to pick your font type.
Title: Re: [UI] Amiga/PSX Fonts
Post by: kkmic on December 10, 2013, 08:43:02 am
Considering that Julian Gollop gave his (https://openxcom.org/forum/Themes/Insidius2/images/post/thumbup.gif) for the project, that Micropose is kinda gone, and the fonts are not used to create another game or to make a profit, I'd say it's worth including them.

SupSuper, what's your opinion?
Title: Re: [UI] Amiga/PSX Fonts
Post by: SupSuper on December 11, 2013, 02:26:10 am
I don't have a problem with the fonts, just the option, since the UI is fairly hardcoded. A setting to point to different Font.dat's would probably be simplest.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on December 11, 2013, 02:47:14 am
I don't have a problem with the fonts, just the option, since the UI is fairly hardcoded. A setting to point to different Font.dat's would probably be simplest.
Perhaps it would be best to have more UI customization options to make something like this worthwhile. I was thinking that maybe having different window frames to chose from would be nice as well. Either way, that's something to think about post 1.0.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on December 25, 2013, 07:32:27 pm
Updated version. Fixed three characters on fontsmall.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on May 29, 2014, 03:00:39 am
Updated to ver 1.3. Latest characters implemented characters in the default fontset now added.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Ishmaeel on May 30, 2014, 01:09:18 am
I have no business with the new chars, so no new feedback from me.  ;D
Just posting to say thanks and still lovin' it.

Edit: spoke too soon. Everybody has business with at least the infinity symbol. Which is gorgeous.  ::)
Title: Re: [UI] Amiga/PSX Fonts
Post by: civilian on May 30, 2014, 12:21:55 pm
A thanks from me, too.  :)
Title: Re: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on May 30, 2014, 06:59:00 pm
Actually I wasn't really pleased with the way the infinity sign came out, so here's another update to make it better. I also fixed a wee spacing bug with a one of the cyrillic/greek characters.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on June 08, 2014, 03:51:12 pm
Updated with recently added Russian characters.
Title: Re: [UI] Amiga/PSX Fonts
Post by: winterheart on May 17, 2015, 09:14:15 am
Hello.
Since today's nightly you can externalize fonts as mod without overriding original OpenXcom files.

I tested this functionality on your fonts, so here updated mod, which should be extracted in mods folder. After this navigate to Settings - Mods and activate "Amiga/PSX fonts". DONE!

Title: Re: [UI] Amiga/PSX Fonts
Post by: myk002 on May 17, 2015, 10:57:02 am
This font looks beautiful.  I did notice that it is missing the infinity symbol, though, which is used on the manufacture screen when manufacturing infinite items.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Ishmaeel on May 18, 2015, 10:44:52 am
...so here updated mod...

This font looks beautiful.  I did notice that it is missing the infinity symbol, though, which is used on the manufacture screen when manufacturing infinite items.

I believe Winterheart worked with an older version, because the latest fonts already include the infinity sign and several additional characters. You can use Winter's mod version and overwrite the image files with originals from Hythlodaeus' package.

Edit: You will also need to copy the "chars" line from the original Font.dat into the mod's AmigaFont.dat.

Edit2: ...or you could try my fix, attached. :P
Title: Re: [UI] Amiga/PSX Fonts
Post by: winterheart on May 18, 2015, 03:40:36 pm
Well that great!
I don't even remember, when I downloaded my copy...
Title: Re: [UI] Amiga/PSX Fonts
Post by: myk002 on May 18, 2015, 04:08:02 pm
That fixed it.  Thanks!
Title: Re: [UI] Amiga/PSX Fonts
Post by: Hythlodaeus on August 05, 2015, 04:47:02 pm
Thank you, winterheart and Ishmaeel.

Oh and by the way, this works with TFTD too, and it looks lovely!
Title: Re: [UI] Amiga/PSX Fonts
Post by: sylandro on December 30, 2016, 12:19:41 am
With the latest nightlies, there appears to be an issue with transparency (with version 1.5 of this mod). The colors come wrong. I'm not exactly sure of what to edit, I've compared the original FontBig.png and FontSmall.png with the ones in this mod in gimp and the background is transparent, so there is nothing noticeable that could be causing this issue. Does anyone know why this could be?

Also, this mod's AmigaFont.dat is outdated and will crash the game. To make it work, you have to copy the game's dat, and edit the fields accordingly.
Title: Re: [UI] Amiga/PSX Fonts
Post by: Meridian on December 30, 2016, 11:04:21 am
Try this one.
Title: Re: [UI] Amiga/PSX Fonts
Post by: sylandro on December 30, 2016, 05:57:13 pm
That one works perfectly. Thanks!
Title: Re: [UI] Amiga/PSX Fonts
Post by: Tchey on April 14, 2021, 06:48:30 pm
Hello,

Try this one.

This topic is quite old, but the file works, it seems, and the result is really great.
I was looking for another font as the default one is not great IMO, thanks a lot for sharing this.
It’s sharp, no blurr, readable, french is fine with it, good good !

I’m playing the Xcom-Files mod, with WINE on Linux Manjaro (it could be native but installation is more straight and painless this way).
Title: Re: [UI] Amiga/PSX Fonts
Post by: skyhawk on April 28, 2021, 10:42:37 pm
Because necromancy is fun, and I just discovered this and am absolutely loving it, I'm going to throw a further improvement into the ring:

This file uses the new Amiga fonts for small characters, where they are a drastic improvement over stock, but keeps the stock large characters, as they do not have the cancer-inducing styling of the Amiga ones.