Page 1 of 1

Should retrieving source code and resources from a Love game exe be this easy?

Posted: Mon Aug 29, 2022 7:19 am
by san
you can call

Code: Select all

copy /b love.exe+game.love game.exe 
in cmd to get an executable, This will put all your code and art into the executable. But if you call

Code: Select all

copy /b game.exe game.love
it will just give you the .love file that can then be turned back to zip and extracted. This can be done to any game made with Love. Is this normal?

Re: Should retrieving source code and resources from a Love game exe be this easy?

Posted: Mon Aug 29, 2022 11:07 am
by BrotSagtMist
Yes?

Re: Should retrieving source code and resources from a Love game exe be this easy?

Posted: Mon Aug 29, 2022 11:49 am
by GVovkiv
If you have concerns about *protecting* source code, then you, probably, want to refer to this: viewtopic.php?p=223862#p223862
maybe you found answers to your questions

Re: Should retrieving source code and resources from a Love game exe be this easy?

Posted: Mon Aug 29, 2022 11:56 am
by san
Okay, thank you.

Re: Should retrieving source code and resources from a Love game exe be this easy?

Posted: Tue Aug 30, 2022 5:46 pm
by Ross
You don't even have to rename anything, actually. You can just unzip the .exe directly.