I can't get Love 0.10.1 to run on notepad++!

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
Posts: 1
Joined: Thu Jul 21, 2016 8:12 am

I can't get Love 0.10.1 to run on notepad++!

Post by Pridegames » Thu Jul 21, 2016 8:19 am

I need help to get Love to work on notepad++. Am having problems getting it to work please help. :cry:

User avatar
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: I can't get Love 0.10.1 to run on notepad++!

Post by Plu » Thu Jul 21, 2016 11:22 am

You're going to have explain a bit more about what's going wrong... what exactly are you trying to do and which parts don't work?

Posts: 58
Joined: Sun Apr 20, 2014 2:15 pm
Location: Ukraine

Re: I can't get Love 0.10.1 to run on notepad++!

Post by cval » Thu Jul 21, 2016 4:34 pm

Just a wild guess, try to bind

Code: Select all

"full_path_to_love_executable" $(CURRENT_DIRECTORY) "--console"
to a keystroke of your choice. Where full path could be, for example

Code: Select all

C:\Program Files\LOVE\love.exe
and press that combination while you are editing main.lua
Note that this will invoke love's own console, it will not make you able to see love's output in npp console.

User avatar
Party member
Posts: 403
Joined: Mon Feb 24, 2014 6:54 pm
Location: Somewhere in Brazil

Re: I can't get Love 0.10.1 to run on notepad++!

Post by HugoBDesigner » Thu Jul 21, 2016 5:54 pm

To make my own life easier, I put all the LÖVE versions inside my Notepad++ folder, so I can run the same command:


Of course, one command per LÖVE version (so it can be love-0.10.1-win32, love-0.10.0-win32, love-0.9.2-win64, etc).

You can use both the Notepad's built in "Run" command (F5), then save the line of code and attribute it a shortcut. Or you can use the Npp_Exec plugin (I had problems with Notepad's Run before).

Then you can run the game by pressing your shortcut key of choice. Just make sure the file you're running is on the same folder and level as main.lua (files in subfolders won't work!)
HugoBDesigner - my Twitter
HugoBDesigner - my Blog

User avatar
Party member
Posts: 1006
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: I can't get Love 0.10.1 to run on notepad++!

Post by Positive07 » Fri Jul 22, 2016 10:19 pm

I have a gist with some code and configurations for NppExec plugin which I can guarantee works rather well, even if you don't want or need the "Go to error" functionality", just check the readme in that case which has a .bat file and the command NppExec runs.

The batch file is needed because you can't get LÖVE to run directly from NppExec and get Console ouput without it
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests