Page 2 of 3

Re: (help) how do you compile your game to be a double click exe

Posted: Sun Mar 22, 2009 3:09 am
by Xcmd
mike wrote:
bartbes wrote:
Xcmd wrote:I would recommend, however, that you keep the .love'd version handy for those of us that don't use Windows and don't want to use Wine or can't use Wine.
linux:

Code: Select all

love game.exe
just works...
So does double-clicking if you've associated all .exe files with Wine. Not everybody is willing to install Wine, however. I'm just sayin' is all.

Re: (help) how do you compile your game to be a double click exe

Posted: Sun Mar 22, 2009 8:28 am
by bartbes
You don't need wine when you feed the .exe to love, it just treats it like a normal .love/.zip.

Re: (help) how do you compile your game to be a double click exe

Posted: Sun Mar 22, 2009 5:39 pm
by Xcmd
Ah, interesting.

Re: (help) how do you compile your game to be a double click exe

Posted: Sun Mar 22, 2009 9:53 pm
by KrakensDen
I'd like to point out that you didn't really answer his question.

Code: Select all

copy /b love.exe+game.love game.exe
does produce an executable, but simply double clicking it in a directory with the requisite dlls doesn't seem to work, because Windows doesn't change the working directory.

Yes, you can go there and type

Code: Select all

game.exe
on the command line, but that's still kind of a bad distribution method, especially to Windows users...

(I've only tested this on Windows XP, perhaps this works on Vista?)

Re: (help) how do you compile your game to be a double click exe

Posted: Mon Mar 23, 2009 6:41 am
by bartbes
I always had that working? Clicking on a .exe directly gives the directory where it's located as working dir?

Re: (help) how do you compile your game to be a double click exe

Posted: Mon Mar 23, 2009 9:48 pm
by KrakensDen
Well, I'm sure it could be some sort of obscure configuration issue...

Does anyone know anything about windows?

Re: (help) how do you compile your game to be a double click exe

Posted: Mon Mar 23, 2009 11:55 pm
by osgeld
i know i have it installed and have booted it up maybe 10 times, if you want me to check it out

Re: (help) how do you compile your game to be a double click exe

Posted: Tue Mar 24, 2009 4:04 pm
by Robin
mike wrote:
bartbes wrote:
Xcmd wrote:I would recommend, however, that you keep the .love'd version handy for those of us that don't use Windows and don't want to use Wine or can't use Wine.
linux:

Code: Select all

love game.exe
just works...
Xcmd wrote:So does double-clicking if you've associated all .exe files with Wine. Not everybody is willing to install Wine, however. I'm just sayin' is all.
Still, especially for small games is still useful for anyone who has LÖVE installed. For larger ones it doesn't matter, but for a small game 4.27 MB for game.exe+dll's or 1.46 MB for just game.exe is quite a lot.

EDIT: Silly quote-nesting limit.

Re: (help) how do you compile your game to be a double click exe

Posted: Tue Mar 24, 2009 9:48 pm
by hellfiresage
ok so i take my game file and put the love.exe in it? or am i wrong?





i dont have time to go on the mibbet chat and ask i no it's a simple question. also is there a turtrial for rotating an image depending on the location of the mouse? thanks.

Re: (help) how do you compile your game to be a double click exe

Posted: Tue Mar 24, 2009 10:37 pm
by KrakensDen
ok so i take my game file and put the love.exe in it? or am i wrong?
You are wrong- you need to concatenate them together. Read the tutorial, and use the copy command on Windows or cat on Linux/OS X. You need to use the command line.