How to make .exe

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
worldaway
Prole
Posts: 44
Joined: Thu Sep 08, 2011 2:22 am

How to make .exe

Post by worldaway »

I have a small game I am planning on releasing soon, and in order to release it to people who don't have love 2d and lua installed on their computer, I need to release it as some sort of .exe file. How is this done?

Thanks.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: How to make .exe

Post by TechnoCat »

User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: How to make .exe

Post by Ensayia »

Keep in mind that it will still throw errors for people who do not have certain DLL files. You may want to distribute those along with your executable as LOVE can't bundle them into the exe itself.
User avatar
firefly2442
Prole
Posts: 5
Joined: Fri Dec 16, 2011 4:22 am

Re: How to make .exe

Post by firefly2442 »

What other dll files would be needed? These are from Lua itself?
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: How to make .exe

Post by Taehl »

DevIL.dll, OpenAL32.dll, and SDL.dll. These are the libraries the Love executable needs. They're in your Love folder.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
User avatar
baconhawka7x
Party member
Posts: 491
Joined: Mon Nov 21, 2011 7:05 am
Location: Oregon, USA
Contact:

Re: How to make .exe

Post by baconhawka7x »

Well this post is only two years old.


I am getting an error that says I cannot run this game because it is a differen't bit or something. Can someone please help me out? It's for the Ludum Dare:P
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: How to make .exe

Post by Ranguna259 »

Did you made the exe in another computer ?
LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping :D

Check out my twitter.
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: How to make .exe

Post by Davidobot »

baconhawka7x wrote:Well this post is only two years old.


I am getting an error that says I cannot run this game because it is a differen't bit or something. Can someone please help me out? It's for the Ludum Dare:P
I think it is because the dll files are for x86 not x64, which is what you have.
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests