Page 1 of 1

[Solved]Distributing on Windows / running ( HELP )

Posted: Sun Aug 04, 2013 9:09 pm
by freemann098
I installed LOVE and when I'm developing and try to run my game it always runs the default Rubber Piggy. My folder has a main.lua and everything. I made a .love file with a main.lua inside and tryed to run with Love.exe and still run the Rubber Piggy. :cry:

Re: Distributing on Windows / running ( HELP )

Posted: Sun Aug 04, 2013 9:30 pm
by Jeeper
Are you compressing it as a Zip and then changing name to .love? If you compress it as a .rar you will get this error.

Re: Distributing on Windows / running ( HELP )

Posted: Sun Aug 04, 2013 9:31 pm
by freemann098
Jeeper wrote:Are you compressing it as a Zip and then changing name to .love? If you compress it as a .rar you will get this error.
I feel like an idiot... -_- Thank you for the help though! I am new to LOVE.

Re: [Solved]Distributing on Windows / running ( HELP )

Posted: Sun Aug 04, 2013 9:32 pm
by Jeeper
Don't feel like an idiot, its usually the problem with the easiest fix that cause the biggest headache. (I speak from personal experience :))

Re: [Solved]Distributing on Windows / running ( HELP )

Posted: Mon Aug 05, 2013 11:45 am
by XHH
If you don't want to create a .love every time you want to run it, you can drag the folder (containing main.lua) onto the love.exe

Re: [Solved]Distributing on Windows / running ( HELP )

Posted: Mon Aug 05, 2013 12:25 pm
by substitute541
Or (if you are on windows) use a .bat file (I found this in the forums a few months ago):

Code: Select all

start "" "C:\Program Files (x86)\LOVE\love.exe" "%CD%" -- console
Replace the directory there with the location of your love.exe if it's not in your program files.

Re: [Solved]Distributing on Windows / running ( HELP )

Posted: Thu Aug 08, 2013 4:13 am
by T-Bone
Or you can just tell Notepad++ to map some key combination to "love $CURRENT_FOLDER". That way, you don't even need to leave your editor to start up the game. Gedit has similar functionality too.