HearthSim / UnityPack

Python deserialization library for Unity3D Asset format
https://hearthsim.info/
MIT License
719 stars 153 forks source link

Support Repacking? #87

Open dustinlacewell opened 5 years ago

dustinlacewell commented 5 years ago

This would have a pretty big value add to the modding communities.

Hacksawfred3232 commented 5 years ago

If you are talking about repacking in terms of adding new assets, get ready to know how to manipulate the storage buffer in the assetbundle class, as I don't think this lib supports adding new assets easily. If you want to save the bundle, then to let you know, it is doable to write the required functions to the library. So when I can upload it (Currently going through a bit of testing), should I upload the version of this library that I have that contains the prototype functions so you can have a look? It will be a separate repo though. Might migrate to a pull request soon afterwards, but it depends.

wmtorode commented 4 years ago

being able to modify bundles (specifically meshes) would be incredibly helpful for a project I'm working on

Jaeba commented 3 years ago

Has anyone attempted this yet? This is basically what I was going to do next (if I could even get it to extract one simple AssetBundle in the first place 😢)