Patches

Apprentice
Posts: 9
Joined: 2008.06
Post: #1
I didn't see this covered anywhere and one of these days we will release a patch for our game, so I thought I would ask.

How do games usually patch on the Mac? I want something that is simple for the user, that overwrites the changed files, and leaves everything else alone.

Just as reference, the game itself was shipped as a simple dmg.
Quote this message in a reply
Moderator
Posts: 679
Joined: 2002.11
Post: #2
Sparkle library. It checks for updates, notifies the user when one is available, downloads new versions in the background, and installs them when finished.

Then again, if your game is 200MB, you probably won't want to download the whole thing again, so you're probably better off coming up with something yourself.

http://sparkle.andymatuschak.org/

My web site - Games, music, Python stuff
Quote this message in a reply
Oldtimer
Posts: 832
Joined: 2002.09
Post: #3
I swear by Sparkle. The best part about it is that you can get by with close to zero code work. At any rate, I managed to hook it into an already-on-the-market product in less than 30 minutes.
Quote this message in a reply
Apprentice
Posts: 9
Joined: 2008.06
Post: #4
Sparkle looks interesting. It looks like I would have to update the entire game though (in our case around 90MB) which would be a pain.

Any other good options?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #5
Not really.

Apple includes "bspatch" with Leopard, so you could easily roll your own binary patcher with that, but it would be a bit of work.

Ryan Gordon uses "MojoPatch" ( http://icculus.org/mojopatch/ ) for UT2k4 but the UI is (or was) a bit nasty...
Quote this message in a reply
Post Reply