LOVE 0.9.0 not doing anything on build?

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.
Post Reply
BoltReel
Prole
Posts: 4
Joined: Tue Nov 05, 2013 9:36 am

LOVE 0.9.0 not doing anything on build?

Post 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"]
    }
szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

Re: LOVE 0.9.0 not doing anything on build?

Post 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.
Last edited by szensk on Wed Dec 18, 2013 9:07 pm, edited 2 times in total.
BoltReel
Prole
Posts: 4
Joined: Tue Nov 05, 2013 9:36 am

Re: LOVE 0.9.0 not doing anything on build?

Post 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.
szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

Re: LOVE 0.9.0 not doing anything on build?

Post by szensk »

try escape quotes?
"cmd": ["\"C:\\Program Files (x86)\\LOVE\\love.exe\"", "$file_path"]
BoltReel
Prole
Posts: 4
Joined: Tue Nov 05, 2013 9:36 am

Re: LOVE 0.9.0 not doing anything on build?

Post 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:
szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

Re: LOVE 0.9.0 not doing anything on build?

Post 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.
DelishusCake
Prole
Posts: 8
Joined: Sat Mar 10, 2012 8:31 pm

Re: LOVE 0.9.0 not doing anything on build?

Post 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"
}
BoltReel
Prole
Posts: 4
Joined: Tue Nov 05, 2013 9:36 am

Re: LOVE 0.9.0 not doing anything on build?

Post 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!
User avatar
cartoonmadrasah
Prole
Posts: 1
Joined: Wed Apr 02, 2014 6:26 am
Contact:

Re: LOVE 0.9.0 not doing anything on build?

Post by cartoonmadrasah »

Thank you for the solution.
Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 1 guest