mafaca / UtinyRipper

GUI and API library to work with Engine assets, serialized and bundle files
MIT License
2.84k stars 433 forks source link

Older custom unity 2 version support (Fusionfall) #52

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi there, a new game was released recently called Fusionfall Retro, and seems to have been created in a custom unity 2 version, when I tried exporting one audio bundle it worked fine, but when it was related to a 3d model or a animation it would give me this error... image Any chance for a fix about this? (If you want to try to fix it, the files after u download the game will be in "C:\Users\ USERNAME \AppData\LocalLow\Unity\Web Player\Cache\FusionFall" EDIT: Forgot to mention is free to play..)

mafaca commented 6 years ago

Specifically this issue was fixed in ef70915418f1c823f33f31e262a0662e0b733dcf. But as you said it was created in a custom version of Unity, so UR can't properly read and export it anyway.

ghost commented 6 years ago

Hmm, then why is it possible to read and sort of export the assetbundles of FF in devxunity, now I don't know if it lets u export anims and models properly due to the demand of 40$ for unpacking tools, but textures work fine, and the entire asset list seems to be accurate too.

mafaca commented 6 years ago

Because author of devx want you to pay him $ so he added support for this custom Unity version. FF uses Unity 2.5.5b4 that is private Unity version built just for this game. You can fork UR and modify it to read and export assets for this specific version. I don't think that there are huge differences in asset structure. For example in order to export textures you need to add this code

int Limit = stream.ReadInt32();
bool Touchable = stream.ReadBoolean();
stream.AlignStream(AlignType.Align4);

before this block https://github.com/mafaca/UtinyRipper/blob/f069e2059a263c44f32660b5e3025c0f2b256718/UtinyRipperCore/Parser/Classes/Texture2D/Texture2D.cs#L138-L143

ghost commented 6 years ago

So there's any hope for in the future at least to be able to even extract models and anims from FF? EDIT: If FF is in 2.5.5b4 I am letting u know it doesn't check the build of 2.5.5 at all https://i.imgur.com/M0rObc4.png right now.

mafaca commented 6 years ago

No, UR doesn't support any custom asset layout.

ghost commented 6 years ago

If that won't be supported will support for unity 2017.2.3f1 be at least added?

mafaca commented 6 years ago

Yeap, tell what the problem with this version?

ghost commented 6 years ago

https://i.imgur.com/nXUF3mC.png I can't load it simply as that, it gives me this error when trying to export one "level".

Quick proof.

mafaca commented 6 years ago

Same issue as https://github.com/mafaca/UtinyRipper/issues/36