copy /b love.exe+game.love amalgamation, stable or not?

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
User avatar
417_TheFog
Prole
Posts: 8
Joined: Sun Dec 29, 2024 1:37 pm

copy /b love.exe+game.love amalgamation, stable or not?

Post 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 :emo: ?
MrFariator
Party member
Posts: 563
Joined: Wed Oct 05, 2016 11:53 am

Re: copy /b love.exe+game.love amalgamation, stable or not?

Post 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.
User avatar
417_TheFog
Prole
Posts: 8
Joined: Sun Dec 29, 2024 1:37 pm

Re: copy /b love.exe+game.love amalgamation, stable or not?

Post by 417_TheFog »

MrFariator wrote: Mon Dec 30, 2024 1:23 am so it is stable.
Thanks :nyu: !
User avatar
pgimeno
Party member
Posts: 3682
Joined: Sun Oct 18, 2015 2:58 pm

Re: copy /b love.exe+game.love amalgamation, stable or not?

Post 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.
Post Reply

Who is online

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