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

SM: strict rom validation fix #2632

Merged
merged 238 commits into from
Dec 28, 2023

Conversation

lordlou
Copy link
Contributor

@lordlou lordlou commented Dec 26, 2023

What is this fixing or adding?

added a more robust ROM tag validation to free oher games to use tag starting with "SM" followed by another letter (SMW, SMZ3, SMRPG, SMMR,...)

How was this tested?

I tested it with MapRando first released APWorld that was using "SMMR" as tag.

This caused issues for more than one world maintainer reported here:
https://discord.com/channels/731205301247803413/1156395911874875473/1188282338803732572
https://discord.com/channels/731205301247803413/1156395911874875473/1156577720222892083

lordlou added 30 commits August 9, 2021 23:32
…VariaRandomizer's rules, items, locations and accessPoint (as regions)
…se (fills ROM item table)

This is dependant on modifications done to sm_randomizer_rom project
- player name inject in ROM and get in client
- end game get from ROM in client
- send self item to server
- add player names table in ROM
…ition of an array of it (required to generation more than one SM world, which is still fails but is better)
- fixed seeded generation
- fixed broken logic when more than one SM world
- added missing rules for inter-area transitions
- added basic patch presence for logic
- added DoorManager init call to reflect present patches for logic
- moved CollectionState addition out of BaseClasses into SM world
- added condition to apply progitempool presorting only if SM world is present
- set Bosses item id to None to prevent them going into multidata
- now use get_game_players
…VariaRandomizer's rules, items, locations and accessPoint (as regions)
…se (fills ROM item table)

This is dependant on modifications done to sm_randomizer_rom project
- player name inject in ROM and get in client
- end game get from ROM in client
- send self item to server
- add player names table in ROM
…ition of an array of it (required to generation more than one SM world, which is still fails but is better)
lordlou added 24 commits April 22, 2023 19:13
…starting with "SM"

changing the tag would break backward compatibility
@lordlou
Copy link
Contributor Author

lordlou commented Dec 26, 2023

For visibility: @Rosalie-A @PoryGone

@PoryGone
Copy link
Collaborator

Seems like a reasonable solution for now. Some discussion was had for a more extensible solution to this for the long term, but this is sufficient in the short term.

@Rosalie-A
Copy link
Contributor

Rosalie-A commented Dec 26, 2023 via email

@Berserker66 Berserker66 merged commit b99c734 into ArchipelagoMW:main Dec 28, 2023
12 checks passed
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
added a more robust ROM tag validation to free oher games to use tag starting with "SM" followed by another letter (SMW, SMZ3, SMRPG, SMMR,...)
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.

4 participants