mafaca / UtinyRipper

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

Broken Body/ Prefab #265

Closed kagan5050 closed 5 years ago

kagan5050 commented 5 years ago

So I had some issues with the models in unity. I dont know how to solve this my friend told me that I have exported the file wrong. No Idea tho how to solve it. https://imgur.com/mBdRsLc Thx in advance! :)

mafaca commented 5 years ago

Please upload game file (not model but game file) so I can reproduce this issue

kagan5050 commented 5 years ago

https://api.vrchat.cloud/api/1/file/file_6d310a72-6a31-4a9b-a57d-309e0634b457/8/file so this is the vrca file i tried to export. I had no issue while exporting but after i imported it into unity, the model was glitched I hope you mean that by game file. Dont know else

mafaca commented 5 years ago

Wow. This one is tough. I've found only one tool that can properly export such kind of meshes. I will try to fix this issue but can not guarantee it.

Xiuetsu commented 5 years ago

The avatar isn't glitched per say. It's meant to be that way to prevent unwanted "theft". There are ways to fix it outside of Utiny . If Mafaca is able to do it in his program though, hats off to him.

mafaca commented 5 years ago

@Xiuetsu Are you sure that it was done intentionally? I'm not going to do anything about this issue in that case but I just want to be sure about it. Few weeks ago I saw similar weird mesh among one of asset studio issues. And uabe's dau plugin is able to export such mesh properly. Is it some common anti thief tool or what?

Xiuetsu commented 5 years ago

@mafaca Yea, It was intentionally. A lot of people have been forced to do it lately to avoid unwanted distribution of their work. A lot of assets used for most of these "Avatars" are freely distributed and/or can be downloaded in many places , however with people that do commissions or make it from scratch, they end up doing this to the mesh in order to somewhat protect it. The game doesn't provide anti-theft, so they ended up doing their own ,lol.

I did end up talking to the creator of that mesh which Kagan posted and although she doesn't mind it because she's helping give ideas to others(her words). It does sadden her when someone tries to pass off her work as their own.

kagan5050 commented 5 years ago

ohh, I see

mafaca commented 5 years ago

Ok. I close this issue in this case, because the ripper only supports official assets.

mafaca commented 5 years ago

Since it looked very suspicious I decided to checked this mesh myself just to be sure. I don't know why @Xiuetsu decided that it is somehow protected and was so confident about that. It isn't protected. I just missed a flag that determine index format and, since this model is huge, default 16bit format doesn't suit it well. Fixed in 5e74211c6710a5ce750b35c25f4bf16a03b4dd15

Xiuetsu commented 5 years ago

@mafaca I believe you might have misunderstood what I said. I said that some people have had to implement their own sort of protection since there is no "real" way of doing it via where they are uploaded to. However their way of protecting it is seeing what programs like yours, asset studio, and uabe can't extract. Gotta be creative these days.

mafaca commented 5 years ago

@Xiuetsu, oh, ok i got it