unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Doubts, help and support about QuickBMS and other game research tools
belthesar
Posts: 5
Joined: Fri Jul 17, 2015 5:54 am

unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by belthesar »

Hi there! Thanks for the awesome tool. I'm attempting to extract assets from a unity3d web bundle. After successfully using the unity3d_webplayer script to get the contents, I attempted to use the unity script to extract assets from one of the enclosed assets file.

System and Version info:

OS: Windows 10 Pro x64
QuickBMS: 0.6.5
unity.bms: 0.2.1c

Console output:


Code: Select all

  offset   filesize   filename
--------------------------------------
- SCRIPT's MESSAGE:
  5.1.0f3

  008abe40 117440768  sharedassets0~sharedassets0_0.45056

Error: incomplete input file 0: C:\Phaeton\Phaeton_Web_test\Export\Phaeton_Web.unity3d_unpacked\sharedassets0.assets
       Can't read 84040 bytes from offset 044975f8.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0    87%   62832273   71923192

Last script line before the error or that produced the error:
  246 log FNAME OFFSET SIZE 0


Any assistance on figuring out what's going on here would be greatly appreciated. Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by aluigi »

Upload the file and I will check it.
belthesar
Posts: 5
Joined: Fri Jul 17, 2015 5:54 am

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by belthesar »

File (and accompanying resource file) are attached. Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by aluigi »

That file is different than the others.
Currently supporting unity.bms is a pain because the assets of version 5 in some rare cases are different and then now the script contains also additional code of another user.
I have implemented a very very lame work-around to find where the files start and works with this specific archive but it must be for sure improved for others.
Version 0.2.2
belthesar
Posts: 5
Joined: Fri Jul 17, 2015 5:54 am

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by belthesar »

Thanks, Luigi! I looked on your site for the new version of unity.bms, but still saw 0.2.1c. Where can I grab the latest version?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by aluigi »

Press F5 :D
belthesar
Posts: 5
Joined: Fri Jul 17, 2015 5:54 am

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by belthesar »

Silly cache. Thanks, dude. :-D

Edit: Spoke too soon. Unfortunately, I'm catching at a different part of the script now:

Code: Select all

Error: incomplete input file 0: C:\Phaeton\quickbms\phaeton\phaeton_web-2.unity3d_unpacked\sharedassets0.assets
       Can't read 4 bytes from offset 8002c1a7.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0     0%   57409      71925104

Last script line before the error or that produced the error:
  144 get NAMESZ long


Really appreciate you helping out on this, dude. Sorry I'm no help in debugging the script - not enough domain knowledge to really go far here.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by aluigi »

What file are you testing?
The script works perfectly with the one you provided in your previous post.
belthesar
Posts: 5
Joined: Fri Jul 17, 2015 5:54 am

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by belthesar »

I'm using the same files that I submitted to you, at least I believe I am. Just to be certain, I'll go ahead and re-archive and supply the files, if you don't mind verifying the script executes on your system appropriately?

Edit: This is my fault. I was using different files, it appears a new build was released without me realizing it, and the structure must be different.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by aluigi »

Script updated to version 0.2.2a but we are still on the "work-around" solution.
ili
Posts: 81
Joined: Wed Sep 17, 2014 2:28 pm

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by ili »

some file return .decrypt
ili
Posts: 81
Joined: Wed Sep 17, 2014 2:28 pm

Re: unity.bms - Asset file from extracted unity3d bundle reported as incomplete

Post by ili »

got this on this one can you help please

Error: incomplete input file 0: E:\webplayer.unity3d
Can't read 1315373776 bytes from offset 031fac97.
Anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted.
Please check the following coverage information to know if it's ok.

coverage file 0 99% 52366640 52407447

Last script line before the error or that produced the error:
31 clog MEMORY_FILE OFFSET ZSIZE SIZE

https://dl.dropboxusercontent.com/u/19104438/Sky%20city%20webplayer/Sky%20city%20webplayer.html