Distributing your games (making a .love file)

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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Distributing your games (making a .love file)

Post by bartbes » Thu Jun 25, 2009 12:28 pm

Didn't know for sure if it worked, but apparently it does. (I was one of the people suggesting using cat) Though if I were to do it myself I might statically link with some of the dependencies first.

User avatar
Garotas*Gostosas
Prole
Posts: 41
Joined: Fri Apr 03, 2009 12:15 am

Re: Distributing your games (making a .love file)

Post by Garotas*Gostosas » Thu Jun 25, 2009 5:33 pm

Jasoco wrote:I just tried that trick of simply adding .love to the end of a folders name and it worked perfectly when I double-clicked it on my Mac.
thanks a lot! thats genius! its faster then always select all files, zip it, rename it... :D
I LOVE GAME, YEAH!

User avatar
Jasoco
Inner party member
Posts: 3650
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Distributing your games (making a .love file)

Post by Jasoco » Fri Jun 26, 2009 6:38 am

Garotas*Gostosas wrote:
Jasoco wrote:I just tried that trick of simply adding .love to the end of a folders name and it worked perfectly when I double-clicked it on my Mac.
thanks a lot! thats genius! its faster then always select all files, zip it, rename it... :D
Remember that the trick only works on OS X. If you send it to a Windows user, they'll end up with a folder.

I use the trick during testing so I can double-click it to open it but still edit the files inside.

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Distributing your games (making a .love file)

Post by Robin » Fri Jun 26, 2009 7:00 am

Jasoco wrote:Remember that the trick only works on OS X. If you send it to a Windows user, they'll end up with a folder.
On Win and Linux you can still use the folder with LÖVE. Well, ok, you can't double-click, but I usually open a terminal window for testing anyway.
Help us help you: attach a .love.

User avatar
Jasoco
Inner party member
Posts: 3650
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Distributing your games (making a .love file)

Post by Jasoco » Fri Jun 26, 2009 7:05 am

I'd say for finalizing, do the zipping. But I'll use packages for the development phase. :ultrahappy:

User avatar
sauer2
Citizen
Posts: 61
Joined: Tue Sep 02, 2008 4:15 pm

Re: Distributing your games (making a .love file)

Post by sauer2 » Wed Jul 29, 2009 4:33 pm

So if i understood you right it is possible to pack the love executable and the .love file in an executable file via cat.
Is it possible to also include the compiled libs into this file and if yes, what lib files am i searching for under ubuntu?

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Distributing your games (making a .love file)

Post by bartbes » Thu Jul 30, 2009 5:20 am

you can use cat but you cant add the libraries that way either recompile or add them sEPERATELy (caps fail) and use LD_LIBRARY_PATH

remember to append the .love to the executable

[@psp]

User avatar
rude
Administrator
Posts: 1051
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Distributing your games (making a .love file)

Post by rude » Sat Sep 12, 2009 1:43 am

Isn't it better and easier to create a .deb package for Ubuntu?

User avatar
osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

Re: Distributing your games (making a .love file)

Post by osgeld » Sat Sep 12, 2009 3:43 am

what would be easy is if there was a doc explaining how to make a *.deb file for love :)

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Distributing your games (making a .love file)

Post by Robin » Sat Sep 12, 2009 4:43 pm

osgeld wrote:what would be easy is if there was a doc explaining how to make a *.deb file for love :)
Which isn't that hard. Golden tip: try opening a .deb as an archive.
Help us help you: attach a .love.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests