SirWaddles / JohnWickParse

A parser for Fortnite uasset, uexp and pak files
MIT License
90 stars 27 forks source link

.uasset #7

Closed ZhiYiDai closed 4 years ago

ZhiYiDai commented 4 years ago

How do I package .json back to .uasset?

SirWaddles commented 4 years ago

The conversion here is very much a destructive one. There is not enough data retained in the resulting json file to create the original asset data.

Generally speaking, my view is that the only reason you'd want to create a uasset/uexp file is if you're actually working on a game. In which case you'd be using the Unreal Engine itself.

ZhiYiDai commented 4 years ago

Thank you. I want to localize the language of the game. I don't have the original uasset file. What should I do.

Kein commented 4 years ago

The only destructive part is the instance numbers that cannot be tracked properly unless you somehow manage to emulate/grasp whole eco system of the project. However, if you add a way to the user to be aware which FNames have instance numbers higher than 0 then in general it is safe.

SirWaddles commented 4 years ago

I'm not adding support for this. This is definitely a one-way conversion.