LOVE to .exes and .dlls

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.
User avatar
MicroMacro
Citizen
Posts: 92
Joined: Fri May 30, 2014 2:30 am
Location: Boston, MA, USA
Contact:

LOVE to .exes and .dlls

Post by MicroMacro »

Okay, so I am programming a game, and when it is done, I want to be able to make it into an exe with dlls.
1) How do I do that?
2) Will people who want to play need to install Love, even if it is an Exe?
3) Will people need to install Lua?
https://github.com/ebernerd- where you can find all my work.
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: LOVE to .exes and .dlls

Post by Ranguna259 »

the dlls exist so that people won't need to install Lua and Love, pack your exe with the dlls or tell people to install :
DevIL
love
lua51
mpg123
Microsoft Visual C++, should already be in target's computer
OpenAL
SDL2
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
MicroMacro
Citizen
Posts: 92
Joined: Fri May 30, 2014 2:30 am
Location: Boston, MA, USA
Contact:

Re: LOVE to .exes and .dlls

Post by MicroMacro »

So how do I pack the Exe?
https://github.com/ebernerd- where you can find all my work.
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: LOVE to .exes and .dlls

Post by Ranguna259 »

By "pack the exe with the dlls" I meant pack your exe into a zip with the dlls, if you do that people will only need to extract the contents.
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
HugoBDesigner
Party member
Posts: 403
Joined: Mon Feb 24, 2014 6:54 pm
Location: Above the Pocket Dimension
Contact:

Re: LOVE to .exes and .dlls

Post by HugoBDesigner »

If you're on Windows, you can do this:
http://www.love2d.org/wiki/Game_Distrib ... Executable

Otherwise, just scroll down in that page :awesome:
@HugoBDesigner - Twitter
HugoBDesigner - Blog
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: LOVE to .exes and .dlls

Post by Ranguna259 »

Yeah but won't you need the dlls for the exe to work ?
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
HugoBDesigner
Party member
Posts: 403
Joined: Mon Feb 24, 2014 6:54 pm
Location: Above the Pocket Dimension
Contact:

Re: LOVE to .exes and .dlls

Post by HugoBDesigner »

Yes, they come along with LÖVE download. Try the zip file if it doesn't works...
@HugoBDesigner - Twitter
HugoBDesigner - Blog
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: LOVE to .exes and .dlls

Post by Ranguna259 »

Yeah I know that but the OP wants to know of a way to distribute the game without the dlls and I don't know how to do that, I don't even think it's possible :P
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
HugoBDesigner
Party member
Posts: 403
Joined: Mon Feb 24, 2014 6:54 pm
Location: Above the Pocket Dimension
Contact:

Re: LOVE to .exes and .dlls

Post by HugoBDesigner »

In the first post he says "with dlls". But I'd like to know if there's a way to distribute a game WITHOUT dlls. I've asked it before in some threads, but no one seems to know (or know if it's ever possible)...
@HugoBDesigner - Twitter
HugoBDesigner - Blog
User avatar
slime
Solid Snayke
Posts: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: LOVE to .exes and .dlls

Post by slime »

HugoBDesigner wrote:In the first post he says "with dlls". But I'd like to know if there's a way to distribute a game WITHOUT dlls. I've asked it before in some threads, but no one seems to know (or know if it's ever possible)...
You can create and distribute an installer exe (similar to the one on the love2d.org frontpage) using something like NSIS.

The dll's are necessary for LÖVE to run, so they have to end up in the same folder as the executable somehow. Most windows programs have a collection of dll's in the same folder as their executable.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 201 guests