• Building
  • How to include unrecognised file types in an export?

I wanted to use Tracker Modules to add music to my game, but Godot doesn't support the format, so I wrote my own tracker code, which works well enough to use... I copied the mod files over to my project folder so I can load them via the res:// path. But when I export, the files are not included in the export, as the file type is unrecognised by Godot.

How do I force it to include the files?

From what I remember, and what this Godot Q&A answer says, you need to include the file type in the export tab, in the “non resource files” list. This other Godot Q&A mentions some files are not working, so it might be bugged right now, but it might be worth a try.

Fantastic, I’ll try this out tomorrow and report back.

Many thanks!

Tried this morning, in the export dialogue, I added the filter *.mod which did add my tracker files to the export!

Many thanks for your help!