Closed tux3 closed 10 years ago
Do you also have a ressources.assets.resS? If so, make sure it's in the same folder as ressources.assets, otherwise DisUnity can't load the audio data from it.
It did solve the problem, thanks.
It might be a good idea to add a descriptive error instead of just failing, tho.
Yes indeed. I added a check to avoid the exception and a warning message.
disunity fails to extract some of the larger music files in ressources.assets. I can provide the file if needed (117MB).
The error appears several times (each time it fails to extract a file) : [warning] AssetExtractor: Can't extract Object #505 (ClassID: 83, Class: AudioClip), caused by java.lang.NullPointerException at info.ata4.util.io.ByteBufferUtils.getSlice(ByteBufferUtils.java:149) at info.ata4.unity.cli.extract.handler.AudioClipHandler.extract(AudioClipHandler.java:70) at info.ata4.unity.cli.extract.AssetExtractor.extract(AssetExtractor.java:157) at info.ata4.unity.cli.action.ExtractAction.processAsset(ExtractAction.java:52) at info.ata4.unity.cli.DisUnityProcessor.processAsset(DisUnityProcessor.java:208) at info.ata4.unity.cli.DisUnityProcessor.run(DisUnityProcessor.java:100) at info.ata4.unity.cli.DisUnityCli.main(DisUnityCli.java:51)