Problems with embeded files under MacOS PPC
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Problems with embeded files under MacOS PPC
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
Sound file "Sound01.ogg" is in an unknow/unsupported Format!
File: Sabrina.hws (currentline: 128 - In function: Load Sample
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: Problems with embeded files under MacOS PPC
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.
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Problems with embeded files under MacOS PPC
Yes, friend, I have installed because is the first step also the problem is with the appicon.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Problems with embeded files under MacOS PPC
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.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Problems with embeded files under MacOS PPC
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.
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Problems with embeded files under MacOS PPC
Thanks Andreas, now my bizarre proyect runs fine although the problem with the appicon continues, well for next update.
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Problems with embeded files under MacOS PPC
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.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Problems with embeded files under MacOS PPC
Please post a minimal demo script with your @APPICON definitions.
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Problems with embeded files under MacOS PPC
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.
@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.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Problems with embeded files under MacOS PPC
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.
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.