Before I get to that, I found a bug.
It seems like if you include a mount command in the default dosbox.conf under autoexec, when you go to add a new template under DBGL, the frontend scans dosbox.conf and crashes.
The following message is left:
C:\Games\DOS Games\dbgl031>java -Djava.library.path=lib -jar dbgl.jar
startup
Could not read settings.conf
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.model.Mount.<init>(Mount.java:59)
at com.model.Autoexec.<init>(Autoexec.java:72)
at com.gui.EditTemplateDialog.selectSettingsByAutoexec(EditTemplateDialog.java:916)
at com.gui.EditTemplateDialog.selectSettingsByConfiguration(EditTemplateDialog.java:992)
at com.gui.EditTemplateDialog.createContents(EditTemplateDialog.java:904)
at com.gui.EditTemplateDialog.open(EditTemplateDialog.java:146)
at com.gui.MainWindow.doAddTemplate(MainWindow.java:686)
at com.gui.MainWindow.access$14(MainWindow.java:679)
at com.gui.MainWindow$37.widgetSelected(MainWindow.java:538)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at com.gui.MainWindow.open(MainWindow.java:117)
at com.gui.MainWindow.main(MainWindow.java:98)
C:\Games\DOS Games\dbgl031>
Edit: Problem is non-existent if you include:
mount c "c:\games\dosgam~1\" -t dir
instead of what the dosbox wiki tells you to put:
mount C C:\games\dosgam~1
C:
Double edit:
For some strange reason, the mounting commands are listed normal when you make a new template but when you go back to edit the template or make a new profile, it's listed twice:
No matter how many times you delete that double entry from the template itself through the front-end, it never goes away. When you make a new profile based on that template and go back to edit it, you'll see it listed 3 times!
Triple Edit: Nevermind, I figured it out. Since DBGL only makes amends to the conf file instead of actually editing it, the autoexec command gets used twice. It shouldn't cause any problems but you might want to address it.
Agree with us on everything
or we won't help with anything
that kind of attitude
just makes a split grow wider