disunity icon indicating copy to clipboard operation
disunity copied to clipboard

Fail to use bundle unpack

Open shane007no opened this issue 9 years ago • 6 comments

I use bundle unpack to extract a resources.assets file ,but got failed with the follow error message, how can i do?

D:\disunity>disunity.bat bundle unpack d:\disunity\unity*.* [warning] BundleUnpack: Can't unpack asset bundle d:\disunity\unity\resources.assets, caused by java.io.EOFException at info.ata4.io.buffer.source.ReadableByteChannelSource.requestRead(ReadableByteChannelSource.java:114) at info.ata4.io.buffer.source.SeekableByteChannelSource.requestRead(SeekableByteChannelSource.java:150) at info.ata4.io.DataReader.readInt(DataReader.java:83) at info.ata4.io.DataReader.readUnsignedInt(DataReader.java:118) at info.ata4.junity.bundle.BundleHeader.read(BundleHeader.java:86) at info.ata4.io.DataReader.readStruct(DataReader.java:37) at info.ata4.junity.bundle.BundleReader.read(BundleReader.java:46) at info.ata4.disunity.cli.command.bundle.BundleUnpack.runFile(BundleUnpack.java:64) at java.util.ArrayList.forEach(Unknown Source) at info.ata4.disunity.cli.command.FileCommand.run(FileCommand.java:32) at info.ata4.disunity.cli.command.Command.run(Command.java:50) at info.ata4.disunity.cli.command.Command.run(Command.java:50) at info.ata4.disunity.cli.command.DisUnityRoot.run(DisUnityRoot.java:62) at info.ata4.disunity.cli.DisUnityCli.main(DisUnityCli.java:46)

shane007no avatar Jan 21 '16 15:01 shane007no

i have same issue too.

[warning] BundleUnpack: Can't unpack asset bundle D:\disunity_v0.5.0\source\resources.assets, caused by java.io.EOFException at info.ata4.io.buffer.source.ReadableByteChannelSource.requestRead(ReadableByteChannelSource.java:114) at info.ata4.io.buffer.source.SeekableByteChannelSource.requestRead(SeekableByteChannelSource.java:150) at info.ata4.io.DataReader.readInt(DataReader.java:83) at info.ata4.io.DataReader.readUnsignedInt(DataReader.java:118) at info.ata4.junity.bundle.BundleHeader.read(BundleHeader.java:86) at info.ata4.io.DataReader.readStruct(DataReader.java:37) at info.ata4.junity.bundle.BundleReader.read(BundleReader.java:46) at info.ata4.disunity.cli.command.bundle.BundleUnpack.runFile(BundleUnpack.java:64) at java.util.ArrayList.forEach(Unknown Source) at info.ata4.disunity.cli.command.FileCommand.run(FileCommand.java:32) at info.ata4.disunity.cli.command.Command.run(Command.java:50) at info.ata4.disunity.cli.command.Command.run(Command.java:50) at info.ata4.disunity.cli.command.DisUnityRoot.run(DisUnityRoot.java:62) at info.ata4.disunity.cli.DisUnityCli.main(DisUnityCli.java:46)

tigerhu67 avatar Jan 25 '16 10:01 tigerhu67

I get the same failure with resources.assets from Desktop Dungeons, which Unity Assets Explorer 1.2 understands.

ssokolow avatar Feb 02 '16 15:02 ssokolow

".assets" files aren't bundles, so any of "bundle" commands won't work on them. Bundle files usually have the ".unity3d" extension.

ata4 avatar Feb 08 '16 20:02 ata4

Ahh. Probably a good idea to write a FAQ detailing what should work, what shouldn't work, and which commands to use for which tasks.

I have programming experience and I was still guessing my way around disunity for lack of documentation which clearly maps low-level commands to high-level tasks.

ssokolow avatar Feb 08 '16 21:02 ssokolow

@ata4 but the old version(v.0.3.4) can work for ".assets".

tigerhu67 avatar Feb 15 '16 08:02 tigerhu67

Can confirm, I can extract .asset files with other window-based extractors, but those extractors are not runnable on my macbook :(

Drullkus avatar Feb 17 '16 23:02 Drullkus