Reply 320 of 2132, by rcblanke
- Rank
- Oldbie
wrote:I've been using this frontend for a month or so now, and I really enjoy it, but I've encountered a problem that I can't seem to […]
I've been using this frontend for a month or so now, and I really enjoy it, but I've encountered a problem that I can't seem to solve.
My dos games are in the path C:\games\dos on my harddrive, and that path is already mounted as c in the main dosbox config file. So all the front end needs to do is CD into the game folder and run the game.
I can't for the life of me figure out how to get that to work. DBGL always copies the mounting information from the main config file into each individual config file (even if I manually edit the config file after DBGL creates it). I don't want that, because then it's no longer portable. If I move the games to another directory (say C:\DOS), I just want to update the main config file not every game's config file.
Does anyone know of a way to get around this?
Hi Kamichu22, glad you like it. Well, as I wrote earlier in this - I admit rather long - thread:
Drive mounting and/or commands to change drive or directory in dosbox.conf are not supported in DBGL, mainly because the [autoexec] section is cumulative, meaning the commands cannot be undone or overridden.
You can, however, put that mounting stuff in a template and use that template as a default. If you would decide to do that, creating a new profile will automatically contain your 'default' mounting location.
Strictly speaking, mounting CAN be undone using 'mount -u ...' but anyway. I have dosbox.conf drive mounting already on my to-do list and the functionality that you describe will be implemented in the near future.
For the moment; If your primary goal is to achieve portability, I would strongly suggest to migrate your games to DBGLs dosroot directory to make all mounting information relative to that folder. Then, if you would want to relocate your games at any time for whatever reason, you would only have to edit settings.conf in the DBGL directory to define the new data location, in which dosroot should exist with your games.
Please let me know if you need any help, or if anything is unclear about what I just said.