Hey guys,
I recently read a topic about why Stonehearth is still using those compiled lua files. Sadly, no answer was given.
People just showed ways to decompile them.
My question is: Why are we using those encoded files anyway? I can imagine they are faster to load or increase the performance a bit, but for me they are just a barrier for making mods.
And if I understood it correctly, you can decompile the luac files and the game then prefers the decompiled ones, so what’s the point?
I’ve made myself a tiny batch script to allow easy decompiling, but it seems so unnecessary.
I’d like to search through the Stonehearth files and get myself acquianted with the way you guys are scripting, but right now (call me lazy if you like) it seems like the develeopers don’t want me to start modding, which makes me kind of sad since it’s the main aspect im looking forward in the game.
The code is obfuscated not to stop you from looking at it, but as a warning that it’s not ready for public consumption. If you’re sufficiently interested in modding it despite it’s current state, then we look forward to seeing what you come up with! But if you would like things to be in a more finished, less unstable, less likely-to-change state, then you might want to wait until we release final, unobfuscated version.