Creating .love file

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
randomNick
Prole
Posts: 6
Joined: Fri Aug 07, 2015 10:38 pm

Creating .love file

Post by randomNick »

So im trying to create a .love file for my game.

What i did: open the Game folder, select all the files in it, add to archive with win rar, renamed the file to testGame.love.

When i try to open the .love with doubleclick, it says "NO GAME", yet if i drag the folder where i had my files into love.exe it works as it should.

help :roll:

EDIT: i've tried this with a simple hello word and it doesnt work. and yes the main file is in the root of the archive
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: Creating .love file

Post by Kingdaro »

When you use "add to archive", the file extension has to be ".zip" initially, or it won't work. You can't use a .rar, or a .tar.gz or anything else (as far as I know) but .zip.
randomNick
Prole
Posts: 6
Joined: Fri Aug 07, 2015 10:38 pm

Re: Creating .love file

Post by randomNick »

thanks alot.

its working now. i created the love file and then the exe file.

if i want to make the game available for a computer without LOVE "installed", i have to include all the files from my /LOVE folder or just the .dll ones? because i tried to do it with only the exe file and the dll and the game crashed on my other computer
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: Creating .love file

Post by Kingdaro »

Yes, you need to include the .dll files with the .exe file. The license file as well.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests