[HELP] .love --> .exe

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.
bobiniki
Prole
Posts: 7
Joined: Thu Mar 18, 2010 3:47 pm

[HELP] .love --> .exe

Post 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
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

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

Post by nevon »

No, you simply concatenate the love binary to the .love file. There are examples of how to do this on the wiki.
bobiniki
Prole
Posts: 7
Joined: Thu Mar 18, 2010 3:47 pm

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

Post 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
bobiniki
Prole
Posts: 7
Joined: Thu Mar 18, 2010 3:47 pm

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

Post by bobiniki »

PLEASE someone make this .love file into a .exe file!!!!!!
i need it extreamly fast!!!!!!! :cry:
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

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

Post by thelinx »

Remember to distribute the dll files along with the exe file.
Attachments
Scoreboard.zip
(1.76 MiB) Downloaded 175 times
bobiniki
Prole
Posts: 7
Joined: Thu Mar 18, 2010 3:47 pm

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

Post by bobiniki »

THANKS A LOT DUDE <3
:nyu:
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

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

Post 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.
bobiniki
Prole
Posts: 7
Joined: Thu Mar 18, 2010 3:47 pm

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

Post 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:
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

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

Post 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
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

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

Post 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...
Good bye.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 4 guests