Page 1 of 4

[HELP] .love --> .exe

Posted: Sat Jun 19, 2010 9:39 am
by bobiniki
Hi all i need some help!
How to make a .love file or a folder into .exe file
so someone who hasnt got LOVE to use the game/program
do i need some kind of convertor?
Please i need help fast

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 9:40 am
by nevon
No, you simply concatenate the love binary to the .love file. There are examples of how to do this on the wiki.

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 9:55 am
by bobiniki
Making an executable file out of a .love-file

Many people are (understandably) concerned about what end-users need to do in order to run a LÖVE-game. If users receive a .love-file alone, they will naturally need LÖVE installed (or at least unzipped) in order to run it. But, as of LÖVE 0.5.0, you can merge the .love file with the love executable.

In general, it's recommended to offer a .love for download, and optionally "merged" versions for the platforms where this makes things simpler.

Two things should be noted:
The end result will not be a single executable, you must also include some DLLs in your zip-file.
The resulting executable from the merge will still be readable by archiving software, such as WinZip.
Windows

Here's how to do it on Windows. In a console, type this:

copy /b love.exe+game.love game.exe

Then, all you have to do is zip game.exe and required DLLs, and distribute them. Yes; this does mean that the game will have a private copy of LÖVE, but there's nothing wrong with that. It also means that you will have to create one package for each platform you would like to support, or simply offer the .love alone for the other platforms.
i done it 2 times but it doesnt work
can someone please make it for me (im stupid :( )
here is the .love file :
Scoreboard.love
(442 Bytes) Downloaded 354 times

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 10:20 am
by bobiniki
PLEASE someone make this .love file into a .exe file!!!!!!
i need it extreamly fast!!!!!!! :cry:

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 10:30 am
by thelinx
Remember to distribute the dll files along with the exe file.

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 12:48 pm
by bobiniki
THANKS A LOT DUDE <3
:nyu:

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 2:42 pm
by Jasoco
And while you're at it, make sure to make a Mac package version and a Linux package version. Löve is cross-platform after all. ;)

The Mac APP version is about 100 times simpler to make than the Windows EXE version. Just get a friend with a Mac to make it.

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 2:52 pm
by bobiniki
Jasoco wrote:And while you're at it, make sure to make a Mac package version and a Linux package version. Löve is cross-platform after all. ;)

The Mac APP version is about 100 times simpler to make than the Windows EXE version. Just get a friend with a Mac to make it.
lol i dont want to make a mack and a linux version its too complex to me :o:

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 6:06 pm
by nevon
bobiniki wrote:
Jasoco wrote:And while you're at it, make sure to make a Mac package version and a Linux package version. Löve is cross-platform after all. ;)

The Mac APP version is about 100 times simpler to make than the Windows EXE version. Just get a friend with a Mac to make it.
lol i dont want to make a mack and a linux version its too complex to me :o:
How is it too complex? Just grab someone running Linux or Mac and have them run:

Code: Select all

cat love game.love > game

Re: [HELP] .love --> .exe

Posted: Sat Jun 19, 2010 8:35 pm
by Luiji
Actually, for Mac it's not exactly the same. Just read the wiki. There's something about opening it with an archiver or something, but it's not too complicated.

Linux is the simplest because you don't have to worry about icons and meta-data because Linux's architecture prefers these files to be in a separate "data" package. In fact, you probably SHOULDN'T MAKE A LINUX PACKAGE AS IT GOES AGAINST THE -BIN/-DATA SYSTEM. Preferably, the only "binary" you should make is a shell script to put in the /usr/games folder to start

Code: Select all

love /usr/share/games/mygame.love
.

By doing this, you also make it more likely to be included in a Linux distribution (I figure LOVE's there, so why not LOVE games?).

Hm...I just thought of something. I think I'm going to create a package manager for LOVE games. I'm going to call it "LovePKG". And maybe it could integrate with that "Love Arcade" that I keep on losing the forum link to...