Page 1 of 1

First Time using SciTE problems with running program

Posted: Mon Jan 20, 2014 3:42 am
by FlyinRabidUnicornPig
So I decided to use SciTE, as it would be easier to just press f5 and instantly open my project up, instead of changing windows and dragging the folder to a shortcut.
The problem is, after I figured out how to make it work, and fixing an error with FSAA, it won't load anything... It doesn't even go to a print statement I have at the beginning of conf.lua. It still works fine just dragging and dropping into the shortcut I have.

Any ideas? Thanks in advance

conf.lua:

Code: Select all

function conf(t)
    print("Hi!")
    t.window.fsaa = 2 --So it runs on my weird craptop
end
the last part of lua.properties for SciTE:

Code: Select all

# compatible with LuaBinaries for Lua 5.1; will work on both platforms.
##command.compile.*.lua=luac5.1 -o "$(FileName).luc" "$(FileNameExt)"
# Lua 5.1
##command.go.*.lua=lua5.1 "$(FileNameExt)"
# Lua 4.0
#command.go.*.lua=Lua-4.0.exe -c -f "$(FileNameExt)"

command.go.main.lua="C:\Program Files\LOVE\love.exe" "$(FileDir)"

Re: First Time using SciTE problems with running program

Posted: Mon Jan 20, 2014 8:19 am
by Gravy
This is not an answer to your question, but instead of dragging the folder onto Love, I find it easier to use a terminal window and type "love filename". You only have to actually type it once, since you can just press 'up' afterwards. I'm not sure if Windows is good at this, but autocomplete makes the typing very quick in Linux and OSX.

EDIT: Just a stab in the dark, but maybe you need to append a slash to the end of FileDir?

Re: First Time using SciTE problems with running program

Posted: Mon Jan 27, 2014 4:21 pm
by klis
Hi there! I too got this problem and resolved it. Just follow this step.

1. Add love to your system path
2. replace this

Code: Select all

command.go.main.lua="C:\Program Files\LOVE\love.exe" "$(FileDir)"
with this

Code: Select all

command.go.main.lua="love.exe $(FileDir)"
:)