DOS auto run

Post » Sat Sep 04, 2010 1:16 am

How do I make DOSBOX auto execute the commands required to run Daggerfall?
User avatar
le GraiN
 
Posts: 3436
Joined: Thu Mar 22, 2007 6:48 pm

Post » Sat Sep 04, 2010 12:10 pm

At the very bottom of your dosbox.conf file is an [autoexec] header. Just input every command, one by one (each on a separate line) beneath that header and DOSBox will automatically enter them when it starts. For example, on mine it's configured as:

[autoexec]# Lines in this section will be run at startup.mount C C:\DOSBox-0.73\games\ -freesize 800C:


I don't automatically run anything since I have a whole bunch of DOS games set up on my computer, but that's what I use for mounting my directories and whatnot in advance. Assuming you don't know how to set up Daggerfall, I'll just point you in the direction of Bethesda's http://static.gamesas.com/downloads/games/daggerfall_legal_and_installation.pdf which should work perfectly fine for Daggerfall. Scanning over this, if I were to directly copy the directory names used in Bethesda's directions, you'd probably have something like this in your autoexec:

mount c c:\dosgames -freesize 1000mount d c:\dosgames\dfcd -t cdrom -label Daggerfallc:cd\daggerdagger

User avatar
Kay O'Hara
 
Posts: 3366
Joined: Sun Jan 14, 2007 8:04 pm

Post » Sat Sep 04, 2010 4:19 am

It has been a while, but if you start Daggerfall by:

mount c c:\dosgames -freesize 1000
c:
cd dagger
fall z.cfg

* (Alt+Enter to go to full-screen OR if you can't move the mouse in-game after Daggerfall goes into a window, press: Ctrl+F10)


This worked for me for creating a Shortcut:

1) Open up the "dosbox.conf" file
(Go to Start->Programs->DOSBox .73->Configuration->Edit Configuration. This should pull up "dosbox.conf" in Notepad),
and save the file in the "c:\dosgames\dagger\" directory with the name "daggerfall.conf".
2) Then, make a copy of the DOSBox shortcut and place it on the desktop.
3) Edit the properties of the shortcut by changing the "target" field to:

"C:\Program Files\DOSBox-0.73\dosbox.exe" C:\DOSBox\dosbox.exe -c "mount c c:\dosgames -freesize 1000" -c "c:" -c "cd dagger" -c "fall z.cfg"

Then you can just run that shortcut whenever you want to play Daggerfall (without problems playing other DosBox games).
Cheers.
User avatar
Killer McCracken
 
Posts: 3456
Joined: Wed Feb 14, 2007 9:57 pm


Return to The Elder Scrolls Series Discussion