Love file protection...?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
orgos
Prole
Posts: 2
Joined: Wed Sep 30, 2009 5:18 pm

Love file protection...?

Post by orgos »

Hi

I like the LOVE environment and features, but how i can protect my final .love file? Its possible generate an executable? or compile the .love file?
User avatar
athanazio
Citizen
Posts: 96
Joined: Fri Apr 10, 2009 3:12 am
Location: Rio de Janeiro - Brazil
Contact:

Re: Love file protection...?

Post by athanazio »

Nothing is simple but everything is possible.
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

Re: Love file protection...?

Post by Sparx »

AFAIK there is no effective way of protecting the sourcecode.
It is possible to create a windows executable by just adding the .love file to the end of the love executable.. but still a veryvery poor protection of sourcecode
User avatar
athanazio
Citizen
Posts: 96
Joined: Fri Apr 10, 2009 3:12 am
Location: Rio de Janeiro - Brazil
Contact:

Re: Love file protection...?

Post by athanazio »

I agree that is not possible to have a 100% protection,
but attach the love to the end of exe really helps to avoid the minor attacks :)
something like 80%... (guessing)
Nothing is simple but everything is possible.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Love file protection...?

Post by rude »

You could compile the source into Lua bytecode.
User avatar
osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

Re: Love file protection...?

Post by osgeld »

yea but you can decompile it pretty easy and unless you told luac to strip the source your script will more or less pop up in the decompiled file
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Love file protection...?

Post by bartbes »

I guess this might be a post-0.6.0 feature.

@rude: don't worry, if I'm still alive by then (roadmap reference!) I will do it... I think

EDIT: pre and post have very different meanings :P
orgos
Prole
Posts: 2
Joined: Wed Sep 30, 2009 5:18 pm

Re: Love file protection...?

Post by orgos »

Its possible use the LOVE api in the c or c++ language?

And for some features have a LUA script loader and execute the code to make IA scripts for example?
User avatar
Fruchthieb
Prole
Posts: 20
Joined: Sat Sep 26, 2009 12:04 pm
Location: austria

Re: Love file protection...?

Post by Fruchthieb »

By the way... get the program a little bit faster, if i compile the sourcecode to bytecode?


By the way ... why would anyone like to protect the sourcecode?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Love file protection...?

Post by Robin »

Fruchthieb wrote:By the way... get the program a little bit faster, if i compile the sourcecode to bytecode?
Startup time might be a bit less, because it doesn't need to compile the file, but I doubt it's noticeable. After that, there should be no difference at all.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests