Wrapping love in a love archive

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.
Post Reply
Solitaire
Prole
Posts: 12
Joined: Mon Jul 29, 2013 1:50 am

Wrapping love in a love archive

Post by Solitaire »

Hola,

I'd like to distribute my game on Linux, but I encountered a problem : the user has to install love before he plays, so I'd like a way to avoid this, for instance by wrapping love framework into the love file.

Is there a way to do it ?
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Wrapping love in a love archive

Post by raidho36 »

Yes, you can create a fused binary. You are strongly discouraged to do that with Linux, you should instead mark dependency on LÖVE.
Solitaire
Prole
Posts: 12
Joined: Mon Jul 29, 2013 1:50 am

Re: Wrapping love in a love archive

Post by Solitaire »

Why is that discouraged ? And how do I do that ?
User avatar
markgo
Party member
Posts: 190
Joined: Sat Jan 05, 2013 12:21 am
Location: USA

Re: Wrapping love in a love archive

Post by markgo »

I don't think this is possible on Linux due to different configurations and libs available for each Linux computer. You'll just have to inform people to download the latest LOVE from a repo.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Wrapping love in a love archive

Post by T-Bone »

Basically, just because a binary works on your Linux computer doesn't mean it's going to work on mine. Most Linux programs are distributed in .deb and .rpm files, which have the benefit of being able to specify the dependencies of your program. By depending on LÖVE version 0.8.0 or higher, that would automatically be installed if it isn't already when the user installs your game. That's a good solution. Building a .deb or a .rpm is a little tricky though, I've never quite been able to figure it out. But I'm sure all the info you need can be found with a little googling.
Solitaire
Prole
Posts: 12
Joined: Mon Jul 29, 2013 1:50 am

Re: Wrapping love in a love archive

Post by Solitaire »

Ok, thanks, muchachos !
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot], Semrush [Bot] and 5 guests