Author Topic: Totaly black textures on Gentoo Linux  (Read 614 times)

Ginjeet

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Totaly black textures on Gentoo Linux
« on: January 09, 2006, 08:54:49 pm »
Hi, just built PS under Gentoo with Easy PS:

./psrun psclient
Executing command: ./psclient
SCF_ERROR: metadata retrieval error for /home/ginjeet/Planeshift/binaries/planeshift/pssound.so: Warning: /home/ginjeet/Planeshift/binaries/planeshift/pssound.so has embedded data and .csplugin file, using embedded.

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
All LOGS are off.
Mounting skin: /this/art/skins/default.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip

LoadSound
:
  Cannot create sound data from file \'/planeshift/art/sounds/gui/next.wav\'
Couldn\'t create Resource \'sound.standardButtonClick\'
  Cannot create sound data from file
  \'/planeshift/art/sounds/gui/bttn_toolbar.wav\'
Couldn\'t create Resource \'gui.toolbar\'
  Cannot create sound data from file
  \'/planeshift/art/sounds/gui/bttn_cancel.wav\'
Couldn\'t create Resource \'gui.cancel\'
  Cannot create sound data from file \'/planeshift/art/sounds/gui/bttn_ok.wav\'
Couldn\'t create Resource \'gui.ok\'
  Cannot create sound data from file
  \'/planeshift/art/sounds/gui/bttn_scrolldown.wav\'
Couldn\'t create Resource \'gui.scrolldown\'
  Cannot create sound data from file
  \'/planeshift/art/sounds/gui/bttn_scrollup.wav\'
Couldn\'t create Resource \'gui.scrollup\'
  Cannot create sound data from file
  \'/planeshift/art/sounds/gui/bttn_shortcut.wav\'
Couldn\'t create Resource \'gui.shortcut\'
  Cannot create sound data from file \'/planeshift/art/sounds/gui/bttn_quit.wav\'
Couldn\'t create Resource \'gui.quit\'

planeshift.application.client:
  psEngine initialized.
Creating psnetconnection 0xb85de0!
Using fontsize 16 for resolution 1024x768

crystalspace.engine.warning:
  Lightmaps are not up to date (lightmap format changed).
  Use -relight cmd option to calc lighting.
Creating psnetconnection 0x3529930!
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  4 (X_DestroyWindow)
  Resource id in failed request:  0x1e00004
  Serial number of failed request:  121
  Current serial number in output stream:  123

The game runs OK, but some textures (like the grass of the magicshop, some textures in underworld) are black. Of course updating doesnt work.
Any ideas ?

Thanks,
Ginjeet

Tharizdun

  • Hydlaa Resident
  • *
  • Posts: 168
    • View Profile
(No subject)
« Reply #1 on: January 10, 2006, 04:47:27 am »
I\'m not quite sure what \'Easy PS\' is, I\'m assuming this is something that you have compiled from source as no self-respecting Gentoo\'er would accept  any less :)

http://laanx.fragnetics.com/index.php?page=build_gentoo has a good building guide. Most crucial in this process is picking the right CVS timestamps to use for cal3d/crystalspace/cel and planeshift. Too new and there will be newer bugs introduced which make the source unbuildable or fatally busted in some way. Too old and components might have needed features missing or API differences. The ones on the Laanx server are known to work, and should be good until the server version is updated beyond 0.3.012 and you therefore will need to rebuild the client with newer code to match ( otherwise you will get the dreaded \'you are not running the correct version\' error )

Missing textures sounds a lot like a missing art error though. If you have run the updater recently then theres not much more you can do to correct the issue unfortunately.

Maybe an AMD64/linux specific problem?

Ginjeet

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
RE
« Reply #2 on: January 10, 2006, 11:40:18 am »
Quote
Originally posted by Tharizdun
I\'m not quite sure what \'Easy PS\' is, I\'m assuming this is something that you have compiled from source as no self-respecting Gentoo\'er would accept  any less :)

Maybe an AMD64/linux specific problem?


Well Easy PS stands for Easy PlaneShift build script (http://laanx.fragnetics.com/index.php?page=linux)

And I hope it\'s not an AMD64/Linux specific problem. :)

Wired_Crawler

  • Hydlaa Citizen
  • *
  • Posts: 429
    • View Profile
(No subject)
« Reply #3 on: January 10, 2006, 08:18:47 pm »
Hello, Ginjeet.

I think the answer for Your question is here:
Quote
Lightmaps are not up to date (lightmap format changed).
Use -relight cmd option to calc lighting.
Usuallty all objects without up-to-date lightmaps are black. If You have compiled current cvs version, probably you need to relight maps (for example by using relight panel in pssetup). Alternatively add -fullbright option to command line, lightmaps will not be used, but there will be no shadows etc. Try -fullbright option first to exclude other reasons, because relighting is a very lengthy process.
"Close the world, txEn eht nepO."