Jump to content
Rick

Lua protection

Recommended Posts

I want to also release my game for PC & Mac, but I made it via Lua. Is there any protection we can do? LE related or a 3rd party packager or something?

Share this post


Link to post

SmartPacker will do that:

http://www.smartpacker.nl/

 

There are also some undocumented ways to set a zip file password:

Package* package = Package::Load("data.zip");
package->password = "mypassword";

 

Android is a problem, because we don't have any control over the creation of the APK file, and Android apps don't have a file system.

Share this post


Link to post

Is it code or assets you are trying to protect?

 

There are things out there like exe-packager et al. which takes all your data and the exe and makes a single package. Some of these let you encrypt etc. The problem is that a lot of these un-pack your stuff upon running to a temporary area and then delete this when your game ends.

 

That sounds all good, but there is nothing stopping a person going into that area whilst the game is running and getting your assets anyway.

 

TBH, I wouldn't worry about anyone taking anything... if people want to they will anyway. The only issues you really have is licensing agreements if you have used models etc from 3rd parties i.e. turbosquid or similar. Most of the time they do not allow for assets to be given out in a readable format, so you will be breaking that (even with the packager mentioned above). There was a post here from Josh saying that sounds used on the Darkness game shouldn't be used in your products because he didn't have a redistribution license. If that is so, that is a breach of his licence... those assets shouldn't be included at all. Saying don't use is not enough.

 

If it's code, why bother to protect it? I'm guessing it is just simple game logic, not Unreal Engine 5 that you have written.

Share this post


Link to post

But basicly the .exe + lua scripts = leadwerks engine. (without editor), which might violate some Leadwerks EULA?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...