file from heroes 3 are missing

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux — A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author’s experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Click Here to receive this Complete Guide absolutely free. 11-16-2004, 07:39 AM #1

I tried my old FC2 solutions to get heroes3 working under my otherwise spiffy new install of FC3, including LD_ASSUME_KERNEL=2.4.1 and installing the compat-glibc from RH6.3 and doing LD_LIBRARY_PATH=/usr/i386-glibc21-linux/lib:$LD_LIBARY_PATH — and, of course, combinations of the above.

sg_x_2 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sg_x_2 03-22-2005, 01:05 PM #2 Brutal Ben View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Brutal Ben 03-25-2005, 11:10 PM #3

Hi, I read this thread and thought of installing HOMM3 myself. I have a homm3.linux.iso file and a patch: heroes3-1.3.1a-unified-x86.run (random mirror from google).

System: FC3, livna’s nvidia drivers.
AMD Athlon 2500+ Barton, 512MB PC-2700, Epox nforce2 motherboard.
Sound: Using a Soundblaster Live! 5.1 Digital PCI card.

Mounted the iso as a loopback device and ran setup.sh:

Now this thread looks helpful, it’s about neworking issues, but the problem is with glibc versions. It suggests using this (older!) modified patch. This idea doesn’t sound too appealing to me.

Any ideas welcome! Installing an old version of glibc ain’t that great, really.


Linux (loki) and Windows version were not net compatible IIRC, so I’ll end up running HOMM3 with cedega prolly, but still I’d like to get the linux version working. Just for the heck of it and maybe even help someone out :).

kilgor View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by kilgor 04-07-2005, 04:43 PM #4 thanquol View Public Profile View LQ Blog View Review Entries View HCL Entries Visit thanquol’s homepage! Find More Posts by thanquol 04-11-2005, 10:24 AM #5

I’ve found a work around .

Using knoppix 3.4, I was able to start heroes3 from my Linux partition. The game was running fine. This is not the best solution since it requires a reboot of your machine, but I think it is still better than going under Windows.

isotrope View Public Profile View LQ Blog View Review Entries View HCL Entries Visit isotrope’s homepage! Find More Posts by isotrope 04-11-2005, 12:39 PM #6 Originally posted by isotrope
Using knoppix 3.4, I was able to start heroes3 from my Linux partition.

Does it only work with 3.4, have you tried newer/older versions of knoppix?

Could you check, which glibc version does Knoppix 3.4 use.

And what versin of HOMM3 you are using and which binary did you use, the default or dynamic?

kilgor View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by kilgor 04-11-2005, 05:48 PM #7

I didn’t not try with a more recent version of Knoppix. Knoppix 3.4 comes with glibc version 2.3.2 and a 2.4.26 kernel. I’m using the default binary of Heroes3 (version 1.3.1a).

It gives me the impression that glibc is not causing the problem. Maybe we should try with more recent version of Knoppix or other Live CD to see some pattern.

isotrope View Public Profile View LQ Blog View Review Entries View HCL Entries Visit isotrope’s homepage! Find More Posts by isotrope 04-28-2005, 03:46 AM #8

Any news in here?

I’m stuck at the same point (FC3 upgraded, HOMM3 1.3.1a), but also tried to use the dynamic binary according to http://www.linuxquestions.org/questi. 05/02/4/276090 (it’s a similar problem from Railroad Tycoon II users), unfortunately, I still get a:
./heroes3.dynamic
Segmentation fault

05-11-2005, 02:03 AM #9

I forgot to check this, sorry im using an older version of libc6 than a few of you.

ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries and Timezone
ii libc6-dev 2.3.2.ds1-21 GNU C Library: Development Libraries and Hea

Ok here is this fix, that worked for me to install the patch.

1. open up your File: heroes3-1.3.1a-cdrom-x86.run or the unified, . whichever you choose in a text editor.

2. remove everything down to and including the line containing END_OF_STUB (line 176 in heroes3-1.3.1a-cdrom-x86.run) so now all you have left is a bunch of unreadable garbage.

3. Now save your file as update.tgz

4. tar xvzf update.tgz, u will receive an unexpected end of file error, ignore it.

5. now you will have a file called update.sh, open that in a text editor and comment out the following lines

# Verify that the loki_patch version is okay
#if loki_patch —verify patch.dat; then
# :
#else
# exit 1
#fi

6. then run sh update.sh and follow the on-screen instructions, u may get an error about your patch failing but it does work and heroes 3 runs perfectly.

/lokipatch-test-fakk/data# heroes3 -v
Heroes of Might & Magic III 1.3.1a
Built with glibc-2.1 on x86
adric:

Fullscreen/Network both work correctly now.

Also note this file, if you are missing libraries try linking your current to the ones it is looking for. (ln -s)

