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

shifthappens

  • Hydlaa Resident
  • *
  • Posts: 78
    • View Profile
my lines...
« Reply #330 on: February 07, 2005, 05:18:59 pm »
Here\'s the closest match I get regarding the lines from psclient.cfg:

; Document parser
System.Plugins.iDocumentSystem =crystalspace.documentsystem.multiplex
System.Plugins.iDocumentSystem.1=crystalspace.documentsystem.xmlread
System.Plugins.iDocumentSystem.2 = crystalspace.documentsystem.binary



For the updater.cfg this is what I get:  (Don\'t have the tiny.xml line.)

System.ApplicationID = psupdater

Video.ScreenWidth  = 640
Video.ScreenHeight = 480
Video.ScreenDepth  = 16

System.PlugIns.iVFS = crystalspace.kernel.vfs
System.Plugins.iDocumentSystem = crystalspace.documentsystem.xmlread
System.PlugIns.iImageIO = crystalspace.graphic.image.io.multiplex

System.PlugIns.iEngine = crystalspace.engine.3d

System.PlugIns.iFontServer = crystalspace.font.server.freetype2
Fontplex.Fonts.Default.*Fallback = /this/data/ttf/arial.ttf

System.PlugIns.iSyntaxService = crystalspace.syntax.loader.service.text


And I can confirm that I do have both the xmltiny files in both the psclient and updater cfgs.

Edit:  The above is as resulted from last night\'s deletion of psclient from the folder and redownloading.  As I write this, just to make sure because its now the next day, I\'ve deleted all the lib files, anything in Planeshift folder anything with psclient or updater in the title and reupdating from the server.  Will let you know if I get the same results as above.
« Last Edit: February 09, 2005, 12:02:01 am by shifthappens »
\"I\'d rather have a bottle in front of me than a frontal lobotomy.\" - Forgot who said this.

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #331 on: February 07, 2005, 05:31:48 pm »
In your updater configuration file, change the line:

System.Plugins.iDocumentSystem = crystalspace.documentsystem.xmlread

To
System.Plugins.iDocumentSystem = crystalspace.documentsystem.tinyxml

That should fix one of the problems with the updater.

I suspect that some of the crashes are because of config files & the like not updating.
« Last Edit: February 07, 2005, 05:37:48 pm by dfryer »
Quidquid latine dictum sit, altum sonatur.

shifthappens

  • Hydlaa Resident
  • *
  • Posts: 78
    • View Profile
your updater is working :)
« Reply #332 on: February 07, 2005, 05:57:58 pm »
Dfryer

1. deleted lib files
2. deleted all psclient files and updater files
3. reupdate with java updater
4.  changed the line in the updater.cfg file to support the tinyxml
5.  chmod 755 the updater
6.  Deleted the psclient
7.  Fired up the updater.app from the terminal
8.  It launched and is downloading.  I can email you a screenshot if you like. :)
9.  I\'ll let you know the results in about 35% time.


Edit:  Finished downloading and updating:  The lib files did not distribute to
 /sw/lib and /usr/local/lib and the vfs.cfg is still the old file.  But the updater worked.
« Last Edit: February 07, 2005, 06:22:02 pm by shifthappens »
\"I\'d rather have a bottle in front of me than a frontal lobotomy.\" - Forgot who said this.

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #333 on: February 07, 2005, 08:34:09 pm »
The whole point of what I am trying to do is that the lib files should *not* end up being put in /sw/lib and /usr/local/lib, either manually or automatically.  If everything was working correctly, they could stay inside psclient.app/and updater.app.  Could someone with the most recent updates (like shifthappens) try cd\'ing into psclient.app/Contents/Resources and executing the command:
otool -L sprcal3d.csbundle
and pasting the results?

Thanks,
Daniel
Quidquid latine dictum sit, altum sonatur.

shifthappens

  • Hydlaa Resident
  • *
  • Posts: 78
    • View Profile
(No subject)
« Reply #334 on: February 07, 2005, 08:55:44 pm »
Daniel,  I\'ll start the ball rolling ...

