View previous topic :: View next topic |
Author |
Message |
randal1 Apprentice
Joined: 03 Oct 2005 Posts: 225 Location: England
|
Posted: Tue Feb 27, 2007 5:43 pm Post subject: cannot emerge openlierox [SOLVED] |
|
|
Hi All,
I am trying to install OpenLieroX, but when I run the emerge command I see the following:
Quote: | >>> Unpacking lx0.56_pack1.9.zip to /var/tmp/portage/games-action/openlierox-0.57_beta1/work/openlierox-0.57_beta1/share/gamedir/packtmp
>>> Unpacking another_lx_pack_2007_01_05.zip to /var/tmp/portage/games-action/openlierox-0.57_beta1/work/openlierox-0.57_beta1/share/gamedir/packtmp
[/var/tmp/portage/games-action/openlierox-0.57_beta1/distdir/another_lx_pack_2007_01_05.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /var/tmp/portage/games-action/openlierox-0.57_beta1/distdir/another_lx_pack_2007_01_05.zip or
/var/tmp/portage/games-action/openlierox-0.57_beta1/distdir/another_lx_pack_2007_01_05.zip.zip, and cannot find /var/tmp/portage/games-action/openlierox-0.57_beta1/distdir/another_lx_pack_2007_01_05.zip.ZIP, period.
!!! ERROR: games-action/openlierox-0.57_beta1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
environment, line 3250: Called src_unpack
openlierox-0.57_beta1.ebuild, line 41: Called unpack 'another_lx_pack_2007_01_05.zip'
ebuild.sh, line 419: Called die
!!! failure unpacking another_lx_pack_2007_01_05.zip
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/games-action:openlierox-0.57_beta1:20070227-173958.log'.
|
I have downloaded the zip file "another_lx_pack_2007_01_05.zip" to /usr/portage/distfiles. The ebuild is from https://bugs.gentoo.org/show_bug.cgi?id=164009.
Any ideas?
Many thanks
Last edited by randal1 on Sat Mar 03, 2007 11:43 am; edited 1 time in total |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Tue Feb 27, 2007 5:58 pm Post subject: |
|
|
hmm, maybe something's wrong with the file.
try Code: | file /usr/portage/distfiles/another_lx_pack_2007_01_05.zip |
and see if it's really the file you wanted... |
|
Back to top |
|
|
randal1 Apprentice
Joined: 03 Oct 2005 Posts: 225 Location: England
|
Posted: Tue Feb 27, 2007 6:00 pm Post subject: |
|
|
Hi
I have tried this. Here is the output:
Quote: | file /usr/portage/distfiles/another_lx_pack_2007_01_05.zip
/usr/portage/distfiles/another_lx_pack_2007_01_05.zip: Zip archive data, at least v1.0 to extract |
|
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Tue Feb 27, 2007 6:06 pm Post subject: |
|
|
okay, so try to unzip it somewhere in a temp directory.
the output of emerge says maybe it is a archive without end... |
|
Back to top |
|
|
randal1 Apprentice
Joined: 03 Oct 2005 Posts: 225 Location: England
|
Posted: Tue Feb 27, 2007 6:13 pm Post subject: |
|
|
Thanks.
I just tried that...it won't extract. Error using ark is "An error occurred while trying to open the archive". This is the second time I have downloaded it so I hope it's not an issue with the file during transit.
Any ideas? |
|
Back to top |
|
|
/albert n00b
Joined: 17 Jan 2005 Posts: 58
|
Posted: Tue Feb 27, 2007 6:17 pm Post subject: it seems the zip is corrupt |
|
|
It realy seems that your downloaded zip is corrupt.
I have tested the ebuild again here, after I deleted everything from /usr/portage/distfiles/, and it downloads all the needed files correctly and works good.
Check, if the zip is exactly 16,500,937 bytes big.
It should have the following md5sum:
f6abb2c3939e747ca77b75ccc4cef070 another_lx_pack_2007_01_05.zip
(Check this by 'md5sum [zip-file]'.)
If this is not the case on your system, simply delete the file and redownload it (or just start emerging the ebuild, it should be downloaded automatically). |
|
Back to top |
|
|
/albert n00b
Joined: 17 Jan 2005 Posts: 58
|
Posted: Tue Feb 27, 2007 6:18 pm Post subject: |
|
|
Note: Delete the file first in every case. |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Tue Feb 27, 2007 6:33 pm Post subject: |
|
|
i can extract it normally. |
|
Back to top |
|
|
randal1 Apprentice
Joined: 03 Oct 2005 Posts: 225 Location: England
|
Posted: Wed Feb 28, 2007 6:42 pm Post subject: |
|
|
cool i redownloaded it and tried again and it installed
Now I'm getting an error when trying to play online:
"Could not load the level '/levels/CastleStrike.lxl" whenever i try and play a game.
Any idea how I can get the levels to load properly?
Thanks |
|
Back to top |
|
|
/albert n00b
Joined: 17 Jan 2005 Posts: 58
|
Posted: Wed Feb 28, 2007 6:56 pm Post subject: |
|
|
Does this only occurs, if you play online and if the hoster used the game CasteStrike?
Do you play the game as a normal user (not as root) and do you have read access to /usr/share/games/? (That means, you have to be in games-group.)
Take a look into the file ~/.OpenLieroX/cfg/options.cfg. There is a section [FileHandling] which should look like this:
Code: | [FileHandling]
SearchPath1 = ${HOME}/.OpenLieroX
SearchPath2 = ${HOME}/.OpenLieroX/another_lx_pack
SearchPath3 = /usr/share/games/OpenLieroX
SearchPath4 = /usr/share/OpenLieroX
SearchPath5 = .
|
Ensure, that there is at least the path /usr/share/games/OpenLieroX/. (But it's a bit strange, if it was not listed there, because it should by default.)
Also, can you post the full output of the game? |
|
Back to top |
|
|
randal1 Apprentice
Joined: 03 Oct 2005 Posts: 225 Location: England
|
Posted: Wed Feb 28, 2007 7:04 pm Post subject: |
|
|
Hi!
This occurs with any level on network play (as far as I have tested). I can play local play fine.
My file had:
Quote: | [FileHandling]
SearchPath1 = ${HOME}/.OpenLieroX
SearchPath2 = .
SearchPath3 = /usr/share/games/OpenLieroX |
so I backed that up and replaced with what you suggested.
An l"s /usr/share/games/openlierox/" gives (dont know whether Im being picky but I had to use lower case 'openlierox'):
Quote: | 8-Bit Warfare v1.2 Cruel Weapons 0.96 Levels NarutoNT-1.26 cfg
C&C V1.0 Data Liero v1.11 Shock v1.40 Air levels
Castlevania Docs Liero v2.0 Tnvb v1.1 skins
Classic FoodFight v0.6 LieroX-Mas v1.1 Trick or Treat v0.4
Conversations.log GameCompiler MSF II WH40K 0.13
Crazy LevelMaker MW 1.0 Zelda v0.8 |
Ouput of the game is:
Quote: | Loading options... HINT: searchpaths will be (in this direction):
${HOME}/.OpenLieroX
.
/usr/share/games/OpenLieroX
DONE
Loading network texts... DONE
Hello there, I am initializing me now...
HINT: using OpenGL
libGL warning: 3D driver claims to not support visual 0x4b
Initializing ready
_Sending request lieroxtreme.thegaminguniverse.com /server/svr_list.php
_Sending request thelobby.altervista.org /server//svr_list.php
_Sending request lieroxtreme.thegaminguniverse.com /server/svr_list.php
_Sending request thelobby.altervista.org /server//svr_list.php
HINT: sending challenge request to 217.159.151.209:23400
Shutting me down...
Everything was shut down
Good Bye and enjoy your day... |
Any of that information helpful? |
|
Back to top |
|
|
/albert n00b
Joined: 17 Jan 2005 Posts: 58
|
Posted: Wed Feb 28, 2007 7:26 pm Post subject: |
|
|
Hm not realy, I don't see any errors in the output.
Also, I don't ever heard of a bug like this before.
The error message you described ("Could not load the level '/levels/CastleStrike.lxl'") is displayed in a message box?
Are you sure you can also play exactly this map in local play?
(Btw., OpenLieroX don't care about case sensity in filenames, so it makes no difference if it is /usr/share/games/OpenLieroX or /usr/share/games/openlierox or perhaps also /USR/SHarE/GaMeS/oPENLIEROX; this was made to keep compatibility with the windows version.)
Can you give me some more details about your system? (GCC version, architecture (CPU), HawkNL-version, what else could be important...)
I would like to fix this bug (if it is realy one and don't depends on some strange configuration of your system ) for the next release. |
|
Back to top |
|
|
randal1 Apprentice
Joined: 03 Oct 2005 Posts: 225 Location: England
|
Posted: Wed Feb 28, 2007 7:53 pm Post subject: |
|
|
No, I cannot play that map (or any of the maps that error) in local play. I do have a selection of maps, but not the ones that are causing the issue. My guess is that I am missing the level files? |
|
Back to top |
|
|
/albert n00b
Joined: 17 Jan 2005 Posts: 58
|
Posted: Wed Feb 28, 2007 9:43 pm Post subject: |
|
|
That is again more strange than before.
The game will list only that maps (in Local Play), which are locally available (which it founds in any levels/ subdir), it also makes a check for each one, if it is readable and the header of the file is correct.
(Btw., in Net Play, if the by the hoster selected map is not available locally, it will show the name of it in red letters.)
Which error do you get in Local Play when selecting some of these maps? Again the same, that the map cannot be found?
Which maps have you tried till now and which of them doesn't work?
My first and only explanation is, that some files are corrupt there (but shouldn't unzip make a CRC check of each file?). Perhaps your unzip is broken someway. (That would explain the two failured tries before.)
Perhaps, download the main pack (lx056...) again manually (from http://openlierox.sourceforge.net ) and extract all the files directly to ~/.OpenLieroX (so that you get a subdir levels/ there which also includes CastlyStrike.lxl). |
|
Back to top |
|
|
randal1 Apprentice
Joined: 03 Oct 2005 Posts: 225 Location: England
|
Posted: Thu Mar 01, 2007 12:09 pm Post subject: |
|
|
that did it! thanks for your help! this game is amazing! |
|
Back to top |
|
|
/albert n00b
Joined: 17 Jan 2005 Posts: 58
|
Posted: Fri Mar 02, 2007 11:32 pm Post subject: |
|
|
I found a bug in the ebuild, which seems (possibly) to be also the source of your problems.
As the game does not care about case sensity in filenames (to prevent windows-compatibility), some of the additional levels in the packs went into the directory "Levels", but there was also the directory "levels". As the game selects the first dir it found, one of these dirs will always be ignored.
(Btw., you don't have this problem, if you add the files to another searchpaths, because it will search all the searchpaths seperatly.)
I already uploaded a fixed ebuild (which merges Levels and levels) into the bugtracker ( https://bugs.gentoo.org/show_bug.cgi?id=164009 ) or you can download it from the website ( http://openlierox.sourceforge.net/ ).
(PS: Put "[RESOLVED]" into the title of the thread, if you think it is resolved now. ) |
|
Back to top |
|
|
|