View previous topic :: View next topic |
Author |
Message |
SalsaDoom Tux's lil' helper
Joined: 22 Jan 2003 Posts: 105 Location: Saskatoon, Saskatchewan
|
Posted: Mon Jun 30, 2003 2:17 pm Post subject: patching old loki games (SMAC, Tribes2, etc) broken? |
|
|
Anyone tried to play an old game like SMAC on gentoo? I've tested this is most of my linux game library, and none of them patch successfully on Gentoo.
They all break with the same error when patching:
bash-2.05b$ ./smac-6.0a-x86.run
Verifying archive integrity...OK
Uncompressing Sid Meier's Alpha Centauri 6.0a Update...................
loki_patch: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed.
./update.sh: line 60: 30555 Aborted loki_patch --verify patch.dat
The program returned an error code (1)
Looks like its looking for an old c library or something.
Anyone know a workaround or solution? |
|
Back to top |
|
|
[UK]Superdude Tux's lil' helper
Joined: 22 Jul 2002 Posts: 149 Location: Adelaide, Australia
|
Posted: Mon Jun 30, 2003 2:30 pm Post subject: |
|
|
I have a feeling the problem most likely lies in the gcc version. I would say the games probably need gcc 2.x and if your system is compiled using gcc 3.x then binaries will not interoperate. Perhaps someone else knows more? |
|
Back to top |
|
|
smtanner Tux's lil' helper
Joined: 12 May 2002 Posts: 106 Location: Colorado
|
Posted: Tue Jul 01, 2003 1:12 am Post subject: |
|
|
I am using gcc 3.2.2 (or gcc 3.2.3 I can't remember which right now) and the loki updater works fine for me. |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Tue Jul 01, 2003 3:46 am Post subject: |
|
|
Thats the glibc 3.2.x error with loki-update |
|
Back to top |
|
|
Woolmonkey n00b
Joined: 29 Apr 2002 Posts: 62
|
Posted: Tue Jul 01, 2003 5:25 am Post subject: |
|
|
so is there anyway to get loki update to work with newer versions of glibc? Or anyway to updte the games at all? |
|
Back to top |
|
|
kosamae Tux's lil' helper
Joined: 18 Jun 2003 Posts: 133 Location: (__)(__)
|
Posted: Tue Jul 01, 2003 5:51 pm Post subject: |
|
|
Yeah- you have to download a new version of the loki-update source, and compile it under glibc3.2. I can't remember where I got my source from though... Try icculus.org's LG faq, maybe. |
|
Back to top |
|
|
Niek Apprentice
Joined: 14 May 2002 Posts: 236 Location: Houten, The Netherlands
|
Posted: Tue Jul 01, 2003 6:10 pm Post subject: |
|
|
You can get the source from icculus' CVS: Code: | cvs -z3 -d:pserver:anonymous@cvs.icculus.org:/cvs/cvsroot co loki_update | WebCVS is here: http://cvs.icculus.org/horde/chora/cvs.php?rt=loki_update _________________ Bezoek ook eens de Nederlandstalige Gentoo IRC channel op irc.freenode.net - #gentoo-nl |
|
Back to top |
|
|
-ravage- Apprentice
Joined: 18 May 2003 Posts: 225
|
Posted: Wed Jul 02, 2003 6:38 am Post subject: |
|
|
The problem is not with loki_update, but the loki_patch binary bundled with the patches. The LGFAQ has a solution for fixing this problem. |
|
Back to top |
|
|
kosamae Tux's lil' helper
Joined: 18 Jun 2003 Posts: 133 Location: (__)(__)
|
Posted: Wed Jul 02, 2003 12:30 pm Post subject: |
|
|
That's right, you need the source for the patches, and to recompile them with after you replace the old loki installer with the new one, or something like that. |
|
Back to top |
|
|
SalsaDoom Tux's lil' helper
Joined: 22 Jan 2003 Posts: 105 Location: Saskatoon, Saskatchewan
|
Posted: Wed Jul 02, 2003 3:30 pm Post subject: Synopsis. |
|
|
Ok, its actually pretty easy.
I downloaded the file at http://icculus.org/~msphil/loki/x86/ and ran the update with --keep , it still errors out but it also unpacks the update into ./patch-name or something similar. cd to bin/Linux/x86 inside the game update directory, and replace the loki_patch with the one you downloaded above. Go down to the base directory of the patch and run update.sh. It magically works.
Thanks for the help fellows!
--SD ;) |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Sat Jun 19, 2004 9:31 pm Post subject: |
|
|
Code: |
localhost smac # ./smac-6.0a-x86.run
Verifying archive integrity...tail: cannot open `+6' for reading: No such file or directory
Error in check sums 724000579 2291058509
|
On the LGFAQ it says to do
export_POSIX2_VERSION=199209
but that doesn't seem to help. _________________ [ blaksaga.com ] |
|
Back to top |
|
|
zakk l33t
Joined: 16 Jun 2003 Posts: 614 Location: Oakland, CA
|
Posted: Sat Jun 19, 2004 10:30 pm Post subject: |
|
|
export _POSIX... not export_POSIX
edited so not to be confusing.
Last edited by zakk on Mon Jun 21, 2004 6:20 am; edited 1 time in total |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Sat Jun 19, 2004 10:36 pm Post subject: |
|
|
zakk wrote: | export POSIX... not export_POSIX |
That's what I get for copy+paste. Doesn't matter because it didn't fix my problem anyway. _________________ [ blaksaga.com ] |
|
Back to top |
|
|
momo123 n00b
Joined: 19 Jun 2004 Posts: 2
|
Posted: Mon Jun 21, 2004 1:30 am Post subject: |
|
|
blaksaga wrote: | zakk wrote: | export POSIX... not export_POSIX |
That's what I get for copy+paste. Doesn't matter because it didn't fix my problem anyway. |
actually I just fixed this ( had similar issues with quake3 installer and jre installer)
Code: | export _POSIX2_VERSION=199209
that is: export <space> _POSIX2_VERSION=199209
NOT: export_POSIX2_VERSION=199209
|
mike |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Mon Jun 21, 2004 3:55 am Post subject: |
|
|
momo123 wrote: | blaksaga wrote: | zakk wrote: | export POSIX... not export_POSIX |
That's what I get for copy+paste. Doesn't matter because it didn't fix my problem anyway. |
actually I just fixed this ( had similar issues with quake3 installer and jre installer)
Code: | export _POSIX2_VERSION=199209
that is: export <space> _POSIX2_VERSION=199209
NOT: export_POSIX2_VERSION=199209
|
mike |
Thanks, that fixed it. _________________ [ blaksaga.com ] |
|
Back to top |
|
|
bastain Guru
Joined: 11 Jul 2003 Posts: 364
|
Posted: Sun Feb 06, 2005 10:40 am Post subject: Re: Synopsis. |
|
|
SalsaDoom wrote: | Ok, its actually pretty easy.
I downloaded the file at http://icculus.org/~msphil/loki/x86/ and ran the update with --keep , it still errors out but it also unpacks the update into ./patch-name or something similar. cd to bin/Linux/x86 inside the game update directory, and replace the loki_patch with the one you downloaded above. Go down to the base directory of the patch and run update.sh. It magically works.
Thanks for the help fellows!
--SD |
Hmm.....I did this too...but I get an error-message:
Code: | sh ./update.sh
./update.sh: line 60: 10560 Segmentation Fault loki_patch --verify patch.dat |
|
|
Back to top |
|
|
UncleOwen Veteran
Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
|
Back to top |
|
|
bastain Guru
Joined: 11 Jul 2003 Posts: 364
|
Posted: Sun Feb 06, 2005 11:23 am Post subject: |
|
|
I got only the game installed, no loki-patch and loki-update. Does the ebuild work in this environment too? |
|
Back to top |
|
|
UncleOwen Veteran
Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Sun Feb 06, 2005 2:28 pm Post subject: |
|
|
The ebuild will install the game and patch it. |
|
Back to top |
|
|
bastain Guru
Joined: 11 Jul 2003 Posts: 364
|
Posted: Sun Feb 06, 2005 2:59 pm Post subject: |
|
|
emerge smac-6.0a
Calculating dependencies
!!! Problem in games-strategy/smac-6.0a dependencies.
!!! "Specific key requires an operator (games-strategy/smac-6.0a) (try adding an '=')" exceptions |
|
Back to top |
|
|
UncleOwen Veteran
Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Sun Feb 06, 2005 3:09 pm Post subject: |
|
|
Just do emerge smac or emerge =games-strategy/smac-6.0a |
|
Back to top |
|
|
bastain Guru
Joined: 11 Jul 2003 Posts: 364
|
Posted: Sun Feb 06, 2005 3:35 pm Post subject: |
|
|
ACCEPT_KEYWORDS="~x86" emerge =games-strategy/smac-6.0a
worked! Many thanx!!
Two more questions. In the game the version number is 6.0, not 6.0a. Is it patched now?
How can I increase the refresh-rate/resolution of the game. It runs on 1024 and 60Hz.... |
|
Back to top |
|
|
UncleOwen Veteran
Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Sun Feb 06, 2005 3:59 pm Post subject: |
|
|
bastain wrote: | ACCEPT_KEYWORDS="~x86" emerge =games-strategy/smac-6.0a |
You shouldn't use ACCEPT_KEYWORDS on the command line, this will break your next emerge world. Use /etc/portage/package.keywords instead.
Quote: | Two more questions. In the game the version number is 6.0, not 6.0a. Is it patched now? |
Do you have a /opt/smax/smac.dynamic? If yes, the game is patched. |
|
Back to top |
|
|
bastain Guru
Joined: 11 Jul 2003 Posts: 364
|
Posted: Sun Feb 06, 2005 10:44 pm Post subject: |
|
|
UncleOwen wrote: | bastain wrote: | ACCEPT_KEYWORDS="~x86" emerge =games-strategy/smac-6.0a |
You shouldn't use ACCEPT_KEYWORDS on the command line, this will break your next emerge world. Use /etc/portage/package.keywords instead.
Quote: | Two more questions. In the game the version number is 6.0, not 6.0a. Is it patched now? |
Do you have a /opt/smax/smac.dynamic? If yes, the game is patched. |
You mean :
/opt/smac/smac.dynamic
Yes I got that one. But I did already the ACCEPT_KEYWORDS-Action. I created that keywords-file and put the name in
games-strategy/smac ~x86
Your ebuild lives in /usr/local/portage/games-strategy/smac
Oh I forgot...perhasp you too
How can I increase the refresh-rate/resolution of the game. It runs on 1024 and 60Hz.... |
|
Back to top |
|
|
UncleOwen Veteran
Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Mon Feb 07, 2005 8:43 am Post subject: |
|
|
bastain wrote: | You mean :
/opt/smac/smac.dynamic |
Yes, typo on my side.
Quote: | But I did already the ACCEPT_KEYWORDS-Action. I created that keywords-file and put the name in
games-strategy/smac ~x86 |
ok.
Quote: | Oh I forgot...perhasp you too
How can I increase the refresh-rate/resolution of the game. It runs on 1024 and 60Hz.... |
I wish I had an answer to that one, too |
|
Back to top |
|
|
|