Help with the *.bundle(unity) file

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
nbbmcll1994
Posts: 19
Joined: Sun Jul 05, 2020 10:01 am

Help with the *.bundle(unity) file

Post by nbbmcll1994 »

Anyone can help me? I think they are unity files, however, the header is "PM03PM03FS" instead of "UnityFS".
game:https://dream.163.com/baidupzpc/
corruptturret
Posts: 8
Joined: Fri Aug 31, 2018 4:50 am

Re: Help with the *.bundle(unity) file

Post by corruptturret »

It's a bunch of renamed bundles packed together, an initial PM03 then a bunch of concatenated archives with UnityFS replaced with PM03FS (as far as I can tell. I don't know if anything else is different from the unity spec).
There's an xor key in the global-metadata.dat file for the manifests (u32 count, [?32, u32 offset, ?32] * count), I think 110 bytes at 0x29384 works.

I attached a program to split bundles up and rename the header. It depends on the manifests and global-metadata.dat. It's also easy to not use those. But I used them.

Code: Select all

Fenghua.exe <input files/folders> [-o <output folder>] -- <global-metadata.dat>
nbbmcll1994
Posts: 19
Joined: Sun Jul 05, 2020 10:01 am

Re: Help with the *.bundle(unity) file

Post by nbbmcll1994 »

corruptturret wrote:It's a bunch of renamed bundles packed together, an initial PM03 then a bunch of concatenated archives with UnityFS replaced with PM03FS (as far as I can tell. I don't know if anything else is different from the unity spec).
There's an xor key in the global-metadata.dat file for the manifests (u32 count, [?32, u32 offset, ?32] * count), I think 110 bytes at 0x29384 works.

I attached a program to split bundles up and rename the header. It depends on the manifests and global-metadata.dat. It's also easy to not use those. But I used them.

Code: Select all

Fenghua.exe <input files/folders> [-o <output folder>] -- <global-metadata.dat>

Thanks for your help. Unfortunately, the splited files can not be opened with Asset Studio as well as UABE, so how to do with it?
yuehen
Posts: 5
Joined: Wed Apr 24, 2019 9:33 am

Re: Help with the *.bundle(unity) file

Post by yuehen »

Here is the decryption tool, tested to decrypt all Asssetbundle.