Page 1 of 2

[Solved] Too Many DLLS

Posted: Fri Jul 17, 2015 12:05 pm
by NickRock
They're just too many for a small game.. Can't I just combine them all together or hide them? :death:

Re: Too Many DLLS

Posted: Fri Jul 17, 2015 12:28 pm
by zorg
You can set the files' attributes to hidden, on windows at least. (though some people prefer seeing even hidden and system files, can't help that)
Though i've seen very small games with more external libs than löve :o:

Re: Too Many DLLS

Posted: Fri Jul 17, 2015 12:58 pm
by NickRock
Can I at least put them on a separate folder?

Re: Too Many DLLS

Posted: Fri Jul 17, 2015 1:05 pm
by zorg
My best guess is, you would need to compile löve from source, and specify that the dll-s are in a subfolder, though i haven't tested it.

Posted: Sun Jul 19, 2015 3:28 pm
by DhruvCollins
i have made another thread for this check at https://love2d.org/forums/viewtopic.php?f=3&t=80556

Re: Too Many DLLS

Posted: Wed Jul 22, 2015 11:54 am
by Ortimh
I've uploaded the combined LOVE and the dependencies here.

Re: Too Many DLLS

Posted: Mon Jul 27, 2015 8:06 pm
by T-Bone
Ortimh wrote:I've uploaded the combined LOVE and the dependencies here.
That sounds illegal. The .dll files are separated because their licenses require them to be replaceable unless everything is open source, IIRC.

Re: Too Many DLLS

Posted: Tue Jul 28, 2015 5:06 am
by Positive07
T-Bone wrote:
Ortimh wrote:I've uploaded the combined LOVE and the dependencies here.
That sounds illegal. The .dll files are separated because their licenses require them to be replaceable unless everything is open source, IIRC.
Well not illegal if the project is open source and users can get a way to "build" everything, as discussed here

Re: Too Many DLLS

Posted: Tue Jul 28, 2015 7:05 pm
by foo0
Everything except OpenAL Soft and libmpg123 can be combined with almost no restrictions (license text must be included somewhere). libmpg123 is optional, you don't need it if you don't use mp3 files. Therefore, you can go down to one exe and one dll total, if that's aesthetically better for you.

Re: Too Many DLLS

Posted: Tue Jul 28, 2015 8:26 pm
by slime
foo0 wrote:Everything except OpenAL Soft and libmpg123 can be combined with almost no restrictions (license text must be included somewhere).
DevIL is also LGPL.

Microsoft generally recommends against statically linking the Visual C/C++ libraries.

In SDL2's case it's useful in practice to be able to swap out the SDL2.dll for a newer / different one with fixes or changes. Doing so has fixed issues for people numerous times already.

The Lua .dll provided with LÖVE is actually LuaJIT, and it too can be swapped out with an updated version (e.g. LuaJIT 2.1-alpha). It can also be swapped out with standard Lua 5.1.