Author Topic: CB Linux Installer, finally done  (Read 57506 times)

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #30 on: January 15, 2005, 01:00:05 am »
Quote
Originally posted by Karosh_Steinkatz
How did you run the client? With psclient in the installation folder? That\'s wrong. Either run the psclient symlink in your home or run the client script in the planeshift folder (which is the target of the symlink). The script handles the loading of the libraries like cal3d in your case with a LD_LIBRARY_PATH export.


Ahh, well, it\'s kinda a hackjob because I didn\'t want to futz around with changing libraries in my main filesystem layout.

I have a small sh script called psrunner which just sets the LIBRARY_PATH like so:
#!/bin/sh
cd /opt/games/planeshift

export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH
$*


in planeshift/lib there is that libXxf86vm library (I put it there and made it a .so with your instructions). So, this successfully loads that up and it runs fine w/out changing or messing with libraries outside of the game.

So, I do: psrunner ./psclient (inside of the planeshift dir)
And it loads it up fine :)

I now see that \'client\' is a sh script in itself to load up PlaneShift and export some definitions.. Maybe in the next installer you can add to that script to copy the libXxf86vm file to the PlaneShift dir, run that stuff on it to make it a .so so we don\'t have to do it manually as root to play the game?

Thanks for all your work.

-r

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #31 on: January 15, 2005, 01:59:50 am »
Quote
Originally posted by meff
Ahh, well, it\'s kinda a hackjob because I didn\'t want to futz around with changing libraries in my main filesystem layout.


Why? It\'s just a shared version of the static lib. And there are some apps around that need it too.

Oh, and btw: I\'m experimenting with the PS updater. Chances are good that you can get updates for the client with it soon ;)


Back to Planeshift again \\o/

Gestas

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #32 on: January 15, 2005, 02:01:02 am »
Quote
Originally posted by Karosh_Steinkatz
Quote
Originally posted by Gestas
after installing the patch i get a segmentation fault when entering the char selection window, if i run the client using gdb i get that:

crystalspace.graphics3d.shader.fixed:
Multitexture units: moderate 4

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076326528 (LWP 13104)]
0x459cd436 in CalPhysique::calculateVertices () from ./libcal3d.so.10

any help will be welcome


Hmm this didn\'t happen yet. Can you give more info? Like running the client with -verbose and posting the output? The more the better.


i did a clean installation of the game, and after i updated it and applid the patch it worked.

thx for your great installer

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #33 on: January 15, 2005, 06:54:11 am »
New version of the installer is out! There are a couple of changes over the previous one: The previous issues should be fixed, the updater uses a seperate repository and the shell scripts to start the programs were renamed. It is recommended to revert the previous shader fix and install the new version. But undo the patch first !!!

See the first post for details.

Oh and sorry modem users, but this one will be the last installer you will need to download, all future updates will be distributed with the updater.

Ugh, I found some minor issues, but everything is fixed now. I spent the whole night on this, now have fun ;)
« Last Edit: January 15, 2005, 08:03:31 am by Karosh_Steinkatz »


Back to Planeshift again \\o/

peeg

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 560
    • View Profile
(No subject)
« Reply #34 on: January 15, 2005, 11:53:48 am »
thaks you so much for the loki-installer..... so im going to leech another ~60 MB with my modem.... 16 hours to go .... :/
[ PSde ] - Join the german community!
Peeg Chaoswind - Mentor in The Rangers Of Yliakum

confused

  • Hydlaa Citizen
  • *
  • Posts: 269
    • View Profile
(No subject)
« Reply #35 on: January 15, 2005, 01:38:46 pm »
I finally was able to connect to the game server using Linux since trying from the 25th Dec 2004.

Better late than never.

I downloading the new installer now.

Sangwa

  • Forum Addict
  • *
  • Posts: 2083
  • Chars: Morwen and Gartheiz
    • View Profile
(No subject)
« Reply #36 on: January 15, 2005, 01:54:11 pm »
Praised and blessed be Karosh ^^.

I\'m downloading the installer right now. Yay, I\'ll be finally able to play CB :P. Thanks :D.
Disclaimer: This is my opinion and I can be reasoned with. I'm probably right, though.

