ata4 / disunity

An experimental toolset for Unity asset and asset bundle files.
The Unlicense
2.69k stars 662 forks source link

Unable to unpack bundle .unity3d #176

Open redictgames opened 8 years ago

redictgames commented 8 years ago

Just took some kind of .unity3d file and was trying to unpack it. Got some error there: [error] DisUnityCli: Fatal error, caused by java.lang.NullPointerException at info.ata4.disunity.cli.command.bundle.BundleUnpack.lambda$runFile$19( BundleUnpack.java:87) at info.ata4.util.function.IOConsumer.lambda$uncheck$10(IOConsumer.java: 30) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Sou rce) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Sour ce) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknow n Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.forEach(Unknown Source) at info.ata4.disunity.cli.command.bundle.BundleUnpack.runFile(BundleUnpa ck.java:85) 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) Command which I was typing: disunity bundle unpack gameobjectsruRU0.unity3d

dnaroma commented 8 years ago

you should add -o /path/to/output/directory eg. disunity bundle unpack gameobjectsruRU0.unity3d -o gameobjectsruRU0

tsinglee2009 commented 8 years ago

ouput file is a CAB-xxx file, how to do with it ?

lizijie commented 8 years ago

how to get resource from .block files

dnaroma commented 8 years ago

please read #179

Joeeeeeeeee commented 8 years ago

ouput file is a CAB-xxx file,that's not my want