[Solved]Distributing on Windows / running ( HELP )
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- freemann098
- Prole
- Posts: 2
- Joined: Sun Aug 04, 2013 9:02 pm
[Solved]Distributing on Windows / running ( HELP )
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.
Last edited by freemann098 on Sun Aug 04, 2013 9:31 pm, edited 1 time in total.
Re: Distributing on Windows / running ( HELP )
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.
- freemann098
- Prole
- Posts: 2
- Joined: Sun Aug 04, 2013 9:02 pm
Re: Distributing on Windows / running ( HELP )
I feel like an idiot... -_- Thank you for the help though! I am new to LOVE.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.
Re: [Solved]Distributing on Windows / running ( HELP )
Don't feel like an idiot, its usually the problem with the easiest fix that cause the biggest headache. (I speak from personal experience )
Last edited by Jeeper on Mon May 25, 2015 9:16 pm, edited 1 time in total.
Re: [Solved]Distributing on Windows / running ( HELP )
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
I like to draw and program
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: [Solved]Distributing on Windows / running ( HELP )
Or (if you are on windows) use a .bat file (I found this in the forums a few months ago):
Replace the directory there with the location of your love.exe if it's not in your program files.
Code: Select all
start "" "C:\Program Files (x86)\LOVE\love.exe" "%CD%" -- console
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
Re: [Solved]Distributing on Windows / running ( HELP )
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.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Who is online
Users browsing this forum: No registered users and 1 guest