Page 1 of 1

Successfully created .exe for game but it says "No game!"

Posted: Thu Feb 13, 2014 6:03 am
by somebodyelse
Hi everyone,

I am new to Love2d and the forums. I have been programming in C# and C++ for years but I just stumbled upon this website the other day and I really like it. It's very simple to make games with.

I am having a problem trying to "Distribute" my game, though. When I follow the steps on this tutorial page (for Windows), it creates an .exe file for my game, but When I launch my game (via its .exe) which is inside a folder with all the LOVE DLL's, it bring up a window with a cartoon person and says "No game!".

Did I do something wrong here?

My directory structure is:
game.love
---main.lua
---ball.png

Re: Successfully created .exe for game but it says "No game!

Posted: Thu Feb 13, 2014 8:48 am
by Azhukar
somebodyelse wrote:When I follow the steps on this tutorial page
This tutorial? http://www.love2d.org/wiki/Game_Distrib ... Executable

Make sure you're using .zip / .7z and not using any encryption.

Re: Successfully created .exe for game but it says "No game!

Posted: Thu Feb 13, 2014 2:00 pm
by norubal
Azhukar wrote:
somebodyelse wrote:When I follow the steps on this tutorial page
This tutorial? http://www.love2d.org/wiki/Game_Distrib ... Executable

Make sure you're using .zip / .7z and not using any encryption.
Wait, can I use .7z to making .love file?
If that's true, I can slightly reduce my game's size..

Re: Successfully created .exe for game but it says "No game!

Posted: Thu Feb 13, 2014 2:17 pm
by Nixola
No, that is not true. It might work in some cases, but most of the time only .zip will.

Re: Successfully created .exe for game but it says "No game!

Posted: Sat Feb 15, 2014 6:58 am
by somebodyelse
Nixola wrote:No, that is not true. It might work in some cases, but most of the time only .zip will.
Thank you! .zip is the **only** one that seems to be working so far. Not sure why, but it must have been changed in 0.9.0??? I finally got it working lastnight when I forgot to rename the .zip to .love lol.

Re: Successfully created .exe for game but it says "No game!

Posted: Sat Feb 15, 2014 7:21 am
by slime
Zip is currently and has always been the only officially supported format for .love files.

Re: Successfully created .exe for game but it says "No game!

Posted: Sat Feb 15, 2014 8:31 am
by Azhukar
I keep using .7z but with no compression, might explain why it's working.