export models&animations(vfs)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
olghost
Posts: 2
Joined: Fri Nov 08, 2019 9:04 pm

export models&animations(vfs)

Post by olghost »

Hi friends,

I meet a problem when exporting the apk file. I found the asset file is a vfs file. I found a lots of tools to extract it, but failed.
Can someone assist me on this?
Any help is appreciate.

Asset File:
https://drive.google.com/file/d/1Jz3esKj03BC90aQkte5s9LII85FT65jw/view?usp=sharing
APK File:
https://drive.google.com/file/d/1RHKdqq4G1Xira1ClLeozVHKKv5ct8InF/view?usp=sharing
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: export models&animations(vfs)

Post by aluigi »

The format of this game ("封神召唤师") is weird since it's not clear where is located the table with the information.

The asset file you uploaded is corrupted because it's not from the beginning. Yours was probably taken from offset 0x797938... therefore totally useless, luckily pd_fszhs_zhengshi.apk was ok.

The first 0x100 bytes in case someone has some ideas:

Code: Select all

43 54 43 1a f4 e8 c8 23 c9 8f 00 00 39 f2 13 00   CTC....#....9...
12 2f dd be a2 83 ab 14 1b 2b e2 82 ce 13 68 1c   ./.......+....h.
64 61 74 61 00 6c 6f 63 61 6c 00 66 6f 6e 74 00   data.local.font.
7a 68 63 6e 00 61 6e 69 6d 61 74 69 6f 6e 00 62   zhcn.animation.b
69 78 69 61 6f 00 1e 33 49 4e 41 0a 00 00 00 ab   ixiao..3INA.....
aa 2a 3f 01 5c 00 08 74 04 00 00 a0 28 7e 3b 79   .*?.\..t....(~;y
b7 00 82 00 e4 2e 0c 00 00 04 5d 86 89 30 00 00   ..........]..0..
3e 89 8e 33 00 80 a0 93 bb 2c 00 80 00 00 67 35   >..3.....,....g5
74 00 04 21 2f 34 14 57 2d 77 4c 04 0d bf 25 78   t..!/4.W-wL...%x
2f 14 92 26 2e 47 31 1a b3 84 a7 92 32 6d 07 40   /..&.G1.....2m.@
96 00 e8 31 76 00 2a 31 5f 05 80 cc 30 6e 01 92   ...1v.*1_...0n..
33 6c 07 01 47 31 30 33 85 05 80 85 05 80 c6 05   3l..G103........
80 2a 94 00 2a a4 00 05 69 aa 92 2a 62 24 02 2e   .*..*...i..*b$..
7e 02 f0 33 76 00 34 34 74 03 05 60 2a 89 a8 69   ~..3v.44t..`*..i
27 7e 27 85 02 28 64 02 05 1b 2e 5f a6 89 99 b9   '~'..(d...._....
27 76 06 18 29 64 02 03 17 2e 7c 22 58 20 8f 04   'v..)d....|"X ..
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: export models&animations(vfs)

Post by Ekey »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: export models&animations(vfs)

Post by aluigi »

Excellent work as usual Ekey.
I made a script for quickbms based on your code (without support for folders obviously) just as alternative and in case of future updates:
http://aluigi.org/bms/fszhs_mp3.bms