Page 2 of 2

Re: config.lua is being ignored

Posted: Tue Feb 18, 2014 5:50 pm
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.

Re: config.lua is being ignored

Posted: Sun Nov 09, 2014 11:34 am
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.

Re: config.lua is being ignored

Posted: Mon Nov 10, 2014 6:28 am
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.