Small Question on end user product?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Chris016
Prole
Posts: 22
Joined: Sat Aug 16, 2008 1:58 am

Small Question on end user product?

Post by Chris016 »

Im wanting to use love for a casual game i got in mind.

Problem is i dont want the end user to mod the source codes.

So when i do a binary copy with window and linux. Compiling the .love with the exe. Is there a way someone could see that i did that? And or easily decompile it? Or no?

thanks in advance
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Small Question on end user product?

Post by bartbes »

When you create an exe it is still just the LOVE exe with a zip attached to it, so your code will still be visible to everyone.
You can, however, use luac, distributed with lua (the language LOVE is based on) to 'compile' your sources to bytecode.
I guess it could be decompiled, but then again, every program can be decompiled, as long as you've got the right tools/knowledge.
So the best way to distribute closed-source love games is by 'compiling' them with luac.
I don't know anything about licensing issues that might be involved, I'd recommend you check that first.

EDIT: And yes, this means you can just distribute .love files instead of a love+game exe
Chris016
Prole
Posts: 22
Joined: Sat Aug 16, 2008 1:58 am

Re: Small Question on end user product?

Post by Chris016 »

ah alrighty, thank you for quick reply.

luac is good i guess tho ive had a problem with it on windows, it had a massive ram leak. But ill see if i can get it to work in Linux.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests