Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
patching old loki games (SMAC, Tribes2, etc) broken?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
SalsaDoom
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 105
Location: Saskatoon, Saskatchewan

PostPosted: Mon Jun 30, 2003 2:17 pm    Post subject: patching old loki games (SMAC, Tribes2, etc) broken? Reply with quote

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
View user's profile Send private message
[UK]Superdude
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 149
Location: Adelaide, Australia

PostPosted: Mon Jun 30, 2003 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
smtanner
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 106
Location: Colorado

PostPosted: Tue Jul 01, 2003 1:12 am    Post subject: Reply with quote

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
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Tue Jul 01, 2003 3:46 am    Post subject: Reply with quote

Thats the glibc 3.2.x error with loki-update
Back to top
View user's profile Send private message
Woolmonkey
n00b
n00b


Joined: 29 Apr 2002
Posts: 62

PostPosted: Tue Jul 01, 2003 5:25 am    Post subject: Reply with quote

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
View user's profile Send private message
kosamae
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2003
Posts: 133
Location: (__)(__)

PostPosted: Tue Jul 01, 2003 5:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Niek
Apprentice
Apprentice


Joined: 14 May 2002
Posts: 236
Location: Houten, The Netherlands

PostPosted: Tue Jul 01, 2003 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
-ravage-
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 225

PostPosted: Wed Jul 02, 2003 6:38 am    Post subject: Reply with quote

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
View user's profile Send private message
kosamae
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2003
Posts: 133
Location: (__)(__)

PostPosted: Wed Jul 02, 2003 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
SalsaDoom
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 105
Location: Saskatoon, Saskatchewan

PostPosted: Wed Jul 02, 2003 3:30 pm    Post subject: Synopsis. Reply with quote

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
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Sat Jun 19, 2004 9:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
zakk
l33t
l33t


Joined: 16 Jun 2003
Posts: 614
Location: Oakland, CA

PostPosted: Sat Jun 19, 2004 10:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Sat Jun 19, 2004 10:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
momo123
n00b
n00b


Joined: 19 Jun 2004
Posts: 2

PostPosted: Mon Jun 21, 2004 1:30 am    Post subject: Reply with quote

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
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Mon Jun 21, 2004 3:55 am    Post subject: Reply with quote

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
View user's profile Send private message
bastain
Guru
Guru


Joined: 11 Jul 2003
Posts: 364

PostPosted: Sun Feb 06, 2005 10:40 am    Post subject: Re: Synopsis. Reply with quote

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
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sun Feb 06, 2005 10:57 am    Post subject: Reply with quote

Maybe you want to try out my ebuild at http://www.uncleowen.de/~uo/portage/games-strategy/smac/
Works for me, but I haven't touched it for a while.
Back to top
View user's profile Send private message
bastain
Guru
Guru


Joined: 11 Jul 2003
Posts: 364

PostPosted: Sun Feb 06, 2005 11:23 am    Post subject: Reply with quote

I got only the game installed, no loki-patch and loki-update. Does the ebuild work in this environment too?
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sun Feb 06, 2005 2:28 pm    Post subject: Reply with quote

The ebuild will install the game and patch it.
Back to top
View user's profile Send private message
bastain
Guru
Guru


Joined: 11 Jul 2003
Posts: 364

PostPosted: Sun Feb 06, 2005 2:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sun Feb 06, 2005 3:09 pm    Post subject: Reply with quote

Just do emerge smac or emerge =games-strategy/smac-6.0a
Back to top
View user's profile Send private message
bastain
Guru
Guru


Joined: 11 Jul 2003
Posts: 364

PostPosted: Sun Feb 06, 2005 3:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sun Feb 06, 2005 3:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
bastain
Guru
Guru


Joined: 11 Jul 2003
Posts: 364

PostPosted: Sun Feb 06, 2005 10:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Mon Feb 07, 2005 8:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum