Issue with distribution

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
mardilp
Prole
Posts: 1
Joined: Thu May 03, 2012 5:13 am
Contact:

Issue with distribution

Post by mardilp »

I have been trying to simply make an .exe to allow people to download off my site.
I have made a zip, put main.lua, the .love executable (which I got by right clicking love, "Go to file location") and got the love.exe from there and coped the DLLS and put them into the zip. I renamed it to .love, and the icon changed to the blue face or whatever it is. I am lost now, what do I do next? How can I make the simple .exe.
Thanks anyways.
User avatar
felix24
Party member
Posts: 163
Joined: Tue Jul 26, 2011 4:51 pm
Contact:

Re: Issue with distribution

Post by felix24 »

hi there,

have you looked at the wiki page for distribution yet?
Basically you have to make a .love file first. to do this, zip the CONTENTS of your project folder (not the folder itslef), i.e main.lua and any other files and folders in your project, and rename the zip to whatever.love.

then to make the exe, copy whatever.love into the same folder that contains love.exe. open command prompt and cd to that same folder.
enter the following command:

Code: Select all

copy /b love.exe+whatever.love game.exe
this creates an exe of your game called game.exe. then just create a new folder, copy the three dll files from the love folder and game.exe into it and your done.

good luck ^^
Post Reply

Who is online

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