seek help .. This is a Chinese game king honor, assetbundle encryption file.

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
3376027
Posts: 4
Joined: Fri Jun 01, 2018 4:46 pm

seek help .. This is a Chinese game king honor, assetbundle encryption file.

Post by 3376027 »

assetStudio Open Import Blank.I don't know what format he used to compress it.Is there any way to decrypt it?
I ' upload the samples.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: seek help .. This is a Chinese game king honor, assetbundle encryption file.

Post by aluigi »

It's an "UnityLz4" file, basically just a new version of the Unity (unity3d?) files in which it's used lz4 compression instead of lzma (UnityWeb uses lzma, UnityRaw no compression).

AssetStudio should be able to read it indeed, but yeah it doesn't work and loads forever (*edit* I meant it shows nothing) so I tried to make a simple UnityLz4 to UnityWeb converter but AssetStudio crashes when loading it.

There is no encryption, you should contact the AssetStudio author.

In case someone is interested in my test script I leave it here (DO NOT USE IT!!!)

Code: Select all

get NAME basename
get EXT extension
string NAME + "_new."
string NAME + EXT

endian big
idstring "UnityLz4"
get ZERO long
get DUMMY byte
get VER string
get BUILD string
get ASSET_SIZE long
get OFFSET long
savepos DUMMY_OFF
get DUMMY long
get DUMMY long
get ZSIZE long
get SIZE long

log MEMORY_FILE 0 OFFSET
putdstring "UnityWeb" 8 MEMORY_FILE
goto DUMMY_OFF MEMORY_FILE
put 1 long MEMORY_FILE

comtype lz4
clog MEMORY_FILE2 OFFSET ZSIZE SIZE
putvarchr MEMORY_FILE2 SIZE 0   # ???

log NAME 0 OFFSET MEMORY_FILE
append
comtype lzma_86head_compress
clog NAME 0 SIZE SIZE MEMORY_FILE2
append
3376027
Posts: 4
Joined: Fri Jun 01, 2018 4:46 pm

Re: seek help .. This is a Chinese game king honor, assetbundle encryption file.

Post by 3376027 »

The author does not want to make it
So come here and ask for help
Can you do a small tool to solve it? I'm a rookie
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: seek help .. This is a Chinese game king honor, assetbundle encryption file.

Post by aluigi »

I seriously doubt that the author of a tool updated so frequently and already covering the UnityLz4 format just "does not want to make it", if that's true he has his for sure real reasons (which means that it's better to not waste time on this stuff).

I did my test and didn't work so from me that's all.
If any other user has some ideas, they are welcome.
3376027
Posts: 4
Joined: Fri Jun 01, 2018 4:46 pm

Re: seek help .. This is a Chinese game king honor, assetbundle encryption file.

Post by 3376027 »

aluigi wrote:I seriously doubt that the author of a tool updated so frequently and already covering the UnityLz4 format just "does not want to make it", if that's true he has his for sure real reasons (which means that it's better to not waste time on this stuff).

I did my test and didn't work so from me that's all.
If any other user has some ideas, they are welcome.



All right. Thank you. Your opinion