[Solved]Distributing on Windows / running ( HELP )

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
User avatar
freemann098
Prole
Posts: 2
Joined: Sun Aug 04, 2013 9:02 pm

[Solved]Distributing on Windows / running ( HELP )

Post 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:
Last edited by freemann098 on Sun Aug 04, 2013 9:31 pm, edited 1 time in total.
User avatar
Jeeper
Party member
Posts: 611
Joined: Tue Mar 12, 2013 7:11 pm
Contact:

Re: Distributing on Windows / running ( HELP )

Post 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.
User avatar
freemann098
Prole
Posts: 2
Joined: Sun Aug 04, 2013 9:02 pm

Re: Distributing on Windows / running ( HELP )

Post 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.
User avatar
Jeeper
Party member
Posts: 611
Joined: Tue Mar 12, 2013 7:11 pm
Contact:

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

Post 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 :))
Last edited by Jeeper on Mon May 25, 2015 9:16 pm, edited 1 time in total.
User avatar
XHH
Citizen
Posts: 85
Joined: Thu Jun 20, 2013 6:43 pm
Location: US
Contact:

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

Post 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
I like to draw and program :)
User avatar
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 )

Post 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.
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

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

Post 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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests