VOGONS


First post, by niagara94

User metadata
Rank Newbie
Rank
Newbie

Hi - Is it possible to have a separate icon for each DosBox game that you want to run? I want to be able to click on an icon and have it run the correct commands for the .exe file for that game. That way I don't have to type something in every time that I want to run a DOS game. Thanks!

Reply 1 of 6, by collector

User metadata
Rank l33t
Rank
l33t

Create DOSBox shortcuts and add a path to the dosbox.conf file to be used for that game. mounting and executables to start the games can then be added to the autoexec section of the conf. If you are uncertain on how to do this, just use DBGL to create the shortcuts.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 2 of 6, by niagara94

User metadata
Rank Newbie
Rank
Newbie

Hi - Thanks for writing. I don't know how to put shortcuts in dosbox.conf to run individual games. I know how to do it for one game but not how to do that for different games so that the right game will run and so that only the game I click on will run. Also (and here I will show my ignorance of DosBox, I don't know what DBGL or how to use it. I can search on the forums. Maybe just searching DBGL will tell me or maybe I can search how to do the individual shortcuts. Thanks for any help!

Reply 3 of 6, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

You don't put the shortcuts *IN* dosbox.conf. You make a copy of your dosbox.conf, and call it something like AdventuresOfZelda.conf. Next you right-click on your desktop, select New => Shortcut, and browse to your dosbox.exe.

When you have selected dosbox.exe, you have to edit the path so it reads something like

C:\Program Files\DOSBox-0.72\dosbox.exe -conf "C:\Path\to\your\AdventuresOfZelda.conf"

Give the shortcut a name that matches the config-file, e.g. Adventures of Zelda, and you are done.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 4 of 6, by niagara94

User metadata
Rank Newbie
Rank
Newbie

Ahah! Thank you so much! I got it figured out now. I did what you said and of course it works perfectly. Now I just have one more question. I know how to edit the .conf file to make the game automatically run in full screen. However, I was wondering is there a way to make the black dos screen you get after a game has run to show up automatically in a smaller window instead of full screen? I know that you can manually press alt-enter but is there a way to program the .conf file for when the game is exited? Thanks so much for your help!

Reply 5 of 6, by Xelasarg

User metadata
Rank Member
Rank
Member

If I'm not mistaken, you simply want to get back to your whatever-OS-desktop after playing your DOS games. I'd suggest you just add the 'exit' command at the end of the autoexec section in your conf files, which will close DOSBox automatically after playing.

e.g.:

[autoexec]
# Lines in this section will be run at startup.
mount c c:\dosgames
C:
cd wc
wc
exit

"What's a paladin?!"

Reply 6 of 6, by niagara94

User metadata
Rank Newbie
Rank
Newbie

Thank you! That does exactly what I want!