ata4 / disunity

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

I can`t unpack the resource with disunity_v0.5.0...why? #224

Open CavanLife opened 7 years ago

CavanLife commented 7 years ago

java -jar /Users/mono/Desktop/disunity_v0.5.0/disunity.jar asset unpack /Users/mono/Desktop/Data/*.assets


[warning] AssetCommand: Can't open asset file /Users/mono/Desktop/Data/sharedassets4.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.serialize.objectinfo.ObjectInfoV2.read(ObjectInfoV2.java:34) at info.ata4.junity.serialize.objectinfo.ObjectInfoV3.read(ObjectInfoV3.java:34) at info.ata4.io.DataReader.readStruct(DataReader.java:37) at info.ata4.junity.serialize.objectinfo.ObjectInfoTableV2.read(ObjectInfoTableV2.java:34) at info.ata4.io.DataReader.readStruct(DataReader.java:37) at info.ata4.junity.serialize.SerializedFileMetadata.read(SerializedFileMetadata.java:154) at info.ata4.io.DataReader.readStruct(DataReader.java:37) at info.ata4.junity.serialize.SerializedFileReader.readMetadata(SerializedFileReader.java:130) at info.ata4.junity.serialize.SerializedFileReader.read(SerializedFileReader.java:107) at info.ata4.disunity.cli.command.asset.AssetCommand.runFileRecursive(AssetCommand.java:59) at info.ata4.disunity.cli.command.RecursiveFileCommand.runFile(RecursiveFileCommand.java:52) at java.util.ArrayList.forEach(ArrayList.java:1249) 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)

maritaria commented 7 years ago

Probably because the asset file is of a newer version that the current tool cannot read

RuohengLiu commented 7 years ago

i got the same problem when i try to use this tool to unpack the gwent.

maritaria commented 7 years ago

If you want to extract things from Unity 5 you can use this tool