Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve extract automation and item amounts #17

Closed
8 of 17 tasks
Istador opened this issue Aug 11, 2019 · 2 comments
Closed
8 of 17 tasks

Improve extract automation and item amounts #17

Istador opened this issue Aug 11, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request minor Not that important project This affects the project and not the product

Comments

@Istador
Copy link
Owner

Istador commented Aug 11, 2019

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:

  • Item IDs
  • Item amounts
  • Things being inside of instanced areas
  • Caves
  • Villages
  • Village Merchants
  • Village Donation Boxes
  • Scavenger Fragments

extract.sh

  • rewrite in python to improve calculate speed
  • only export active game objects
  • exceptions for game objects that are activated dynamically
  • respect localRotation when calculating coordinates
  • fix Item IDs for chests and ideas

pretify.py

  • script to detect changes between game versions, that auto-confirms depending on if and what has changed
  • add columns for title, description, source and screenshot that are manually changed but persist between versions

wikify.sh

  • script to transform csv data into wikitext
  • create a reverse function that transforms from wikitext to csv (as there being a lot of manual changes by now only in the wiki)
@Istador Istador added enhancement New feature or request project This affects the project and not the product labels Aug 11, 2019
@Istador Istador changed the title Improve export automation and item amounts Improve extract automation and item amounts Aug 11, 2019
@Istador Istador self-assigned this Sep 18, 2019
@Istador Istador added this to the Pine Release milestone Sep 18, 2019
@Istador Istador removed this from the Pine Release milestone Nov 3, 2019
@Istador
Copy link
Owner Author

Istador commented Nov 3, 2019

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 Istador added the minor Not that important label Nov 3, 2019
@Istador Istador modified the milestone: Pine Switch Release Nov 3, 2019
Istador added a commit that referenced this issue Nov 3, 2019
This commit is for issue #17
@Istador
Copy link
Owner Author

Istador commented May 18, 2021

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

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

@Istador Istador closed this as completed May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Not that important project This affects the project and not the product
Projects
None yet
Development

No branches or pull requests

1 participant