Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on March 25, 2007, 03:17:24 PM

Title: Hollywood player cannot open font arialregular.font
Post by: motorollin on March 25, 2007, 03:17:24 PM
I've just downloaded a Hollywood game from Aminet. When I run it I get an error saying "Cannot open font arialregular.font with size 18!". The game directory contains a file called arialregular.font and another one called arialregular.otag. I tried copying both of these to FONTS: but this made no difference.

Any ideas?

--
moto
Title: Re: Hollywood player cannot open font arialregular.font
Post by: odin on March 25, 2007, 03:32:37 PM
SnoopDOS giving any hints? Perhaps it looks in progdir: for the fonts or something?
Title: Re: Hollywood player cannot open font arialregular.font
Post by: motorollin on March 25, 2007, 03:41:41 PM
You're right, it does look in PROGDIR, but the files are there. It also tries and fails to open ft2.library. I guess this is FreeType? I have just installed FreeType, but I still got the same error.

--
moto
Title: Re: Hollywood player cannot open font arialregular.font
Post by: Matt_H on March 25, 2007, 04:44:56 PM
If you open up the .font or .otag files (can't remember which one) with a Hex reader, you'll see that they're actually pointing to .ttf files in FONTS:_TrueType, or something like that. You're probably missing those.
Title: Re: Hollywood player cannot open font arialregular.font
Post by: motorollin on March 25, 2007, 05:07:36 PM
OK here's the contents of arialregular.otag:

.................................. ....... ....................................... ....... ................................................ ........ft2.Arial.FONTS:_truetype/Arial.ttf.........

So I got arial.ttf from a Windows machine and put it in FONTS:_truetype/, but it still doesn't work :-(

--
moto
Title: Re: Hollywood player cannot open font arialregular.font
Post by: DBAlex on March 25, 2007, 06:11:42 PM
I have exactly the same error...

Im assuming your trying to play Alien Attack?

(Btw I contributed some of the graphics!)

Im hoping its just a problem with my machine... I copied all the fonts to FONTS: but it still wont work...

Please help!
Title: Re: Hollywood player cannot open font arialregular.font
Post by: AmiKit on March 25, 2007, 06:17:53 PM
The same here. I already contacted the author. No reply yet.
Title: Re: Hollywood player cannot open font arialregular.font
Post by: Piru on March 25, 2007, 06:19:39 PM
You need to install the arial.ttf using the FTManager.

Explanation:

The included font files appear to use ft2.library, which isn't available with the util/libs/freetype2_lib.lha (which I assume you use). With freetype2_lib the library is called freetype2.library. Reinstalling the font should create the new and correct .font and .otag files.
Title: Re: Hollywood player cannot open font arialregular.font
Post by: motorollin on March 26, 2007, 06:50:22 AM
Cheers Piru, that worked. For any who are still unclear, here's the full list of steps:

1. Download and install freetype2_lib.lha (Aminet)
2. Copy arial.ttf from a Windows machine to your Amiga
3. Run FTManager (installed by Freetype)
4. Set the source DIR to the location of arial.ttf
5. Double click Arial in the list of fonts and then click Install
6. FONTS:arialregular.font and FONTS:arialregular.otag will be created
7. Copy FONTS:arialregular.#? to the Attack game DIR, overwriting originals

I just played the game and it was sloooooooow. It opened on a CGX screen so I'm wondering if it would play any better on AGA? I wanted to try this game as I'm trying to evaluate Hollywood's effectiveness at making games. If they really are this slow then I'll look in to a better solution :-)

--
moto
Title: Re: Hollywood player cannot open font arialregular.font
Post by: AmiKit on March 26, 2007, 08:23:44 AM
@Piru

Thanks Piru.

In AmiKit installation it is enough to copy FONTS:AfA Arial.font and .otag files to the game dir and rename them to arialregular.font and .otag

However the game seems to be buggy anyway. It suddenly quit complaining that the score file was not found. :roll: