Distribution on Windows with modules

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Distribution on Windows with modules

Post 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.
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
User avatar
pgimeno
Party member
Posts: 3541
Joined: Sun Oct 18, 2015 2:58 pm

Re: Distribution on Windows with modules

Post 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.
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Distribution on Windows with modules

Post by togFox »

I had one folder in the wrong 'case'. Correcting that seems to have fixed it. Thanks!
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests