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

Implemented simplest v6 unpacking. #212

Open
GreenWizard2015 opened this issue Dec 25, 2016 · 1 comment
Open

Implemented simplest v6 unpacking. #212

GreenWizard2015 opened this issue Dec 25, 2016 · 1 comment

Comments

@GreenWizard2015
Copy link

GreenWizard2015 commented Dec 25, 2016

You might be interested in viewing https://github.com/GreenWizard2015/disunity/commit/c5cae22f1a5343cf820542c5ede1a34c9bd6baae
I made many little changes, so I wont risk do pull request, but you can copy main code (in BundleReader mostly) of working with v6 bundles. Unfortunately, it's required xz lib now, because it support lzma streams without header (in v6 there is slightly different header, without uncompressedSize field).
I hope my code will help you.
Best regards, GW.

P. s. tested only on one unity3d file with next properties:
"compressed": true,
"streamVersion": 6,
"unityVersion": "5.x.x",
"unityRevision": "5.3.6f1",

@Mactastic1-5
Copy link

Was this already committed? If so, please close.

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

2 participants