Page 1 of 3

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

Posted: Fri Mar 20, 2009 9:20 pm
by hellfiresage
i was just wondering so when the time comes and im done my game if there is a compiler that works for love. so i can just download it to a cd and have my friends play it without having to download and install love.

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

Posted: Fri Mar 20, 2009 10:04 pm
by bartbes
Steps
  1. Create a .love
  2. Copy the love.exe and the dll's to the same dir
  3. Open a console (command prompt/cmd.exe)
  4. Go to the directory where it is stored ("cd /d <dir>")
  5. Execute the following command: "copy /B love.exe+<name of .love> <target name (.exe)>"
  6. Distribute the new exe and the dll's
If you need more help, just ask.

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

Posted: Fri Mar 20, 2009 10:08 pm
by Xcmd
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.

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

Posted: Fri Mar 20, 2009 10:15 pm
by hellfiresage
thanks

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

Posted: Sat Mar 21, 2009 1:07 pm
by bartbes
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...

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

Posted: Sat Mar 21, 2009 9:09 pm
by mike
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...

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

Posted: Sat Mar 21, 2009 9:16 pm
by bartbes
What are you trying to say?

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

Posted: Sat Mar 21, 2009 9:36 pm
by hdon
bartbes wrote:What are you trying to say?
I think he's saying you can substitute the Windows executable for the corresponding ".love" ZIP archive. I don't know for sure, but if ZIP is anything like the compression formats I'm familiar with, they're fairly tolerant of having extra junk in the file that isn't relevant to the actual archive.

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

Posted: Sat Mar 21, 2009 9:53 pm
by bartbes
All his post was was a quote of mine, so I was asking if he had a purpose for a 'useless' post.

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

Posted: Sun Mar 22, 2009 2:19 am
by osgeld
he was trying to reinforce the point

(im going back to my geek lair)