Hello.
I have installed CS and am pretty sure it is installed correctly because I can run the Crystal Space examples. I am on a linux computer and have built cel sucessfully with the following:
./configure --prefix=$HOME/sandbox (I am using sandbox for now because i don't yet want to install it permanently - once it works, I'll put it in a permanent place)
jam
jam install
export CEL=$HOME/sandbox/lib/cel-1.2/
my CrystalSpace variables are:
CRYSTAL=/usr/lib/crystalspace-1.2/
CRYSTAL_CONFIG=/etc/crystalspace-1.2.1
CRYSTAL_PLUGIN=/usr/lib/crystalspace-1.2.1
Now, when I go to $HOME/sandbox/bin, run celstart, and select castle.celzip from the menu (I downloaded it and put it there), I get the following messages:
cel.initializer:
Couldn't find vfs.cfg!
crystalspace.canvas.openglcommon:
Could not open driver database file '/config/gldrivers.xml'
crystalspace.engine.warning:
Default shader /shader/std_lighting.xml not available
Default shader /shader/std_lighting_portal.xml not available
crystalspace.font.freefont2:
Could not open fontfile *large!
Start '/home/collin/sandbox/bin/./castle.celzip'!
PYTHONPATH: /home/collin/sandbox/bin/./castle.celzip
DEBUG: Sound System Software Renderer Initializing...
crystalspace.pluginmgr.loadplugin:
could not load plugin 'cel.physicallayer'
could not load plugin 'cel.persistence.classic'
could not load plugin 'cel.celconsole'
cel.initializer:
Couldn't find vfs.cfg!
crystalspace.pluginmgr.loadplugin:
failed to initialize plugin 'crystalspace.device.joystick.linux'
crystalspace.application.celstart: CEL physical layer missing!
If I do celstart castle.celzip, I get the following messages:
./celstart castle.celzip
Start realpath='castle.celzip' path='/tmp/celstart' configname='/tmp/celstart/celstart.cfg'
PYTHONPATH: castle.celzip
DEBUG: Sound System Software Renderer Initializing...
cel.initializer:
Couldn't find vfs.cfg!
crystalspace.pluginmgr.loadplugin:
failed to initialize plugin 'crystalspace.device.joystick.linux'
crystalspace.canvas.openglcommon:
Could not open driver database file '/config/gldrivers.xml'
crystalspace.engine.warning:
Default shader /shader/std_lighting.xml not available
Default shader /shader/std_lighting_portal.xml not available
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/spark.png' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'spark', using checkerboard instead
[node: world,textures,texture(name=spark)]
crystalspace.cel.physicallayer:
Property class factory name 'cel.pcfactory.pccommandinput' is deprecated!
Use 'cel.pcfactory.input.standard' instead.
Property class factory name 'cel.pcfactory.defaultcamera' is deprecated! Use
'cel.pcfactory.camera.old' instead.
Property class factory name 'cel.pcfactory.actormove' is deprecated! Use
'cel.pcfactory.move.actor.standard' instead.
Property class factory name 'cel.pcfactory.mesh' is deprecated! Use
'cel.pcfactory.object.mesh' instead.
Property class factory name 'cel.pcfactory.linmove' is deprecated! Use
'cel.pcfactory.move.linear' instead.
Property class factory name 'cel.pcfactory.colldet' is deprecated! Use
'cel.pcfactory.object.mesh.collisiondetection' instead.
Property class factory name 'cel.pcfactory.zonemanager' is deprecated! Use
'cel.pcfactory.world.zonemanager' instead.
Property class factory name 'cel.pcfactory.properties' is deprecated! Use
'cel.pcfactory.tools.properties' instead.
crystalspace.maploader:
Unable to open shader file '/shader/parallaxAtt/parallaxAtt.xml'!
Unable to open shader file '/shader/ambient.xml'!
Unable to open shader file '/shader/std_lighting.xml'!
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/castle-detail1_d.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'castle-detail1_d.jpg', using checkerboard instead
[node: world,textures,texture(name=castle-detail1_d.jpg)]
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/castle-detail1_h.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'BUMPcastle-detail1_h.jpg', using checkerboard instead
[node: world,textures,texture(name=BUMPcastle-detail1_h.jpg)]
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/castle-detail1_n.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'BUMPcastle-detail1_n.jpg', using checkerboard instead
[node: world,textures,texture(name=BUMPcastle-detail1_n.jpg)]
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/wall-stone_2_d.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'wall-stone_2_d.jpg', using checkerboard instead
[node: world,textures,texture(name=wall-stone_2_d.jpg)]
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/wall-stone2_2_d.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'wall-stone2_2_d.jpg', using checkerboard instead
[node: world,textures,texture(name=wall-stone2_2_d.jpg)]
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/cobblestone_h.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'BUMPcobblestone_h.jpg', using checkerboard instead
[node: world,textures,texture(name=BUMPcobblestone_h.jpg)]
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/cobblestone_n.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'BUMPcobblestone_n.jpg', using checkerboard instead
[node: world,textures,texture(name=BUMPcobblestone_n.jpg)]
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/wall-stone2_h.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'BUMPwall-stone2_h.jpg', using checkerboard instead
[node: world,textures,texture(name=BUMPwall-stone2_h.jpg)]
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/wall-stone2_n.jpg' on VFS!
...... A whole bunch of similar messages .....
crystalspace.maploader.parse.image:
Could not open image file '/lib/std/castle/marble_blue.jpg' on VFS!
crystalspace.maploader.parse.texture:
Could not load texture 'marble_blue.jpg', using checkerboard instead
[node: world,textures,texture(name=marble_blue.jpg)]
crystalspace.maploader.parse.loadingfile: Error opening file '/shader/std_rloop_diffuse.xml'!
crystalspace.maploader.parse.loadingfile: [node: world,addon,paramsfile]
cel.pcworld.zonemanager: PointMesh failed!
Segmentation fault
Could someone please give an actual step by step of how to make this work - where files need to be, etc? It appears, for example that it is trying to reference vfs.cfg which is in $HOME/sandbox/etc/cel-1.2.
Also, how do you tell it to look for things like gldrivers.xml, which on my computer are located in /etc/crystalspce-1.2/
It really appears I am just having environment problems, but the documentation for all this is a little lacking. How do I tell it where to find everything?
Thanks!
-C