Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

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

Featured Replies

  • Author
  • Localization

belthesar, posted Fri Jul 17, 2015 6:04 am (6428)


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:
  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!
  • Author
  • Localization

aluigi, posted Fri Jul 17, 2015 6:12 am (6430)


Upload the file and I will check it.
  • Author
  • Localization

belthesar, posted Fri Jul 17, 2015 6:43 am (6431)


File (and accompanying resource file) are attached. Thanks!
  • Author
  • Localization

aluigi, posted Fri Jul 17, 2015 9:46 am (6433)


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
  • Author
  • Localization

belthesar, posted Fri Jul 17, 2015 3:53 pm (6436)


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?
  • Author
  • Localization

aluigi, posted Fri Jul 17, 2015 4:48 pm (6438)


Press F5 :D
  • Author
  • Localization

belthesar, posted Fri Jul 17, 2015 5:25 pm (6440)


Silly cache. Thanks, dude. :-D

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

Code:
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.
  • Author
  • Localization

aluigi, posted Fri Jul 17, 2015 9:23 pm (6442)


What file are you testing?
The script works perfectly with the one you provided in your previous post.
  • Author
  • Localization

belthesar, posted Sat Jul 18, 2015 11:32 pm (6455)


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.
  • Author
  • Localization

aluigi, posted Sun Jul 19, 2015 2:56 am (6457)


Script updated to version 0.2.2a but we are still on the "work-around" solution.
  • Author
  • Localization

ili, posted Thu Feb 04, 2016 5:58 pm (11207)


some file return .decrypt
  • Author
  • Localization

ili, posted Thu May 12, 2016 5:56 pm (13311)


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 city webplayer/Sky city webplayer.html
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.