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

V5.3.3 #366

Merged
merged 63 commits into from
Aug 25, 2024
Merged

V5.3.3 #366

merged 63 commits into from
Aug 25, 2024

Conversation

DustinGrau
Copy link
Collaborator

@DustinGrau DustinGrau commented Aug 23, 2024

Resolved Issues:
#354
#358
#359
#360
#361

Ghosts Busted:

  • Fixed 1984 bootup sound having inverted stereo channels
  • Fixed 84/89 outer cyclotron LED fade timings
  • Fixed 84/89 outer cyclotron overheat animation
  • Fixed 84/89 outer cyclotron strobing in Holiday/Spectral modes
  • Fixed Frutto inner cyclotron panel LED mode indicator colors
  • Fixed music quick volume adjustment only working on standalone wands
  • Fixed pack sound overlap when recovering from overheat
  • Fixed spectral custom color not being obeyed while brass pack effects are active
  • Fixed wand sound overlap when recovering from button mashing
  • Fixed wand sound overlap when recovering from overheat
  • Fixed web interface buttons ignoring pack state
  • Fixed web interface not allowing overheat if no wand is connected
  • Fixed web interface not allowing smoke settings to be set if no wand is connected
  • Many "under the hood" fixes and optimizations

New Features:

  • Support for the new Frutto Current Sensor for stock wands
  • Support for Single Shot Compact Thrower
  • New barrel pop sound for 84/89 thanks to Graham Starke
  • New brass pack shutdown sound thanks to @Aces6469
  • New static color mode for Frutto inner cyclotron LED panel for users with prop-accurate colored cliplites
  • Initial implementation for [Feature]: Frozen Empire Lockup #341
  • Inner cyclotron LED panel will now remain off while brass pack effects are active
  • Wand can now be switched to standalone mode by jumping the pack serial connector on the wand PCB
  • Updated documentation
  • Updated web interface

This release requires updating of all 3 devices (pack, wand, wireless/attenuator) and updating of sound effects for your SD cards.

nomakewan and others added 30 commits July 31, 2024 23:15
This fixes the erratic behavior from the outer cyclotron when overheating in 84/89 mode by asserting a red colour scheme if we are in one of the two colour-shift firing modes, and then only using the special fade code if we are not overheating.
Fixes issues where if pack overheating is triggered by the wireless module, it will fail if either the wand is turned off or no wand is connected.
Updates several issues with the DIY guide that incorrectly referred to the old Arduino Nano pins when referencing the new Mega2560 Pro Mini board. The new board uses the exact same pinout as the GPStar Wand PCB and should be treated accordingly.
Thanks to Graham Starke from the HasLab Ghostbusters Modders group we now have a clean recording of the GB1 rooftop barrel pop sound.
For people who built their pack kits according to the original installation instructions (the majority of users), it was specified that the right channel should be the "main" speaker while the left channel should be the "sub" speaker. In this configuration, the main sound should be in the right channel, not the left. The original file is now 'alt'.
This change implements the ability to switch the wand to standalone mode dynamically rather than needing to flash a unique binary. To enable standalone mode, bridge the TX and RX pins on the Neutrona Wand board while powering up.
Fixes missing definition for the GBFE pack freeze sound, fixes position of volume reset when switching to standalone mode on the wand, minor typo fix
This removes b_sync_light as it was an unnecessary variable, and prevents the top LED from getting stuck in the on state when transitioning to standalone mode.
Disables cyclotron switch panel LEDs if brass pack sound is running (resolves #358) and makes it so user-set spectral colors will be respected in spectral custom mode with brass pack sound running (resolves #359).
This changes the constant variables with lowercase names into preprocessor defines with uppercase names. It also clarifies what a few of the previously ambiguous pins actually do.
This removes unnecessary includes, does proper integer conversion from booleans in Serial.h, and corrects the colors for the year mode selection switch inner cyclotron switch panel.
Fixes Frutto LED panel not remaining off while ramping down which resolves #361 and adds a new brass pack shutdown sound from Aces6469
Updates the brass pack switch panel shutoff functionality to also occur when ribbon cable alarm is active, when overheat is active, and when the button mash freeze lockout is active.
There were a lot of unnecessary calls to the full bargraph reset function and lots of unnecessary explicit multiplier assignments which are better suited to a function dedicated to setting the multiplier.
DustinGrau and others added 11 commits August 20, 2024 20:58
Fixes wand idle hum overlap when recovering from overheat, fixes overlapping pack startup sounds when recovering from overheat, makes it so wand bootup sounds will only be sent if the pack is not already playing its own bootup sound, fixes wand function names to more accurately describe what they do, cleaned up code relating to overheat an AL/FE startup ramps, removed legacy wand variables from single shot blaster.
This moves the overheating initiator on the pack into a dedicated function rather than having the functionality duplicated across three separate call locations. Likewise it creates a dedicated function for the quick vent start for future extensibility.
This fixes the pack on/off buttons inadvertently ignoring pack state, and fixes the manual vent button not working unless a wand is connected (which is no longer necessary).
Extends the fade effect for the 84/89 cyclotron to fade out after one additional movement, which both makes the effect look less jerky and more closely represents how the animation looked in the video game.
This resolves #354 by fixing the out-of-sequence cyclotron LEDs when overheat is in progress in 84/89 year mode.
@DustinGrau
Copy link
Collaborator Author

PR created, started working on the bugfix list but could use some help there @nomakewan
If you look at the format you can see that it's possible to reference a bug number by just hashtag and numeric ID

This fixes the seizure-inducing outer cyclotron LEDs in Holiday and Spectral firing modes for good. While there is room for improvement that can come with v6 when the LED code gets overhauled.
@nomakewan
Copy link
Collaborator

Just tossed in one last fix since it was easy to do. I'm going to write up a text-based changelog on my end and then adapt it to the PR format per your request. Stand by!

nomakewan and others added 7 commits August 23, 2024 16:29
This fixes the Afterlife/Frozen Empire powercell SFX still playing during button mash lockout.
Additional conditional checks added to Afterlife/Frozen Empire powercell sound.
Makes sure that if we start a button mash sequence on the pack and the pack thinks the wand is firing, we make sure that we reset all the firing-related flags and sounds.
Prevents noisy overlaps of wand restart sounds in 84/89, makes certain that the button mash restart will always occur even when extra wand sounds are disabled, and cleans up some powercell and button mash checks on the pack.
Fixes missing whitespace before braces
Copy link
Collaborator

@nomakewan nomakewan left a comment

Choose a reason for hiding this comment

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

Changes all look great on my end. My pack demo seems to be working well and the web functions all work as expected even without a wand connected.

I'm going to run a few final quick tests on my bench wand just to be sure but I'm slapping my seal of approval on this PR.

EDIT: Did my test. Did notice something but it's not a bug and it only affects standalone mode so I'll hold off until 5.3.4. Everything else worked brilliantly. Click it and ship it! (Assuming you guys likewise have successful tests of course)

@DustinGrau
Copy link
Collaborator Author

I ran out of time for testing this morning, I need to go make sure some theater students don't cut their fingers off in the woodshop, so I will try to get to testing on my stuff later today.

@DustinGrau DustinGrau merged commit aeaa5ee into main Aug 25, 2024
8 checks passed
@DustinGrau
Copy link
Collaborator Author

Since everyone added their review and approval, I've just loaded up the latest and tested without any obvious issues. Calling this one done and ready for announcement when the support page can be updated.

@DustinGrau DustinGrau deleted the v5.3.3/develop branch August 25, 2024 00:38
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.

3 participants