Page 1 of 1
Distribution Exe Issue
Posted: Tue Aug 07, 2012 4:38 am
by Anonymous2343
Well, I pack the love.exe + my .love game into a .exe, include the dll's in the folder, and when I run it, it just shows the regular love.exe screen, with the pig and hearts. What am I doing wrong?
I'm using the command code "copy /b love.exe+LuaGame.love game.exe"
Re: Distribution Exe Issue
Posted: Wed Aug 08, 2012 7:22 am
by Boolsheet
That should have worked. Can you upload the combined .exe? If you don't want to distribute your game, you can just create a small example that shows the same behaviour.
The last time I helped someone that had problem with this, the .love was packaged with the 7z format instead of a Zip. Only Zip is officially supported.
Re: Distribution Exe Issue
Posted: Wed Aug 08, 2012 7:27 am
by Roland_Yonaba
Good point.
And first of all, when you build the *.love file, make sure you can run it properly by dragging it on love.exe app. If so, merging it with love.exe should result in a fully working executable.
Re: Distribution Exe Issue
Posted: Wed Aug 08, 2012 7:53 am
by Boolsheet
Roland_Yonaba wrote:If so, merging it with love.exe should result in a fully working executable.
Except if it's a 7z archive.
LÖVE may support the archive as a standalone, but will ignore it if appended to the executable. Zip has its header at the end of the file (which makes it a footer, I guess) and this is exploited for the fused executable feature.
Re: Distribution Exe Issue
Posted: Wed Aug 08, 2012 4:50 pm
by Roland_Yonaba
Boolsheet wrote:
Except if it's a 7z archive.
LÖVE may support the archive as a standalone, but will ignore it if appended to the executable. Zip has its header at the end of the file (which makes it a footer, I guess) and this is exploited for the fused executable feature.
Squeek..
Didn't know that. Good point, thanks tipping.