PlaneShift
Support => Linux Specific Issues => Topic started by: loux on March 30, 2007, 02:46:11 pm
-
Hello,
big change for gentoo ebuilds users,
i just release ebuilds of CS/CEL as describe in the #planeshift-build topic, so compiled psclient should be the same (around) as the official binary one !
I have hard mask 2 others CS(26664) and CEL(2571) and delete every others,
so to have support (from #planeshift-gentoo sure, from #planeshift-build i hope) use ebuilds not masked and
to have fun use ebuilds masked :)
see you
loux
PS http://loux.thefuture.free.fr/portage.tar.bz2
PS2: layman will be up to date soon
-
Sweet :]
I'll give it a go when I get back from my trip.
-
Hi !
I've tried your ebuild (from the zugaina overlay) and it seems to work but not the with latest version of crystalspace ??? (I got the vfs error...)
The client seems to work fine but I couldn't manage to get the updater running :(
Here is the log :
Warning, can't find paths for win or mac or linux updater application! (Server only)
File omitting rules node (<omit>) not found (Server only)
System file rules (<system>) not found! Without this the updater may remove it's own critical files! Please fix!
Critical files (<critical>) not found (Server only)
NOTIFY: psUpdaterEngine initialized.
Checking registry version...
Server error 404 (http://www.psmirror.org/psupdater/version.dat)
Couldn't connect to mirror mir2!
Trying mirror mir1..
Server error 404 (http://planeshift.mirror.thumbnail.cz/psupdater/version.dat)
Bad version info in file: /this/updatertemp/mir1.dat
Mirror lacks a version file; can't use it
Trying mirror backup..
Server error 404 (http://laanx.fragnetics.com/updater_hidden/version.dat)
Bad version info in file: /this/updatertemp/backup.dat
Mirror lacks a version file; can't use it
Ran out of mirrors! Game cannot be updated
-
Do you have Curl installed?
-
Yep it seems I have it :)
I tested planeshift under windows XP and apparently I have exactly the same problem while trying to update :s
So this isn't coming from my installation under gentoo or from the ebuild (which is a good thing!)
Did anyone suceed to update?
-
Opps the updater does not work for anyone right now [i miss read the error message] dont run the updater
-
Yes that's what I finally guessed :)
But it seems that I can't start the game without updating it:(
-
It seems that I have a problem with crystalspace-ps-1.1-r26664 when I try to download the archive.
I don't know if it comes from the server, but here is what wget tells me when I emerge it:
>>> Downloading 'http://loux.thefuture.free.fr/distfiles/crystalspace-ps-1.1-r26664.tar.bz2'
--13:31:19-- http://loux.thefuture.free.fr/distfiles/crystalspace-ps-1.1-r26664.tar.bz2
=> `/usr/portage/distfiles/crystalspace-ps-1.1-r26664.tar.bz2'
Résolution de loux.thefuture.free.fr... 212.27.63.139
Connexion vers loux.thefuture.free.fr|212.27.63.139|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 49,122,726 (47M) [application/x-tar]
100%[==========================================>] 49,122,726 34.53K/s ETA 00:00
13:55:15 (33.40 KB/s) - « /usr/portage/distfiles/crystalspace-ps-1.1-r26664.tar.bz2 » sauvegardé [49122726/49122726]
!!! Couldn't download 'crystalspace-ps-1.1-r26664.tar.bz2'. Aborting.
And if I download it separately and place the file in /usr/portage/distfiles/ (or when I re-emerge it right after the first emerge, the file is already in distfiles), here is what I get:
>>> Resuming download...
>>> Downloading 'http://loux.thefuture.free.fr/distfiles/crystalspace-ps-1.1-r26664.tar.bz2'
--14:00:15-- http://loux.thefuture.free.fr/distfiles/crystalspace-ps-1.1-r26664.tar.bz2
=> `/usr/portage/distfiles/crystalspace-ps-1.1-r26664.tar.bz2'
Résolution de loux.thefuture.free.fr... 212.27.63.139
Connexion vers loux.thefuture.free.fr|212.27.63.139|:80...connecté.
requête HTTP transmise, en attente de la réponse...416 Requested Range Not Satisfiable
Le fichier a déjà été complètement récupéré; rien à faire.
!!! Couldn't download 'crystalspace-ps-1.1-r26664.tar.bz2'. Aborting.
Which means "The file has already been completely downloaded, nothing to do".
What's really strange because the download shouldn't hav failed if the file is complete :s
-
lilo,
i'm glade your trying to use hard masked ebuilds but did you try the "official" ones first ? i mean 26286 for CS and 2591 for CEL. If you don't, you should really try them before using newer unstable one.
I'm currently adding some KEYWORDS to them : "doc" to enable/disable documentation of CS/CEL because not a lot need them :) and "maxoptimization" to enable more optimization like -O3 for example,
so my first advice is : unmerge all (CS/CEL/PS/PS-art) then erase folder /opt/planeshift
and try emerging "officials" ebuilds CS-ps(26286), CEL(2591), PS(0.3.018-r5) and PS-art
i hope it will works
see you
loux
-
The same as to Lilo happens to me on the "official"/stable version of crystalspace-ps.
keyword="amd64" and the only relevant ebuild that I use ~amd64 for is planeshift (not crystalspace-ps or other dependancies)
emerge -DNu planeshift -p
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild UD] dev-games/crystalspace-ps-1.1-r26286 [1.1-r26664]
[ebuild UD] dev-games/cel-ps-1.1-r2591 [1.1-r2671]
emerge -DNu planeshift
Calculating dependencies... done!
>>> Emerging (1 of 2) dev-games/crystalspace-ps-1.1-r26286 to /
>>> Resuming download...
...
...
>>> Resuming download...
>>> Downloading 'http://loux.thefuture.free.fr/distfiles/crystalspace-ps-1.1-r26286.tar.bz2'
--00:54:52-- http://loux.thefuture.free.fr/distfiles/crystalspace-ps-1.1-r26286.tar.bz2
=> `/usr/portage/distfiles/crystalspace-ps-1.1-r26286.tar.bz2'
Razrešuje se loux.thefuture.free.fr...212.27.63.139
Connecting to loux.thefuture.free.fr|212.27.63.139|:80... priključen.
HTTP zahteva poslana, čakam odgovor... 416 Requested Range Not Satisfiable
Datoteka je že popolnoma prenešena; nič ni za storiti.
!!! Couldn't download 'crystalspace-ps-1.1-r26286.tar.bz2'. Aborting.
p.s. I already have planeshift-0.3.18-r5 installed, it's just about downgrading CS and CEL
-
Hello,
i have re-digest the ebuild,
could you retry them ?
thanks
loux
-
I have tried it just right now and it has still the same problem, it doesnt start to compile. :(
>>> Resuming download...
--15:13:50-- http://loux.thefuture.free.fr/distfiles/crystalspace-ps-1.1-r26286.tar.bz2
=> `/usr/portage/distfiles/crystalspace-ps-1.1-r26286.tar.bz2'
Resolving loux.thefuture.free.fr... 212.27.63.139
Connecting to loux.thefuture.free.fr|212.27.63.139|:80... connected.
HTTP po¾adavek odeslán, program èeká na odpovìï ... 416 Requested Range Not Satisfiable
Soubor je ji¾ plnì pøenesen, nebude se nic dìlat.
!!! Couldn't download 'crystalspace-ps-1.1-r26286.tar.bz2'. Aborting.
Hope to be solved soon, all the best and strong nerves! :thumbup:
-
you should delete it from your /usr/portage/distfiles and retry then,
i look at it on the site and it's there
loux
-
I have downloaded the file today (from Zugaina overlay), it was ok. When the download is complete that it says The file is already downloaded, do nothing and quits with error. I can try to delete it form /user/portage/distfiles and download again, but I dont think it would help. But maybe I`m wrong :)
-
ok,
i change ebuilds so digest is different from zugaina overlay,
they will not work, you should download mine http://loux.thefuture.free.fr/portage.tar.bz2
sorry for the trouble
loux
-
Thanx a lot, that was the problem :) Now it works fine, but I cant hear any sound. I have compiled it with alsa support, do you have any idea?
-
I have have compiled it again with vorbis and sdl flag and its fine now. thnx4help :)
-
happy to know it :)
see you in game so
loux
-
i change ebuilds so digest is different from zugaina overlay,
they will not work, you should download mine http://loux.thefuture.free.fr/portage.tar.bz2
Alternatively you can digest that ebuild yourself:
ebuild /usr/portage/local/layman/zugaina/dev-games/crystalspace-ps/crystalspace-ps-1.1-r26286.ebuild digest
(change the path to your own path if it's different)
-
yep hook has hook my process :)
you can do it like hook say too,
good to see people on gentoo here
loux
-
Hi friends, I still have some problems that I cannot play nicely:
1) The the psclient often crashes (usualy when I move my mouse over a top menu icon) with error:
/usr/games/bin/psclient.sh: line 6: 7082 Unauthorized memory input (SIGSEGV)
Maybe it is because of -mng flag, but I only guess.
2) I cannot play at fullscreen mode at all
here is an error for this:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 136 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x1400002
Serial number of failed request: 86
Current serial number in output stream: 90
The flags that I use: alsa doc sdl vorbis
There are some flags, that I dont know what they are for maybe someone knows.
Thnx Loor.
-
i don't know about your errors, could you past me : emerge -Dpv crystalspace-ps cel-ps planeshift ?
thanks
loux
PS : i'm using dev-games/crystalspace-ps-1.1-r26286 USE="3ds alsa mng sdl vorbis -static -cegui -debug -doc -maxoptimization -ode"
for example
PS2: i'm on #planeshift-gentoo often
-
Ok, here it is, I will try to recompile it with your confirguration and I`ll see.
These are the packages that would be merged, in order:
Calculating dependencies ..... ..... ... done!
[ebuild U ] media-sound/alsa-headers-1.0.14_rc2 [1.0.14_rc1] 2,467 kB
[ebuild U ] sys-libs/timezone-data-2007c [2006p] USE="nls" 340 kB
[ebuild U ] dev-java/java-config-wrapper-0.13 [0.12-r1] 7 kB
[ebuild N ] net-misc/rsync-2.6.9-r1 USE="ipv6 -acl -static -xinetd" 793 kB
[ebuild U ] sys-libs/ncurses-5.6 [5.5-r3] USE="gpm unicode -bootstrap -build -debug -doc -minimal -nocxx -trace" 2,347 kB
[ebuild U ] sys-apps/man-1.6e-r1 [1.6d] USE="nls" 247 kB
[ebuild U ] media-libs/freetype-2.1.10-r3 [2.1.10-r2] USE="zlib -bindist -doc" 0 kB
[ebuild U ] perl-core/Test-Harness-2.64 [2.56] 70 kB
[ebuild U ] perl-core/PodParser-1.35 [1.34] 96 kB
[ebuild U ] sys-devel/m4-1.4.8 [1.4.7] USE="nls" 567 kB
[ebuild U ] media-libs/alsa-lib-1.0.14_rc2 [1.0.14_rc1] USE="-debug -doc" 698 kB
[ebuild U ] x11-proto/inputproto-1.4.1 [1.3.2] USE="-debug" 49 kB
[ebuild U ] sys-apps/coreutils-6.7-r1 [6.4] USE="nls -acl (-selinux) -static -xattr%" 5,223 kB
[ebuild U ] x11-libs/libX11-1.1.1-r1 [1.0.3] USE="ipv6 -debug -xcb%" 1,393 kB
[ebuild U ] x11-libs/libXi-1.1.0 [1.0.1] USE="-debug" 241 kB
[ebuild U ] dev-java/java-config-2.0.31-r5 [2.0.31] 0 kB
[ebuild U ] sys-apps/file-4.20-r1 [4.19] USE="python" 537 kB
[ebuild U ] dev-java/sun-jdk-1.5.0.11 [1.5.0.10] USE="X alsa -doc -examples -jce (-nsplugin)" 42,925 kB
[ebuild U ] media-gfx/nvidia-cg-toolkit-1.5.0 [1.4.0.4] 6,758 kB
[ebuild R ] dev-games/crystalspace-ps-1.1-r26286 USE="alsa -3ds -cegui -debug -doc* -maxoptimization -mng -ode -sdl* -static -vorbis*" 0 kB
[ebuild R ] dev-games/cel-ps-1.1-r2591 USE="alsa -3ds -cegui -debug -doc* -maxoptimization -mng -ode -sdl* -static -vorbis*" 0 kB
[ebuild R ] games-rpg/planeshift-0.3.018-r5 USE="-debug -maxoptimization -server -static" 0 k
-
successfully compiled on powerbook-g4-2.6.21
used the following unmasks
=dev-games/crystalspace-ps-1.1-r26888 **
media-gfx/nvidia-cg-toolkit **
=dev-games/cel-ps-1.1-r2766 **
=games-rpg/planeshift-0.3.018-r5 **
=games-rpg/planeshift-art-0.3.018 **
additionaly i compiled with "ode" and "3ds" support, because i saw that mentioned in some kind. please excuse this i-dont-know-why-but-lets-push-that-button-mindset
currently pulling the art-package and will test the installation tomorrow.
regards
-
srm, i'm happy to know that :)
could you try to know why 0.3.018-r6 don't compile fine ?
thanks
loux
-
the error occured during this step:
C++ ./out/linuxppc/optimize/src/common/util/mathscript.oI just started a new emerge for r6 and it looks ok.
I think the error occured because i've made some blanket unmask on all Cel-PS and Crystalspace-PS versions, so the newest versions got pulled in and planeshift-0.3.018-r6 tried to build against them...and failed.
*sorry* ;) but the error seems to be gone now O--)
successfully compiled r6
-
great :)
so ebuilds works on powerPC G4 too, cool
let's find a new target...
loux
-
yep,
but one thing to mention. planeshift-art will not work. ppc architecture can not execute this binary, so some other process is needed to provide the art/data files.
-
after I put myself in group games: gpasswd -a iceberg games I gheck the permissions of /usr/games/bin
localhost bin # ls -lash
total 20K
4.0K drwxr-x--- 2 root games 4.0K 2007-06-17 10:35 .
4.0K drwxr-xr-x 3 games root 4.0K 2007-06-17 10:18 ..
4.0K -rwxr-x--- 1 root games 180 2007-06-17 10:35 psclient.sh
4.0K -rwxr-x--- 1 root games 179 2007-06-17 10:35 pssetup.sh
4.0K -rwxr-x--- 1 root games 186 2007-06-17 10:35 psupdater.sh
iceberg@localhost ~ $ /usr/games/bin/psclient.sh
bash: /usr/games/bin/psclient.sh: Permission denied
So I try to run it as root to see... All I get is a new window with pixel garbage all over it. and this output in the console:
localhost bin # ./psclient.sh
Indirect rendering may indicate a flawed OpenGL setup if you run on a local
X server.
planeshift.application.client:
PlaneShift Crystal Blue
This game uses Crystal Space Engine created by Jorrit and others
1.1.0 [Unix-x86-GCC]
LOG_ANY flag deactivated with no filter.
LOG_WEATHER flag deactivated with no filter.
LOG_SPAWN flag deactivated with no filter.
LOG_CELPERSIST flag deactivated with no filter.
LOG_PAWS flag deactivated with no filter.
LOG_GROUP flag deactivated with no filter.
LOG_CHEAT flag deactivated with no filter.
LOG_LINMOVE flag deactivated with no filter.
LOG_SPELLS flag deactivated with no filter.
LOG_NEWCHAR flag deactivated with no filter.
LOG_SUPERCLIENT flag deactivated with no filter.
LOG_EXCHANGES flag deactivated with no filter.
LOG_ADMIN flag deactivated with no filter.
LOG_STARTUP flag deactivated with no filter.
LOG_CHARACTER flag deactivated with no filter.
LOG_CONNECTIONS flag deactivated with no filter.
LOG_CHAT flag deactivated with no filter.
LOG_NET flag deactivated with no filter.
LOG_LOAD flag deactivated with no filter.
LOG_NPC flag deactivated with no filter.
LOG_TRADE flag deactivated with no filter.
LOG_SOUND flag deactivated with no filter.
LOG_COMBAT flag deactivated with no filter.
LOG_SKILLXP flag deactivated with no filter.
LOG_QUESTS flag deactivated with no filter.
LOG_SCRIPT flag deactivated with no filter.
LOG_MARRIAGE flag deactivated with no filter.
LOG_MESSAGES flag deactivated with no filter.
LOG_CACHE flag deactivated with no filter.
LOG_PETS flag deactivated with no filter.
LOG_USER flag deactivated with no filter.
LOG_LOOT flag deactivated with no filter.
LOG_DUELS flag deactivated with no filter.
LOG_TRIBES flag deactivated with no filter.
All LOGS are off.
Mounting skin: /this/art/skins/default.zip
<src/common/util/psxmlparser.cpp:282 ParseFile>:
Could not find file: /paws/temp_skin/skin.xml
<src/common/paws/pawsmanager.cpp:325 LoadAdditionalSkin>:
Could not read skin info on /this/art/skins/default.zip!
<src/common/paws/pawsmanager.cpp:141 PawsManager>:
Failed to load base skin!
Mounting skin: /planeshift/art/skins/base/client_base.zip
<src/common/util/psxmlparser.cpp:282 ParseFile>:
Could not find file: /paws/temp_skin/skin.xml
<src/common/paws/pawsmanager.cpp:325 LoadAdditionalSkin>:
Could not read skin info on /planeshift/art/skins/base/client_base.zip!
<src/client/psengine.cpp:405 Initialize>:
Couldn't load base skin '/planeshift/art/skins/base/client_base.zip'!
<src/common/paws/pawswidget.cpp:504 LoadAttributes>:
GUI image 'Splash Background' not found.
GUI image 'YesNo' not found.
GUI image 'YesNo' not found.
planeshift.application.client:
psEngine initialized.
Using fontsize 16 for resolution 1024x768
<src/common/paws/pawswidget.cpp:504 LoadAttributes>:
GUI image 'Charpick Background' not found.
GUI image 'radiooff2' not found.
GUI image 'radiooff2' not found.
GUI image 'radiooff2' not found.
GUI image 'radiooff2' not found.
<src/common/paws/pawswidget.cpp:2489 SetMaskingImage>:
Could not locate masking image charborder for widget PaperDollView
crystalspace.maploader.parse.image:
Could not open image file '/planeshift/models/cubo_ref.dds' on VFS!
crystalspace.maploader.parse.texture:
Couldn't load image '/planeshift/models/cubo_ref.dds', using error texture
instead!
crystalspace.thingloader.parse:
Bad UV coordinates for polygons in this thing!
[node: meshfact(name=weapons#doubleaxe01a),params]
Bad UV coordinates for polygons in this thing!
[node: meshfact(name=weapons#jug01a),params]
'moveable' is not for factories!
[node: meshfact(name=weapons#normalaxe01a),params,moveable]
Bad UV coordinates for polygons in this thing!
[node: meshfact(name=weapons#normalaxe01a),params]
'moveable' is not for factories!
[node: meshfact(name=items#chest1),params,moveable]
Bad UV coordinates for polygons in this thing!
[node: meshfact(name=items#chest1),params]
<src/common/paws/pawswidget.cpp:504 LoadAttributes>:
GUI image 'Login Background' not found.
GUI image 'Standard Background' not found.
GUI image 'Standard Background' not found.
<src/common/paws/pawswidget.cpp:815 SetBackground>:
Widget: None (Parent: None) Could Not load image: Up Arrow
Widget: None (Parent: None) Could Not load image: Down Arrow
Widget: None (Parent: None) Could Not load image: ScrollBar Thumb
Widget: None (Parent: None) Could Not load image: Left Arrow
Widget: None (Parent: None) Could Not load image: Right Arrow
Widget: None (Parent: None) Could Not load image: ScrollBar Thumb
Widget: None (Parent: servers) Could Not load image: Standard Background
Widget: None (Parent: servers) Could Not load image: Blue Background
psEngine destroyed.
-
hello iceberg,
i don't know anything PowerPC, but your log of psclient indicate you don't use DRI so you need it :)
for the pixel are due to the art that you don't have maybe ?
srm could help you much more than I,
see you
loux
-
hi iceberg,
please verify that you are in the games group by invoking "groups" on the command line interface.
also use "glxinfo" to verify that dri is enabled for you user.
root probably wont have dri, depending on your xorg.conf dri section.
please post the results of your findings.
maybe we can meet on irc.
regards,
srm
-
you know that you have to re-login for changed groups to take effect?
-
loux, I could provide you a mirror for the ebuilds and the planeshift-0.3.018.tar.bz2 file. If interested, just contact via PM
-
Jannis,
thanks but i got one in gentoo experimental, check URL of some hard mask ebuild to see that :)
thanks for all
loux
-
Ok, I just compiled PS on my AMD XP 2000+ (ATI Radeon 9000 Pro, using DRM / X -driver) box running 2.6.20-gentoo-r5 and it works quite well. There were some digest-issues first and I had to copy the art/ and data/ from the binary-installation to make it work but it runs smooth, I can see what I have in my inventory (icons were garbled using the binary-version) and the font is ok.
Works perfectly on my Core2Duo - Laptop (Graphics: i945GM, using DRM / X -driver), too.
Both systems have mesa 6.5.3 installed.
-
great jannis,
good to hear that,
for art/data just emerge planeshift-art :)
see you
loux
-
Ah right, didn't even notice that ebuild :/
Should be made dependency for planeshift or add it to the post-emerge-notice of the ebuild.