Skip to content

NWA support #34

Draft
1nf3rna wants to merge 62 commits intodagit:developmentfrom
1nf3rna:autosplitter
Draft

NWA support #34
1nf3rna wants to merge 62 commits intodagit:developmentfrom
1nf3rna:autosplitter

Conversation

@1nf3rna
Copy link

@1nf3rna 1nf3rna commented Jul 2, 2025

Added support for NWA. Standardized on livesplit hotkeys within the app.

There's still a few things that need to work:

  1. The combobox in the NWA config area isn't updating the Game item, so switching games requires editing the code...
    2) I'd like to generalize the autosplitter clients, so adding games only requires adding to the Game enum in autosplitters.rs, adding the module to the autosplitters/nwa.rs, and then creating the module in autosplitters/nwa/game_name>.rs
  2. I'd like to add support for asl as an option since they already exist as well as a custom memory accessor
  3. Both the battletoads.rs and supermetroid.rs need to handle errors
  4. The NWA stuff currently crashes if the emu isn't loaded first due to not handling errors
  5. The NWA super metroid needs the rest of the splits and memory reads

1nf3rna added 30 commits June 23, 2025 02:38
… used code; added drop down to attempt NWA game selection; added NWA super metroid example; added TODO labels for asl and custom memory access
@1nf3rna
Copy link
Author

1nf3rna commented Aug 1, 2025

I was able to get NWA working as dynamic objects.
To add NWA game implementations:

  1. add game_name to Game enum in src/autosplitters/nwa.rs
  2. add match for game_name and object creation to nwaobject function in src/autosplitters/nwa.rs
  3. copy src/autosplitters/nwa/battletoads.rs to src/autosplitters/nwa/<game_name>.rs
  4. update struct vars if needed, update memory read locations in update function to store in struct vars; update start/reset/split checks for the new game

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