VOGONS


First post, by linux-user

User metadata

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.

Reply 1 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

- 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.

Reply 2 of 5, by linux-user

User metadata

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:

[sdl]
fullscreen=false
fulldouble=false
windowresolution=original
fullfixed=false
hwscale=1.00
output=opengl
autolock=true
sensitivity=200
waitonerror=true
priority=normal,lower
mapperfile=mapper.txt
usescancodes=true

[dosbox]
machine=svga_s3
captures=capture
memsize=16

[render]
frameskip=0
aspect=false
scaler=normal2x

[cpu]
core=auto
cycles=auto
cycleup=500
cycledown=20

[mixer]
nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]
mpu401=intelligent
device=default
config=

[sblaster]
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
gus=false

[speaker]
pcspeaker=on
pcrate=22050
tandy=off
tandyrate=22050
disney=false
Show last 31 lines

[joystick]
joysticktype=none

[serial]
serial1=disabled
serial2=disabled
serial3=disabled
serial4=disabled

[dos]
xms=true
ems=true
umb=true
keyboardlayout=none

[ipx]
ipx=false

[vga]
svgachipset=s3
videoram=4096

[autoexec]
keyb gr
mount c ~/.dosbox/drive_c
mount d ~/.dosbox/drive_d
c:
cls

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. 😉

Reply 3 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Use method 1, but create an empty directory on your real harddrive,
best in your home directory. Like ~/oldgames

Then use something like

mount c ~/oldgames mount d /media/cdrom d: install.exe […]
Show full quote

mount c ~/oldgames
mount d /media/cdrom
d:
install.exe

and install the game onto the emulated harddrive.

You might want to read through the guides on the guides forum at vogons.

Reply 4 of 5, by linux-user

User metadata

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. 🙁

Reply 5 of 5, by linux-user

User metadata

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?