Page 1 of 2

Problems with embeded files under MacOS PPC

Posted: Sat Apr 08, 2017 6:59 pm
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

Re: Problems with embeded files under MacOS PPC

Posted: Sun Apr 09, 2017 12:37 am
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.)

Re: Problems with embeded files under MacOS PPC

Posted: Sun Apr 09, 2017 10:56 am
by Juan Carlos
Yes, friend, I have installed because is the first step also the problem is with the appicon.

Re: Problems with embeded files under MacOS PPC

Posted: Sun Apr 09, 2017 2:58 pm
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.

Re: Problems with embeded files under MacOS PPC

Posted: Tue Apr 11, 2017 12:02 pm
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.

Re: Problems with embeded files under MacOS PPC

Posted: Wed Apr 12, 2017 5:41 pm
by Juan Carlos
Thanks Andreas, now my bizarre proyect runs fine although the problem with the appicon continues, well for next update.

Re: Problems with embeded files under MacOS PPC

Posted: Tue Jul 18, 2017 1:45 am
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.

Re: Problems with embeded files under MacOS PPC

Posted: Sat Jul 22, 2017 2:26 pm
by airsoftsoftwair
Please post a minimal demo script with your @APPICON definitions.

Re: Problems with embeded files under MacOS PPC

Posted: Sun Jul 30, 2017 2:02 pm
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.

Re: Problems with embeded files under MacOS PPC

Posted: Tue Aug 01, 2017 11:34 am
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.