Join the Dark Empire!

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #37 on: January 15, 2005, 03:47:05 pm »
Many thanks on your hard work Karosh :)

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #38 on: January 15, 2005, 04:42:07 pm »
Using the new installer, I am still having the library error. I simply did:

cd /opt/games/Planeshift
cp /usr/X11R6/lib/libXxf86vm.a .
ld --whole-archive -share -o libXxf86vm.so.1 libXxf86vm.a
ln -s libXxf86vm.so.1 libXxf86vm.so

And ran, works fine.
I guess somehow the installer didn\'t detect that and make it automatically..

-r

confused

  • Hydlaa Citizen
  • *
  • Posts: 269
    • View Profile
(No subject)
« Reply #39 on: January 15, 2005, 04:54:37 pm »
I hold up a mug of ale to Karosh_Steinkatz for a job well done! May many years of good fortune come to you.

I downloaded the installer, ran it, then updated, followed by pssetup before starting the game.

NO PROBLEMS!!!! :)

Only one thing, was the Player\'s Guide manual included with the installer, can\'t seem to find it.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #40 on: January 15, 2005, 05:14:59 pm »
Quote
Originally posted by meff
Using the new installer, I am still having the library error. I simply did:

cd /opt/games/Planeshift
cp /usr/X11R6/lib/libXxf86vm.a .
ld --whole-archive -share -o libXxf86vm.so.1 libXxf86vm.a
ln -s libXxf86vm.so.1 libXxf86vm.so

And ran, works fine.
I guess somehow the installer didn\'t detect that and make it automatically..

-r


Hmm, the runs a shell script after it finished copying the files to check if the lib exists. If not, it creates it in the install dir. I will check the script.

Ok, I think I fixed it. The new installer is available for those who didn\'t download it yet. If your client is working you don\'t have to download it. It fixes only the libXxf86vm.so thingy.
« Last Edit: January 15, 2005, 05:42:19 pm by Karosh_Steinkatz »


Back to Planeshift again \\o/

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #41 on: January 15, 2005, 06:15:15 pm »
Quote
Originally posted by Karosh_Steinkatz
Ok, I think I fixed it. The new installer is available for those who didn\'t download it yet. If your client is working you don\'t have to download it. It fixes only the libXxf86vm.so thingy.


Many thanks :)

Dejari

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
(No subject)
« Reply #42 on: January 15, 2005, 06:31:34 pm »
I have the following two issues, one minor and one major. The minor one: I have constantly console messages reminding me that

\"native_blitbuffer: select error occured\"

Might be interesting for you.

The major one is that I get no sound. Neither in the game nor in the interface, neither with OpenAL nor with Software. Using psclient -verbose there are no errors regarding sound :( Soundcard volume is okay (I can actually hear sound with other apps ;) ) - don\'t know what the problem might be. I am using snd-intel8x0 with the NForce onboard sound chip.

Kind regards,

Dejari

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #43 on: January 15, 2005, 06:44:44 pm »
Quote
Originally posted by Dejari
\"native_blitbuffer: select error occured\"

Sounds like a driver thing to me. Which gfx card and driver do you use? Tried to upgrade the driver?

Quote
Originally posted by Dejari
The major one is that I get no sound. Neither in the game nor in the interface, neither with OpenAL nor with Software. Using psclient -verbose there are no errors regarding sound :( Soundcard volume is okay (I can actually hear sound with other apps ;) ) - don\'t know what the problem might be. I am using snd-intel8x0 with the NForce onboard sound chip.


Hmm, not sure what is wrong here. Can you run the client with -verbose again and post the output?


Back to Planeshift again \\o/

Dejari

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
(No subject)
« Reply #44 on: January 15, 2005, 07:16:23 pm »
Quote
Originally posted by Karosh_Steinkatz
Sounds like a driver thing to me. Which gfx card and driver do you use?
Tried to upgrade the driver?

It\'s a GeForce 4600 with the latest Nvidia driver.
The error does not affect gameplay (by my perception) in any way, though.

Quote

Hmm, not sure what is wrong here. Can you run the client with -verbose again and post the output?

The driver is buggy. Just noticed mplayer doesn\'t get along with it either (to explain this: I just started using the nforce soundchip yesterday). Sorry for the \"false negative\", Karosh.

Dejari