Weinixiong Posted May 28 Posted May 28 (edited) Hello there! Recently, my favorite game got updated and I decided to decrypt the resource downloaded, so I took the old method as it used to be. But, unfortunately this time something went wrong. By checking with HxD reader, it looks like the official changed the encryption so that AssetStudio cannot read the files properly, which panics me. Tried to solve it but failed due to lacking knowledge of programming, so I wonder if there is someone could help with this. The old decrypting method is using the bms scripts in sequence. First, use the one below to get rid of fake header. Quote get ArcName filename set Name string "new\\" string Name + ArcName get Size asize math Size - 0x20 log Name 0x20 Size Then, take the second one to recover the clear file that can be read by AssetStudio. Quote get NAME FILENAME string TMP = "decrypted/" string TMP + NAME string NAME = TMP encryption xor "\0\0\0\x065.x.x\x002018.4" log MEMORY_FILE 8 16 encryption "" "" getdstring KEY 16 MEMORY_FILE log NAME 0 8 append encryption xor KEY "" 0 16 log NAME 8 0x80 encryption "" "" get SIZE asize math SIZE - 0x88 log NAME 0x88 SIZE append By this, we will have the file from right to left, which becomes readable. However, after updating, thing being different. It returned a false engine version, which makes the file no longer readable. I have attached the files here.sample.rar Wonder if there is someone so kind could lend me a hand here? Many thanks. Edited May 28 by Weinixiong
Engineers h3x3r Posted 5 hours ago Engineers Posted 5 hours ago Try this if it's open. If yes then change just this line > encryption xor "\0\0\0\x065.x.x\x002018.4" to > encryption xor "\0\0\0\x065.x.x\x002022.3" f94d12c13668eda70e229e20c55f0b00.zip
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now