Author Topic: Mac OSX Guides Now Available  (Read 1610 times)

Rolenun

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
Mac OSX Guides Now Available
« on: March 04, 2007, 04:39:46 am »
With all the requests for a guide to be made, we've recently had a few volunteers willing to help create them!
The standard Mac OSX guide is here: http://vaalnor.mine.nu/psdoc/?q=node/38
and for the morbidly curious....
The static Mac OSX guide is here: http://vaalnor.mine.nu/psdoc/?q=node/41

The difference between them is the static guide is so the client can be run from a redistributable binary.

Happy building!

P.S. There is still a problem with sound reported by some. It has been noticed.  :)
« Last Edit: March 05, 2007, 05:15:42 am by Rolenun »

Birk

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Mac OSX Guides Now Available
« Reply #1 on: March 04, 2007, 05:54:12 am »
Well done to everyone involved!  \\o//

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
Re: Mac OSX Guides Now Available
« Reply #2 on: March 04, 2007, 06:42:24 pm »
Note: If anyone's plans to be compiling PS a lot, instead of using a profiles to save the CRYSTAL, CEL, CSCONF, and CAL3D environment variables (which requires you to reload the profile every time), you can simply add the lines specified in the guide to .bashrc in your home directory. Basically, replace the line "planeshift $ nano $HOME/PS/planeshift/profile" (right under the section "Building CrystalSpace and Planeshift" ) with "planeshift $ nano $HOME/.bashrc" and then follow the instructions as normal. After exiting nano and saving the file (control-x, y, enter), close the Terminal window and open a new one. The variables will be loaded for you automatically this time and every other time you open a Terminal window (even if you quit Terminal :) ). You can now skip all steps that say "planeshift $ source profile" (there are a bunch of these). You can also avoid making the script file, runpsclient, and simply use "./psclient.app/Contents/MacOS/psclient" to run the client.

Anyway, that technical note aside, much kudos to Induane, Rolenun, Trymm, Bereror, and lyaril for creating an excellent build guide! Planeshift has been out for years and we've never had a really solid Mac build guide till now. Many thanks to all of you who helped with the build guide!
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

simonpe

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Mac OSX Guides Now Available
« Reply #3 on: June 28, 2007, 10:25:20 pm »
Hi and thanks for the excellent guide!

Not working perfect though since I get some errors while trying to compile the final planeshift stuff.


Code: [Select]
simon-petterssons-dator:~/PS/planeshift simon$ jam -aq pssetup_static updater_static client_static
psserver_static: Warning: Static plugin "cssynld" from package "CRYSTAL" not available.
psnpcclient_static: Warning: Static plugin "fire" from package "CRYSTAL" not available. psnpcclient_static: Warning: Static plugin "fireldr" from package "CRYSTAL" not available.
psnpcclient_static: Warning: Static plugin "partphys_simple" from package "CRYSTAL" not available. psnpcclient_static: Warning: Static plugin "rain" from package "CRYSTAL" not available.
 psnpcclient_static: Warning: Static plugin "rainldr" from package "CRYSTAL" not available.

I also have some missing -framework statements as in the cel compilation but i fixed that.

I think the plugins are missing due to some missing prerequisites, i installed all the prerequisites listed in the guide though...

However, when i run psclient_static without any additional datafiles it will start the login screen. I haven't tested it any further. When i add the datafiles from the latest ppc binary release it wont start, the loading screen is displayed but the progress bar just stays at 0%. Nothing is frozen as i can press cmd+Q to end it.
Code: [Select]
Crystal Space for MacOS/X 1.1.0 [MacOS/X-x86-GCC]
Ported to MacOS/X by Eric Sunshine <sunshine@sunshineco.com>

