MightyPrinny / godot-FLMusicLib

GDNative library that plays mp3, chiptune and tracker music files using Game Music Emu, Minimp3 and openmpt
Creative Commons Zero v1.0 Universal
51 stars 7 forks source link

Licence when used in game #9

Open elvisish opened 2 years ago

elvisish commented 2 years ago

I'm slightly confused by the licensing for FLmusiclib, am I required to make my game's source available if I use this Godot addon or is that only required for the author of the addon? Otherwise, what am I required to do when distributing me game, is it putting a link to this or the original library in a txt file credit included with my game's distribution?

MightyPrinny commented 2 years ago

Sorry, I should've been more specific, at the time I was a bit confused too.

You just have to include the licenses from the Licenses folder somewhere where the user can see them(in-game, or as files on desktop platforms). The code for the addon is public domain while GME is LGPL2 so I can link GME statically and since the addon uses dynamic linking it doesn't apply to your game.

You can link to this repository instead of including the CC0 licence to make sure people have a way to get the source since LGPL2 requires the user to be able to relink the library if it's linked statically, and if you don't need to play formats supported by libopenmpt you only need the licences for GME and minimp3 in the licences folder.

elvisish commented 2 years ago

Thanks, that's very helpful! I actually only need the xm playback functionality, although the openmpt playback is even better and I'm thinking of just using that as it's smaller and allows for many more features. Can I just remove the GME parts I don't need or not include the dlls and it'll work okay? Im not actually sure which licence module or openmpt uses.