Welcome, Guest. Please login or register.

Author Topic: Hollywood player cannot open font arialregular.font  (Read 1987 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Hollywood player cannot open font arialregular.font
« 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline odin

  • Colonization had Galleons
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 6796
    • Show only replies by odin
Re: Hollywood player cannot open font arialregular.font
« Reply #1 on: March 25, 2007, 03:32:37 PM »
SnoopDOS giving any hints? Perhaps it looks in progdir: for the fonts or something?

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Hollywood player cannot open font arialregular.font
« Reply #2 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Matt_H

Re: Hollywood player cannot open font arialregular.font
« Reply #3 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.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Hollywood player cannot open font arialregular.font
« Reply #4 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline DBAlex

  • Sr. Member
  • ****
  • Join Date: Aug 2005
  • Posts: 304
    • Show only replies by DBAlex
Re: Hollywood player cannot open font arialregular.font
« Reply #5 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!
Machines:
- A1200, Blizzard 1260 w/ 64MB RAM, 1.2GB HD, PCMCIA WiFi, AGA w/ RGB Adapter, OS3.9
- Pegasos I, G3 600Mhz, 512MB, Radeon 9200se, 80GB HD, AmigaKit WiFi Card, MOS 1.4.5
- Mac Mini, G4 1.5ghz, 512MB (1GB Soon), Radeon 9200 64MB, 80GB HD, OSX 10.5 (Leopard)
- PCs, Laptops... *yawn*... :D
 

Offline AmiKit

Re: Hollywood player cannot open font arialregular.font
« Reply #6 on: March 25, 2007, 06:17:53 PM »
The same here. I already contacted the author. No reply yet.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Hollywood player cannot open font arialregular.font
« Reply #7 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.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Hollywood player cannot open font arialregular.font
« Reply #8 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline AmiKit

Re: Hollywood player cannot open font arialregular.font
« Reply #9 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: