28f6 error message on dosbox [Archive] - The FreeBSD Forums

PDA

View Full Version : error message on dosbox


roelof
December 28th, 2008, 17:22
Hello,

I try to make dosbox run on freebsd because i have a few old games i want to play.

When i run this command : dosbox trixb1.exe
i get the error-message that mcop files can't be created.

How to solve this ?

Roelof

vermaden
December 28th, 2008, 17:45
to run dosbox games you need to create a config for a game taht you want to run, its not like wine, check that config for example:

[autoexec]
@echo off
mount C ~/.dosbox
C:
cd swos
swos.exe

[sdl]
fullscreen = false
fulldouble = true
# sensitivity = 1..100

[dosbox]
memsize = 8

[cpu]
core = dynamic
cycles = 20000
cycleup = 1000
cycledown = 1000

roelof
December 28th, 2008, 20:22
Hello,

One question.
Where do I put this config file.
The games are on a cd.

Roelof

kamikaze
December 29th, 2008, 00:53
I always start dosbox and the games I want to run from therein.

richardpl
December 29th, 2008, 13:31
There is ~/.dosboxrc.

But almost any game can be started if you start dosbox with argument of where games is located, for example:

% dosbox /path/to/game/folder/

and after that type correct game EXE/BAT command inside dosbox window(if it is not fullscreen).

roelof
December 29th, 2008, 13:42
Everybody thank you for the help.

~/.dosboxrc doesn't exist.

And i have made one mistake.
I get this message already if a want to start dosbox.
and then i get the linux prompt so i can't make a config file.

Tamara# dosbox
can't create the mcop directory.

Tamara#

I work now with xfce4.

Roelof

vermaden
December 29th, 2008, 13:51
Hello,

One question.
Where do I put this config file.
The games are on a cd.

Roelof

You can put that file wherever you want mate, you will just start dosbox like that:
% dosbox -c /path/to/some_game.conf

The most important are these lines in config wile:
[autoexec]
@echo off
mount C ~/.dosbox
C:
cd swos
swos.exe

Because these command will be executed to start your game, it that example dir ~/.dosbox is mounted as C drive, so your games will have to be in ~/.dosbox dir.

If you want to start a game manually, you just start doxbox:
% dosbox

and then manually mouny some dir with games and start them manually.

roelof
December 29th, 2008, 14:08
oke,

That's clear.
But as i write in a earlier post. Dosbox will not start.

Roelof

Carpetsmoker
December 29th, 2008, 14:25
Can you copy&paste the complete error message?

roelof
December 29th, 2008, 14:47
oke,

Here it comes :
DOSBox version 0.72
Copyright 2002-2007 DOSBox Team, published under GNU GPL.
---
Creating link /root/.kde/socket-tamara.hnglo1.ov.home.nl.
can't create mcop directory

Roelof

vermaden
December 29th, 2008, 15:08
Do not run x11 or dosbox as root, create common account.

roelof
December 29th, 2008, 17:36
hoi,

I created a user named roelof but the same error message appears.

See this screen shot :

$ dosbox
DOSBox version 0.72
Copyright 2002-2007 DOSBox Team, published under GNU GPL.
---
Creating link /home/roelof/.kde/socket-tamara.hnglo1.ov.home.nl.
can't create mcop directory
$

Roelof

lme@
December 30th, 2008, 11:57
try

mkdir -p $HOME/.kde/socket-`hostname`

roelof
December 30th, 2008, 17:39
Oke,

That's work.
If i do :

mount /cdrom
dosbox
in dosbox : mount d: /cdrom
and then browse to the game it works.

Can i do this in a sort of batch file so my wife can do it without typing commands ?

Roelof


Roelof

vermaden
December 30th, 2008, 18:19
I already told you that twice but, what the hell:
[autoexec]
@echo off
mount C ~/.dosbox
C:
cd swos
swos.exe

roelof
December 30th, 2008, 18:44
Sorry that's not what i ment.
What i mean is making a batch file which contains the mount /cdrom en after that the dosbox command.

Roelof

vermaden
December 30th, 2008, 20:13
Sorry that's not what i ment.
What i mean is making a batch file which contains the mount /cdrom en after that the dosbox command.

Roelof

You put that into the [autoexec] section of dosbox game.conf file ....=

roelof
December 31st, 2008, 11:33
hello,

That doesn't work.

I have put this :

@echo offf
mount /cdrom
mount d: /cdrom
cd /puzzle/brix
brix1.exe

And nothing happen.

Roelof

richardpl
December 31st, 2008, 19:38
hello,

That doesn't work.

I have put this :

@echo offf
mount /cdrom
mount d: /cdrom
cd /puzzle/brix
brix1.exe

And nothing happen.

You can not mix freebsd commands and dosbox commands.
mount /cdrom is obviously freebsd command.
(Also it works by default only for root)

If you want user friendly way to play dos games from cdrom
you need first to enable hald, so that you dont need
to mount cdrom and instead just start dosbox with
custom conf (look in manual).

roelof
January 1st, 2009, 12:25
Hoi Richard,

I enabled hald by putting "hald-enable = "yes" in the rc.conf file.

But when i do then dosbox and then mount d: /cdrom no files are being found.

What went wrong here ?

Roelof

roelof
January 1st, 2009, 18:56
hello,

Problem solved.
I had to type hald_enable instead of hald-enable.

Roelof

0