Hi all,
It's been pretty quiet on the DBGL front for a couple of months but there is news; I've started working on exporting and importing of game profiles. Not only dosbox configuration and DBGL profile meta-data, but even game captures and the games themselves (the game files) can soon be exported.
On my development machine, the exporting dialog looks something like this:
Simply give the export a title and add some notes, choose a filename and select the categories that you would like to include in the exported package.
The import dialog looks somewhat similar:
The user can choose the game(s) and select the parts that he or she would like to import. He is also enabled to couple the DOSBox versions that were used in the original export to an installed version that forms the best match.
The export file (gpa=GamePackArchive) is in fact just a simple zip file, possibly containing captures files, game files and an XML file in the root, profiles.xml. This XML contains all DBGL meta-information and the DOSBox configuration data associated with the games, very much like the structure that was proposed earlier in this thread. I've attached an example XML. It doesn't use a DTD or XML Schema as of yet, maybe when I'm in the mood sometime... 😜
Exporting of game files is not without constraints, obviously. It is assumed that the game data is in one directory tree. This 'root' game folder is stored entirely in the export file, and I assume it's the location that the main game executable (or booter file) is in. What this means is that external game files are not stored, such as CD-ROMS and the like. On the other hand, in theory one could put disc images (iso, bin/cue) in a location below the game's 'root' dir.
What do you think guys? Comments, remarks and suggestion are very welcome!