Universal binaries and incbin - little problem!

Miscellaneous Forums/MacOS X Discussion/Universal binaries and incbin - little problem!

I know this is an old post but since becoming part of the intel mac crowd I thought I'd give my ideas...

What if you have just one large `data` file which contains all your media in some kind of format that would be similar to incbin, ie generate it by loading in all your media stuff and outputting all of it to a single binary file, keeping track of the offsets of each file (as if you had incbinptr's). Then this file is not very easily accessible or readable by most users, only shows up as a single file (not a mess), and then both of your versions of the app can open it and read it as needed. You could even encrypt it and/or compress it. I don't think you'll be seeing an official universal-include in blitzmax prior to blitzmax fully supporting generation of universal binaries all by itself.