Version compatibility issue in Linux

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
freaxtux
Prole
Posts: 1
Joined: Mon Apr 09, 2012 12:52 pm

Version compatibility issue in Linux

Post by freaxtux »

I'm not a programmer nor native English user, so there might be some awkward expressions. I apologize for them if there's any.

After installing LOVE 0.8.0 for Mari0, I can't play Not Tetris 2.

To explain what happened as far as I understand;
In Windows, you can distribute a game with some dll files so it isn't important whether your game is based on 0.7.2 or 0.8.0.
However, In Linux, you can't use 0.7.2 and 0.8.0 at the same time because libraries are installed system-wide.

Am I right? If not, is there any way to run 0.7.2 game under 0.8.0 environment without re-installing LOVE or modifying the game?

P.S. I tried to make the game work deleting ".lua" from require function, but another error occured and I quit because it's out of my capability. (Number of vertices must be a multiple of two)
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Version compatibility issue in Linux

Post by nevon »

There are a couple of ways to solve that problem. One is to do pretty much the same as in Windows, and distribute the thing as a frozen binary (concatenate the LÖVE binary and the .love archive), and only set LÖVE's dependencies as your package's dependencies.

Another, if you're distributing your game via a repository, is to offer your own version of LÖVE along with the game. You could just copy the LÖVE package and rename it into "loveformygame" or whatever, and put that as a dependency. That way there'll be no collision.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Version compatibility issue in Linux

Post by kikito »

I'm pretty sure I have heard about people having both versions of LÖVE installed on their machines, but I don't know really how they did it. Guys?
When I write def I mean function.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Version compatibility issue in Linux

Post by Robin »

kikito wrote:I'm pretty sure I have heard about people having both versions of LÖVE installed on their machines, but I don't know really how they did it. Guys?
I simply have both the packages love-stable and love-unstable from bartbes' PPA installed.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests