Page 1 of 1

[SOLVED].exe conversion help

Posted: Wed Feb 26, 2025 4:08 am
by CutePenguin
i made a tiny little game and i wanted to make in into a .exe so i could share it i guess. the page on the docs kinda just broke my head.

is there any easy way so i dont have to download some thing. :? perhaps i am just stupid :crazy:

Re: .exe conversion help

Posted: Wed Feb 26, 2025 6:16 am
by ivan
Microsoft has deliberately made it difficult to share exe files. Even if you manage to build your exe, it will get screened/blocked by Windows. Windows will screen/block your exe unless you digitally sign it (which is basically an overly expensive subscription.) Code signing is how Microsoft and other operating systems make money and exert control over new software.

Re: .exe conversion help

Posted: Wed Feb 26, 2025 9:22 am
by dusoft
I think the OP just does not understand how to do fusing manually.

Try this tool by ivan:
https://2dengine.com/builder/

Re: .exe conversion help

Posted: Thu Feb 27, 2025 6:17 pm
by CutePenguin
Well that's kinda annoying.

Re: .exe conversion help

Posted: Thu Feb 27, 2025 6:18 pm
by CutePenguin
ivan wrote: Wed Feb 26, 2025 6:16 am Microsoft has deliberately made it difficult to share exe files. Even if you manage to build your exe, it will get screened/blocked by Windows. Windows will screen/block your exe unless you digitally sign it (which is basically an overly expensive subscription.) Code signing is how Microsoft and other operating systems make money and exert control over new software.
I don't really know why they have to do that. :ehem:

Re: .exe conversion help

Posted: Thu Feb 27, 2025 6:19 pm
by CutePenguin
I guess to make EXTRA money like they alaways do

Re: .exe conversion help

Posted: Thu Feb 27, 2025 7:17 pm
by CutePenguin
dusoft wrote: Wed Feb 26, 2025 9:22 am I think the OP just does not understand how to do fusing manually.

Try this tool by ivan:
https://2dengine.com/builder/
I used the tool use recommended but when i ran it it gave me this error:

Code: Select all

Error

[love "boot.lua"]:328: No code to run
Your game might be packaged incorrectly.
Make sure main.lua is at the top level of the zip.


Traceback

[love "callbacks.lua"]:228: in function 'handler'
[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
to me that just doesent make any sense. when i made the .love file, main.lua was on the top directory of the folder when i zipped it? so now when i run, it throws me that error. :? :? :?

Re: .exe conversion help

Posted: Thu Feb 27, 2025 10:27 pm
by MrFariator
CutePenguin wrote: Thu Feb 27, 2025 7:17 pm to me that just doesent make any sense. when i made the .love file, main.lua was on the top directory of the folder when i zipped it? so now when i run, it throws me that error. :? :? :?
Did you zip the contents of the directory, or did you zip the directory itself? If latter, windows' default zipping utility tends to make it so that your zip will contain the folder, and the contents inside that folder (so, zip>folder>main.lua). In löve's case, the contents need to be at the root of the zip itself (zip>main.lua). Something like 7zip can better help you manage zipping files, as well inspect the folder/file structure inside them.

Re: .exe conversion help

Posted: Thu Feb 27, 2025 11:04 pm
by CutePenguin
:awesome: :awesome: Thank you ! that fixed it!

Re: .exe conversion help

Posted: Fri Feb 28, 2025 9:50 am
by ivan
CutePenguin wrote: Thu Feb 27, 2025 6:19 pm I guess to make EXTRA money like they alaways do
Code signing usually involves the RSA and SHA algorithms both of which are in the public domain (all relevant patents have expired a while ago.) It is all kind of silly, since the technology has been in the public domain for a while.
Code signing is a good idea in theory, but Microsoft's process of issuing these digital signatures is a waste of everybody's time. Selling digital signatures as a paid subscription service is ridiculous.