trackerboy
trackerboy copied to clipboard
Import .mod or any other tracker files
It would be nice to be able to import .mod or other tracker files. It'll be fine if only the first 4 channels are supported and obviously there are other limitations.
I do have plans for .ftm import, but it's currently a low-priority feature. Mod files would be much easier to implement since only the pattern data would be imported, and a lot of the effects are similar to Trackerboy's.
Here's how I'd go about this:
- add an
importFromMod
method to thetrackerboy::Module
class that handles the import// include/trackerboy/data/Module.hpp FormatError importFromMod(std::istream &in /* any necessary parameters for the import */);
- add a menu group in the File menu with text "Import" before "Export to WAV", then add an action with text "from MOD..."
- this menu action will show a dialog prompting for a MOD file, which will then import the file using the
importFromMod
method (assuming that the current module does not have any unsaved changes, and if it does prompt the user to save them first).
I'm definitely OK with adding this, just not sure when I'll get around to it.
Cool! I think this would be super useful as GBStudio supports .mod files, so a couple of people may want to import there .mod tracks.
Maybe a .mod export (at least for the patterns) could also be thought on. Keep it up !
mod import and export would be dope
Forgot to mention this but a collaborator made a separate tool for this - https://github.com/tadashibashi/tbm2gbt