Author Topic: To acraig  (Read 894 times)

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
To acraig
« on: October 31, 2003, 10:19:03 pm »
I think nobody read this Thread because it has too many postings, maybe all think the problem is cleared but i hope u could help me please :(

http://www.planeshift3d.com/wbboard/thread.php?threadid=6153&boardid=17&styleid=3
« Last Edit: October 31, 2003, 10:19:45 pm by Cyrix »

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #1 on: October 31, 2003, 11:32:03 pm »
I would suggest checking out and following exactly these instructions. At let me know the exact step that fails.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #2 on: November 01, 2003, 02:01:36 am »
- edited and deleted -
« Last Edit: November 01, 2003, 02:30:47 am by Cyrix »

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #3 on: November 01, 2003, 02:09:45 am »
i made a psclient file in my /bin DIR:

#!/bin/sh
cd /home/hk/molblue/planeshift
export CRYSTAL=/home/hk/molblue/CS/
export CEL=/home/hk/molblue/cel/
export CSCONFPATH=$CEL
./updater
./psclient

then he loads the splash screen and the menue sound begins but then it stops and nothing happens.
« Last Edit: November 01, 2003, 02:31:22 am by Cyrix »

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #4 on: November 01, 2003, 02:24:48 am »
ok i fixed some errors. i set as root \"chown -R hk planeshift/\" and now the updater runs, give me some time to look if the game now works, lets see :)

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #5 on: November 01, 2003, 02:31:52 am »
ok, here now the last post with the errors:

[hk@mandrake hk]$ psclient
Downloading registry from http://www.planeshift.it/updater/repository.xml.
0%........25%........50%........75%......done.
No changes. Skipping MD5 check.
Remove updaterregistry.xml if you want to force an md5 test.
Shutting down...
Warning: Failed to load `cspngimg\'; use \'-verbose\' argument for details.
Warning: Failed to load `cspngimg\'; use \'-verbose\' argument for details.
block_size: 8192
Mounting maps: podium.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
crystalspace.awsprefs: Could not load image \'/planeshift/art/gui/invback.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/minimize.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/zoom.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/close.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/chkup.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/chkdn.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/chkon.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/chkoff.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/radup.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/raddn.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/radon.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/radoff.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treecol.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treeexp.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treecol.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treevl.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treehl.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treechke.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treechkf.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treegrpe.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treegrpf.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/sbup.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/sbdn.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/sbrt.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/sblt.png\'. Unknown format or wrong extension!
planeshift.application.client: psEngine initialized.
Warning: Failed to load `sndmod\'; use \'-verbose\' argument for details.
Warning: Failed to load `sndmod\'; use \'-verbose\' argument for details.
crystalspace.pluginmgr.loadplugin: WARNING: could not load plugin \'crystalspace.sound.loader.mod\'
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/broadsword01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/broadsword01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/claymore01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/claymore01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/doubleaxe01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/doubleaxe01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/doubleaxe02a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/doubleaxe02a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/falchion01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/falchion01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/falchion01b.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/falchion01b.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/falchion01c.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/falchion01c.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/galkard01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/galkard01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/jug01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/jug01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/longsword01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/longsword01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/normalaxe01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/normalaxe01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/weapons/sabre01a.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/weapons/sabre01a.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/textures/weapons/long02V01C.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/textures/weapons/long02V01C.png\', using checkerboard instead!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/textures/raindrop.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/textures/raindrop.png\', using checkerboard instead!
Loading Race Part Regions...Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
OK!
Loading RPG Data.....Loading RPG Data.....1OK!
crystalspace.maploader.parse.image: Could not load image \'/planeshift/art/buttons/iblue_u.png\'. Unknown format!
Couldn\'t create Resource \'iblue_u.png\'
Failed to initialize window \'menu\'.
Couldn\'t activate/create dialog \'menu\'
PreloadModels: Preloading complete
Total bytes sent out was 0.
Total bytes received was 0.
crystalspace.graphics3d.opengl: Peak GL texture cache size: 3.00 MB
[hk@mandrake hk]$

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #6 on: November 01, 2003, 03:25:44 am »
Ok. To me that looks like the PNG image loader plugin was not built.  Can you go to your CS dir and try:

jam -q cspngimg

and see what that reports?


Note that if you build from source you should not need to ( and probably shouldn\'t ) run the updater application.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #7 on: November 01, 2003, 12:25:30 pm »
Hi acraig,

thanks a lot for your help! :-)

---

jam -q cspngimg
don\'t know how to make cspngimg
...found 1 target(s)...
...can\'t find 1 target(s)...

---

that\'s the output.

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #8 on: November 02, 2003, 02:54:49 am »
acraig? it\'s 03:00 a.m. here in germany. please help, i\'m tired :)

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #9 on: November 02, 2003, 03:23:26 am »
Quote
Originally posted by Cyrix
acraig? it\'s 03:00 a.m. here in germany. please help, i\'m tired :)


Well, it\'s 10 pm here in Canada :).

To me this says that Crystal Space cannot build the png loader.  You should check the config.log file in the CS dir to see what that says.  For me it is:

configure:14975: checking for libpng
configure:15064: gcc -o conftest          conftest.c -lpng -lz -lm  >&5
configure:15067: $? = 0

Which shows that it can detect the libpng libraries that are needed.  You may need to download the libpng development stuff ( try searching on google for that ).  Or you can send some mail to the crystal space mailing list (   crystal-main@lists.sourceforge.net ) asking for advice on why this is not being built.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #10 on: November 02, 2003, 02:19:31 pm »
ok i try but when i look into the config.log there are many things that are not build correctly. maybe i should install crystal new. but first i try to find the dev-stuff-png thing.

here are the failre of libpng:

configure-jam:12024: checking for libpng
configure-jam:12113: gcc -o conftest   -g -O2     conftest.c -lpng -lz  >&5
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `pow\'

Cyrix

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #11 on: November 02, 2003, 03:37:09 pm »
problem fixed. i redownloaded the cvs version of crystal like in your tutorial and used

./configure
make -k all

and not \"jam\". now the character creation screen works.

NemeSys

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #12 on: December 15, 2003, 11:58:15 pm »
Hei!

I\'m new to Linux so i\'m happy i made it this far, but it\'s still not working.

I followed the Howto in this board and then i tested cs and cel like in your manual. When i start the client i get this:

[carsten@Bishop planeshift]$ ./psclient

crystalspace.canvas.glx2d: Opening GLX2D

crystalspace.canvas.glx2d: Creating Context

crystalspace.canvas.glx2d: Video driver GL/X version
crystalspace.canvas.glx2d: Visual ID: 23, 24bit TrueColorn
crystalspace.canvas.glx2d: Frame buffer: 24bit
crystalspace.canvas.glx2d: R8:G8:B8:A0,
crystalspace.canvas.glx2d: level 0, double buffered
crystalspace.canvas.glx2d: Depth buffer: 16bit
Xlib:  extension \"XFree86-DRI\" missing on display \":0.0\".
crystalspace.canvas.openglcommon: OpenGL renderer: Mesa GLX Indirect (vendor: Mesa project: http://www.mesa3d.org) version 1.3 Mesa 4.0.4
crystalspace.canvas.openglcommon: Using windowed mode at resolution 1024x768.
crystalspace.graphics3d.opengl:   Optional Clipping: NPS
crystalspace.graphics3d.opengl:   Required Clipping: 0PS
crystalspace.graphics3d.opengl:   Outer Clipping: ZP0
crystalspace.graphics3d.opengl: ... using GL_ARB_multitexture
crystalspace.graphics3d.opengl: Using multitexture extension with 6 texture units
crystalspace.graphics3d.opengl: ... using GL_ARB_texture_env_combine
crystalspace.graphics3d.opengl: ... using GL_ARB_texture_env_dot3
crystalspace.graphics3d.opengl: ... not using GL_EXT_texture_env_combine
crystalspace.graphics3d.opengl: ... not using GL_EXT_texture_env_dot3
crystalspace.graphics3d.opengl:   Maximum texture size is 2048x2048
crystalspace.graphics3d.opengl:   Super lightmaps: max_size=256x256 num=1 16 64 64
crystalspace.sound.software: Software Sound Renderer selected
crystalspace.sound.oss: SoundDriver OSS selected
block_size: 8192
crystalspace.sound.software:   Playing 44100 Hz, 16 bits, Stereo
crystalspace.sound.software:   Volume: 1
Mounting maps: dungeon podium hydlaa temple tower.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: psEngine initialized.
plugins/aws/awsmgr.cpp:621: failed assertion \'frame.xmax <= ptG2D->GetWidth() && frame.ymax <= ptG2D->GetHeight()\'
Trace/Breakpoint ausgel?st
[carsten@Bishop planeshift]$

my config.log says:

configure:12075: checking for libpng
configure:12164: gcc -o conftest    -g -O2      conftest.c -lpng -lz -lm  >&5
configure:12167: $? = 0

and if i type jam -q cspngimg, i get this:

[carsten@Bishop CS]$ jam -q cspngimg
./Jamconfig: No such file or directory
Couldn\'t find config. Please run \'configure\' first!
[carsten@Bishop CS]$

(and i did run ./configure)

do you have any idea what the problem is? my OS is redhat 9, mayby you need to know.
« Last Edit: December 15, 2003, 11:59:14 pm by NemeSys »

ntt

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #13 on: December 16, 2003, 12:56:53 am »
Okay, I may be able to throw some light on this subject. I\'ve just managed to build full source and art tarball - I had the same problem with png support. It needs to be linked with libm for various functions (including pow()) which \'configure-jam\' wasn\'t doing (although interestingly, \'configure\' was - hence why Cyrix\'s worked).

I dredged through \'configure-jam\' and \'configure-jam.ac\' but got lost in the mire and gave up trying to tell it that it needed to link with lib m, so I fudged it by setting the CFLAGS enironment variable to \'-lm\' whilst running \'configure-jam\'! It then sucessfully detected libpng and built CS with png support!. Hurrah!

So it looks like you need to tell \'configure-jam\' that libpng needs libm, but I don\'t know autoconf, so I\'ll leave you to do that one. ;)

Incidentally, you may want to change this post title to something slightly more informative!!