Istador / pine-interactive-map

Interactive Map for the video game Pine. Showing all collectibles, resources and more that can be found in the game.
https://pine.blackpinguin.de/
Mozilla Public License 2.0
24 stars 6 forks source link

Improve extract automation and item amounts #17

Closed Istador closed 3 years ago

Istador commented 5 years ago

Follow up to #6.

Extract coordinates from the game assets using uTinyRipper instead of UABE, to have less manual steps and the item amounts (and item IDs) in the output.

What to extract/export:

extract.sh

pretify.py

wikify.sh

Istador commented 5 years ago

This is implemented partly. Not with uTinyRipper, but still with UABE. Because uTinyRipper doesn't export the concrete item amounts and item IDs as expected (concretely: it doesn't export properties of MonoBehaviours, so we only know the amount of child game objects, but not the concrete amount returned by the script).

The structure of the game assets had changed a bit, so it's now easier to just extract everything important in a decent amount of time with less manual steps.


What still could be improved a bit is rewriting the extract.sh in python, as the coordinate calculation via awk is quite slow (resulting in 30-60 minutes runtime instead of possibly only a few seconds/minutes).

Also it currently only sums up localPosition, without respecting the localRotation via quaternions, resulting in wrong coordinates for a small amount of things that do have rotations in their parent game objects.

Exporting Item IDs for chests and ideas needs to be checked for correctness, as it outputs seemingly wrong IDs.

Istador commented 3 years ago

Not needed, the game isn't going to change anymore.

Figuring the Item IDs out by hand seems to be less work.