It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I know the DOSBox-less games usually run in WINE fine, but how do I get the DOS games working right with the Linux version of DOSBox? Basically, I know you have to copy files places, but I don't know which files to where. I would like specific directories please because when I've asked elsewhere, people haven't been specific enough.

Thanks, guys.
This question / problem has been solved by ThermioNimage
avatar
KatsumeBlisk: I know the DOSBox-less games usually run in WINE fine, but how do I get the DOS games working right with the Linux version of DOSBox? Basically, I know you have to copy files places, but I don't know which files to where. I would like specific directories please because when I've asked elsewhere, people haven't been specific enough.

Thanks, guys.
When using DosBox for Linux, it does not matter where the game files are in your filesystem. I usually run the Setup with Wine, then run dosbox with the option "-conf" to point dosbox the configuration file provided by gog for a specific game.
Post edited September 10, 2011 by ThermioN
avatar
ThermioN: When using DosBox for Linux, it does not matter where the game files are in your filesystem. I usually run the Setup with Wine, then run dosbox with the option "-conf" to point dosbox the configuration file provided by gog for a specific game.
So basically just run "dosbox -conf /path/to/exe/of/game"?
You shouldn't need to copy files about. There are two possible ways:

1. Manually. When you start native DosBox you need to mount the c drive by typing: mount c and then a directory you want to mount to (it doesn't technically matter where you mount it, but it is probably most convenient to mount it at the directory where the GOG game is stored), for me it is "/home/dominic(for me)/.wine/drive_c/Program Files/GOG.com/Constructor(for example)" (with the speech marks included this time as you have the space in "Program Files") It may also be necessary at this point to mount the .gog image (which is normally in the same directory) which is normally done with the command: imgmount d "const.gog(for example)" -t iso -fs iso. Then type: c: and then type the filename of the games executable or batch file (or whatever is appropriate) e.g.: game.exe or game.bat.

2. Easier. Look in the directory of the GOG game you have installed. There should be a file such as "dosbox.conf" or "kingsquestdosbox.conf", which is the DosBox config file GOG have themselves made for the game. The most important thing to look at is right at the bottom of the file under @ECHO OFF. These are where you put instructions for DosBox to execute when it starts, and where GOG have put game specific DosBox startup instructions. You can copy these GOG instructions to your own dosbox.conf file (generally found in /home/user/.dosbox/dosbox.conf) in the same place they have put them. You may need to delete some of the instructions such as: exit and cls and also replace the instructions mount c "." with mount c "the full path to the directory, as I wrote out in option 1".

Well, I hope you could follow all that, please ask me to re-write it if it isn't clear.

Or, you could investigate DosBox front-ends which are apparently easier to use (though I have no experience of them myself).

Also, make sure to search on this forum for good ways to configure your dosbox.conf file to get the best performance and sound from your dosbox: e.g.: http://www.gog.com/en/forum/general/connecting_dosbox_powered_gog_games_to_an_external_upgraded_dosbox/post11
Post edited September 10, 2011 by Dominic998
avatar
KatsumeBlisk: So basically just run "dosbox -conf /path/to/exe/of/game"?
No, it's: "dosbox -conf /path/to/gog's/config_file /path/to/gog's/exe/of/game"
avatar
ThermioN: No, it's: "dosbox -conf /path/to/gog's/config_file /path/to/gog's/exe/of/game"
Thank you that helps a lot.
avatar
Dominic998: You shouldn't need to copy files about. There are two possible ways:

1. Manually. When you start native DosBox you need to mount the c drive by typing: mount c and then a directory you want to mount to (it doesn't technically matter where you mount it, but it is probably most convenient to mount it at the directory where the GOG game is stored), for me it is "/home/dominic(for me)/.wine/drive_c/Program Files/GOG.com/Constructor(for example)" (with the speech marks included this time as you have the space in "Program Files") It may also be necessary at this point to mount the .gog image (which is normally in the same directory) which is normally done with the command: imgmount d "const.gog(for example)" -t iso -fs iso. Then type: c: and then type the filename of the games executable or batch file (or whatever is appropriate) e.g.: game.exe or game.bat.

2. Easier. Look in the directory of the GOG game you have installed. There should be a file such as "dosbox.conf" or "kingsquestdosbox.conf", which is the DosBox config file GOG have themselves made for the game. The most important thing to look at is right at the bottom of the file under @ECHO OFF. These are where you put instructions for DosBox to execute when it starts, and where GOG have put game specific DosBox startup instructions. You can copy these GOG instructions to your own dosbox.conf file (generally found in /home/user/.dosbox/dosbox.conf) in the same place they have put them. You may need to delete some of the instructions such as: exit and cls and also replace the instructions mount c "." with mount c "the full path to the directory, as I wrote out in option 1".

Well, I hope you could follow all that, please ask me to re-write it if it isn't clear.

Or, you could investigate DosBox front-ends which are apparently easier to use (though I have no experience of them myself).

Also, make sure to search on this forum for good ways to configure your dosbox.conf file to get the best performance and sound from your dosbox: e.g.: http://www.gog.com/en/forum/general/connecting_dosbox_powered_gog_games_to_an_external_upgraded_dosbox/post11
I'll be trying all three methods posted in this thread and see what works best for me. Thank you both!
you're welcome. keep in mind you might have issues with midi in combination with dosbox and pulseaudio. ALSA or OSS should be fine though.