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 .
IMP1
Prole
Posts: 43 Joined: Mon Oct 03, 2011 8:46 pm
Post
by IMP1 » Sat Dec 28, 2013 2:40 pm
I used to run LÖVE stuff directly from notepad++ by executing the following (by use of the nppexec plugin):
Code: Select all
"C:\Program Files\LOVE\love.exe" "$(CURRENT_DIRECTORY)"
But since 0.9.0, this has stopped working. The bult-in console for NPP says:
Code: Select all
"C:\Program Files\LOVE\love.exe" "C:\Users\IMP1\Documents\LOVE games\multiplayer\server"
Process started >>>
(the first line of which being the code it's executing) but nothing happens.
But if I copy and paste exactly said first line (the one generated by npp) into the command line, it works. So I'm not sure whether the problem is with Notepad++ or 0.9.0
Last edited by
IMP1 on Mon Dec 30, 2013 4:35 pm, edited 2 times in total.
Ranguna259
Party member
Posts: 911 Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you
Post
by Ranguna259 » Sat Dec 28, 2013 4:17 pm
Add a "\" to the end
I use it like this:
Code: Select all
"C:\Program Files\LOVE\love.exe" "$(CURRENT_DIRECTORY)"
LoveDebug - A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping
Check out my
twitter .
IMP1
Prole
Posts: 43 Joined: Mon Oct 03, 2011 8:46 pm
Post
by IMP1 » Sat Dec 28, 2013 7:28 pm
Add a "\" to what?
And the line you've given seems to be identical to the one I'm using... unless I'm being blind
iPoisonxL
Party member
Posts: 227 Joined: Wed Feb 06, 2013 3:53 am
Location: Australia
Contact:
Post
by iPoisonxL » Sun Dec 29, 2013 3:03 am
Add a "\" to this, since it's a folder:
Code: Select all
"C:\Users\IMP1\Documents\LOVE games\multiplayer\server\"
notice the added \
IMP1
Prole
Posts: 43 Joined: Mon Oct 03, 2011 8:46 pm
Post
by IMP1 » Sun Dec 29, 2013 7:52 pm
Okay, that still doesn't work.
And the command line doesn't need the ending backslash.
And it worked for previous versions of LOVE without the ending backslash.
iPoisonxL
Party member
Posts: 227 Joined: Wed Feb 06, 2013 3:53 am
Location: Australia
Contact:
Post
by iPoisonxL » Mon Dec 30, 2013 2:07 am
Why don't you just use "$(CURRENT_DIRECTORY)" ?
IMP1
Prole
Posts: 43 Joined: Mon Oct 03, 2011 8:46 pm
Post
by IMP1 » Mon Dec 30, 2013 4:35 pm
I am.
mickeyjm
Party member
Posts: 237 Joined: Thu Dec 29, 2011 11:41 am
Post
by mickeyjm » Mon Dec 30, 2013 5:04 pm
I am doing exactly as you describe and it works, are you sure that
actually exists?
EDIT: Actually I don't quote $(CURRENT_DIRECTORY), maybe that makes a difference?
Last edited by
mickeyjm on Mon Dec 30, 2013 5:44 pm, edited 1 time in total.
Your screen is very zoomed in...
bekey
Party member
Posts: 255 Joined: Tue Sep 03, 2013 6:27 pm
Post
by bekey » Mon Dec 30, 2013 5:26 pm
-snip-
Last edited by
bekey on Fri Jan 24, 2014 1:35 am, edited 2 times in total.
iPoisonxL
Party member
Posts: 227 Joined: Wed Feb 06, 2013 3:53 am
Location: Australia
Contact:
Post
by iPoisonxL » Mon Dec 30, 2013 6:10 pm
I think quoting $(CURRENT_DIRECTORY) makes a difference, I'm not sure.
Users browsing this forum: Ahrefs [Bot] , Google [Bot] , Semrush [Bot] and 4 guests