Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Extract Issues #206

Open
sibu12345 opened this issue Oct 7, 2016 · 5 comments
Open

Extract Issues #206

sibu12345 opened this issue Oct 7, 2016 · 5 comments

Comments

@sibu12345
Copy link

Currently using Disunity 0.3.4 no experience in programming.
I'm trying to Rip game files which I followed instructions from this site:
http://soccerspiritsforum.com/threads/soccer-spirits-full-rip.1978/

Apparently I'd have to bundle extract then extract. My bundle extracting phase seems to run but looks odd compared to others:

C:\Disunity>disunity bundle-extract files*/
[info] DisUnity v0.3.4
[info] files
[info] files\100001_cs
[info] files\10101_co
[info] files\10101_cs
[info] files\10102_co
[info] files\10102_cs
[info] files\10103_co
[info] files\10103_cs
[info] files\10104_co
[info] files\10104_cs
[info] files\10105_co
[info] files\10105_cs\

(To show the few of them)

and when I try to extract:

C:\Disunity>disunity extract files*/
[info] DisUnity v0.3.4
[info] files
[info] files\100001_cs
[error] DisUnityCli: Fatal error, caused by java.lang.IllegalArgumentException
at java.nio.Buffer.limit(Unknown Source)
at info.ata4.io.buffer.ByteBufferUtils.getSlice(ByteBufferUtils.java:210)
at info.ata4.unity.asset.AssetFile.load(AssetFile.java:127)
at info.ata4.unity.asset.AssetFile.load(AssetFile.java:105)
at info.ata4.unity.asset.AssetFile.open(AssetFile.java:58)
at info.ata4.unity.cli.cmd.AssetCommand.processAssetFile(AssetCommand.java:97)
at info.ata4.unity.cli.cmd.AssetCommand.processFile(AssetCommand.java:90)
at info.ata4.unity.cli.cmd.FileCommand.processPath(FileCommand.java:58)
at info.ata4.unity.cli.cmd.FileCommand.processDirectory(FileCommand.java:44)
at info.ata4.unity.cli.cmd.FileCommand.processPath(FileCommand.java:54)
at info.ata4.unity.cli.cmd.FileCommand.run(FileCommand.java:76)
at info.ata4.unity.cli.DisUnityCli.run(DisUnityCli.java:110)
at info.ata4.unity.cli.DisUnityCli.main(DisUnityCli.java:123)

When I try doing it on 0.5.0
I'd get this on every file:
C:\Users\Arno\Desktop\disunity>disunity bundle unpack files/*

[warning] BundleUnpack: Can't unpack asset bundle files\snd_30104_battle1, caused by info.ata4.junity.bundle.BundleException: Invalid signature
at info.ata4.junity.bundle.BundleReader.read(BundleReader.java:50)
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)

Any Idea why?
Java version 8 Update 101 (build 1.8.0_101-b13)

@zklm
Copy link

zklm commented Oct 12, 2016

I'm assuming you're trying this on SS assets post-1.27 patch (29 Sep 2016), if so, Unity version for SS was updated and it's now using UnityFS assets, not UnityWeb.

@ata4
Copy link
Owner

ata4 commented Oct 12, 2016

Yeah, Disunity currently doesn't properly support UnityFS, but I'm working on a Python port that will support UnityFS, UnityRaw and UnityWeb.

@jorgerobles
Copy link

There's already some Python Code that you could check. Maybe you could help
each other: https://github.com/HearthSim/UnityPack

El 12/10/2016 17:14, "ata4" [email protected] escribió:

Yeah, Disunity currently doesn't properly support UnityFS, but I'm working
on a Python port that will support UnityFS, UnityRaw and UnityWeb.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#206 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABoIYLFabFR9XlgzOrYzhi5yPZDOSxc8ks5qzPlggaJpZM4KQ_wX
.

@ata4
Copy link
Owner

ata4 commented Oct 12, 2016

I've actually checked UnityPack already and used some parts to improve my code a bit. I prefer my approaches for the most parts, though.

@Mactastic1-5
Copy link

Please close this issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants