Please excuse me for re-animating this topic after such a long time, but I too can't install Kyrandia, no matter what I try.
I found an old CD-Version of Kyrandia 1, which includes the English, German and French version, for DOS and for Win95 as well. It's an original cd, no damm copy or downloaded image.
Regardless of what I try, I can not install the game in dosbox. I tried all that is said above, but I still get this "error with main.exe".
I tried these variants:
- mount /media/cdrom as drive D: in dosbox and install the game from there
- copy the hole cd to disk, mount this directory as drive D: and install from there
- copy the files from the CD directly into a directory on dosbox's C: and start the game from there
Neither of these procedures was successful. I always can install the game, but as soon as setup has finished asking questions, I get this strange "error with main.exe".
Can anyone help me, please? I really want to play this game, but the installation is driving me mad.
Please regard that I am using the Linux version of dosbox, since I am using Linux exclusively on my PC.
- mount /media/cdrom as drive D: in dosbox and install the game from there
Please post the full mountings for that step (you surely need a c-drive mounted
for the installation).
Also please provide details about your OS/dosbox version etc.
Ok, here's more information about my system and the things I've tried so far:
I am using Hal's Megabuild on Linux. I need that version in order to get more then 1024x768 for an old Windows 3.11 application. (See other thread.) And apart from the installation of Kyrandia it works very well. I installed other old games and none has given me any trouble.
My dosbox configuration (~/.dosboxrc) file looks like this:
I will use bold fonts for all commands within Doxbox in order to tell them from Linux commands.
Method 1:
mount /dev/hdc /media/cdrom
dosbox
mount e /media/cdrom
e:
install.exe […] Show full quote
mount /dev/hdc /media/cdrom
dosbox mount e /media/cdrom
e:
install.exe
Installation only takes about 1 second, then the setup starts asking questions about the hardware. After confirming the answers once more the "error with main.exe" occurs, when "main.exe" is to be copied from the CD to the hard disk.
Method 2:
mount /dev/hdc /media/cdrom
mkdir ~/.dosbox/kyra
cp -a /media/cdrom/* ~/.dosbox/kyra/
dosbox
mount e ~/.dosbox/kyra
e:
install.e […] Show full quote
mount /dev/hdc /media/cdrom
mkdir ~/.dosbox/kyra
cp -a /media/cdrom/* ~/.dosbox/kyra/
dosbox mount e ~/.dosbox/kyra
e:
install.exe
The result is the same as in method 1. It also doesn't make any difference if I chance the cdrom drive letter from "e:" to "d:", neither in method 1 nor in method 2. I can copy the file manually with whatever program I like: konquerer, Midnight Commander, cp command in a shell, rsync, you name it. Neither program complains about the file, which proves that the CD isn't broken.
If you need any more information, please let me know. In the meantime, I will try to play the game in ScummVM. I heard that it is supposed to work. I only need to figure out how to install the game within ScummVM. 😉
After reading your answer it came to my mind that the "error with main.exe" could result from the dot in the directory "~/.dosbox" or the fact that there are subdirectories. After all, we're talking about DOS here. The directory "~/.dosbox" has been created automatically when installing dosbox for the first time, choosing the version that was included in the Ubuntu package pool.
I tried the steps that you mention there, but sadly it doesn't work. The "error with main.exe" remains. 🙁
I downloaded the newest version of ScummVM and Kyrandia runs perfectly now inside this virtual machine now. All it took to make the game run was copying the hole installation directory from CD to HD and tell ScummVM to use that directory. 😁
Nevertheless, I really would like to now what causes this strange "error with main.exe" and how NoWhereMan defeated it. What have you done differently than I have done?