Distributing your games (making a .love file)
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Distributing your games (making a .love file)
Could you upload the .love? It might provide some insight.
Help us help you: attach a .love.
Re: Distributing your games (making a .love file)
Sure.Robin wrote:Could you upload the .love? It might provide some insight.
- Attachments
-
game1.love
- (199 Bytes) Downloaded 636 times
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Distributing your games (making a .love file)
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.
Help us help you: attach a .love.
Re: Distributing your games (making a .love file)
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?
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?
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Distributing your games (making a .love file)
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".
Help us help you: attach a .love.
Re: Distributing your games (making a .love file)
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.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".
- slime
- Solid Snayke
- Posts: 2853
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Distributing your games (making a .love file)
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.
-
- Party member
- Posts: 720
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Distributing your games (making a .love file)
You also have to make the said fused exe
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.
Re: Distributing your games (making a .love file)
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.
curious handcrafted games
Re: Distributing your games (making a .love file)
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.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Who is online
Users browsing this forum: No registered users and 14 guests