Page 25 of 28
Re: Distributing your games (making a .love file)
Posted: Sat Aug 22, 2015 3:26 pm
by Robin
Could you upload the .love? It might provide some insight.
Re: Distributing your games (making a .love file)
Posted: Sat Aug 22, 2015 4:18 pm
by voyager
Robin wrote:Could you upload the .love? It might provide some insight.
Sure.
Re: Distributing your games (making a .love file)
Posted: Sun Aug 23, 2015 5:05 pm
by Robin
Ah, it seems like you made a .love from a 7-Zip archive instead of from a ZIP-file. The latter tends to work better, I couldn't even get LÖVE to run the .love on its own.
Re: Distributing your games (making a .love file)
Posted: Mon Feb 29, 2016 2:25 am
by Siwy
Hello.
Can someone tell me what am I doing wrong? I feel some dumb right now.
I have put all my files in a folder called "test" and i packed it to .zip using winrar. I changed the name to test.love and when i try to run it i get
bla bla bla boot.lua 432: No code to run
Your game might be packed incorrectly so on so on..
Please tell me what have I done wrong?
Re: Distributing your games (making a .love file)
Posted: Mon Feb 29, 2016 7:07 am
by Robin
As the error message says, you probably zipped the folder "test" instead of its contents. So in the .zip, there is no main.lua at the top level, just a folder called "test".
Re: Distributing your games (making a .love file)
Posted: Tue Mar 01, 2016 1:45 am
by Siwy
Robin wrote:As the error message says, you probably zipped the folder "test" instead of its contents. So in the .zip, there is no main.lua at the top level, just a folder called "test".
Yeah you're right.. what a flop. Now I've encountered another problem, i packed the game to .love did this whole copy /b thing in cmd and tried to run it on a different pc but i got "The program can't start because love.dll is missing" does this mean i have to, have love framework installed on each PC i want to run the game on or did I do something wrong? I also try making the test.love file with all the .dlls from the love folder but it didn't bring any results.
Re: Distributing your games (making a .love file)
Posted: Tue Mar 01, 2016 2:55 am
by slime
You have to have love.dll, openal32.dll, SDL2.dll, lua51.dll, mpg123.dll, msvcp120.dll, and msvcr120.dll in the same folder as your fused exe.
Re: Distributing your games (making a .love file)
Posted: Thu Mar 03, 2016 6:03 am
by bobbyjones
You also have to make the said fused exe
Re: Distributing your games (making a .love file)
Posted: Mon Jul 25, 2016 9:37 pm
by Jwatt
What are the benefits of renaming the source .zip as .love? Is that a legacy thing, or does it affect something that I haven't encountered? My packaged executables seem to work the same regardless of the file extension.
Re: Distributing your games (making a .love file)
Posted: Mon Jul 25, 2016 10:04 pm
by Nixola
LÖVE can tell the system it can open .love files, so even though it's literally just a zip file it adds a layer of convenience when you want to run it. For example, if you install LÖVE on Windows you can just double-click a .love file, but you'd have to drag a .zip file over LÖVE's executable/link in order to run it.