Mod articles
-
AHAHAHAAH
this took me way too long to do
the lua files are normally encrypted, so you have to extract the pak, find all the .lub files, and then decrypt them with a 256-byte key. The problem? Even if you do have the key, its different for each file. All this for a decrypted .lub file which you then have to feed into a lua bytecode decompiler, all so you can get the base .lua file. Except some of the methods inside these .lua files aren't defined in the file, so you have to scrounge around everywhere looking for the method. You have to comprehend the lua code, and change it. Then you have to re-compile the file, throw it back into the encoder with that same key you used to decompile it, and then turn it back into a pak.
Now, the key being different for each ...