CaptPete Posted August 21, 2018 Share Posted August 21, 2018 How do I add PC-Booter games to LaunchBox? I have several PC-Booter disk images which I can run from the command-line using DosBox (i.e. "D:\DOSBox\DOSBox.exe" -c "BOOT 'D:\Games\DOS\Silent Service (198x)(Microprose).img'"). How do I add them using LaunchBox's DOSBox? Quote Link to comment Share on other sites More sharing options...
DOS76 Posted August 21, 2018 Share Posted August 21, 2018 @Zombeaver Quote Link to comment Share on other sites More sharing options...
Belgarath Posted August 21, 2018 Share Posted August 21, 2018 You could just make a batch file with the command needed, you'll need a batch file for each game and place it in the correct game directory so for the above make a .bat file call it sservice.bat or something and in the batch file put boot "Silent Service (198x)(Microprose).img" then just add the bat file into launchbox. Quote Link to comment Share on other sites More sharing options...
Zombeaver Posted August 21, 2018 Share Posted August 21, 2018 You could probably just make a single .bat that uses %~f1 instead of the name of the specific file and then import the .imgs as "roms", and use the .bat as your emulator. So like, for example, a .bat that contains: "D:\DOSBox\DOSBox.exe" -c BOOT "%~f1" %~f1 is CMD's function for "Expand %1 to a fully qualified path name" (%1 being the file that you direct to the .bat). Quote Link to comment Share on other sites More sharing options...
Zombeaver Posted August 21, 2018 Share Posted August 21, 2018 Just as a slightly different example, in my Duke Nukem 3D folder, I made a Test.bat that contains "C:\DOSBox\DOSBox.exe" "%~f1". If I drag the dosbox.conf onto the .bat (which is synonymous with setting something as a "rom" and directing it to an emulator in Launchbox), what it outputs is this: So the same thing would apply to anything, add anything like -C Boot or whatever you want on top of it. %~f1 just means "Whatever file you direct to this .bat, is going to be placed here, including the full path." Quote Link to comment Share on other sites More sharing options...
CaptPete Posted August 22, 2018 Author Share Posted August 22, 2018 Thanks guys, got it working. That "%`f1" variable works great in a batch file. 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.