[Ohrrpgce] Mac OS X port

Ralph Versteegen teeemcee at gmail.com
Mon Oct 4 13:55:50 PDT 2010


On 5 October 2010 09:25, James Paige <Bob at hamsterrepublic.com> wrote:
> On Mon, Oct 04, 2010 at 01:10:51PM -0700, James Paige wrote:
>> > >> > If on Mac OS X, create an app bundle of the game
>> > >>
>> > >> What about packaging for other platforms? Just because you're not
>> > >> using a Mac doesn't mean you don't want to create an .app bundle.
>> > >>
>> > >> I suggest having an extra download that contains all the binaries
>> > >> needed for cross-packaging to each system.
>> > >
>> > > That would be excellent. It has limitations-- for example, we can't run
>> > > Innosetup on Linux, we can't run debian packaging tools on Mac OS X, and
>> > > we can't create mac dmg files on Windows, but wherver it is possible to
>> > > do cross-platform pakaging, we should do it.
>> >
>> > Apparently you can easily create a dmg file, just like you would an
>> > iso, but with HFS+ filesystem. Are dmg's noncompressed? What's the
>> > standard file compressor? Should we just use bz2?
>>
>> Nope. An uncompressed HFS+ dmg works, but you would never use one for
>> software distribution (nor have I ever seen a gzipped or bz2'ed dmg
>> file anywhere) I think an app inside a zip file would be less confusing
>> to a Mac user with no PC background than would be a gzipped uncompressed
>> dmg.
>>
>> From my googlings, nobody seems to know how dmg compression works, so
>> unless you are on a mac and can run hdiutil, there does not seem to be
>> any way to create a proper dmg file.
>
> Actually, a little more googlings indicates that a few people *have*
> been successful at reverse engineering compressed dmg files, but all the
> tools that have resulted from such efforts are for *extracting* files
> from compressed dmg's, not creating them.
>
> ---
> James

So you're suggesting not using a .dmg at all, right?
I thought that Finder could open .bz2 files, but maybe I was mistaken.
And there are no other common Mac compression formats we can use?



More information about the Ohrrpgce mailing list