Posted July 10, 2011
jorlin: I see that Gog converted all in-game music into .ogg files,
My guess is that Gog uses a helper program to hook all the ingame music calls to that helper program that plays the ogg files. An .exe is no batch file, so I don't really know what the Gog customizations do, or I'd make a symbolic link to a similar linux program.
No, the OGG support comes from DOSBox. If you look in the config file for BaK (dosboxBAK.conf), you can see that the file "bak.inst" gets mounted as an ISO. That file is a [url=http://en.wikipedia.org/wiki/Cue_sheet_(computing)]cue sheet[/url] that points to the OGG files. The game sees a regular music CD, with DOSBox transparently performing the necessary decoding.My guess is that Gog uses a helper program to hook all the ingame music calls to that helper program that plays the ogg files. An .exe is no batch file, so I don't really know what the Gog customizations do, or I'd make a symbolic link to a similar linux program.