crodgers: Hi! I have a few old DOS games that run under DOSBox (Duke Nukem1, Duke Nukem 2, Wolfenstein 3d, etc). Is it difficult to make them more like GOG where I have a game icon that simply starts the game in full-screen mode? Or is it a much more complicated process of embedding a game in DOSBox ,or vice versa?
What Thiev said, although I like to do custom configuration for each game because I like tinkering with DOSBox.
It's relatively easy. You need to make a copy of your .conf file for each game and then add whatever commands you use to start the game to the [Autoexec] section at the end of the file. As an example, here's what's at the end of my Theme Hosptital .conf file:
@Echo Off
mount C C:\Dosbox2\C-drive
imgmount D C:\hospital\hospital.cue -t iso
C:
cd hospital
cls
hospital
exit
You then create a shortcut similar to what Thiev linked to but it doesn't need the "C:\Games\Game\Game.exe" type bit because that's taken care of by the .conf file. The way I do it, I also set the "Start In" part of the shorcut to the game folder because that's where the .conf file is and it means you can use relative paths in your mount commands. This allows for easily portability (I could run it off a pendrive with a batch file if I wanted).
This is the method GOG uses by the way so I hope that helps. If you have any questions I'd be happy to go into more detail.