[21 Feb 2008] Problem with hollywood designer and MacOS

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Ferrule Media
Posts: 57
Joined: Sat Feb 13, 2010 7:53 pm
Location: Haugesund, Norway
Contact:

[21 Feb 2008] Problem with hollywood designer and MacOS

Post by Ferrule Media »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 21 Feb 2008 16:16:16 -0500

Hello

I have made a hollywood designer-presentation, and compiled it for macOS

When I try to run it (using a intel-machine with macOS 10.5.2), it begins to open the window, but then chrashes with the following message :

Cannot read file Backgrounds/ferrulemedia.jpg ! File :demo bleking.hws (current line : 17 - in function : LoadBGPic. I have added a screenshot.

when i looked in my hws-script , line 17 was like this : LoadBGPic(1, "Backgrounds/ferrulemedia.jpg")

Do anyone know why this doesn't work ?

Best regards Torgeir
Ferrule Media
Espevikvn 18
5521 Haugesund
Norway
www.ferrule-media.no
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[21 Feb 2008] Re: Problem with hollywood designer and MacOS

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 21 Feb 2008 17:07:09 +0100
Hello

I have made a hollywood designer-presentation, and compiled it for macOS

When I try to run it (using a intel-machine with macOS 10.5.2), it begins to open the window, but then chrashes with the following message :

Cannot read file Backgrounds/ferrulemedia.jpg ! File :demo bleking.hws (current line : 17 - in function : LoadBGPic. I have added a screenshot.

when i looked in my hws-script , line 17 was like this : LoadBGPic(1, "Backgrounds/ferrulemedia.jpg")

Do anyone know why this doesn't work ?
Currently, the Mac OS build requires all files that use relative path specifications ("Backgrounds/ferrulemedia.jpg" is a relative path specification) to be relative to the generated executable.

Thus, you need to place your "Backgrounds" folder (and all other data that is used by your program) to where the executable is. Under Mac OS X, the executable is hidden inside the application bundle in

"demo bleking.app/Contents/MacOS"

So you need to copy your "Backgrounds" and "Brushes" folders to

"demo bleking.app/Contents/MacOS/Backgrounds" and "demo bleking.app/Contents/MacOS/Brushes"

It should work then.
p-OS
Posts: 167
Joined: Mon Nov 01, 2010 11:56 pm

[13 Apr 2008] Re: Problem with hollywood designer and MacOS

Post by p-OS »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 13 Apr 2008 23:46:56 +0300

Hi,

and where to put Amiga Bitmap Fonts ?

I tried

Code: Select all

"demo bleking.app/Contents/MacOS/Fonts/GoudyB.font" 
"demo bleking.app/Contents/MacOS/Fonts/GoudyB/48" 
But when I try and run the app under OS 10.4 I always get a "Font not found" message.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[13 Apr 2008] Re: Re: Problem with hollywood designer and MacOS

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 13 Apr 2008 23:50:08 +0200
Hi,

and where to put Amiga Bitmap Fonts ?

I tried "demo bleking.app/Contents/MacOS/Fonts/GoudyB.font" "demo bleking.app/Contents/MacOS/Fonts/GoudyB/48"

But when I try and run the app under OS 10.4 I always get a "Font not found" message.
I changed the behaviour in Hollywood 3.1. Now you need to put the file to where the app is, i.e.

Code: Select all

"demo bleking.app/Fonts/GoudyB.font" 
"demo bleking.app/Fonts/GoudyB/48" 
Then it should work.
p-OS
Posts: 167
Joined: Mon Nov 01, 2010 11:56 pm

[04 May 2008] Re: Problem with hollywood designer and MacOS

Post by p-OS »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 04 May 2008 22:50:20 +0300

Hallo,

I tried to try it again with your CircleText-Demo.

The files are structured like this:

Code: Select all

12.macmini:> dir CircleText.app/ all
     Contents (dir)
          MacOS (dir)
            CircleText
          Resources (dir)
            CircleText.icns
       Info.plist
     Fonts (dir)
          goudyb (dir)
            23                               48
       goudyb.font
What's wrong with this ?

Ciao, Jean
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[05 May 2008] Re: Re: Problem with hollywood designer and MacOS

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 05 May 2008 13:04:30 +0200
What's wrong with this ?
You've placed the Fonts directory inside the app bundle but it must be outside of it, e.g.

Code: Select all

/CircleText/CircleText.app
/CircleText/CircleText.app/Contents
/CircleText/CircleText.app/Contents/MacOS
/CircleText/CircleText.app/Contents/MacOS/CircleText
/CircleText/CircleText.app/Contents/Resources
/CircleText/CircleText.app/Contents/Resources/CircleText.icns
/CircleText/CircleText.app/Contents/Info.plist
/CircleText/Fonts/goudyb/23
/CircleText/Fonts/goudyb/48
/CircleText/Fonts/goudyb.font
Locked