Hey there rude, is it possible to make it so that, um. I don't know how to explain it. Imagine this:
Inside the game.exe:
main.lua
libraries/
Outside the game.exe
entities/
game/
But if you include anything in entities or game/ from main.lua and it isn't found inside the game.exe then it searches in the folder outside of the game.exe?
So we can have people make little modifications for our games, if you know what I mean.
Thanks.
OH: and is it possible to change the icon of the game.exe?
Thank you!
Some help with game.love+love.exe = game.exe
Re: Some help with game.love+love.exe = game.exe
That is not possible in 0.5.0, but it should be simple enough to add.
There might be one (potential) security risk we should consider, though. Files will indeed only be looked for outside the folder if it is not found inside the exe, but, if two folders exists with the same name in both places, the contents will be merged (files from inside exe takes precedence in case of conflicts). This means that love.filesystem.enumerate will return a list of files from both folders. Most likely, this will not be a problem, but we should be aware of it.
Yes, it's possible to change the icon, but you'll have to use some special app for now. The plan is to include a small tool which does this in the future.
In any case, I'm adding your suggestion to the task list, unless anyone has objections.
There might be one (potential) security risk we should consider, though. Files will indeed only be looked for outside the folder if it is not found inside the exe, but, if two folders exists with the same name in both places, the contents will be merged (files from inside exe takes precedence in case of conflicts). This means that love.filesystem.enumerate will return a list of files from both folders. Most likely, this will not be a problem, but we should be aware of it.
Yes, it's possible to change the icon, but you'll have to use some special app for now. The plan is to include a small tool which does this in the future.
In any case, I'm adding your suggestion to the task list, unless anyone has objections.
Re: Some help with game.love+love.exe = game.exe
Thank you rude, you've been great help as usual.
Re: Some help with game.love+love.exe = game.exe
Is it possible to make a single .exe that has everything, including the LOVE engine and the .love files? I know how to embed everything into a single executable on mac but not sure if it is possible (or even ever done with other software) on windows or linux.
-
- Citizen
- Posts: 94
- Joined: Thu Feb 21, 2008 1:11 am
Re: Some help with game.love+love.exe = game.exe
I'm not sure I understand but http://love2d.org/docs/GameDistribution.html.appleide wrote:Is it possible to make a single .exe that has everything, including the LOVE engine and the .love files?
Tested on Debian GNU/Linux and Windows XP SP2.
>>I love LÖVE.<<
Re: Some help with game.love+love.exe = game.exe
No, because LGPL'd DLLs must be user-updatable, and thus can't be embedded into the binary.appleide wrote:Is it possible to make a single .exe that has everything, including the LOVE engine and the .love files? I know how to embed everything into a single executable on mac but not sure if it is possible (or even ever done with other software) on windows or linux.
- qubodup
- Inner party member
- Posts: 775
- Joined: Sat Jun 21, 2008 9:21 pm
- Location: Berlin, Germany
- Contact:
Re: Some help with game.love+love.exe = game.exe
Maybe this could be done if the exe itself could be updated with new dlls? Something like a self-running archive? I don't know if such formats exists, but if yes it might be the minimal solution.rude wrote:No, because LGPL'd DLLs must be user-updatable, and thus can't be embedded into the binary.appleide wrote:Is it possible to make a single .exe that has everything, including the LOVE engine and the .love files? I know how to embed everything into a single executable on mac but not sure if it is possible (or even ever done with other software) on windows or linux.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Some help with game.love+love.exe = game.exe
You might be able to get around it with the argument that you can run the created executables with the löve installed, totally ignoring the inbuilt löve (and the dll's I guess). Don't know the exact terms of the license, but this might be enough.
EDIT: I just thought (while pressing submit ) that there must be a way (especially in Linux) to use your own libs, however I guess this isn't what the guys that made the LGPL were thinking of.
EDIT: I just thought (while pressing submit ) that there must be a way (especially in Linux) to use your own libs, however I guess this isn't what the guys that made the LGPL were thinking of.
Re: Some help with game.love+love.exe = game.exe
That's pretty clever, actually. It would probably cause a conflict, though.bartbes wrote:You might be able to get around it with the argument that you can run the created executables with the löve installed, totally ignoring the inbuilt löve (and the dll's I guess). Don't know the exact terms of the license, but this might be enough.
EDIT: I just thought (while pressing submit ) that there must be a way (especially in Linux) to use your own libs, however I guess this isn't what the guys that made the LGPL were thinking of.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Some help with game.love+love.exe = game.exe
Hmm.. I might need to remove the post, if I don't want to find my house as a burning mess...
*searching anonimity (wait, is that a word?)*
*searching anonimity (wait, is that a word?)*
Who is online
Users browsing this forum: Bing [Bot] and 13 guests