Author Topic: gentoo ebuild for 0.3.017  (Read 8309 times)

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #15 on: November 21, 2006, 09:03:05 am »
Reemerging planeshift failed with:

Code: [Select]
100%[====================================>] 10,232,309   210.82K/s    ETA 00:00

08:57:19 (216.80 KB/s) - `/usr/portage/distfiles/planeshift-0.3.017.tar.bz2' saved [10232309/10232309]

 * checking ebuild checksums ;-) ...[ ok ]
 * checking auxfile checksums ;-) ...[ ok ]
 * checking miscfile checksums ;-) ...[ ok ]
 * checking planeshift-0.3.017.tar.bz2 ;-) ...[ !! ]
!!! Digest verification failed:
!!! /usr/portage/distfiles/planeshift-0.3.017.tar.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 10232309
!!! Expected: 10225687

KTA

Leon

  • Guest
Re: gentoo ebuild for 0.3.017
« Reply #16 on: November 21, 2006, 09:04:55 am »
@KTA no it was as I stated

# echo $CRYSTAL
/opt/crystal
# echo $CEL

then after i did what Loux said deleting the tar.gz and re-emerging it came back as

# echo $CRYSTAL
/opt/crystal
# echo $CEL
/opt/crystal

now with the "export CEL=/opt/crystal/lib/cel" command

# echo $CRYSTAL
/opt/crystal
# echo $CEL
/opt/crystal/lib/cel

that looks good to me :)


ok now  after all you told me  to do Loux, i can run the ./walktut that would not load before so we have progress but i still can not run ./updater --auto

same server errors, but i did this before your last post about getting the serve again

P.S.
dont worry about the trouble, i dont even play PS anymore but i think it would be great if they had a version in portage thats why im helping  and if your willing to put in the time after each update then its no trouble at all :)

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #17 on: November 21, 2006, 09:15:40 am »
Yes KTA,
i made a mistake, i change the source of planeshift-0.3.017 so i had to re digest the ebuild, i have put new portage.tar.bz2 and new planeshift-0.3.017.tar.bz2 and the site,
thanks to try the ebuilds, we will soon all be on PS with emerge :)
loux

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #18 on: November 21, 2006, 09:25:44 am »
Hmm, strange I still get the "Filesize does not match recorded size" error...

KTA

Leon

  • Guest
Re: gentoo ebuild for 0.3.017
« Reply #19 on: November 21, 2006, 09:31:45 am »
hmm.. im just completed another re-emerge with no probs

# rm /usr/portage/distfiles/planeshift-0.3.017.tar.bz2
# emerge -C planeshift
# emerge planeshift

oh and since Loux said there was a new portage.tar.bz2 i rm dev-games and games-rpg from /usr/local/portage/

then
#wget http://loux.thefuture.free.fr/portage.tar.bz2
#tar xjvf portage.tar.bz2

and then the steps above.. maybe all that was not needed i just like to be sure.. although i receive the same server errors
« Last Edit: November 21, 2006, 09:38:48 am by Leon »

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #20 on: November 21, 2006, 09:41:24 am »
Stupid me - forgot to reextract... :-[

KTA
« Last Edit: November 21, 2006, 09:43:19 am by KTA »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #21 on: November 21, 2006, 09:43:54 am »
KTA, i see you didn't unpack the new portage.tar.bz2, right ? :)
i'm checking the digest
thanks to try it so many times
loux

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #22 on: November 21, 2006, 10:56:03 am »
Ok, Update:

After reemerging and setting the $CRYSTAL and $CEL manualy the ./walktest and ./walktut did run (with some errors - but it worked).
I could run ./updater --auto and it reported there is no update available.
./pssetup did run too but without the skin.
./psclient runs too - but with some errors about not finding the sound files etc...
and I have no server to connect to - it shows only localhost which is no go...

KTA

Leon

  • Guest
Re: gentoo ebuild for 0.3.017
« Reply #23 on: November 21, 2006, 11:26:38 am »
yes the update server is down i think.. so you have to copy the art and data folders to /opt/planeshift/bin
hmm.. maybe wait for Ioux to clarify that  :-\

Quote from: Ioux
you have to download the official client for now (torrent and download are open) and copy folder data and art into /opt/planeshift/bin !
loux

The reason you have no skin is because they would have been pulled in via ./updater --auto but since the update server is down you are not getting the art work which is why you have to copy it from the offical client download  :(
hopefully Talad will allow the art work and data to be added to the actuall ebuild
« Last Edit: November 21, 2006, 11:32:55 am by Leon »

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #24 on: November 21, 2006, 11:37:56 am »
Just so I get this right - the update command did not return any errors, it just told me there is no update available - this means the update server is down?
Besides this, why is there no gameserver in the psclient list?

KTA

Leon

  • Guest
Re: gentoo ebuild for 0.3.017
« Reply #25 on: November 21, 2006, 11:51:15 am »
im not sure but i uninstalled the ebuild and installed the offical client to test and could not access the update server maybe its just me
and as for the server list if you mean what i think you do it would be in the data folder a file callled servers.xml
maybe one of the files that would be coppied over?

im now reinstalling the ebuild..

PS: Both taken from the offical and copied over to the ebuild version
 my data/servers.xml
Code: [Select]
<serverlist>
<server name="Fragnetics" ip="laanx.fragnetics.com" port="7777" />
</serverlist>

My data/updater/serverlist.xml
Code: [Select]
<widget_description>



<widget name="serverlist" factory="pawsServerList"

        visible="yes" savepositions="no" movable="yes"

        resizable="no" >

       

    <bgimage resource="Standard Background" alpha="0" fade="no" />



    <frame x="200" y="225" width="400" height="150" border="yes" />

    <title resource="Blue Title" text="Game Servers List" align="left" />



    <!-- List -->

    <widget name="servers" factory="pawsListBox" id="10" >

        <frame x="10" y="10" width="380" height="100" />

        <scrollbar arrowup="Up Arrow" arrowdown="Down Arrow" arrowsize="8" width="15"  border="no"/>

        <columns height="30">

            <column width="360">

                <widget name="" factory="pawsTextBox" >

                    <font name="/planeshift/data/ttf/verdana.ttf" r="255" g="255" b="255" size="15" />

                </widget>

            </column>

            <column width="0" >           

                <widget name="ip" factory="pawsTextBox" visible="no"></widget>

            </column>

            <column width="0" >           

                <widget name="port" factory="pawsTextBox" visible="no"></widget>

            </column>

        </columns>

    </widget>

   

    <!-- Ping button -->

    <widget name="PingButton" factory="pawsButton" toggle="no" shadows="yes" >

        <frame x="10" y="120" width="130" height="20" border="no" />

        <bgimage resource="Blue Title" alpha="0" fade="no" />

        <font name="/planeshift/data/ttf/arial.ttf" r="255" g="255" b="255" size="9"/> 

<label text="Ping"/>

    </widget>

   

    <!-- Cancel button -->

    <widget name="CancelButton" factory="pawsButton" toggle="no" shadows="yes" >

        <frame x="260" y="120" width="130" height="20" border="no" />

        <bgimage resource="Blue Title" alpha="0" fade="no" />

        <font name="/planeshift/data/ttf/arial.ttf" r="255" g="255" b="255" size="9"/> 

<label text="Cancel"/>

    </widget>

   

</widget>



</widget_description>
« Last Edit: November 21, 2006, 12:16:23 pm by Leon »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #26 on: November 21, 2006, 12:21:19 pm »
Leon don't uninstall my ebuilds  :o
just create a new user to install the official client, then copy folder data and art from official to /opt/planeshift/bin/.
it would work well, don't use updater since server is not good
thanks
loux

Leon

  • Guest
Re: gentoo ebuild for 0.3.017
« Reply #27 on: November 21, 2006, 12:39:46 pm »
ok.. i got it to load ./pssetup but when i try to run ./psclient it just freezes

this is whats left in terminal

Code: [Select]
./psclient
DEBUG: Sound System Software Renderer Initializing...

crystalspace.canvas.openglcommon:
  Could not open driver database file '/config/gldrivers.xml'

crystalspace.engine.warning:
  Shader /shader/std_lighting.xml not available
  Shader /shader/std_lighting_portal.xml not available

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  1.1dev [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/cvs.zip
Skipping 'InfoButton' because it's already loaded
Skipping 'InfoButton_over' because it's already loaded
Skipping 'InfoButton_active' because it's already loaded
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:326 LoadAdditionalSkin>:
  Could not read skin info on /planeshift/art/skins/base/client_base.zip!

<src/client/psengine.cpp:402 Initialize>:
  Couldn't load base skin '/planeshift/art/skins/base/client_base.zip'!


<src/client/sound/pssoundmngr.cpp:662 LoadSound>:
  Error while reading file '/planeshift/art/sounds/gui/next.wav'
Couldn't create Resource 'sound.standardButtonClick'
  Error while reading file '/planeshift/art/sounds/gui/bttn_toolbar.wav'
Couldn't create Resource 'gui.toolbar'
  Error while reading file '/planeshift/art/sounds/gui/bttn_cancel.wav'
Couldn't create Resource 'gui.cancel'
  Error while reading file '/planeshift/art/sounds/gui/bttn_ok.wav'
Couldn't create Resource 'gui.ok'
  Error while reading file '/planeshift/art/sounds/gui/bttn_scrolldown.wav'
Couldn't create Resource 'gui.scrolldown'
  Error while reading file '/planeshift/art/sounds/gui/bttn_scrollup.wav'
Couldn't create Resource 'gui.scrollup'
  Error while reading file '/planeshift/art/sounds/gui/bttn_shortcut.wav'
Couldn't create Resource 'gui.shortcut'
  Error while reading file '/planeshift/art/sounds/gui/bttn_quit.wav'
Couldn't create Resource 'gui.quit'

planeshift.application.client:
  psEngine initialized.

<src/client/sound/pssoundmngr.cpp:662 LoadSound>:
  Error while reading file '/planeshift/art/music/jingle_splash.ogg'
Couldn't create Resource 'splash'

<src/client/sound/pssoundmngr.cpp:271 StartSound>:
  Sound 'splash' not found!

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'cel.physicallayer'
Couldn't load plugin for PlLayer.

<src/client/psengine.cpp:511 Initialize>:
  FATAL ERROR: Couldn't init Cel Manager.
psEngine destroyed.

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #28 on: November 21, 2006, 12:43:22 pm »
Hello Leon, i have some questions for you :)
did you launch ./psclient from /opt/planeshift/bin
CRYSTAL=/opt/crystal
CEL=/opt/crystal/lib/cel
can you post me you're vfs.cfg in /opt/planeshift/bin ?
thanks
loux

Leon

  • Guest
Re: gentoo ebuild for 0.3.017
« Reply #29 on: November 21, 2006, 12:57:45 pm »
ok disabling sound gets rid of most of them errors, should i leave them on for testing?
and yes  CEL=/opt/crystal/lib/cel was not set so i did that, now i get to a login screen but dies when it trys to load world

if you need to know anything else just say :)

my vfs.cfg
Code: [Select]
;;; Virtual File System mount table
;;;
;;; $/ -- path delimiter (i.e. "/" on Unix; "\" on Windows)
;;; $@ -- installation directory of Crystal Space
;;; $* -- application resource directory; same as csGetResourceDir()
;;; $^ -- directory in which application resides; same as csGetAppDir()
;;; The expansions of $@, $*, and $^ always have a trailing path delimiter.

; Some basic mount points
VFS.Mount.~ = $(HOME)$/
VFS.Mount.this = $.$/
VFS.Mount.cdrom = $(CDROM)$/
VFS.Mount.tmp = $(TMP)$/

; Configuration repository
VFS.Mount.config = $@data$/config$/

; Miscellaneous resources.
VFS.Mount.varia = $@data$/varia$/
VFS.Mount.scripts = $@scripts$/

VFS.Mount.shader = $@data$/shader$/
; The Unifont
VFS.Mount.fonts/unifont = $@data$/unifont.zip
; The TTF font library
VFS.Mount.fonts/ttf     = $@data$/ttf$/, $(TTF_PATH:$.$/), $@data$/ttf-vera.zip

VFS.Mount.lev/flarge   = $@data$/flarge$/
VFS.Mount.lev/pvstest  = $@data$/pvstest$/
VFS.Mount.lev/r3dtest  = $@data$/r3dtest$/
VFS.Mount.lev/parallaxtest = $@data$/parallaxtest$/
VFS.Mount.lev/stenciltest = $@data$/stenciltest$/
VFS.Mount.lev/isomap   = $@data$/isomap.zip, $@data$/isomap$/
VFS.Mount.lev/mdltest  = $@data$/mdltest$/
VFS.Mount.lev/partsys  = $@data$/partsys$/
VFS.Mount.lev/terrain  = $@data$/terrain$/
VFS.Mount.lev/terrainf = $@data$/terrainf$/
VFS.Mount.lev/particles  = $@data$/particles$/

; Mount all libraries under the /lib/ directory
VFS.Mount.lib/std      = $@data$/standard.zip
VFS.Mount.lib/stdtex   = $@data$/stdtex.zip
VFS.Mount.lib/csws     = $@data$/csws.zip
VFS.Mount.lib/cubemap  = $@data$/cube$/

; Mount for AWS
VFS.Mount.aws = $@data$/awsdef.zip, $@data$/aws$/

; Mount for unittest
VFS.Mount.lev/unittest = $@data$/unittest$/
; Data for g2dtest
VFS.Mount.lib/g2dtest  = $@data$/g2dtest$/

; The following should not change too often...
; The idea is that everything that should be changed (such as CDROM variable)
; is set by some sort of setup (installation) program.
; Note that variables in VFS.Platform. section will override any
; variables in VFS.PlatformAlias. section.
VFS.Alias.Unix = VFS.Unix
VFS.Alias.MacOS/X = VFS.Unix
VFS.Alias.Win32 = VFS.CP/M

; strange key names follow:
; VFS.Unix.. means key '.' in section VFS.Unix.*
; VFS.Unix... means key '..' in section VFS.Unix.*
VFS.Unix.. = .
VFS.Unix... = ..
VFS.Unix.CDROM = /mnt/cdrom
VFS.Unix.TMP = /tmp
; This is true at least for systems using XFree86
VFS.Unix.TTF_PATH = /usr/X11R6/lib/X11/fonts/Truetype/, /usr/X11R6/lib/X11/fonts/TTF/

VFS.CP/M.. = .
VFS.CP/M... = ..
VFS.CP/M.HOME = $(HOMEDIR:$(HOMEPATH:.))
VFS.CP/M.CDROM = x:
VFS.CP/M.TMP = $(TEMP:$(TMP:$(SYSTEMROOT)$/temp))

; The standard location of TTF fonts is the X:\Windows\fonts directory
VFS.Win32.TTF_PATH = $(SYSTEMROOT)$/fonts$/

PS: i think alot of stuff failed to be copied i will make sure all goes over and post back
« Last Edit: November 21, 2006, 01:06:23 pm by Leon »