config.lua is being ignored

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.
somebodyelse
Prole
Posts: 11
Joined: Thu Feb 13, 2014 4:49 am

Re: config.lua is being ignored

Post by somebodyelse »

Hey guys, I'm so sorry about the delay in my response, I haven't had any internet since my last post. Thankfully I got my net back before I lost my mind :P

In the future I'll post my .love file to help you guys figure things out. Regarding one of the answers, I am using LOVE 0.9.0 (I think) - I installed the latest version from the love website. In Windows Explorer when I hover over the love.exe file it brings up a tooltip and it says Version: 0.9.0. Also, certain code (from the wiki) that is described to only work on 0.9.0 or above works for me so I think it's safe to say I'm using atleast 0.9.0.
MachineCode
Citizen
Posts: 70
Joined: Fri Jun 20, 2014 1:33 pm

Re: config.lua is being ignored

Post by MachineCode »

I have been using love2d + zerobrane with linux and I just installed it on Win7 machine and I got the same broken behavior.

It turned out the problem was an old version of love installed in Program Files (x86). The latest version of love installs in Program Files - which is the 64 bit directory, I think.

When ZeroBrane installs, it seems to look in the x86 location first and use that. After I deleted the old love2d in (x86) ZeroBrane failed to find love2d. I just reinstalled ZeroBrane and it found the good copy of love2d in Program Files and then it all worked.

Check in your Program Files (x86) directory and delete old love2d folder.
paulclinger
Party member
Posts: 227
Joined: Thu Jun 28, 2012 8:46 pm

Re: config.lua is being ignored

Post by paulclinger »

MachineCode wrote:It turned out the problem was an old version of love installed in Program Files (x86). The latest version of love installs in Program Files - which is the 64 bit directory, I think.

When ZeroBrane installs, it seems to look in the x86 location first and use that. After I deleted the old love2d in (x86) ZeroBrane failed to find love2d. I just reinstalled ZeroBrane and it found the good copy of love2d in Program Files and then it all worked.
@MachineCode, thank you for bringing this up. This is interesting, as ZBS actually searches in "Program Files" first, before it searches in "Program Files (x86)". It also checks for the directory listed in ProgramFiles environmental variable. In fact, the the following folders are checked (in this order);

os.getenv('ProgramFiles')..'\\love', [[C:\Program Files\love]], [[D:\Program Files\love]], [[C:\Program Files (x86)\love]], and [[D:\Program Files (x86)\love]].

I wonder what the value returned by "os.getenv('ProgramFiles')" is in your case. Paul.
Post Reply

Who is online

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