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

[Feature] Build dataset from game data #7

Open
malouro opened this issue May 29, 2024 · 0 comments
Open

[Feature] Build dataset from game data #7

malouro opened this issue May 29, 2024 · 0 comments
Labels
new feature New feature or request

Comments

@malouro
Copy link
Owner

malouro commented May 29, 2024

Summary

Currently, the data set is extrapolated from scanning the Wiki. Let's rework this to build off the latest game data.

Details

It's highly dependent on the structure of the Wiki pages and requires further that A) the Wiki exists & is up, B) a network connection, C) that data isn't moved around or formatted differently such that it may break our traversal in the scripts, and D) that the Wiki is up-to-date & correct.

There exists a better location to extrapolate data that suffices to resolve all 4 issues above: using the game data directly.

There exists some examples of how to do this here: https://github.com/polarstoat/stardew-crop-data
The gist is that it:

  • Uses xnbcli package to read information.
  • Has constants declared to reference certain IDs. (these were taken from the de-compiled executable)
  • We still want to export as JSON like previously, and ideally want a similar structure matching current expectations
@malouro malouro added the new feature New feature or request label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant