authorblues / bizhawk-shuffler-2

A script to randomly shuffle between games played in Bizhawk, with plugins to enhance the experience
MIT License
58 stars 21 forks source link

Manual toggle #5

Closed Kirkq closed 3 years ago

Kirkq commented 3 years ago

My goal was to make an option in the script to do ZOOTR multiworld with manual toggling of switching worlds. That's how I'd personally want to race or play this. Let me know if you want me to change or fix anything.

Design Changes/Decisions:

Still occurring:

authorblues commented 3 years ago

I actually had an idea like this to use a hotkey or button to force a swap in a manual mode, so I'm probably going to pull this. The changes I plan to make are to setup an option in the options menu for a fixed shuffle order, mostly just to keep references to plugin_state out of shuffler.lua.

As for preventing the popups, I need to think about that one for a moment. I think I had just gotten used to them, so it didn't bother me, but reducing that extra "noise" is really nice. I do, however, still want to support the ability to add new games to the games folder, so I want to think about how best to support that.

I will pull this with some minor changes sometime today.

authorblues commented 3 years ago

The only feature I reverted was the ability to totally disable automatic swapping, only because I haven't found a UX I'm happy with to expose this feature to the user yet. For now, it is sufficient to set the min/max times to some extremely large number like 99999 (which would be more than 27 hours). I want to make this more explicit without confusing the average user regarding why there is an option to disable shuffling in a shuffler. It might make more sense to have this be a thing that plugins specifically have the power to turn off, but I'm trying to avoid having shuffler.lua make any explicit references to information stored in plugin_state.