Author Topic: Install on linux  (Read 1024 times)

DarK FlameS

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Install on linux
« on: October 26, 2004, 10:41:24 pm »
I\'ve triyed the linux instalation and get this..

dark-debian:/home/darkflames/downloads/planeshift# sh psclient
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
Warning: Failed to load `cspngimg\'; use \'-verbose\' argument for details.
Warning: Failed to load `cspngimg\'; use \'-verbose\' argument for details.
aws-debug: Couldn\'t find iGraphics2D plugin!!
psclient: No 3d driver (iGraphics3D) plugin!
dark-debian:/home/darkflames/downloads/planeshift#


someone know how may I proceed?

Wampas

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #1 on: October 27, 2004, 02:05:34 am »
Maybe this

http://icarus.uic.edu/~ssenne1/

will help you..

I have AMD Duron 1100 with 512 sdram and Geforce2MX, on Gentoo box with nvidia drivers up to date and working, with gentoo kernel 2.4.26-r9

i installed on gentoo after updating portage tree :
#emerge planeshift
#emerge crystalspace (no clue if it helps here)

Then :
#cd /opt/planeshift
#/opt/planeshift/pssetup -w
then changed rendered to software like suggested in another thread, and 800x600 and 16 bits.

Then i run the client. It works, but i have incredible lag in game. Well, looks like freezes, like if i had 2 FPS....
I tried the rendered opengl option, it is same (it only changes the textures, but it is 2 fps still !).

