Mac

From PZwiki
Revision as of 01:54, 6 June 2011 by ZombiePie (talk | contribs) (Added link to launcher)

Project Zomboid works great on a Mac, but only when not running in a browser.

Playing without browsers - The Launcher

  1. Download the launcher here
  2. Unzip it
  3. Double-click it!

The launcher will only give you an option to play offline if you have it cached locally, so you must start it at least once in the browser first.

Playing without browsers - The involved way

First, make sure you have logged in at least once with your account details using Safari, so that you have downloaded the client.

Next, open TextEdit (In /Applicatons) and create a new file with the following text:

#!/bin/bash
DATA=$HOME/Library/Caches/Java/cache/lwjglcache/cloud.projectzomboid.com/ProjectZomboid;
java -Xmx1024m -Djava.library.path=$DATA/natives -cp $DATA/zombie.jar:$DATA/lwjgl.jar:$DATA/lwjgl_util.jar zombie.GameWindow

After you paste in the text, click on Format in the menu bar and click Make Plain Text (unless the file is already in plain text). Then save the file as ProjectZomboid.command in the location of your choice. Next open Terminal.app (In /Applications/Utilities). Type in the following text and make sure you leave a space at the end:

chmod u+x

Then drag the ProjectZomboid.command file from the Finder in the Terminal window, which will paste the path to it, then press enter.

Please remember that when you use this method your version of Project Zomboid will NOT auto-update, and you will have to login again using Safari to update your client.

Now ProjectZomboid.command can be started by double-clicking on it in the Finder.

This has been verified to work in this environment:

zombiepie$ /usr/bin/sw_vers
ProductName:    Mac OS X
ProductVersion: 10.6.7
BuildVersion:   10J869

zombiepie$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)