arkutils / Purlovia

Project Purlovia - digging up Ark data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optimise the asset tree in production runs

coldino opened this issue · comments

There's a ton of metadata that should not be needed in production runs. Make them be conditional on a global flag.

To cleanly implement this a decoding context should be created, associated with the loader, and made available during the extraction process. This context can also be used in future to support UE format differences in Mobile Ark, for example.

First part of this is complete and in master.

Optimisations include leaving out field_order and end_offset, and a few other minor changes. Infrastructure is in place to add more, if we can work out what can safely be saved.

We also disabled the parent field in production runs.

More improvement is going to be hard and should be a separate issue, so this is complete.