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

Aravi

  • Hydlaa Resident
  • *
  • Posts: 70
    • View Profile
(No subject)
« Reply #15 on: January 14, 2005, 11:07:24 am »
Using a small shellscript, I get the following list of missing art:
art/backdrop/view.png
art/backdrop/defense.png
art/backdrop/normal.png
art/backdrop/fulldefense.png
art/backdrop/defense_active.png
art/backdrop/fulldefense_active.png
art/backdrop/bloody.png
art/backdrop/aggressive_active.png
art/backdrop/bloody_active.png
art/backdrop/aggressive.png
art/things/food.zip
art/sounds/char
art/sounds/magic
art/sounds/weather

Nothing in there appears likely to be the cause of our troubles. Copying files across doesn\'t appear to fix the issue.

Here\'s a copy of the script used, it\'s quite simple but it might be useful.

Code: [Select]
#!/bin/sh

for i in `find art`; do
  if [ ! -e /usr/local/games/Planeshift/$i ]; then
    echo $i
  fi
done
« Last Edit: January 14, 2005, 11:08:59 am by Aravi »

Aravi

  • Hydlaa Resident
  • *
  • Posts: 70
    • View Profile
Additional
« Reply #16 on: January 14, 2005, 11:43:59 am »
Aha!

At the end of psclient.cfg, it contains a set of paths to various files.

Note that the paths are of the form /this/*, changing them to point to the Planeshift directory appears to make some progress.

Doesn\'t get me all the way, but may be helpful to the rest of you.

I now get a segfault, backtrace below.

Code: [Select]
#0  0x08073678 in csArrayCmp::DefaultCompare ()
#1  0x0815301a in csStringArray::CaseSensitiveCompare ()
#2  0x0815319d in csStringArray::CaseSensitiveCompare ()
#3  0x08152244 in csStringArray::CaseSensitiveCompare ()
#4  0x08071eaa in csArrayCmp::DefaultCompare ()
#5  0x40169e33 in __libc_start_main () from /lib/tls/libc.so.6
#6  0x0804d0d1 in ?? ()


And

psclient -verbose terminates at:
crystalspace.graphics3d.shadercompiler.xmlshader:
  Shader std_lighting: 8 variations
  Shader std_lighting_portal: unvarying
Segmentation fault
« Last Edit: January 14, 2005, 12:24:10 pm by Aravi »

Dejari

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
(No subject)
« Reply #17 on: January 14, 2005, 01:06:31 pm »
Quote
Originally posted by Aravi
I now get a segfault, backtrace below.


Same problem here...

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #18 on: January 14, 2005, 04:02:52 pm »
The strange thing is that it definately worked on my 2 linux comps before, but now I have the same issue. I\'m rebuilding the client now to see if the one in the installer is out of date.

Edit: typo *sigh*
« Last Edit: January 14, 2005, 04:06:10 pm by Karosh_Steinkatz »


Back to Planeshift again \\o/

confused

  • Hydlaa Citizen
  • *
  • Posts: 269
    • View Profile
(No subject)
« Reply #19 on: January 14, 2005, 04:20:43 pm »
When the new installer is available, can be install it over the current installation as not to download the art content again via the updater?

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #20 on: January 14, 2005, 04:41:43 pm »
The current installer does not allow you to install the same version again, but I think I will enable that on the new one. I\'m recompiling everything now, so stay tuned.


Back to Planeshift again \\o/

Aravi

  • Hydlaa Resident
  • *
  • Posts: 70
    • View Profile
(No subject)
« Reply #21 on: January 14, 2005, 05:10:22 pm »
I may have been mistaken regarding the paths thing.

It appears that the VFS module maps a special directory called this, which is set in vfs.cfg (it appears to use a special sequence - probably \'current directory\').

Well, it would appear the issue is either missing art or 3d renderer failure. Given that the only art that displays is the 2d menues and overlays, it could well be a renderer issue.

EDIT: More info,  read Krogars post in this thread:
http://www.planeshift3d.com/wbboard/thread.php?threadid=13490&boardid=17
Indeed, what we see if we get into the game IS a HOM (Hall Of Mirrors) effect. The new shaders can be obtained from the latest Crystalspace CVS.

And indeed, it works :D !!!
« Last Edit: January 14, 2005, 05:49:26 pm by Aravi »

peeg

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 560
    • View Profile
(No subject)
« Reply #22 on: January 14, 2005, 05:49:36 pm »
OMG, please try to develop a *patch* for your installer.
i just use a stone-age modem connection and downloading the 50 MB took me ***AGES***.
[ PSde ] - Join the german community!
Peeg Chaoswind - Mentor in The Rangers Of Yliakum

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #23 on: January 14, 2005, 06:46:00 pm »
Thanks for the hint, Avari. Here is the patch: http://ftp://mortalsaviour.de/cb-patch.tar.bz2
download it, copy it to your data/shader folder and extract it with: tar xvjf cb-patch.tar.bz2

Oh, and a new installer for those who haven\'t downloaded it yet will be uploaded soon.
« Last Edit: January 14, 2005, 06:51:10 pm by Karosh_Steinkatz »


Back to Planeshift again \\o/

confused

  • Hydlaa Citizen
  • *
  • Posts: 269
    • View Profile
(No subject)
« Reply #24 on: January 14, 2005, 07:31:25 pm »
Yep, there is a problem with the GUI version of Updater.

Finished update, applied the above patch.

Now when I login, I get error of no character model appearing for character. Also happen when I try to create another character when I select a race.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #25 on: January 14, 2005, 08:51:25 pm »
Have you applied the patch after or before you updated? Because the updater will overwrite the files again when you run it. The new installer has now the patch included as write protected files, so the updater won\'t overwrite them. To do the same after you downloaded the patch, run:
chmod -R 0555 *
in your /data/shader folder.

And yes, the updater is slow. I told Androgos a few times before, but he didn\'t do anything yet. It\'s working properly according to him *shrugs* Just run it with -auto for now.


Back to Planeshift again \\o/

Gestas

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #26 on: January 14, 2005, 09:45:18 pm »
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

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #27 on: January 14, 2005, 10:04:49 pm »
I installed using the first installer. did an update, and I had the problem with nobody showing up in the create char screen.. So then I applied your patch, ran psclient again, and tried to create a character.. Says \"couldn\'t find mesh!\" on each person I click on... So, then I ran the update again just to play around, then tried psclient again and it again says \"couldn\'t find mesh!\" ..

So then I un-tbz2\'ed the patch into the shaders dir again, this time running the chmod afterwards.  Same thing \"couldn\'t find mesh!\" ... argh.

A little puzzled here..

Here is whats on the term:
crystalspace.graphics3d.shader.fixed:
  Multitexture units: puny 2
DLERROR (/usr/opt/games/planeshift/sprcal3dldr.csplugin): libcal3d.so.10: cannot open shared object file: No such file or directory

I don\'t ever remember changing or moving that lib.. *shrug*

**EDIT** : fixed this. I was using a LD_PRELOAD to load that Xxft thing, and I didn\'t make it export the previous LD_PRELOAD also.. :)

While a patch would be great for modem users, if you track down these probs could you release a new version of the main installer also please?

Thanks alot :)
« Last Edit: January 14, 2005, 10:12:05 pm by meff »

sekhmet

  • Hydlaa Resident
  • *
  • Posts: 137
    • View Profile
(No subject)
« Reply #28 on: January 14, 2005, 10:33:45 pm »
I had the same problem with the installer not rendering. Applied the patch and works fine now. Thx for the installer, lots easier than the cvs version!

Running Gentoo btw

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #29 on: January 14, 2005, 10:36:15 pm »
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.


Quote
Originally posted by meff
I installed using the first installer. did an update, and I had the problem with nobody showing up in the create char screen.. So then I applied your patch, ran psclient again, and tried to create a character.. Says \"couldn\'t find mesh!\" on each person I click on... So, then I ran the update again just to play around, then tried psclient again and it again says \"couldn\'t find mesh!\" ..

So then I un-tbz2\'ed the patch into the shaders dir again, this time running the chmod afterwards.  Same thing \"couldn\'t find mesh!\" ... argh.

A little puzzled here..

Here is whats on the term:
crystalspace.graphics3d.shader.fixed:
  Multitexture units: puny 2
DLERROR (/usr/opt/games/planeshift/sprcal3dldr.csplugin): libcal3d.so.10: cannot open shared object file: No such file or directory

I don\'t ever remember changing or moving that lib.. *shrug*

**EDIT** : fixed this. I was using a LD_PRELOAD to load that Xxft thing, and I didn\'t make it export the previous LD_PRELOAD also.. :)

While a patch would be great for modem users, if you track down these probs could you release a new version of the main installer also please?

Thanks alot :)


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.


Back to Planeshift again \\o/