PlaneShift
Support => Technical Help: Problems BEFORE entering the game => Topic started by: gargoylle_ltk on June 10, 2003, 10:12:37 am
-
I managed to compile Molecular Blue under my Mandrake 9.1. The problem is that whenever I try to run the game I get a lot of errors about some .png files being invalid...I\'ll post the output so it\'s more clear:
planeshift$ ./psclient
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.sound.loader.ogg\'
Warning: Failed to load `csjngimg\'; use \'-verbose\' argument for details.
Warning: Failed to load `csjngimg\'; use \'-verbose\' argument for details.
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: 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.
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\'
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
crystalspace.pluginmgr.loadplugin: WARNING: could not load plugin \'crystalspace.sound.loader.ogg\'
LoadSound: Cannot create sound data from file \'/planeshift/art/music/gui/jingle_splash.ogg\'
Couldn\'t create Resource \'splash\'
crystalspace.maploader.parse.image: Could not load image \'/planeshift/models/malerogue_skin_01.png\'. Unknown format!
crystalspace.maploader.parse.texture: Couldn\'t load image \'/planeshift/models/malerogue_skin_01.png\', using checkerboard instead!
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/backdrop/menu17.png\'. Unknown format!
Couldn\'t create Resource \'menu17.png\'
Failed to initialize window \'menu\'.
Couldn\'t activate/create dialog \'menu\'
PreloadModels: Preloading complete
pssetup also comlains about some of these png files....
I tried it with both the graphics downloaded as described in the linux compilation guide and the graphics from the archive containing the linux binaries....
-
Have you downloaded the latest libpng?
You can download it here:
http://sourceforge.net/project/showfiles.php?group_id=5624
If you want sound I think you have to make sure that you have ogg, since it seems like it can\'t find that either.
-
It\'s not libpng...I downloaded and istalled libpng 1.2.5 and I still get the same errors....
-
all files that are mentioned are there ? Did you d/l all the art ?
Does celtst run for you ? Maybe some CS stuff wasn\'t compiled correctly...
-
It seems like CS have compiled without png. If you already have libpng, then maybe CS can\'t find it. Run configure and check if it finds libpng.
-
Ok...I think I\'m on to something here....
when I compiled CS I did it exactelly as described in the Molecular Blue Linux Installation Guide found in this forum (that is I ran configure-jam and not configure). The weird thing is that configure finds libpng while configure-jam does not.....
Does anyone know how I can work around this ? I also tried running configure-jam --with-libpng=path_to_libpng and it still doesn\'t find it....
Kundalf:
well.....I donwloaded a 87.1 MB file containing the graphics.....not shure if they\'re all there because the game seems to be loading them directly from some .zip archives......but they sould be.....and yes, celtst runs without any problems.....
-
I had the same problem. But I was able to fix it by editing the configure-jam script. By looking at the log files configure-jam was generating I found out that it doesn\'t link libpng with libm when it tries to check wheter libpng is working or not. This caused an undefined reference to \'pow()\' (for me), and thus configure-jam discards libpng. I edited the configure-jam file and made it link the test program for libpng with libm, and after this it detected libpng and everything went on smootly. Sadly, I deleted all the \"build\" directories for PS, in lack of disk space, so I don\'t have the script anymore. I can\'t really remeber what it was I changed, and as I don\'t have the script anymore, I\'m unable to check it out =(
This was the problem that I had with libpng, but ofcourse it doesn\'t have to be the same problem you have.
Sorry if this was a rather technical explanation, but it\'s all I can do at the moment.
Finally, I guess I could make a patch to fix the configure-jam file, if you guys would like one...
-
Under Debian, you need development package for libpng i.e. libpng-dev - it contains header files that the configure script looks for.
-
I had exactly the same problem on my linux from scratch : ./configure-jam was not happy with my png library because of an undefined pow symbol. The usual ./configure (that is the one that works with make) worked well for me though.