Page 2 of 2

Re: Windows: conf.lua console appears but doesn't work

Posted: Thu Apr 18, 2013 7:18 pm
by Boolsheet
As I said, use io.read to get to that input.

Re: Windows: conf.lua console appears but doesn't work

Posted: Thu Apr 18, 2013 7:22 pm
by Nixola
I remember having a similar issue, I had to use love._openConsole() too to have Bartbes' Repler working correctly

Re: Windows: conf.lua console appears but doesn't work

Posted: Thu Apr 18, 2013 7:49 pm
by slime
t.console = true makes LÖVE call love._openConsole() after requiring main.lua and before love.load/love.run is called.

Re: Windows: conf.lua console appears but doesn't work

Posted: Fri Apr 19, 2013 12:52 pm
by Nixola
Yeah, I noticed I was being stupid as always and requiring Repler (so, calling io.read) before love.load

Re: Windows: conf.lua console appears but doesn't work

Posted: Fri Apr 19, 2013 7:13 pm
by B-Man99
T-Bone wrote:You still haven't uploaded a .love containing the code that doesn't work for you. love.conf should be enough.

If you upload it, we can probably tell what's wrong.
Here's your answer:
B-Man99 wrote:I am using Love 0.8.0, the normal one, and I have tried this with everything from my own .love files to Mari0 (stabyourself.net) and Platform Guy (from these forums).
Boolsheet wrote:As I said, use io.read to get to that input.
Thank you. I think I understand now.

slime wrote:t.console = true makes LÖVE call love._openConsole() after requiring main.lua and before love.load/love.run is called.
Okay. Thanks for the explanation

RECAP: My problem, though not fixed, have enough alternatives that I don't need anything else. If you have more info, please tell me about it, but things are good for now. Thanks everyone for all of your help.

Re: Windows: conf.lua console appears but doesn't work

Posted: Fri Apr 19, 2013 7:16 pm
by slime
In 0.9.0, love._openConsole will be called before main.lua is loaded, so print will behave as expected (except when used in conf.lua).

Re: Windows: conf.lua console appears but doesn't work

Posted: Sat Apr 20, 2013 4:21 pm
by B-Man99
Thanks for the info Slime