Trying To Make Windows Executable

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.
nikwin
Prole
Posts: 2
Joined: Thu Feb 24, 2011 8:45 am

Trying To Make Windows Executable

Post by nikwin »

I have made a very simple love game and am trying to create a windows executable to distribute. So, I zipped everything into a .love file, which runs fine when I try it. I then followed the directions on the wiki http://love2d.org/wiki/Game_Distribution and tried

Code: Select all

copy /B love.exe+archiver.love archiver.exe
, and copied the DLLs into the directory. The problem is that now when I run this executable, it seems to simply run love.exe as the same screen appears. If I do

Code: Select all

archiver.exe archiver.love
or

Code: Select all

love.exe archiver.exe
or even

Code: Select all

archiver.exe archiver.exe
then my game runs without any problems, but if I just try double-clicking the executable or running it from the command line, I just get the love.exe screen. The same happens if I try

Code: Select all

type love.exe archiver.love > archiver.exe
. I am really sorry to ask a question that must have already been resolved, but I cannot find the answer and would really appreciate any advice anyone has.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Trying To Make Windows Executable

Post by nevon »

I think bartbes broke binary merging in the latest release.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Trying To Make Windows Executable

Post by BlackBulletIV »

I saw a commit in the repo from 4 days ago saying fused games had been fixed, so I think it will be fixed in the next release.
nikwin
Prole
Posts: 2
Joined: Thu Feb 24, 2011 8:45 am

Re: Trying To Make Windows Executable

Post by nikwin »

That would explain it. Thank you very much. If this is the case, I suppose that I will just distribute a batch file or something then for the end users.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Trying To Make Windows Executable

Post by BlackBulletIV »

Hmmm, that wouldn't look great, but you could. You could also take the current code for boot.lua and boot.lua.h in scripts folder of the repo and replace their contents with 0.7.1's contents of said files, then proceed to compile a custom executable (not really sure whether you're in a position to do that though).
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Trying To Make Windows Executable

Post by bartbes »

Yeah.. I'm not quite happy about the situation either..
User avatar
Ertain
Citizen
Posts: 55
Joined: Fri Nov 19, 2010 9:38 pm
Location: Texas, U.S.A.

Re: Trying To Make Windows Executable

Post by Ertain »

Curse that dashed option for redistribution.
Booted, suited, and ready to get executed.
obur
Prole
Posts: 11
Joined: Sun Feb 20, 2011 2:03 pm

Re: Trying To Make Windows Executable

Post by obur »

that solved my problem, too, then :)
thanks!
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Trying To Make Windows Executable

Post by rude »

nevon wrote:I think bartbes broke binary merging in the latest release.
:ultrashocked: ... gah. I guess we have to release a new version soon, then.

Meanwhile, you can get builds which should include bartbes' fix here: http://love2d.org/builds/
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Trying To Make Windows Executable

Post by Boolsheet »

rude wrote:[...] which should include bartbes' fix [...]
He's working now on a fix that actually fixes it. :)
Shallow indentations.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests