I gave DBGL a go last night and it's good. I can see how it could be very useful 😀
I know that DBGL has the ability to import Defend profiles, but it would be nice to be able to export and then import DBGL profiles for sharing, distribution, etc. My main purpose would be for archiving games. I already archive all of my floppy games in ZIPs stored on disc and it would be nice to store a profile in the game's archive. This is why I had asked for the ability to have the config file stored in the game's directory.
Perhaps a built in browse function for different paths would be necessary. The import/export would not be so much for the DOSBox settings (although it might be good for a starting place for setting up the game on another machine) but more for the data base for a game. I don't know if this would mean standardizing some fields like category and publisher or if there could be some query from the importer for inexact matches.
It could also prove useful when helping a NOOB to get a game going in DOSBox. I dislike wizards, but it might be good for these people. I could even have profiles for download on my site.
I agree with the comment above. Having an import/export facility to manage DBGL profiles would be extremely handy. I could see a future in this where individuals could create profiles and upload them to a website. With the size of the DOS community, there could be pre-created profiles for almost all common games quite quickly I can imagine. Then some auto-detection could be done on game directories and the database could be filled in automatically. That really would be impressive.
The only problem would be machine specific information like cycles and pathnames. Relative paths could resolve the latter by having some standardization on game location. Creating a new empty directory inside the DBGL directory to allow the storage of games could help with this.
It's a lot of work to do something like this naturally, but just thought I'd mention it so that idea goes down on paper 😀 I do have Java experience myself, so perhaps I could help out in a couple of months when my current workload is finished.