Page 1 of 1

.exe distribution don't works

Posted: Wed Sep 16, 2015 5:09 am
by vitail
i maked a little game in love, the game in a .love launcher runs perfect, but, if i change it to .exe(i readed the documentation about it) with the cmd etc, etc, no detects a game, and i need to put all the .dll to run the .exe.

Image

Re: .exe distribution don't works

Posted: Wed Sep 16, 2015 12:30 pm
by radgeRayden
You're actually supposed to include the dlls in your distribution package, since love is dynamically linked with them.

Re: .exe distribution don't works

Posted: Wed Sep 16, 2015 4:42 pm
by vitail
radgeRayden wrote:You're actually supposed to include the dlls in your distribution package, since love is dynamically linked with them.
and how i can fix that, because my .exe dont detect the game inside the .exe

Re: .exe distribution don't works

Posted: Thu Sep 17, 2015 1:19 am
by radgeRayden
No, you see, for several reasons you can't really "fix that". For your game to run, you must have all DLLs inside the same folder as the exe.

Re: .exe distribution don't works

Posted: Fri Sep 18, 2015 3:23 pm
by bartbes
I think vitail is trying to say their exe file just shows the no game screen. If so, make sure you've packaged the game as a zip, and nothing else. Only zips work (and only zips are supported anyway).

Re: .exe distribution don't works

Posted: Sun Sep 20, 2015 7:56 am
by T-Bone
bartbes wrote:I think vitail is trying to say their exe file just shows the no game screen. If so, make sure you've packaged the game as a zip, and nothing else. Only zips work (and only zips are supported anyway).
If that was the problem, the .love wouldn't work, would it?
radgeRayden wrote:No, you see, for several reasons you can't really "fix that". For your game to run, you must have all DLLs inside the same folder as the exe.
Look at the screenshot. We can clearly see that the .dll files are there.

Re: .exe distribution don't works

Posted: Sun Sep 20, 2015 10:58 am
by zorg
From looking at the commandline only, i see that the second time, he tried to copy "srolling.love" when clearly he renamed the zip "srollingc.love", hence why the copy command didn't echo the second file, so it came up as the no game screen...

i might be wrong though, but it does seem plausible

Re: .exe distribution don't works

Posted: Thu Sep 24, 2015 1:46 am
by radgeRayden
T-Bone wrote:Look at the screenshot. We can clearly see that the .dll files are there.
I understood he didn't want to have to attach DLL's to his project, but you may be right.