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

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
somebodyelse
Prole
Posts: 11
Joined: Thu Feb 13, 2014 4:49 am

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

Post 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
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

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

Post 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.
User avatar
norubal
Party member
Posts: 137
Joined: Tue Jan 15, 2013 5:55 am

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

Post 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..
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

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

Post by Nixola »

No, that is not true. It might work in some cases, but most of the time only .zip will.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
somebodyelse
Prole
Posts: 11
Joined: Thu Feb 13, 2014 4:49 am

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

Post 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.
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post by slime »

Zip is currently and has always been the only officially supported format for .love files.
Last edited by slime on Sat Feb 15, 2014 8:44 am, edited 1 time in total.
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

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

Post by Azhukar »

I keep using .7z but with no compression, might explain why it's working.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], Semrush [Bot] and 3 guests