Author Topic: Mac OS Package!  (Read 94571 times)

buddha

  • Hydlaa Citizen
  • *
  • Posts: 327
    • View Profile
(No subject)
« Reply #210 on: February 03, 2005, 08:22:40 pm »
I was able to use the client out of the box, but the updater fails with a bus error, even with the new vfs.cfg file

b
~~
May all your sequences converge.

lmarie2135

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #211 on: February 03, 2005, 08:34:34 pm »
Okay, well I managed to get into the game, but I\'m unable to get into a server. It says that I don\'t have the right planeshift version for it. What do I do now?

Alos

  • Traveller
  • *
  • Posts: 37
    • View Profile
(No subject)
« Reply #212 on: February 03, 2005, 08:53:55 pm »
buddha & lmarie2135 i think you should download ChaOs updater and use it when dfryer fixes the version in the server.
o.O

BonzaiRob

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #213 on: February 03, 2005, 09:01:46 pm »
Okay, I\'ve used the updater and everything. I changed permissions using BatChmod... I get the same long LOG error role, but thien there\'s this on the end:
dyld: ./psclient.app/Contents/MacOS/psclient can\'t open library: /sw/lib/libpng12.0.dylib  (No such file or directory, errno = 2)
Trace/BPT trap

I\'ve duplicated the file libpng.2.dylib from the Resources folder inside psclient, renamed it to libpng1.2.0.dylib, and I\'ve been moving it around... unfortunately, it looks like it can\'t find the folder \'sw\'. I\'ll try adding that next, changing permissions to system etc...

Edit
Success, of a sort... I renamed the file again to libcal12.0.dylib (I added an extra period before). I made folders called sw and lib, put them in the root, and put libping file in there...
Psclient started! Unfortunately, it crashed after the intro music played... but I\'m getting closer. I uploaded the Terminal file here:
http://www.inverts.demon.co.uk/psclient-errors.txt
It seems like the libpng file isn\'t the right one... I hope this helps everyone.
If you want to glimpse success, do this:
1)Get into the Resources folder (psclient.app, Ctrl-click and go to package contents, then Resources)
2)Duplicate it and rename it libpng21.0.dylib
3) Go to the root directory (Macintosh HD, the dir with Applications and Users etc in it)
3) Create a new folder \'sw\', then one inside called \'lib\'
4) Put the new libpng file in there, the change permissions on all of them to \'system\'
5) User Terminal to open psclient...
« Last Edit: February 03, 2005, 09:10:37 pm by BonzaiRob »

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #214 on: February 03, 2005, 09:29:52 pm »
Ok. To summarize:

1.) The \"cspngimg.csbundle\" plugin is missing a library that it needs.  If you have an older copy of planeshift you can try copying psclient.app/Contents/Resources/cspngimg.csbundle from the older copy to the newer copy.  Might work, might break, don\'t know.

2.) Most people have ended up receiving an updater.app which is broken.  The current version in the updater might work, but probably has a broken cspngimg plugin as well.

3.)  The current full .dmg download from the website contains a psclient which probably crashes, or if not, doesn\'t match the current server version.  The updater, if it doesn\'t crash, probably works if run from the command line.

4.) The network code version will change very soon, meaning that the current client will again be incompatible, forcing an update which you can\'t do if your updaters are broken.  

So:

1) I will fix the cspngimg problem.  I will also replace the current .dmg with a version that has a hopefully working updater.  

2) I will not publish the update until AFTER the server has been changed (which may have been already)

3) AFTER a few people have updated and we confirm that it works (or fix whatever doesn\'t work) we will create a new .dmg and put it on the website for download.

Thanks for all your patience!  This has been a lot rougher than anticipated, compounded with my occasional disappearance!
Quidquid latine dictum sit, altum sonatur.

evilweezul666

  • Traveller
  • *
  • Posts: 40
    • View Profile
(No subject)
« Reply #215 on: February 03, 2005, 09:35:49 pm »
So then the most prudent thing to do is wait? I\'m fine with that.
Are you... Defecating into a cantaloupe?
~Captain Hero; Drawn Together

fib4

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #216 on: February 03, 2005, 09:52:52 pm »
Not to interfere with stuff I know nothing about, but isn\'t this \"libpng12.0.dylib\" error suggesting that libpng (http://www.libpng.org/pub/png/libpng.html) should be installed on my computer?

...and btw a BIG thanks to dfyer for working with this project!
:: f ::

BonzaiRob

  • Traveller
  • *
  • Posts: 11
    • View Profile
A FIX
« Reply #217 on: February 03, 2005, 10:27:51 pm »
I\'ve got it!

With help from Alos, we have a working v.3.06...
See, remember we had to move libcal3d.10.dylib?
Well, I was scanning trough the errors from before - we need to move libcal3d.11.dylib as well!

It\'s being glitchy, but the app\'s working...


Well, yeah. Because of the libpng the image files are all screwed, and the menus don\'t really seem to work properly :/

Here\'s the login stuff: http://www.inverts.demon.co.uk/plane-shift-login.jpg
It\'s about a megabyte. The character screen is very glitchy.
« Last Edit: February 03, 2005, 10:37:01 pm by BonzaiRob »

GamerNick687

  • Traveller
  • *
  • Posts: 16
    • View Profile
(No subject)
« Reply #218 on: February 04, 2005, 12:33:21 am »
Has every body played this game exept me? i know you gotta move stuff around but im not real big on computer stuff and i dont want to skrew anything up ya know
The ticket to the future is always blank.....

Kinou

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #219 on: February 04, 2005, 12:59:13 am »
I have played it !

I\'ve download the last .dmg, and run the unofficial updater of chaos.

There was a problem of rights, solved by a command line (chmod 755 psclient)

But now, after a reboot, the Client is saying that I don\'t have the correct version. They have updated the server recently, and the version is again not the good one.

But this problem seems to be the same for all the players (windows players too). So wait and see.
Sorry for my poor english, I\'m french.

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #220 on: February 04, 2005, 01:26:19 am »
Kinou: thank you for the confirmation that (after all fixing & downloading) there was some workingness in the current version :)  Hopefully we\'ll keep that alive in the next version...
Quidquid latine dictum sit, altum sonatur.

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #221 on: February 04, 2005, 02:13:16 am »
Here\'s what\'s wrong and how to fix it (I\'m summarizing what others have already said ;) ):
Problem #1: the executable bit was not set for psclient.app/Contents/MacOS/psclient
Solution: Use BatChmod or Terminal (cd to psclient.app/Contents/MacOS/ and do \"chmod 755 psclient\" (thanks to Kinou for this)) to set the executable bit

Problem #2: vfs.cfg file was broken.
Solution: Replace it with this one: Link from dfryer\'s post

Problem #3: libcal3d.11.dylib is missing from /usr/local/lib/
Solution: Copy it from psclient.app/Contents/Resources to /usr/local/lib/

Note to those that are not computer-inclined: To get into psclient.app, control-click it and select Show Package Contents. To get to your usr folder, go to Finder and hit Command (apple) and F. Search for \"usr\" and make sure to look for visible AND invisible files (one of the many search modifiers). From there navigate to /user/local/lib. The Terminal app is located in Applications/Utilities.

After this psclient should launch just fine.

As people have said though, no one can get on right now as the server was updated. :( You can get the client running anyway, though.

Now, an aside about my Updater: I recently realized that one reason that there were phenomenally huge update times listed was because I was up late and inadvertently recorded that there were 360 seconds in an hour (should be 3600). I\'ve uploaded a fix. I\'ve also neatened up a bit (after canceling an update the status bar and accompanying text are reset). It\'s nothing major, but if you want a more accurate time readout go ahead and  download it. I also fixed some things with downloading zip entries directly. Not that many people are using this feature, but w/e... :P

Also, I\'d like to correct a misconception: The updater will not (\"should not\", I should say) crash when run normally. The updater probably will crash if you run it from the terminal with \"zipentries\" as an argument (Exception being if you are on Windows or are running the Tiger prerelease). If you run it without zipentries, you download the entire zip archive whenever any entry in that file is updated. If zipentries is enabled, the updater will update only the entries that need updating (which makes updating art much faster). That will probably cause a crash though, so I don\'t recommend it.

P.S. Thanks for all the nice feedback. I\'m glad my updater is useful. :)
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

evilweezul666

  • Traveller
  • *
  • Posts: 40
    • View Profile
(No subject)
« Reply #222 on: February 04, 2005, 02:47:59 am »
This may be a bit of a problem, but my Resources folder has no libcal3d.11.dylib file, only libcal3d.10.dylib. I forsee this as a small but correctable problem. Should i re-download? or is the file available in Fink or something like it?
Are you... Defecating into a cantaloupe?
~Captain Hero; Drawn Together

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #223 on: February 04, 2005, 04:23:35 am »
EDIT: Update. The latest Cal3d version, libcal3d.11.dylib, is included in the update.
« Last Edit: February 04, 2005, 04:25:15 am by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

shifthappens

  • Hydlaa Resident
  • *
  • Posts: 78
    • View Profile
(No subject)
« Reply #224 on: February 04, 2005, 04:26:20 am »
Been looking at the thread now for the past hour.

I decided to try the lib****.dylr (whatever...I\'m lazy) files.  Put them \'em either in the sw folder and the  usr/local/lib folder.  And it was somewhat functional.  I got the splash screen but it didn\'t work.  I\'m happy to report that the music played beautifully...... :)  Then I didn\'t know how to kill the process so I kill the terminal.  Ha!  That showed it.

Appearently this is moot in light of the fact that the server version is going to change again soon.

I hope I remember where I put that lib**** #$@#. dldk (whatever file, I\'m lazy) thingy.  :)

Cha0s:

I don\'t know.  I just double clicked the updater.jar file and it worked.  Am I just kidding myself that it worked without a hitch.  Should I go back and read your previous posts?  I think I will.  Might as well, got plenty of time. :)
\"I\'d rather have a bottle in front of me than a frontal lobotomy.\" - Forgot who said this.