And i have no clue what to changed to make it work properly. However, it doesnt crash or anything, it is just this 2FPS thing that make it unplayable !:(

Maybe i will try with 8 bit, however 800x600 16 bit is very low even for a my low end comp.
« Last Edit: October 27, 2004, 03:27:03 am by Wampas »

theRealGorbulas

  • Hydlaa Resident
  • *
  • Posts: 140
    • View Profile
(No subject)
« Reply #2 on: October 27, 2004, 07:35:51 am »
Make sure that you have the OpenGL libraries installed on your computer. Are you using the precompiled version? Try building it from source. Do NOT use the CVS checkout to get your source code, because there is some missing code that blocks /spawn from functioning.
My instructions(mostly derived from the Gentoo ebuilds):
Crystal Space(must be an old version)
    [*]Get the source from http://gentoo.osuosl.org/gentoo/crystalspace-20030413.tar.gz (or other mirror)
    [*]Extract(tar xzf crystalspace-20030413.tar.gz)
    [*]Change to the new CS folder(cd CS)
    [*]Run \"./configure --prefix=/opt/crystalspace\"(or other directory, but you need to remember it for later)
    [*]Run \"make all\"
    [*]As a super user(root), run \"make install\"
    [*]Run \"ln -s /opt/crystalspace/bin/cs-config /usr/bin/cs-config\"
    [*]Add \'CRYSTAL=\"/opt/crystal\"\' to /etc/env.d/90crystalspace (!may be different on Debian!)
    [/list]

    Cel(also old)
      [*]Get the source from http://gentoo.osuosl.org/gentoo/cel-20030413.tar.gz (or other mirror)
      [*]Extract(tar xzf cel-20030413.tar.gz)
      [*]Change to the new cel folder(cd cel)
      [*]Apply the CEL patch from the bottom of this message(paste in file, \"patch -p1 < (patch file)\")
      [*]Run \"./autogen\"
      [*]Run \'env PATH=\"/opt/crystal/bin:${PATH}\" ./configure --prefix=/opt/crystal --with-cs-prefix=/opt/crystal\'
      [*]Run \"jam\"
      [*]Run \'sed -i -e \"s:/usr/local/cel:/opt/crystal:g\" cel.cex\'
      [*]As a super user(root), run \"jam -sFILEMODE=0644 -sEXEMODE=0755 -sprefix=/opt/crystal install\"
      [/list]

      Planeshift(finaly)
        [*]Get the source from http://gentoo.osuosl.org/gentoo/planeshift-0.2.010.tar.gz (or other mirror)
        [*]Extract(tar xzf planeshift-0.2.010.tar.gz)
        [*]Change to the new planeshift folder(cd planeshift)
        [*]Apply the PS patch from the bottom of this message(paste in file, \"patch -p1 < (patch file)\")
        [*]Run \'env -uCEL -uCSCONFPATH CEL=/opt/crystal CSCONFPATH=/opt/crystal ./configure --prefix=/opt/planeshift --with-cs-prefix=/opt/crystal --disable-jamtest\'
        [*]Run \"jam\"
        [*]Run \"rm -rf src mk config* ac* Jam* install-sh mkinstalldirs missing autogen.sh depcomp Makefile.* ltmain.sh out support include\"
        [*]Save the Planeshift script from the bottom of the message to this location.
        [*]Make it executable(chmod a+x)
        [*]Change to the parent directory(cd ..)
        [*]Make sure that /opt/planeshift does NOT exist
        [*]As a super user(root), move the entire planeshift folder to /opt/planeshift(mv planeshift /opt/planeshift)
        [/list]

        Change permissions(optional)
        To get password storing, you will need to change the permissions on the /opt/planeshift/planeshift.cfg. Run \"chown (username) /opt/planeshift/planeshift.cfg\" and \"chmod u+w /opt/planeshift/planeshift.cfg\" as the super user.

        CEL patch
        Quote
        diff -ur celorig/Jamrules.in cel/Jamrules.in
        --- celorig/Jamrules.in 2003-02-24 18:13:13.000000000 +0100
        +++ cel/Jamrules.in 2003-05-03 14:41:11.000000000 +0200
        @@ -6,6 +6,7 @@
         PYTHON_LIBS = \"@PYTHON_LIBS@\" ;
         PYTHON_CFLAGS = \"@PYTHON_CFLAGS@\" ;
         
        +Cc = @CC@ ;
         C++ = @CXX@ ;
         LINK = $(C++) ;
         
        @@ -13,13 +14,13 @@
         C++FLAGS += $(CRYSTAL_C++FLAGS) ;
         LINKLIBS += $(CRYSTAL_LIBS) ;
         
        -prefix = \"@prefix@\" ;
        -exec_prefix = \"@exec_prefix@\" ;
        -libdir = \"@libdir@\" ;
        -plugindir = \"@libdir@/cel\" ;
        -csconfdir = \"@bindir@\" ;
        -bindir = \"@bindir@\" ;
        -includedir = \"@includedir@\" ;
        +prefix ?= \"@prefix@\" ;
        +exec_prefix ?= \"@exec_prefix@\" ;
        +libdir ?= \"@libdir@\" ;
        +plugindir ?= \"@libdir@/cel\" ;
        +csconfdir ?= \"@bindir@\" ;
        +bindir ?= \"@bindir@\" ;
        +includedir ?= \"@includedir@\" ;
         
         C++FLAGS += \"-DLIBDIR=\'\\\"$(plugindir)/\\\"\'\" ;
         


        PS patch
        Quote
        --- planeshift/src/server/psdatabase.cpp~ 2003-12-16 18:05:24.000000000 +0000
        +++ planeshift/src/server/psdatabase.cpp 2003-12-16 18:03:23.000000000 +0000
        @@ -2371,7 +2371,8 @@
             int epos = questName.FindSubStringReverse(sep, questName.Length());
         
             csString temp (\"\");
        -    temp.Append(questName + spos, epos-spos);
        +    sprintf ( buffer, \"%s%d\", eventName, spos );
        +    temp.Append( buffer, epos-spos);
             printf(\"InsertQuestEvent quest name: %s\", temp.GetData());
         
             csString command( \"\" );


        planeshift
        Quote
        #!/bin/sh
        export CRYSTAL=/opt/crystal
        export CEL=/opt/crystal
        cd /opt/planeshift
        exec ./psclient ${@}


        I think that is how to do it. Somebody correct me if I am wrong.

        DarK FlameS

        • Wayfarer
        • *
        • Posts: 2
          • View Profile
        (No subject)
        « Reply #3 on: October 27, 2004, 11:25:25 am »
        tnx u all for support....

        after install cvs (aptitude install cvs on debian) I was doind the process, and get this...

        darkflames@dark-debian:~$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal login
        Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/crystal
        CVS password:
        cvs login: warning: failed to open /home/darkflames/.cvspass for reading: No such file or directory
        darkflames@dark-debian:~$

        how may  I proceed now?

        theRealGorbulas

        • Hydlaa Resident
        • *
        • Posts: 140
          • View Profile
        (No subject)
        « Reply #4 on: October 28, 2004, 12:50:03 am »
        It should be fine to continue after such an error, because .cvspass is fro storing cvs passwords that you use, and is not really important. I would advise against using CVS to build MB since nothing has changed, the new Crystal Space is incompatible with MB, and the MB CVS is missing some code.