Page 1 of 1

Distribution on Windows with modules

Posted: Sun Apr 04, 2021 12:35 am
by togFox
When I make a LOVE file I include all modules (Slab, Hump, Grove, Sqlite3) and then make an exe for distribution (via zip file).

I was surprised that I had to include the raw LUA modules in the zip and distribute the raw LUA even though I included it in the LOVE file. I thought the exe + love2d system files world be sufficient.

Did I do something wrong? Game runs fine when I include the raw LUA source modules in the distribution.

Re: Distribution on Windows with modules

Posted: Sun Apr 04, 2021 10:47 am
by pgimeno
Pay attention to the case of the files and how you tried to use them. Once in a .love file, filenames are matched case-sensitively.

Before creating the executable, try the .love file in isolation, in a directory different from your development directory, so that the expanded Lua files are not visible for Löve. If it does not work, fix the filename case.

Re: Distribution on Windows with modules

Posted: Mon Apr 05, 2021 4:46 am
by togFox
I had one folder in the wrong 'case'. Correcting that seems to have fixed it. Thanks!