Computer:psclient.app/contents/resources] jim% otool -L sprcal3d.csbundle
sprcal3d.csbundle:

        /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 663.97.0)

        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 462.8.0)

        /usr/lib/libz.1.1.3.dylib (compatibility version 1.0.0, current version 1.1.3)

        @executable_path/../Resources/libcal3d.11.dylib (compatibility version 12.0.0, current version 12.0.0)

        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0)
\"I\'d rather have a bottle in front of me than a frontal lobotomy.\" - Forgot who said this.

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #335 on: February 07, 2005, 10:29:41 pm »
If the output for otool -L sprcal3dldr.csbundle is the same, then it should look for libcal3d.11.dylib in psclient.app/Contents/Resources. and not /usr/local/lib.

Does psclient work?
Quidquid latine dictum sit, altum sonatur.

shifthappens

  • Hydlaa Resident
  • *
  • Posts: 78
    • View Profile
psclient test
« Reply #336 on: February 07, 2005, 10:43:11 pm »
Not able to double click.  Then I...
chmod 755 psclient...then I
ran psclient from terminal...
Got the splash screen and login window...but cannot access input fields of the login window.  Can\'t type anything, window stays same.

Here\'s the output from terminal:

jim% ./psclient.app/contents/macos/psclient
Crystal Space for MacOS/X 0.99 r0 [MacOS/X-powerpc-GCC]
Ported to MacOS/X by Eric Sunshine

crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [MacOS/X-powerpc-GCC]
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
LOG_SCRIPT flag deactivated.

LoadConfigFromFile:
  set
  set
  set
  set
  set

planeshift.application.client:
  psEngine initialized.
Creating psnetconnection 4de7010!
Warning ID: crystalspace.maploader.parse.image
Description: Could not open image file \'/planeshift/textures/weapons/cleaver.tga\' on VFS!
Warning ID: crystalspace.maploader.parse.texture
Description: Couldn\'t load image \'/planeshift/textures/weapons/cleaver.tga\', using checkerboard instead!
Warning ID: crystalspace.maploader.parse.image
Description: Could not open image file \'/planeshift/textures/weapons/long02V01C.png\' on VFS!
Warning ID: crystalspace.maploader.parse.texture
Description: Couldn\'t load image \'/planeshift/textures/weapons/long02V01C.png\', using checkerboard instead!
Warning ID: crystalspace.maploader.parse.image
Description: Could not open image file \'/planeshift/tools/panflute01.jpg\' on VFS!
Warning ID: crystalspace.maploader.parse.texture
Description: Couldn\'t load image \'/planeshift/tools/panflute01.jpg\', using checkerboard instead!
Warning ID: crystalspace.maploader.parse.image
Description: Could not open image file \'glyph_dark_01a.png\' on VFS!
Warning ID: crystalspace.maploader.parse.texture
Description: Couldn\'t load image \'glyph_dark_01a.png\', using checkerboard instead!
Creating psnetconnection 13343fa0!
Creating psnetconnection 13354130!
« Last Edit: February 07, 2005, 10:44:09 pm by shifthappens »
\"I\'d rather have a bottle in front of me than a frontal lobotomy.\" - Forgot who said this.

Ace6879

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
OS X
« Reply #337 on: February 08, 2005, 03:44:36 am »
Any ETA on the fixed OS X updater and client?

aquagen

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #338 on: February 08, 2005, 05:28:09 am »
ive logged in using Chmod 755, copying the libcal libpng files and it seems to work okay!!! - like i can play and move and everything seems fine!!! :) one question?

how do i change it so i can run fullscreen res ?

also it sometimes shows im getting 150-200 fps is this possible? or a bug

_

Powermac G5 dual 1.8, 1Gb Ram, 10.3.7, windowed
« Last Edit: February 08, 2005, 06:49:55 am by aquagen »

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #339 on: February 08, 2005, 05:47:42 am »
With the xmlread -> tinyxml change:

When double-clicked: updater.app displays the GUI but has trouble DLing the registry.
When run from the Terminal: it works fine. :)

Well done dfryer!

