How do I include my large data tables in an obfuscated return-function script? #201
-
|
Hi everyone. Here’s the structure of my code: local db1 = {}
local db2 = {}
local db3 = {}
-- Full code to obfuscate starting hereThese databases are quite large. They contain deeply nested tables with a lot of numbers and strings inside. Obfuscating them takes a very long time, and in general they contain internal, project‑specific data that isn’t useful without the logic that processes them, so I would prefer to leave them unobfuscated. The Lua API I’m working with doesn’t allow me to store these databases in external files, so I’m forced to include them directly in the final file together with the code. I don’t fully understand how to insert these tables into the returned function of the obfuscated version of the code. Could you please explain how I should do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Globalize the var names and references for the DB tables first, then obfuscate the logic/algorithm responsible for DB processing or whatever it is, after obfuscation, paste the DB tables manually on top of the script. |
Beta Was this translation helpful? Give feedback.
Globalize the var names and references for the DB tables first, then obfuscate the logic/algorithm responsible for DB processing or whatever it is, after obfuscation, paste the DB tables manually on top of the script.