Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - patrickg

Pages: [1]
1
Technical Help: Problems BEFORE entering the game /
« on: March 09, 2003, 08:07:27 pm »
Quote
Originally posted by ralph-hogaboom

CRYSTAL=\"/usr/local/CS\"
export CRYSTAL

..\"

I also tried adding this to my .bashrc file, hoping that this would set the CRYSTAL variable when I rebooted. no such luck.

Patrick,

I might try your method of editing the psclient /pssetup files. If i do, i\'ll report back on what happened.



This will never work.. becausse the script you run to start psclient does this:
-- cut --

#Make sure we don\'t collider with an installed CS or CEL
unset CEL
unset CRYSTAL

cd $MYPATH
export CEL=`pwd`
export CRYSTAL=`pwd`

-- /cut --

so whatever you have set the CRYSTAL variable to gets unset, and then set to `pwd` (which is the dir where the games resides). This is what I mentioned in my previous post, so you probably have figured this out by your own now:)

I downloaded the cel-package that you mentioned, I will try to install it now.

2
Technical Help: Problems BEFORE entering the game /
« on: March 09, 2003, 05:46:58 am »
I had the same problem. I had to edit the psclient and pssetup scripts that start the binaries for the client and setup, so that the CRYSTAL enviromental variable pointed to my crystal installation. I did this with a bit of doubt, becausse comments in the scripts said to make sure that I didn\'t \"collider\" with a installed crystal. And in the script whatever CRYSTAL was set to was unset, and then set to be inside the game\'s working directory. And in the lib/ subdir of the game, there ARE crystal-libraries, amongst others, xwin.so. However, changing the CRYSTAL variable to point to my systems crystal installation made the xwin error go away. And I was able to run  \"pssetup\" without problem.. \"psclient\" also seemed to work nice. I was able to create a new character, and was getting excited and ready to play.
But then it crashed. This is the error I get:
-- cut --

PreloadModels: Preloading complete
Constructing psdWarning: 0xa9cb4e8
Destructing Warning: 0xa9cb4e8
        loading definitions file /planeshift/data/custom.def...
        load successful (1 windows, 0 skins loaded.)
./psclient: line 44: 27743 Segmentation fault      bin/psclient $@

-- /cut --

I asume that this is when the first 3d graphics are to be loaded.  So probably this is becausse I altered the script to use  my systems crystal libraries instead of those which come within the planeshit-package. (I use RH80 aswell, but with selfcompiled crystal)

When I instead of creating a new character choose to \"connect\" and use the standard connect-prefs that are entered, the game seems to load. I get a loading screen and in the terminal where I started psclient I see lots of (almost) nice messages about loading. But this also crashes.. probably, this time, aswell, when it is about to show it\'s first 3d graphics..
-- cut --

Switch to FASTMESH \'(null)\'!
LOTS OF LOTS OF THESE...
Switch to FASTMESH \'(null)\'!
crystalspace.engine.warning: Couldn\'t load cached lighting for 131 object(s):
crystalspace.engine.warning:     _s_stairsides_01
crystalspace.engine.warning:     _g_barrel01c_01
crystalspace.engine.warning:     _g_barrel01c_02
crystalspace.engine.warning:     _g_barrel01c_03
crystalspace.engine.warning:     ...
crystalspace.engine.warning: Use -relight cmd option to refresh lighting.
Region hydlaa loaded successfully.
Requesting Actorslist!
HandleMessage: Received world

HandleMessage: Persist Message: CELPERSISTCMD_SEND_ENTITY

cel.persist.classic:   Reading entity 35 (\'Enigma\')...

cel.persist.classic: Adding PC \'pcmesh\' to Entity \'Enigma\'
./psclient: line 44: 28226 Segmentation fault      bin/psclient $@

-- /cut --

So using my own Crystal seems to be a bad idea as far as I can see. But how do I get ps to use the provided crystal-libraries? Or does it use them, but has some kind of problem with the xwin.so that is provided?

Pages: [1]