PlaneShift

Gameplay => Newbie Help (Start Here) => Topic started by: DarK FlameS on October 26, 2004, 10:41:24 pm

Title: Install on linux
Post by: DarK FlameS 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?
Title:
Post by: Wampas 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.
Title:
Post by: theRealGorbulas 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)


Cel(also old)


Planeshift(finaly)


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.
Title:
Post by: DarK FlameS 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?
Title:
Post by: theRealGorbulas 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.