Distribution Exe Issue

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
Anonymous2343
Prole
Posts: 1
Joined: Tue Aug 07, 2012 4:35 am

Distribution Exe Issue

Post 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"
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Distribution Exe Issue

Post 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.
Shallow indentations.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Distribution Exe Issue

Post 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.
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Distribution Exe Issue

Post 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. :P
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.
Shallow indentations.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Distribution Exe Issue

Post by Roland_Yonaba »

Boolsheet wrote: Except if it's a 7z archive. :P
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.
Post Reply

Who is online

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