sylandro Posted August 24, 2015 Author Share Posted August 24, 2015 I have a couple of DOS games that need the mounted CD to have a specific label or else they won't be found by the game. It would be great for the Automatic Mount editor to support custom labels when you mount a disk drive or disk image in DOSBox. Right now DOSBox supports this by adding the -label tag after the mount command: Z:\>MOUNT D D:\ -t cdrom -usecd 0 -ioctl -label GAME_CD However, there is no way to set this value right now inside Launchbox. I was using D-Fend Reloaded before switching to Launchbox, and its Mount editor supports this feature. When I imported my D-Fend profiles to Launchbox, all the automatic mount settings were not recognized. Looking inside the .prof file, these are the unrecognized lines: NrOfMounts=4 0=.\Games\Dosbox\VirtualHD;Drive;C;False;; 1=.\Games\Dosbox\VirtualHD\DOSBOX\C&CRA\CD1\;CDROM;F;false;CD1 2=.\Games\Dosbox\VirtualHD\DOSBOX\C&CRA\CD2\;CDROM;E;false;CD2 3=.\Games\Dosbox\VirtualHD\DOSBOX\C&CRA\CD3\;CDROM;D;false;CD4 Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted August 24, 2015 Share Posted August 24, 2015 Ah, didn't know about that. I'll see if I can get that added. In the mean time, you can manually set it all up in the DOSBox configuration using the Autoexec section, though obviously that's more of a pain. Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted August 24, 2015 Share Posted August 24, 2015 I am surprised you got the importer to even work properly. I stopped trying to bother with it a while ago. It was just... giving Jason issues and not a lot of people requested it. It's gone pretty much untouched I think for a really long time. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted August 24, 2015 Share Posted August 24, 2015 It's actually gone now in favor of the standard MS-DOS games import. Not sure what @sylandro used. Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted August 24, 2015 Share Posted August 24, 2015 An older version? Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted August 24, 2015 Share Posted August 24, 2015 Yeah, I meant not sure if Sylandro used the old importer or the new MS-DOS importer. Doesn't really matter though. Quote Link to comment Share on other sites More sharing options...
sylandro Posted August 24, 2015 Author Share Posted August 24, 2015 Yeah, I used the old D-Fend importer some months ago, before it was deprecated. I had to manually replace some values that were not imported correctly by manually editing the xml using regular expressions. It was a bit painful but I got it working. Until now, the only thing I didn't notice that wasn't working was the auto-mount feature. For me, adding an option to specify a custom label in Launchbox would be much more convenient than manually writing the autoexec, not only for the obvious reasons but because I have to specify an absolute path in it (for example: mount c:\program files\etc) whereas a relative path is not recognized by dosbox (.\games\etc). I like to keep relative paths for my configurations since I like to keep my folders portable. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted August 24, 2015 Share Posted August 24, 2015 Sure, makes sense. That was one of the biggest reasons why I implemented mounts like that to begin with. Hopefully I can tackle that soon. That said, I don't recall exactly how it works, but I do force DOSBox to allow relative paths. I believe it just has to do with the current directory when you start up DOSBox, which I consistently set to the DOSBox folder underneath LaunchBox. Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted August 24, 2015 Share Posted August 24, 2015 With the new way DOS games are imported, why not the Root folder of where these are installed and create a check box for auto mount? Especially if you're gonna make it easier for users to supplant the version of DOSBox they want. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted August 25, 2015 Share Posted August 25, 2015 Well, unfortunately mounts are typically a lot more complicated than that. We already do "auto-mount" the game folder to run the EXE. However, some games need to mount ISOs and such. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.