adric:/usr/local/games/Heroes3# cat README.dynamic
Heroes of Might & Magic III
1.3.1a Dynamically Linked

This is the unsupported dynamically linked version of the game.
It depends on the presence of the following libraries :

Loki does not officially support dynamic patches, if you run this binary
you are on your own.

####
this is kind of odd. it seems to work ok though

adric:/usr/local/games/Heroes3# ls -l heroes3
-rwxrwxr-x 1 root staff 4027700 2005-05-11 09:30 heroes3
adric:/usr/local/games/Heroes3# ldd heroes3
not a dynamic executable
adric:/usr/local/games/Heroes3# which heroes3
/usr/local/bin/heroes3
adric:/usr/local/games/Heroes3# ldd `which heroes3`
not a dynamic executable
adric:/usr/local/games/Heroes3# ls -l `which heroes3`
lrwxrwxrwx 1 root staff 32 2005-05-10 08:43 /usr/local/bin/heroes3 -> /usr/local/games/Heroes3/heroes3

opt1k View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by opt1k 05-11-2005, 08:36 AM #10 Ok here is this fix, that worked for me to install the patch.

Why didn’t you use the method I linked to and used? Click here and scroll down.

Also note this file, if you are missing libraries try linking your current to the ones it is looking for. (ln -s)

It means, if heroes3 can’t find some library, ’cause it’s searching in the wrong place, then you could make a link to it with «ln -s».

this is kind of odd. it seems to work ok though
adric:/usr/local/games/Heroes3# ldd heroes3
not a dynamic executable kilgor View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by kilgor 05-11-2005, 08:35 PM #11

-The distribution im using is Debian 3.1 (sarge) testing.
-I didnt use the method you linked to because i had done this before I read about that method. Its a secondary alternative i suppose.
-apparently I didnt install the dynamic heroes3, i was testing 2 of the patches and i must have used a different patch, slight mistake on my part, i over-wrote the files.
but it is showing i have the latest release.
$ ldd /usr/local/games/Heroes3/heroes3.dynamic
not a dynamic executable

$ heroes3 -v
Heroes of Might & Magic III 1.3.1a
Built with glibc-2.1 on x86
——
I have been doing some tinkering with LD_LIBRARY_PATH and an old redhat glibc-2.1.3-15, im pretty sure this is going to end up being the only way to run a loki game that segfaults (obviously due to libc6 being incompatible) Im not too sure where to go from here since that didnt work.

This may be of some help for any heroes3 issues. as a possible start for a solution.

LD_LIBRARY_PATH=/home/opt1k/Downloads/FireFox-Downloads/lib/:/lib:/usr/lib:$LD_LIBRARY_PATH fakk2
fakk2: /home/opt1k/Downloads/FireFox-Downloads/lib/libc.so.6: version `GLIBC_2.2′ not found (required by /usr/X11R6/lib/libX11.so.6)
fakk2: /home/opt1k/Downloads/FireFox-Downloads/lib/libc.so.6: version `GLIBC_2.3′ not found (required by /usr/X11R6/lib/libX11.so.6)
fakk2: /home/opt1k/Downloads/FireFox-Downloads/lib/libc.so.6: version `GLIBC_2.3.2′ not found (required by /usr/X11R6/lib/libX11.so.6)
fakk2: /lib/ld-linux.so.2: version `GLIBC_2.1.1′ not found (required by /home/opt1k/Downloads/FireFox-Downloads/lib/libc.so.6)

glibc-2.1.3-15
——————
$ fakk2
BUG! (Segmentation Fault) Going down hard.
Heavy Metal: FAKK2
Built with glibc-2.1 on x86

Originally posted by Stack dump:

Please send a full bug report,
along with the contents of autosave to: support@lokigames.com
Unable to execute loki_qagent — exiting

kilgor
Why didn’t you use the method I linked to and used? Click here and scroll down.

It means, if heroes3 can’t find some library, ’cause it’s searching in the wrong place, then you could make a link to it with «ln -s».

It’s not odd, heroes3 is not the dynamic one. heroes3.dynamic is.
Here’s the output for heroes3.dynamic:

This has been really bugging me. There is no options menu, so I have no idea how to skip it. Please HELP ME.

3 Answers

Here is what I did, I added a -nomovie command line to the MM6.exe.

Right-click on your MM6 desktop shortcut (the shortcut, NOT the exe, itself!), click on «properties», and change line Target:

«C:GOG.comMight & Magic VI Limited EditionMight and Magic 6 — The Mandate of HeavenMM6.exe»

«C:GOG.comMight & Magic VI Limited EditionMight and Magic 6 — The Mandate of HeavenMM6.exe» -nomovie

that should take the movie off, hope that helps

Источник: computermaker.info

Техника и Гаджеты
Добавить комментарий