Third Party Tools / LUA Protector

Author
Message
Hockeykid
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 23rd Aug 2015 06:23 Edited at: 23rd Aug 2015 06:23
Hi guys,

I was reading a thread earlier in the Product Chat boards about media protection and noticed that Game-Guru does not encrypt LUA files. So, I decided to make a program that allows users to compile their LUA scripts down to bytecode.

This program utilizes the LUAC (LUA Compiler) to compile each LUA script into a non-readable format (which will prevent people from being able to edit them). Also, this should help prevent people from stealing your custom scripts out of your game's scriptbank because they won't be able to read through them to figure out how to setup the script.

This program is FREE, however I have setup a Paypal donation button:


How to Use:
Run the "LUAProtector.exe"
Select the "Set Scriptbank Path" button
Navigate to your GAME'S scriptbank (not Game-Guru's) and select it
Hit the "Compile Scripts" button

Picture:



Download
https://forum.game-guru.com/attachment/5141

Sean

Attachments

Login to view attachments
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 23rd Aug 2015 14:52
Hi - sent you a PM on this.

Cheers.
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 23rd Aug 2015 16:24 Edited at: 23rd Aug 2015 16:27
Thats what I needed. Thanks a lot

A different question: What tool you use for your application? I search a long time for a good gui editor for c++. Or is this c#?
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM
Hockeykid
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 23rd Aug 2015 22:12
Quote: "Hi - sent you a PM on this. "


HI, can you right click the "LUA Protector.exe" and go to properties and make sure it isn't being blocked? Also do the same for the "luac.exe" that's in the "Assets" folder and then try running "LUA Protector.exe" as administrator.

Quote: "What tool you use for your application? I search a long time for a good gui editor for c++. Or is this c#?"

Originally I was going to use C++, but I decided not to because accessing Windows UI in C++ can be a pain. I ended up using C# which made things easier. However, here's a good cross-platform GUI library for C++ https://www.wxwidgets.org/


Sean
science boy
15
Years of Service
User Offline
Joined: 3rd Oct 2008
Location: Up the creek
Posted: 26th Aug 2015 10:55
i have a question, is this mainly for finished games? for if it is to protect when in a download from store version, it would be impossible to edit. hence lots of pm to the authors.
an unquenchable thirst for knowledge of game creation!!!
Kesstryl
8
Years of Service
User Offline
Joined: 29th Jul 2015
Playing:
Posted: 26th Aug 2015 14:55
This is great for protecting finished games as you don't want your scripts to be out there for the general public, but as a developer, if I buy a script or an object that comes with a script, sometimes you do want to make customization, otherwise everything falls into becoming cookie cutter. I do see the need to prevent people from ripping scripts and distributing them (haven't seen this as a problem yet here, but one never knows) and can understand that, but not every script can be a one size fits all. Maybe there should be a way to flag encrypted scripts on the store so those which can't be edited will be clear for the buyer.
PM
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 26th Aug 2015 21:14
I found a bug maybe. Your tool does not work with subfolders with spaces like "cell shaded"(from steve).

Maybe I am wrong but I tested this with steve from unfamiliar and a own small game.
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM
Hockeykid
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 27th Aug 2015 03:19
Quote: "for if it is to protect when in a download from store version, it would be impossible to edit. hence lots of pm to the authors."


This is mainly for completed games. Store scripts should be left unencrypted so customers can edit them if they want to.

Quote: "I found a bug maybe. Your tool does not work with subfolders with spaces like "cell shaded"(from steve)."


It should work with subfolders, can you try to remove the space and see if it works?



Sean
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 27th Aug 2015 09:15
Quote: "It should work with subfolders, can you try to remove the space and see if it works?"

Yes it works with subfolders, but as soon as I have a space in the foldername it does not work. Maybe you should mention this in a small text
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM

Login to post a reply

Server time is: 2024-03-28 21:48:36
Your offset time is: 2024-03-28 21:48:36