How to extract this asset unity file?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
OkamiAn
Posts: 7
Joined: Sun Jan 28, 2018 8:25 am

How to extract this asset unity file?

Post by OkamiAn »

I can not extract it with Unity.bms and other tools
https://uphinhnhanh.com/images/2018/02/21/1d7f83.jpg
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: How to extract this asset unity file?

Post by Acewell »

delete the first 16 bytes and open it with one of these free and actively developed tools:

Unity Assets Bundle Extractor
https://7daystodie.com/forums/showthrea ... -Extractor

UnityEx
http://forum.zoneofgames.ru/topic/36240-unityex/

Unity Studio (Perfare fork)
https://github.com/Perfare/UnityStudio/releases

:D
OkamiAn
Posts: 7
Joined: Sun Jan 28, 2018 8:25 am

Re: How to extract this asset unity file?

Post by OkamiAn »

Acewell wrote:delete the first 16 bytes and open it with one of these free and actively developed tools:

Unity Assets Bundle Extractor
https://7daystodie.com/forums/showthrea ... -Extractor

UnityEx
http://forum.zoneofgames.ru/topic/36240-unityex/

Unity Studio (Perfare fork)
https://github.com/Perfare/UnityStudio/releases

:D


Thank you . was successful.
Do you know how to unzip this file?
Image
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: How to extract this asset unity file?

Post by Acewell »

no but it looks like a stream of lzma compressed files, there is a table of offset-zsize-size at 0x26f4,
the offsets are relative to the end of the table, should be easy enough to make a bms script though. :)
what is the name of the game?
OkamiAn
Posts: 7
Joined: Sun Jan 28, 2018 8:25 am

Re: How to extract this asset unity file?

Post by OkamiAn »

Acewell wrote:no but it looks like a stream of lzma compressed files, there is a table of offset-zsize-size at 0x26f4,
the offsets are relative to the end of the table, should be easy enough to make a bms script though. :)
what is the name of the game?

It is a game bought by Vietnam from Perfect World.
Thanh vân chi mobile( Thanhvan.mobi)
Eng: Zhuxian Mobile
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: How to extract this asset unity file?

Post by Acewell »

okay try this bms script :D

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get FOLDER basename
idstring "Cry_2.0\x00\x00\x00\x00"
getdstring PKG_VER 0xe
get UNK long
get FILES long
for i = 0 < FILES
   get HASH[i] long
   get FILE_IDX[i] long
next i
getdstring UNK2 0x1f
get FILES long
for i = 0 < FILES
   get OFFSET[i] long
   get ZSIZE[i] long
   get SIZE[i] long
next i
savepos BASE_OFF
for i = 0 < FILES
   math OFFSET[i] + BASE_OFF
   comtype lzma_dynamic
   string NAME p "%s\%08x.dat" FOLDER HASH[i]
   clog NAME OFFSET[i] ZSIZE[i] SIZE[i]
next i
Last edited by Acewell on Fri Feb 23, 2018 2:02 pm, edited 1 time in total.
OkamiAn
Posts: 7
Joined: Sun Jan 28, 2018 8:25 am

Re: How to extract this asset unity file?

Post by OkamiAn »

Acewell wrote:okay try this bms script :D

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get FOLDER basename
idstring "Cry_2.0\x00\x00\x00\x00"
getdstring PKG_VER 0xe
get UNK long
get FILES long
for i = 0 < FILES
   get HASH[i] long
   get FILE_IDX[i] long
next i
getdstring UNK2 0x1f
get FILES long
for i = 0 < FILES
   get OFFSET[i] long
   get ZSIZE[i] long
   get SIZE[i] long
next i
savepos BASE_OFF
for i = 0 < FILES
   math OFFSET[i] + BASE_OFF
   goto OFFSET[i]
   getdstring LZMA_PROP 5
   comtype lzma_dynamic LZMA_PROP
   string NAME p "%s\%08x.dat" FOLDER HASH[i]
   clog NAME OFFSET[i] ZSIZE[i] SIZE[i]
next i

Thank you. fantastic.

The file is Luajit encrypted