VOGONS


First post, by Ego

User metadata
Rank Newbie
Rank
Newbie

I found DOSBox to be great tool, but I also found it tiresome to write the command lines everytime I had a 'good old DOS game crave' so I looked around for a way to use a simple batch file solution that would allow me to start DOSBox up and autorun the game with a single double click on an icon, but I didn't find anything on that in the forums (I'm sure someone will point me in the right direction now just to make me fell stupid...🙄 )

Then I stumbled upon Doboxfront and wanted to give it a shot.

I made a new project, pointed out the dosbox path, pointed out the program file path I wanted to run (in this case Master of Magic, which ran 'perfectly' using DOSBox - no delays in combat, sound on, just the odd crash when combat is initiated), saved the project, and hit the 'start' icon, but nothing happened...

I'm sure I'm missing something obvious, so if someone could direct me in the right direction I'd be a very happy man.

Ego

Last edited by Ego on 2003-11-06, 18:03. Edited 1 time in total.

I was late for my wedding, but, alas, not late enough...

Reply 1 of 7, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Hello.

+ You can use command-lines with dosbox to automatically launching things. Refer to the readme file.

+ You can execute commands at start up by writing lines under the [AUTOEXEC] section in your configuration file. Ex. mount c c:\

+ You can write specific config files for each separate app/game you try. USAGE: CONFIG -writeconf thisgame.conf
Later you can load a separate config file for each one.

Sometime i tested an earlier version of dosboxfro and didn't like it. I have no problems running the emulator directly.

Reply 2 of 7, by Ego

User metadata
Rank Newbie
Rank
Newbie

Hey eL_PuSHeR you're the man!

I had read the readme file a few times but unfortunately dos is not my strong side, so I needed a good kick in the right direction and you gave it to me. I'm now busy writing up tons of conf files for all my games 😁

Thanks man!!

I have a new question (actually it's twofold...):

One of the applications I use is VPA. It's a dos application that I use to play the pbem game VGA Planets. When I run it 'in natural' using XP to my surprise it 'worked', but it's too big for my screen (tft, laptop, XP, sis 650 - 64 MB shared, 2.4 GHz, 512 ram, bla, bla). The lower and right parts of the application are not on the screen. (Any quick fix for this thing?)

I tried to run it using DOSBox (of course) but the commands needed to run the game are (this is my batch file):

del c:\Games\Strategy\Planets\Vpwork1\*.trn
c:\Games\Strategy\Planets\vpa 11 c:\Games\Strategy\Planets\Vpwork1

The last line is one long command. It tells the computer to run the application VPA using the information for race 11 that are found in the directory c:\Games\Strategy\Planets\Vpwork1.

This doesn't work with the normal 'add it in the autoexec part of the conf file' due to te spaces in the last command line. Any suggestions?

Ego

(sorry for the long post...)

I was late for my wedding, but, alas, not late enough...

Reply 3 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

you could try puting " " around the command like this
"command with spaces"
Not sure if dosbox likes it. But worth a try I think.

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 7, by teamster1975

User metadata
Rank Member
Rank
Member

Why don't you call a batch file from the conf file to run the game?

copy con vgaplan.bat
echo off
del c:\Games\Strategy\Planets\Vpwork1\*.trn
cd\games\strategy\planets
vpa 11 c:\Games\Strategy\Planets\Vpwork1
cd\

Press F6 and press enter to save batch file

Sorry if I'm stating the obvious, I don't know whether you know batch files 😜

Teamster

Reply 5 of 7, by Ego

User metadata
Rank Newbie
Rank
Newbie

Thanks for the suggestion, Qbix. I tried it, but unfortunately it still 'reads' the spaces as 'now comes a new command'...

c:\>"c:\Games\Strategy\Planets\vpa 11 c:\Games\Strategy\Planets\Vpwork1"
Illegal command: "c:\Games\Strategy\Planets\vpa.

Ego

I was late for my wedding, but, alas, not late enough...

Reply 6 of 7, by Ego

User metadata
Rank Newbie
Rank
Newbie

teamster1975, I follow your way of thinking. I'm not sure I understand exactly the code you posted (I'm a almost lost when it comes to dos commands) but I tried to call the batch file (called play) from the conf file:

cd c:\games\strategy\planets
play

The good thing is that it tried to execute the entire command but unfortunately it didn't accept it:

C:\GAMES\STRATEGY\PLANETS>c\games\strategy\planets
vpa 11 c:\Games\Strategy\Planets\Vpwork1
Loader error (0023): invalid exe format

I was late for my wedding, but, alas, not late enough...

Reply 7 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

this basicly means that the game isn't supported that you are trying to run
invalind headers is a common error for non-supported games.

Water flows down the stream
How to ask questions the smart way!