Jump to content

Recommended Posts

Posted (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.

1.png.28bc8f323577c45bee153196b6918ce7.png

2.png.aa245bb2bd689d178d582dd61e693141.png

 

However, after updating, thing being different. It returned a false engine version, which makes the file no longer readable.

3.png.fc501c4f964c0ea8ad0c7d06c3c0d739.png

4.png.72f0b8f631a88318c29a76e48830afb7.png

 

I have attached the files here.sample.rar 

Wonder if there is someone so kind could lend me a hand here? Many thanks.

Edited by Weinixiong
  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...