Author Topic: PS for linux  (Read 2357 times)

jagator55

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
PS for linux
« on: March 10, 2003, 05:05:35 am »
Has anyone been able to get PS to work in Mandrake Linux? I have tried the Tared packake and even tried to compile the CVS version without any luck. Any help will be appresiated.

Thanks,
Robbie

ralph-hogaboom

  • Traveller
  • *
  • Posts: 15
    • View Profile
sort of ...
« Reply #1 on: March 10, 2003, 05:19:35 am »
not in mandrake, but i (and patrickg) have been trying to get it to work in red hat 8.

http://www.planeshift3d.com/forum/thread.php?threadid=2774&boardid=17&styleid=1

so far, no such luck. what errors are you getting, and what have you tried?

ralph hogaboom

jagator55

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
I have tried everything
« Reply #2 on: March 10, 2003, 05:25:13 am »
on the CVS Version i have got everything to work until i run jam and i get alot of errors like this:
...failed C++ ./out/linuxx86/src/common/admin/adminmessage.o ...
...skipped libpsadminnet.a for lack of libpsadminnet.a(adminmessage.o)...

what kind of errors are you getting?

-Robbie

ralph-hogaboom

  • Traveller
  • *
  • Posts: 15
    • View Profile
i've tried ...
« Reply #3 on: March 10, 2003, 03:31:23 pm »
... getting the .2.6 release from sourceforge (not tried cvs yet), installing crystal space, installing cel, getting errors aboutr the xwin.so plugin. seems ps wants to use crystal space binaries inside the planeshift directory, not system-wide crystal space files.

read that link to the thread up above for more detail. i think i\'m going to try cvs.

ralph hogaboom

Chlerval

  • Traveller
  • *
  • Posts: 42
    • View Profile
Solution for problems Linux client
« Reply #4 on: March 11, 2003, 11:01:06 am »
Quote
Originally posted by ralph-hogaboom
... getting the .2.6 release from sourceforge (not tried cvs yet), installing crystal space, installing cel, getting errors aboutr the xwin.so plugin. seems ps wants to use crystal space binaries inside the planeshift directory, not system-wide crystal space files.



In the root of the PS distro are the files psclient and pssetup. They reset the env-var to the CS supplied with PS. If you remove the lines (and you have cel and CS installed propperly) that do this it should work.
I\'ve tried it myself and it worked (I also got segfaults first), I only get a segfault at character creation (but I think that\'s related to cel, because I wasn\'t able to compile cel (no jam system), I\'ll try to update cel on my system this evening).
Linux using communist; who hates windoze versions.

Chlerval

  • Traveller
  • *
  • Posts: 42
    • View Profile
(No subject)
« Reply #5 on: March 11, 2003, 07:23:35 pm »
Nope, segfault didn\'t go away.
Linux using communist; who hates windoze versions.

Atanor

  • Hydlaa Resident
  • *
  • Posts: 181
    • View Profile
(No subject)
« Reply #6 on: March 12, 2003, 01:15:12 pm »
I sucessfully compiled PS on Mandrake on LINUX (you just have to be careful with required libs and headers).  Anyway, I  am used to compile under Debian and then export binaries to MAndrake... It\'s better :)

ralph-hogaboom

  • Traveller
  • *
  • Posts: 15
    • View Profile
compiled, or compiled and successfully run the program?
« Reply #7 on: March 12, 2003, 04:48:49 pm »
did you just get it to compile, or can you run the program? did you get the .2.6 release from sourceforge, or did you grab CVS snapshot?

ralph hogaboom

Sharaz

  • Hydlaa Resident
  • *
  • Posts: 81
    • View Profile
(No subject)
« Reply #8 on: March 12, 2003, 05:25:15 pm »
I\'d like to know too....
I\'ve been trying to install the .2.6 release in debian, but I get the following problems:

1) psclient keeps looking for his libs in:
/home/bas/games/planeshift                  
,in stead of in
/home/bas/games/planeshift/libs

