Go Back   Forums > Abandonia.com > Troubleshooting
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 13-02-2010, 06:16 AM   #1
Zlazz
Guest
Default Running a CD game under DOSBox

Getting DOSBox to run a game directly from a CD involves additional commands to access the CD and also save games into a folder on the hard drive since you cannot save to the CD itself.

The best way to arrange this is through a batch file - you only have to work it out once so don't have to remember what you did last time. Batch file commands are easily altered and they can all be stored in the DOSBox folder as a guide for other games needing similar or different parameters.

The following command-line was saved as Lot5.bat in the DOSBox-0.72 folder. It uses the '-c' switch to input a series of commands for DOSBox to run LABYRINTH OF TIME from its start-file 'lab.bat' on the game CD in drive E:\ and save games to D:\Games\LoT5 (created previously on the hard drive).

dosbox.exe -c "mount D E:\ -t cdrom" -c "mount c d:\games\lot5" -c "c:" -c "d:" -c "cycles=2000" -c "d:\lab.bat" -fullscreen -exit

Entering D:\DOSBox-0.72\Lot5.bat in the 'Run ...' box ran the game in Windows7 (64-bit) and game progress could be saved and restored from within the game itself. Suitably altered command-lines should operate other DOS-based CD games and further details of DOSBox commands are in DOSBox documentation.

I also found that the slowdown command -c "cycles=2000" did not work if placed after the -c "d:\lab.bat" command which started the game.
                       
Reply With Quote
Old 13-02-2010, 09:29 AM   #2
The Fifth Horseman
FUTURE SCIENCE BASTARD
 
The Fifth Horseman's Avatar


 
Join Date: Oct 2004
Location: Opole, Poland
Posts: 14,276
Default

Quote:
I also found that the slowdown command -c "cycles=2000" did not work if placed after the -c "d:\lab.bat" command which started the game.
No, it wouldn't - the program would be started (and have to end) before the following lines were executed.
__________________

"God. Can't you people see I'm trying to commit a crime against science and nature here?"
-- Reed Richards
The Fifth Horseman is offline                         Send a private message to The Fifth Horseman
Reply With Quote
Old 24-04-2010, 02:56 PM   #3
ninjagaijin
Newbie

 
Join Date: Apr 2010
Posts: 6
Default

Quote:
Originally Posted by The Fifth Horseman View Post
No, it wouldn't - the program would be started (and have to end) before the following lines were executed.
I'm stuck with this, I have a game that runs with sound if I play from the CD directory, but won't play the CD music if I play from the install directory.. which I need to do to save games.
ninjagaijin is offline                         Send a private message to ninjagaijin
Reply With Quote
Old 24-04-2010, 04:39 PM   #4
hunvagy
Thread Necromancer
 
hunvagy's Avatar

 
Join Date: Jun 2009
Location: Hajduszoboszlo, Hungary
Posts: 489
Send a message via MSN to hunvagy
Default

You do realize that the DOSBox config has an autoexec section exactly for this purpose, right?
__________________
Angelus Errare, where angels lose their way
hunvagy is offline                         Send a private message to hunvagy
Reply With Quote
Old 25-04-2010, 10:12 PM   #5
RRS
(Gaming) History Buff
 
RRS's Avatar


 
Join Date: Jul 2008
Location: Gdansk, Poland
Posts: 586
Default

...and that you can keep separate configs (those autoexec files) for specific games (like ones which require seriously nerfing your CPU etc.)
RRS is offline                         Send a private message to RRS
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help running Ascendancy in DOSBox NINOH Troubleshooting 2 18-03-2010 06:58 PM
running games on Dosbox? HELP! supermario Troubleshooting 2 30-11-2007 01:24 AM
Running Sidewinder 2 In Dosbox ? ReneG8 Troubleshooting 5 19-04-2006 06:48 PM
Running Old Cd Rom Games With Dosbox ddamaged Troubleshooting 1 01-11-2005 03:17 PM
Running Settlers With Dosbox moosefoof Troubleshooting 1 09-07-2005 12:30 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump
 


The current time is 07:55 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.