[Ohrrpgce] Mac OS X port

James Paige Bob at HamsterRepublic.com
Mon Oct 4 14:35:30 PDT 2010


On Tue, Oct 05, 2010 at 09:55:50AM +1300, Ralph Versteegen wrote:
> 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?

We can use a compressed dmg when we are bundling from a mac, and fall 
back to a zip if we are bundling a mac app from a Windows or Linux 
computer.

I think that yes, finder can decompress .gz and .bz2 files.. I have just 
never seen anybody distribute a dmg that way... it would be unmaclike ;)

---
James



More information about the Ohrrpgce mailing list