Page 1 of 3
Honkai Impact 3rd archive encryption
Posted: Mon May 18, 2020 8:02 pm
by toastyengineer
Hey everyone,
So more or less recently, MiHoyo started to encrypt the unity 3d assets and textures for Honkai Imapct.
For some reason they have a ".wmv" extension. They come in 186 "blocks" about 50 mb each, and there is also a "BlockMeta.xmf" and "Blocks.xmf" file contained in the Asb folder (probably for indexing?).
Of course i already tried the basic programs like AssedStudio to try and extract these, but without success
I included 1 of the blocks and the 2 index files (probably?).
https://mega.nz/file/P0ZnDY6b#TIFRgD9B- ... HDNA4ap280
I would really appreciate it if someone could have a look an check if there is a way to extract these 3d models or textures.
Re: Honkai Impact 3rd archive encryption
Posted: Tue May 19, 2020 6:26 am
by Bigchillghost
Can't help with the encryption but you can use this BMS script to unpack the unity3d assets from the wmf container.
wmfUnpack.zip
Pick the "Blocks.xmf" file or anything as input as the script'll open it automatically. Just make sure the wmv files reside in the same path.
Re: Honkai Impact 3rd archive encryption
Posted: Tue May 19, 2020 7:36 pm
by toastyengineer
Hello
Thanks alot for your help!
Unfortounately i get an error when using the script, i attached the screenshot. I will see if i can solve it myself.
QfXpbMMSX5.png
I will edit if i manage to fix it.
Re: Honkai Impact 3rd archive encryption
Posted: Tue May 19, 2020 7:47 pm
by toastyengineer
Figured it out, it was probably just some reference error, i deleted the open "block.xmf" part and selected it manually and it worked

Re: Honkai Impact 3rd archive encryption
Posted: Wed May 20, 2020 2:17 am
by Bigchillghost
toastyengineer wrote: ↑Tue May 19, 2020 7:36 pm
Unfortounately i get an error when using the script, i attached the screenshot.
I see. Was misplacing the parameters of "open" at final step but without testing. Sorry about that.
Script updated at the same post.
Re: Honkai Impact 3rd archive encryption
Posted: Sun May 24, 2020 11:25 pm
by mircea
toastyengineer wrote: ↑Tue May 19, 2020 7:47 pm
Figured it out, it was probably just some reference error, i deleted the open "block.xmf" part and selected it manually and it worked
Anything on the decyption though?. I got no luck finding anything about that.
Re: Honkai Impact 3rd archive encryption
Posted: Wed May 27, 2020 3:05 pm
by toastyengineer
It seems to be a UnityFS archive. Tried to use different tools but, but it did not work. That's all i found out so far

Re: Honkai Impact 3rd archive encryption
Posted: Wed Jun 10, 2020 12:49 pm
by mircea
I have here a file example , perhaps some with more knowledge can help.
Link
https://mega.nz/file/RoNwnARD#6mDO_0138 ... vlMt3k3vdk
Re: Honkai Impact 3rd archive encryption
Posted: Wed Jun 24, 2020 10:32 pm
by mircea
If anyone can give a hand with the unity FSachive thing would be highly apreciated. Google seems to not be of use since it gives me only the wrong results of what i search .
Re: Honkai Impact 3rd archive encryption
Posted: Thu Jun 25, 2020 10:14 am
by BuIlDaLiBlE
There was an anonymous reply that linked a certain chinese blog about this, but the reply was removed for unknown reason.
Since I'm not sure if it was directly related to the blog I'll post the link to it again:
https://blog.palug.cn/. I don't understand what's going on in his "analysis", but it's at least something.
Re: Honkai Impact 3rd archive encryption
Posted: Tue Jul 21, 2020 8:28 am
by toastyengineer
Thanks for the link to the Forum, it has quite a bit of information and decryption keys.
If you go to the post about Honkai impact 3.8.0 you can find a download link to a Honkai Impact 3.5.0 Archive from the PC version.
I think he also said he will maybe upload 4.0.0 archive when 4.1.0 is released.
Re: Honkai Impact 3rd archive encryption
Posted: Tue Jul 21, 2020 11:18 am
by BuIlDaLiBlE
Yes I know that, and he has already posted 4.0 a while ago. The problem stands tho: how to decrypt those files ourselves? I want to get some data from files that are not part of the game bundle but downloaded from the CDN, for example.
Re: Honkai Impact 3rd archive encryption
Posted: Sat Dec 12, 2020 2:30 pm
by blueevangelion
4.0 (and any up to 4.3) still use a block.xmf file, they are decrypted into unity3d files, there should be a unity3d extractor for quickbms
Re: Honkai Impact 3rd archive encryption
Posted: Tue Dec 15, 2020 10:25 pm
by BuIlDaLiBlE
Didn't want to start a new thread, but I have a different file from the same game that uses a different encryption (uploaded:
https://bpnet.work/files/RandomDialogData_en.bytes). I'm certain it contains game dialogue text data, but how it was encrypted is a total mystery (I even asked the author of the aforementioned blog, he has no idea either). If the file makes you ring any bell, please don't hesitate to share your ideas.
Re: Honkai Impact 3rd archive encryption
Posted: Sun Jan 24, 2021 2:32 am
by GDL
The link from the Chinese blog actually works, it can decrypt both the Android and PC versions (up to date):
asuka.png
That image above is the model of Asuka from the current collaboration of Honkai with Evangelion:
the blog actually has some info on how the decryption was found but I can't read code or Chinese for that matter
Btw, the official Honkai website has an interactive 3D model of Asuka it seems:
https://honkaiimpact3.mihoyo.com/global/en-us/fab
I wonder if it can be grabbed and converted