Though I suppose it\'s obsolete now, there\'s been an update to my updater (it occurred before I figured out the other one was working, so I might as well post it) to include the omission of directories/files found in the updaterconfig.xml file (most of those files/directories no longer exist in the repository anyway *grumble*). The updater also no longer downloads the vfs.cfg file (as well as the other cfg files in your root directory)! This can all be overridden of course, by running it with the \"updateall\" argument. I\'ve also added a debug mode. If you\'re having problems with my updater in any way, run it with the argument \"debugmode\" from the Terminal. You should get some nice gibberish in the Console which I\'ll be happy to decipher and use to fix any problems. Happy updating (however you go about it ;) )!
Linky (the last one was a few pages back, so, meh): Updater.jar (29 k)

EDIT:
Output of the commands you requested dfryer:
Michael-Diamonds-Computer:~/Games/Planeshift3D/psclient.app/Contents/Resources mdiamond$ otool -L sprcal3d.csbundle
sprcal3d.csbundle:
        /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 663.97.0)
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 462.8.0)
        /usr/lib/libz.1.1.3.dylib (compatibility version 1.0.0, current version 1.1.3)
        @executable_path/../Resources/libcal3d.11.dylib (compatibility version 12.0.0, current version 12.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0)
Michael-Diamonds-Computer:~/Games/Planeshift3D/psclient.app/Contents/Resources mdiamond$ otool -L sprcal3dldr.csbundle
sprcal3dldr.csbundle:
        /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 663.97.0)
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 462.8.0)
        /usr/lib/libz.1.1.3.dylib (compatibility version 1.0.0, current version 1.1.3)
        @executable_path/../Resources/libcal3d.11.dylib (compatibility version 12.0.0, current version 12.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0)

Good news: psclient works without libcal3d.11.dylib in local/lib/ !!!
Bad news: I am still having lightmap/black texture problems and it won\'t run in full screen (even with Video.FullScreen = true).

P.S. Sorry for the really long post!
« Last Edit: February 08, 2005, 05:00:19 pm by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #340 on: February 08, 2005, 06:01:18 am »
Quote
Originally posted by aquagen
ive logged in using Chmod 755, copying the libcal libpng files and it seems to work okay!!! :) one question?

how do i change it so i can run fullscreen res ?

also it sometimes shows im getting 150-200 fps is this possible? or a bug

_

Powermac G5 dual 1.8, 1Gb Ram, 10.3.7, windowed


To make PS run in fullscreen, open up planeshift.cfg and change
Video.FullScreen = false
to
Video.FullScreen = true

This may or may not work.

As for the fps, depending on where you are (and your computer) that doesn\'t seem too outrageous. I\'ve gotten 60+ fps in the sewers on a 667 G4!!!
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

[Trogdor]

  • Traveller
  • *
  • Posts: 29
    • View Profile
(No subject)
« Reply #341 on: February 08, 2005, 06:35:27 am »
i dont get it...  what do you mean by logging on with chmod 755?  can you put everything i\'m supposed to write in the terminal (except the path of course)

also, when i try to run the command \"java -jar Updater.jar nogui,\" in the terminal, it displays this:

**********
Unable to access jarfile Updater.jar
**********

i dont know why either, but i can double click on the cha0s updater and it seems to work fine...
« Last Edit: February 08, 2005, 06:43:23 am by [Trogdor] »

aquagen

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #342 on: February 08, 2005, 06:48:33 am »
i didnt bother with the nogui thing, i just double clicked chaos\'s updater and it worked fine...

one question - how do you buy a spell? lol

[Trogdor]

  • Traveller
  • *
  • Posts: 29
    • View Profile
(No subject)
« Reply #343 on: February 08, 2005, 07:34:36 am »
I DID EVERYTING and IT STILL WONT WORK!!!   :(  i tried running it from the terminal and by double clicking it...

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #344 on: February 08, 2005, 01:38:32 pm »
A Guide to Running Planeshift on Mac OS X

EDIT: Now updated with more up-to-date info!
« Last Edit: February 08, 2005, 04:55:58 pm by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!