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

[Draft] check-object.py script for viewing progress of folders #93

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

GRAnimated
Copy link
Collaborator

@GRAnimated GRAnimated commented Jun 16, 2024

This PR is meant as a draft for people to try this script out

Check object files in the decomp, with data gathered from the function map spreadsheet

usage: check-object.py [-h] [-r] [-f] [-m] [folder_object]
folder_object: Folder/Object to search for
Optional arguments:
-r, --refresh: Redownload the spreadsheet data
-f, --folder_view: View folders instead of functions
-m, --mismatch_view: View mismatched functions

While viewing functions inside of an object, / + Enter generates a header file for the object. This currently just places the functions in comments.

Typing in any view allows you to search and narrow down your result.

tools/check-object.py LiveActor
image

tools/check-object.py MapObj -f
image

tools/check-object.py -f
image

tools/check-object.py -m
image

TODO:

  • Fix viewing folders that contain multiple folders
  • Fix returning to a normal console state after some exits
  • Fix function/progress total of objects that have reorganized functions when looking at folders

This change is Reviewable

@MonsterDruide1 MonsterDruide1 marked this pull request as draft June 16, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant