Obscufication/Licensing of a LUA script

Forum for OctaneRender Lua scripting examples, discussion and support.
Post Reply
User avatar
MB
Licensed Customer
Posts: 168
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.
Contact:

I would like to temporarily share a valuable LUA script with a hardware vendor at a trade show so they can show Octane running on their gear, but obviously don't want it to get out into the wild.

Is there anything I can do to protect it?

thx

Mark
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Something like that perhaps?
https://github.com/mlnlover11/XFuscator

Thanks,
-Juanjo
User avatar
mojave
OctaneRender Team
Posts: 1337
Joined: Sun Feb 08, 2015 10:35 pm

Just adding to what Juanjo has proposed that you may also implement the most sensitive parts as a DLL and access them via the Lua FFI interface:

http://luajit.org/ext_ffi.html

(Note that Octane uses vanilla Lua instead of LuaJit, I'm adding this link just with the purpose of illustrating how to use it).
User avatar
MB
Licensed Customer
Posts: 168
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.
Contact:

Thank you both!
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2
Post Reply

Return to “Lua Scripting”