Author Topic: [ubuntu] Failed to launch psclient game.  (Read 1371 times)

edgepoly

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
[ubuntu] Failed to launch psclient game.
« on: February 02, 2010, 05:22:07 am »
I built this game client from source code step by step with official document.
(See https://planeshift.svn.sf.net/svnroot/planeshift/trunk/docs/compiling.html)

when I tried to launch the ps client with following command, but it failed.
Here is the detail information.

Can anybody here can help me?
Thanks a lot.



Error log information:

tiger@tiger-laptop:/work/maxwit/work/planeshift-dev/planeshift/trunk$ ./psclient -cfgset=PlaneShift.UserConfigPath=$HOME/.PlaneShift2

WARNING: Logging before InitGoogleLogging() is written to STDERR
I0202 12:21:12.084931 20540 libcurl_wrapper.cc:57] LibcurlWrapper init succeeded
Your configuration files are in... /home/tiger/.PlaneShift2
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)

crystalspace.syntax.shadervariable:
  Texture '/lib/std/shadow_noise.png' not found.
  [node: shadervars,shadervar(name=tex shadow noise)]
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
NVIDIA: Direct rendering failed; attempting indirect rendering.
  Indirect rendering may indicate a flawed OpenGL setup if you run on a local
  X server.

planeshift.application.client:
  PlaneShift Arcane Chrysalis (0.5.1.1)
  This game uses Crystal Space Engine created by Jorrit and others
  1.9.77.1015 [Unix-x86(32)-GCC]
Tue Feb  2 12:21:13 2010, <src/client/sound/pssoundmngr.cpp:268 Setup SEVERE>
Tue Feb  2 12:21:13 2010, Couldn't load Soundlib!
  Warning: Cannot initialize SoundManager
Tue Feb  2 12:21:13 2010, LOG_ANY flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_WEATHER flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_SPAWN flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_CELPERSIST flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_PAWS flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_GROUP flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_CHEAT flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_LINMOVE flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_SPELLS flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_NEWCHAR flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_SUPERCLIENT flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_EXCHANGES flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_ADMIN flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_STARTUP flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_CHARACTER flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_CONNECTIONS flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_CHAT flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_NET flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_LOAD flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_NPC flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_TRADE flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_SOUND flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_COMBAT flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_SKILLXP flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_QUESTS flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_SCRIPT flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_MARRIAGE flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_MESSAGES flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_CACHE flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_PETS flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_USER flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_LOOT flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_DUELS flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, LOG_TRIBES flag deactivated with no filter.
Tue Feb  2 12:21:13 2010, All LOGS are off.
Mounting skin: /this/art/skins/default.zip
Tue Feb  2 12:21:13 2010, <src/common/util/psxmlparser.cpp:282 ParseFile SEVERE>
Tue Feb  2 12:21:13 2010, Could not find file: /paws/temp_skin/skin.xml
Tue Feb  2 12:21:13 2010, <src/common/paws/pawsmanager.cpp:348 LoadSkinDefinition SEVERE>
Tue Feb  2 12:21:13 2010, Could not read skin.xml on /this/art/skins/default.zip!
Tue Feb  2 12:21:13 2010, <src/common/paws/pawsmanager.cpp:138 PawsManager SEVERE>
Tue Feb  2 12:21:13 2010, Failed to load skin /this/art/skins/default.zip!
AL lib: ALc.c:1368: exit(): closing 1 Device
AL lib: ALc.c:1345: alcCloseDevice(): destroying 1 Context

tiger@tiger-laptop:/work/maxwit/work/planeshift-dev/planeshift/trunk$





Rhumdor

  • Game Masters
  • Traveller
  • *
  • Posts: 38
    • View Profile
Re: [ubuntu] Failed to launch psclient game.
« Reply #1 on: February 02, 2010, 06:04:19 am »
Hmm, the skin may just need to be set.  Run ./pslaunch, go to Settings and under Current Skin, switch that to elves, should be at the top.  I don't think default comes with the client anymore, you need to select elves, or rename elves to default.  You might be good to go after that, but joining channel #planeshift-build in IRC may be a good place to ask about the compiling part if you still have some issues.  Good luck.

edgepoly

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: [ubuntu] Failed to launch psclient game.
« Reply #2 on: February 02, 2010, 06:44:49 am »
Thanks a lot.

I tried it with your advice. But failed it again.

See following log information.


Log:

tiger@tiger-laptop:/work/maxwit/work/planeshift-dev/planeshift/trunk$ ./pslaunchChecking for updates to the updater: WARNING: Texture '/lib/std/shadow_noise.png' not found.
[node: shadervars,shadervar(name=tex shadow noise)]
Opening GLX2D
Creating Context
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
NVIDIA: Direct rendering failed; attempting indirect rendering.
Video driver GL/X version (indirect renderer)
Indirect rendering may indicate a flawed OpenGL setup if you run on a local X server.
Visual ID: 0x00000024, 24bit TrueColor
R8:G8:B8:A8,
level 0, double buffered
NOTIFY: Applied: NVidia: GENERATE_MIPMAPS does not generate last level
NOTIFY: OpenGL renderer: GeForce 8400M GS/PCI/SSE2 (vendor: NVIDIA Corporation) version 2.1.2 NVIDIA 173.14.20
NOTIFY: Using windowed mode at resolution 1024x768.
NOTIFY: Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 48 AccumAlpha: 16 MultiSamples: 0
Mounting skin: /planeshift/art/pslaunch.zip
Tue Feb  2 13:41:29 2010, <src/common/util/psxmlparser.cpp:282 ParseFile SEVERE>
Tue Feb  2 13:41:29 2010, Could not find file: /paws/temp_skin/skin.xml
Tue Feb  2 13:41:29 2010, <src/common/paws/pawsmanager.cpp:348 LoadSkinDefinition SEVERE>
Tue Feb  2 13:41:29 2010, Could not read skin.xml on /planeshift/art/pslaunch.zip!
Tue Feb  2 13:41:29 2010, <src/common/paws/pawsmanager.cpp:138 PawsManager SEVERE>
Tue Feb  2 13:41:29 2010, Failed to load skin /planeshift/art/pslaunch.zip!
tiger@tiger-laptop:/work/maxwit/work/planeshift-dev/planeshift/trunk$

weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: [ubuntu] Failed to launch psclient game.
« Reply #3 on: February 02, 2010, 07:31:43 am »
you miss the official art

edgepoly

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: [ubuntu] Failed to launch psclient game.
« Reply #4 on: February 02, 2010, 07:41:23 am »
Yes I think.

I get the source code from sourceForge website.

svn co https://planeshift.svn.sourceforge.net/svnroot/planeshift planeshift

So there is an "art" directory in planeshift development project.
But I don't know how to use it?

Any one who can help me?

Or Who can provide me a detail guide to build planeshift game from the source level.

Thanks a lot.



weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: [ubuntu] Failed to launch psclient game.
« Reply #5 on: February 02, 2010, 08:13:52 am »
you need to get the art with pslaunch or an official distribution client