I want to view the LUAC files and be able to re-encrypt but all of them have a header of mybo-cs---107
, and unreadable bytes below, I heard the game's LUAC files are encrypted with XXTEA and the encryption key is mybo-blast
(given by this post: https://boards.libre.io/threads/decrypt ... ile.236926
). I successfully decrypted them to plaintext by using a script I made but there are bytes of some sort below after decryption (they decrypt into plaintext LUAs) of the files. Are the bytes below part of the files that were decrypted or is that a mistake in the script I used? If the script works, and the bytes are part of the decrypted files then thanks so much for checking on that.
LUAC files (FILECUTTER):http://www.filedropper.com/abblastluacshttp://www.filedropper.com/abblastluacs_1
Skeleton script I made:
get EXT extension
if EXT & "luac"
set KEY string "mybo-blast"
encryption xxtea KEY "0x9e3779b9 0" 0 16 # cocos2d
get SIZE asize
math SIZE - OFFSET
get NAME filename
log NAME OFFSET SIZE