DEBUG: Sound System Software Renderer Initializing...
DEBUG: Sound System: CoreAudio driver for software sound renderer initialized.

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  1.1.0 [MacOS/X-x86-GCC]
    2807 LOG_ANY flag deactivated with no filter.
    2807 LOG_WEATHER flag deactivated with no filter.
    2807 LOG_SPAWN flag deactivated with no filter.
    2807 LOG_CELPERSIST flag deactivated with no filter.
    2807 LOG_PAWS flag deactivated with no filter.
    2807 LOG_GROUP flag deactivated with no filter.
    2808 LOG_CHEAT flag deactivated with no filter.
    2808 LOG_LINMOVE flag deactivated with no filter.
    2808 LOG_SPELLS flag deactivated with no filter.
    2808 LOG_NEWCHAR flag deactivated with no filter.
    2808 LOG_SUPERCLIENT flag deactivated with no filter.
    2808 LOG_EXCHANGES flag deactivated with no filter.
    2808 LOG_ADMIN flag deactivated with no filter.
    2808 LOG_STARTUP flag deactivated with no filter.
    2808 LOG_CHARACTER flag deactivated with no filter.
    2809 LOG_CONNECTIONS flag deactivated with no filter.
    2809 LOG_CHAT flag deactivated with no filter.
    2809 LOG_NET flag deactivated with no filter.
    2809 LOG_LOAD flag deactivated with no filter.
    2809 LOG_NPC flag deactivated with no filter.
    2809 LOG_TRADE flag deactivated with no filter.
    2809 LOG_SOUND flag deactivated with no filter.
    2809 LOG_COMBAT flag deactivated with no filter.
    2809 LOG_SKILLXP flag deactivated with no filter.
    2809 LOG_QUESTS flag deactivated with no filter.
    2810 LOG_SCRIPT flag deactivated with no filter.
    2810 LOG_MARRIAGE flag deactivated with no filter.
    2810 LOG_MESSAGES flag deactivated with no filter.
    2810 LOG_CACHE flag deactivated with no filter.
    2810 LOG_PETS flag deactivated with no filter.
    2810 LOG_USER flag deactivated with no filter.
    2810 LOG_LOOT flag deactivated with no filter.
    2810 LOG_DUELS flag deactivated with no filter.
    2810 LOG_TRIBES flag deactivated with no filter.
    2811 All LOGS are off.
Mounting skin: /this/art/skins/elves.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
Skipping 'ButtonTutorial' because it's already loaded
  psEngine initialized.

Any thoughts what prerequisites might be missing? Or is those missing plugins normal? Any help will be apprechiated, I have been working on this for many hours now.

edit:
When i change the data/servers.xml in the unmodified build of planeshift it cant connect to Fragnetics...
« Last Edit: June 29, 2007, 04:53:36 am by simonpe »

Rolenun

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
Re: Mac OSX Guides Now Available
« Reply #4 on: June 29, 2007, 10:23:12 pm »
In the first quote, the plugin warnings you are seeing are for the Planeshift server objects. Since you aren't building the server, these can be safely ignored. In the second quote, that is just the standard startup. No harm there either.

simonpe

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Mac OSX Guides Now Available
« Reply #5 on: June 30, 2007, 09:24:47 am »
I got it fired up now, i have the exactly same output as the 0.3.018 bundle (working) about some artwork missing but connection to Laanx fails.

Trymm

  • Hydlaa Resident
  • *
  • Posts: 65
    • View Profile
Re: Mac OSX Guides Now Available
« Reply #6 on: June 30, 2007, 10:34:11 am »
I got it fired up now, i have the exactly same output as the 0.3.018 bundle (working) about some artwork missing but connection to Laanx fails.


Please be more specific. The client can fail to connect to Laanx in multiple ways. What happens? Do you see Laanx to be online at all, but crash when you try to connect? Does Laanx not appear to be online at all?


As to the missing framework statements, I would be very interested if you could test the following way to fix that:

http://hydlaa.com/smf/index.php?topic=27528.msg333109#msg333109


simonpe

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Mac OSX Guides Now Available
« Reply #7 on: July 05, 2007, 10:29:34 pm »
In the server list following is displayed: "Laanx Failed", nothing in the log about it.

To fix the compile error i just put -framework before OpenGL, CoreAudio and some other frameworks. Was a while ago now so i dont remember more specifically.