Problems with embeded files under MacOS PPC

Report any Hollywood bugs here
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Problems with embeded files under MacOS PPC

Post by Juan Carlos »

I reported the problem with the appicons the pictures embeded in the executable for MacOS PPC now I found a new bug with the sounds in the 8svx amiga format the sound have noise but with the ogg open a message windos with this:
Sound file "Sound01.ogg" is in an unknow/unsupported Format!
File: Sabrina.hws (currentline: 128 - In function: Load Sample
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Re: Problems with embeded files under MacOS PPC

Post by SamuraiCrow »

Do you have the Ogg Vorbis plugin installed in the Hollywood app bundle in accordance with the instructions? (Please don't be insulted if you do already.)
I'm on registered MorphOS using FlowStudio.
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Re: Problems with embeded files under MacOS PPC

Post by Juan Carlos »

Yes, friend, I have installed because is the first step also the problem is with the appicon.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problems with embeded files under MacOS PPC

Post by airsoftsoftwair »

Keep in mind that the location for plugins has changed in 7.0. You need to put them into MyApp.app/Contents/Resources/Plugins now.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problems with embeded files under MacOS PPC

Post by airsoftsoftwair »

Oops, sorry, I should RTFM myself. For compiled app bundles on Mac OS, plugins have to be copied to MyApp.app/Contents/Resources. Also make sure that they have execute permission set.
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Re: Problems with embeded files under MacOS PPC

Post by Juan Carlos »

Thanks Andreas, now my bizarre proyect runs fine although the problem with the appicon continues, well for next update.
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Re: Problems with embeded files under MacOS PPC

Post by Juan Carlos »

Again I tryed to make an executable for Mac PPC Tiger OS, and the problem with appicon continues, the Mac OS put a default icon but no the icon from my program.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problems with embeded files under MacOS PPC

Post by airsoftsoftwair »

Please post a minimal demo script with your @APPICON definitions.
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Re: Problems with embeded files under MacOS PPC

Post by Juan Carlos »

The code:
@APPICON {Ic16x16="Iconos2/Icono16x16.png",
Ic24x24="Iconos2/Icono24x24.png",
Ic32x32="Iconos2/Icono32x32.png",
Ic48x48="Iconos2/Icono48x48.png",
Ic64x64="Iconos2/Icono64x64.png",
Ic96x96="Iconos2/Icono96x96.png",
Ic128x128="Iconos2/Icono128x128.png",
Ic256x256="Iconos2/Icono256x256.png"
}

This works fine under Windows, even with Hollywood Player, but under last Hollywood for MacPPC OS not, when the Hollywood 6.1 hasn't this bug.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problems with embeded files under MacOS PPC

Post by airsoftsoftwair »

Works fine here. This is very likely an issue with internal Mac OS X application icon caches. There's a lot of weirdness going on inside Mac OS X with caching application icons. Just Google "Mac OS X icon cache" to see what I mean. Try clearing the complete icon cache, then reboot, then try again.

You can see that this is no Hollywood bug by simply opening the *.icns file inside your application bundle. It is stored in MyApp.app/Contents/Resources/myapp.icns. Just open it and you'll see that it contains the correct icons. If Mac OS X isn't showing those icons, then it is still using some old icons in the cache.
Post Reply