Author Topic: crystalspace.syntax.badtoken: Unexpected token 'conditions'!  (Read 620 times)

mubs

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
So this is the error :

Code: [Select]
[choupinet mubs # /usr/games/bin/planeshift-setup
crystalspace.syntax.badtoken:  Unexpected token 'conditions'!
[node: gldriverdb,rules,rule,conditions,conditions]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/snippets/cg-base.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/lighting/cg-light-classic.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/surface/cg-surface-classic.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/fog/cg-sectorfog.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),technique(priority=150),?Include /shader/snippets/std_lighting-pass.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,?Include snippets/fog-mappings.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,vp,fixedvp,?Include snippets/fog-fvp.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,fp,fixedfp,?Include snippets/fog-ffp.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=50),?Include snippets/fog-pass.inc ?]
Mounting skin: /planeshift/art/apps.zip
Skipping 'YesNo' because it's already loaded
/usr/games/bin/planeshift-setup: line 15:  5832 Segmentation fault      ./pssetup $@


choupinet mubs # /usr/games/bin/planeshift
WARNING: could not load plugin 'crystalspace.sndsys.renderer.software'
WARNING: could not load plugin 'crystalspace.sndsys.element.loader'
crystalspace.syntax.badtoken:  Unexpected token 'conditions'!
[node: gldriverdb,rules,rule,conditions,conditions]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/snippets/cg-base.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/lighting/cg-light-classic.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/surface/cg-surface-classic.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/fog/cg-sectorfog.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),technique(priority=150),?Include /shader/snippets/std_lighting-pass.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,?Include snippets/fog-mappings.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,vp,fixedvp,?Include snippets/fog-fvp.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,fp,fixedfp,?Include snippets/fog-ffp.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=50),?Include snippets/fog-pass.inc ?]

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
  No iSoundManager plugin!
  Failed to init app!

I use gentoo and Crystal Space Engine is instaled on my pc (latest version but no cvs)

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Re: crystalspace.syntax.badtoken: Unexpected token 'conditions'!
« Reply #1 on: July 26, 2006, 04:06:25 pm »
Planeshift works only with latest CrystalSpace/CEL SVN versions. Your latest Gentoo ebuild is probably way too old (seems to be from August 2005).

See the Compiling Guide for exact SVN revision numbers. If you are using the PlaneShift binary install, unset CRYSTAL, CS and CEL variables before running PlaneShift.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

mubs

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: crystalspace.syntax.badtoken: Unexpected token 'conditions'!
« Reply #2 on: July 26, 2006, 06:49:36 pm »
Thanks, I think i'll try the binary version later  :D