Dosbox How to configure conf files and run them as batch files

Опубликовано: 21 Октябрь 2024
на канале: Ace1000ks1975
7,024
31

Program: Dosbox 0.74 emulator

When you run PC games, you have to run them with specific settings, like hardware settings. When you run a emulator program like this which requires you to type in Dos commands, you have to do this every time you a run a game. It doesn't have to be tedious, you can simply change the configuration or .conf files. You can get Dosbox to run your customized .conf file instead of running the default .conf file. Then, you have to write a batch program to run Dosbox with your modified configuration file.

If you complete everything correctly, you can run a batch file which will enable you to run the file with a click of a mouse.

1. Open up notepad
2. Go to Windows Explorer and type in
c:\users\%username%\appdata\local\dosbox .
3. Copy the dosbox.conf file and paste it onto the desktop.
4. Change the name of the .conf file.
5. Edit the conf file.
6. Go all the way to the bottom of the .conf file.
7. Mount the hard drive if you didn't already do it.
mount c drive:\filepath
example: mount c c:\dosgames
8. Mount the ISO if you have a ISO file.
Mount d "drive:\filepath\filename.iso"
Example:
Mount d "c:\isofiles\strikecommander.iso"

9. Type in dos commands in the .conf file, so the game will run every time you click on the batch file.
drive:
cd\directory\subdirectory
filename

example:
c:
cd\dosgames\strikecmdr
sc

9. Go open notepad.
10. Type in the following.
example:
@echo off
c:
cd\Program Files (x86)\DOSBox-0.74
start DOSBox.exe -conf "C:\Users\%username%\AppData\Local\DOSBox\dosbox_Strikecmdr.conf"
11. Save it as all files and save it as name.bat.