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 9 hours ago by Weinixiong
Engineers h3x3r Posted Tuesday at 12:34 PM Engineers Posted Tuesday at 12:34 PM 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
Weinixiong Posted 21 hours ago Author Posted 21 hours ago On 6/9/2026 at 8:34 PM, h3x3r said: 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" Unfortunately, this method is invalid... I forcibly tried it already and got exact same thing like your attachment, unreadable still, guess it's not that simple I thought... Still thx for the reply.
DKDave Posted 20 hours ago Posted 20 hours ago 1 hour ago, Weinixiong said: Unfortunately, this method is invalid... I forcibly tried it already and got exact same thing like your attachment, unreadable still, guess it's not that simple I thought... Still thx for the reply. Please update your topic title to include game name/format - it helps with others searching for information about the same game.
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