Page 1 of 1

LOVE 0.9.0 not doing anything on build?

Posted: Wed Dec 18, 2013 8:12 am
by BoltReel
I just installed 0.9.0 and now when I try to launch my game through Sublime Text 2, nothing happens. It opens a process of Love however no window as was intended. Any ideas as to why this happened?

If its needed here is the build code:

Code: Select all

    {
        "selector": "source.lua",
        "cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"]
    }

Re: LOVE 0.9.0 not doing anything on build?

Posted: Wed Dec 18, 2013 5:01 pm
by szensk
try

Code: Select all

    {
        "selector": "source.lua",
        "shell": true,
        "cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"]
    }
this works for me.

Re: LOVE 0.9.0 not doing anything on build?

Posted: Wed Dec 18, 2013 6:21 pm
by BoltReel
szensk wrote:try

Code: Select all

    {
        "selector": "source.lua",
        "shell": true,
        "cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"]
    }
Hmm, with that it now gives me an error as follows:

Code: Select all

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.0s with exit code 1]
However if I set the window to borderless it runs. Borderless is however, not optimal.

Re: LOVE 0.9.0 not doing anything on build?

Posted: Wed Dec 18, 2013 7:05 pm
by szensk
try escape quotes?
"cmd": ["\"C:\\Program Files (x86)\\LOVE\\love.exe\"", "$file_path"]

Re: LOVE 0.9.0 not doing anything on build?

Posted: Wed Dec 18, 2013 8:20 pm
by BoltReel
szensk wrote:try escape quotes?
"cmd": ["\"C:\\Program Files (x86)\\LOVE\\love.exe\"", "$file_path"]

Code: Select all

The filename, directory name, or volume label syntax is incorrect.
[Finished in 0.0s with exit code 1]
:cry:

Re: LOVE 0.9.0 not doing anything on build?

Posted: Wed Dec 18, 2013 9:10 pm
by szensk
Hrm, I'm not sure what's wrong then.

Code: Select all

{
    "selector": "source.lua",
    "shell": true,
    "cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"]
},
is working fine for me.

Re: LOVE 0.9.0 not doing anything on build?

Posted: Thu Dec 19, 2013 4:12 am
by DelishusCake
Try setting a path instead:

Code: Select all

{
    "path": "C:\\Program Files (x86)\\LOVE",
    "selector": "source.lua",
    "shell": true,
    "cmd": ["love", "$file_path"]
}
Edit:
Or try replacing "\\" with "/". I run mine from a flash drive, so my build looks like this:

Code: Select all

{
	"shell": true,
	"path": "/apps/SDKs/love",
	"cmd": ["love", "${project_path:${folder:${file_path}}}"],
	"selector": "source.lua.love"
}

Re: LOVE 0.9.0 not doing anything on build?

Posted: Thu Dec 19, 2013 6:18 am
by BoltReel
DelishusCake wrote:Try setting a path instead:

Code: Select all

{
    "path": "C:\\Program Files (x86)\\LOVE",
    "selector": "source.lua",
    "shell": true,
    "cmd": ["love", "$file_path"]
}
Ah, worked like a charm thanks!

Re: LOVE 0.9.0 not doing anything on build?

Posted: Mon Apr 14, 2014 1:57 pm
by cartoonmadrasah
Thank you for the solution.