Page 1 of 1
copy /b love.exe+game.love amalgamation, stable or not?
Posted: Sun Dec 29, 2024 2:18 pm
by 417_TheFog
I am using 64-bit Windows 11, and "win+r >>> cmd >>> cd C:\path\thing >>> copy /b love.exe+game.love game.exe" pretty much works for me. But is this method stable? If it is not, how can I build clear -.exe file (or at least hide love.exe somewhere)? If it is stable, can I do the same with .dll? Btw is there dark theme
?
Re: copy /b love.exe+game.love amalgamation, stable or not?
Posted: Mon Dec 30, 2024 1:23 am
by MrFariator
Handful games have been shipped on Steam and other storefronts using the method (for example, Balatro), so it is stable. You may just want to change love.exe so that its resource icons and/or metadata match your game, either by building love from source, or using something like resource hacker.
As for the DLLs, just keep them next to your game's final executable when you ship it, because end user most likely won't have the correct DLLs on their system.
Re: copy /b love.exe+game.love amalgamation, stable or not?
Posted: Mon Dec 30, 2024 5:53 am
by 417_TheFog
MrFariator wrote: ↑Mon Dec 30, 2024 1:23 am
so it is stable.
Thanks
!
Re: copy /b love.exe+game.love amalgamation, stable or not?
Posted: Tue Dec 31, 2024 8:57 am
by pgimeno
It should be obvious, but once you do the copy/b love.exe+game.love <yourgame>.exe, you can delete love.exe from the shipping directory - it doesn't need to be there to run the game.