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

Use new BMSSD API #489

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Use new BMSSD API #489

wants to merge 1 commit into from

Conversation

ThanatosGit
Copy link
Collaborator

New MEDS is not compatible with our disable_vignettes.
But new MEDS version is not usable.
Either we fix it differently for new MEDS or just do another new MEDS with this: randovania/mercury-engine-data-structures#256

],
# Beam Burst Shot Blocks
"s030_area3": [
{"block_group": 5, "cc": ["036"], "vignette_models": [1239739760, 2986218869]},
{"block_group": 5, "names_or_ids": [1239739760, 2986218869]},
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we change all model ids to the model names like I did for s010_area1?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does everything have a name? Then probably do that since it'd be easier to follow

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, besides the single one for ItemType.OBJECT which can only be accessed via index according to our BMSSD api.
see https://github.com/ThanatosGit/mercury-engine-data-structures/blob/688960804b5fe00d6236f6624c44a6efa5fbdbb5/src/mercury_engine_data_structures/formats/bmssd.py#L236

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, then let's use the name wherever possible. It's far more readable that way then a bunch of numbers imo

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.

2 participants