VOGONS


Thumb drives and DosBox

Topic actions

First post, by eldergamer

User metadata
Rank Newbie
Rank
Newbie

I would like to put DosBox on my thumb drive. This in itself isn't an issue. I can drag, drop, and use DosBox already on a thumb. What I can't do is set anything in the conf. From system to system my thumb drive changes drive letters. This plays heck with trying to automate things. For example: One of my favorite games is Scorched. What I would like to do is make a shortcut that engages DosBox and runs the game in full screen. While this is possible with a normal installed version of DosBox it's not so easy when your drive letters change from z: to g: to I: then back to z: again.

By the way these are not my machines. Just wanted to let you know that before you explain how to keep the drive letters that same by setting it on each machine. I don't have the admin rights on 2 of them. Besides my original question was about making DosBox truly portable.

Any idea's ?

Thanks

Reply 2 of 5, by megatron-uk

User metadata
Rank Oldbie
Rank
Oldbie

Surely you can launch Dosbox with a relative path to it's configuration file?
Say you have three directories on your usb/thumb/flash/removeable drive ('exe', 'conf' and 'games', with dosbox.exe inside 'exe', your configuration inside 'conf' and your installed games in, well, 'games'), surely you could use something like:

exe\dosbox -conf "..\conf\myconf.conf"

Mounts also seem to work with a relative path, so:

mount c ..\games

Then that should work anywhere, as you're not referring directly to any drive letters.

My collection database and technical wiki:
https://www.target-earth.net

Reply 4 of 5, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

[Thread moved to DOSBox General Section]

Reply 5 of 5, by rcblanke

User metadata
Rank Oldbie
Rank
Oldbie

DBGL is also completely portable. Simply extract the program to a directory on your portable drive and put your games in the dosroot folder.