setting:
LD_LIBRARY_PATH=\"/home/bas/games/planeshift/libs\" didn\'t help.
Dirty Hack: cp libs/* ./
Evil, but it works.

2) psclient looks for his fonts in:
/home/bas/games/planeshift/fonts/ttf              
, but they are in:
/home/bas/games/planeshift/data/ttf
Dirty hack: mkdir fonts;cp -r data/ttf fonts
Again evil, again it works.

3) Finally I get ready to create a char, but when I finish it, I get a segfault.
Last five lines:
Loading RPG Data.....Loading RPG Data.....1OK!
PreloadModels: Preloading complete
    loading definitions file /planeshift/data/custom.def...
 load successful (1 windows, 0 skins loaded.)
./psclient: line 43: 15561 Segmentation fault      bin/psclient $@

That\'s where I\'m stuck at the moment. Got any suggestions?

*edit* Extra error I noticed:
crystalspace.maploader.parse.image: Could not open image file \'/planeshift/textures/weapons/cleaver.tga\' on VFS!
But the textures dir doesn\'t even exist. This doesn\'t seem to be the problem though.

P.S. Computer:
Pentium 933 Mhz
512 Mb Ram
Matrox G400 AGP 32 Mb
Debian GNU/Linux Sid
Kernel: 2.4.20
« Last Edit: March 12, 2003, 05:50:09 pm by Sharaz »
The two most common things in the Universe are hydrogen and stupidity. Just look at the number of Windoze users ;)
     -- Harlan Ellison (Edited by me)

--->  Join the BISM  <---

ralph-hogaboom

  • Traveller
  • *
  • Posts: 15
    • View Profile
what if ...
« Reply #9 on: March 12, 2003, 06:23:37 pm »
... the character was already created? if it\'s an error in uploading or finalizing the character, you might be able to get around it by using a character and password that were created on the windows client.

i have a friend who created just such a character for testing the game amongst our friends without creating too many surplus (throwaway) characters.

feel free to use this to login and play around.

username: Theris
password: bronze

good luck with it.

ralph hogaboom

Atanor

  • Hydlaa Resident
  • *
  • Posts: 181
    • View Profile
(No subject)
« Reply #10 on: March 12, 2003, 07:57:59 pm »
\"did you just get it to compile, or can you run the program? did you get the .2.6 release from sourceforge, or did you grab CVS snapshot? \"

I am doing both ; I am a PS dev (not the most active one  ;-p )



Sharaz: you have compiled PS yourself? If yes, then you must know that the CVs does not contain the latest maps/pics... They are only in the release package.

Sharaz

  • Hydlaa Resident
  • *
  • Posts: 81
    • View Profile
(No subject)
« Reply #11 on: March 12, 2003, 08:44:49 pm »
No, I downloaded the latest pre-compiled version (0.2.006) from sourceforge.
I just edited the scripts to point to the correct CEL and CS dirs and I did the 2 dirty hacks that I mentioned before.
The two most common things in the Universe are hydrogen and stupidity. Just look at the number of Windoze users ;)
     -- Harlan Ellison (Edited by me)

--->  Join the BISM  <---

MALIK

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #12 on: March 20, 2003, 10:17:02 pm »
oops
« Last Edit: March 20, 2003, 10:20:57 pm by MALIK »

MALIK

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #13 on: March 20, 2003, 10:19:52 pm »
Hey you guys, stop wasting your time with cvs or other methods for getting PlaneShift to work in Linux.  You see, there\'s a thing called WineX, and it\'s wonderful.  You can get it from http://www.transgaming.com/.

I have tried it with both the 2.X and 3.X beta versions and both work wonderfully.  The only hard part is finding a way to recombine the .part files you get for the windows release.  I just did that in windows and put the 80Mb installer on a CD.

PS works great like this in Linux, and it\'s by far the easiest mehod.  Have fun, and enjoy!

jagator55

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
(No subject)
« Reply #14 on: March 21, 2003, 05:09:18 am »
why do that when i have it working natively on linux. Alos. IMHO i runs better then the windows version