Improved AWBW Music Player

An improved version of the comprehensive audio player that attempts to recreate the cart experience with more sound effects, more music, and more customizability.

Author
DeveloperJose
Daily installs
2
Total installs
50
Ratings
0 0 0
Version
4.8.0
Created
2024-11-20
Updated
2025-01-15
Size
166 KB
License
MIT
Applies to

Adds a music player to Advance Wars by Web that comes with all the CO themes and game sound effects, just like in the cartridge! Look for the CD icon next to the "Menu" at the gamebar on top of the game map.

This is a major code refactoring and update to twiggy_'s original AWBW Music Player 2.0.8 script (https://greasyfork.org/en/scripts/459630-awbw-music-player). I have rewritten the original code fully in Typescript with some improvements, split the code into modules, and documented everything more in depth.

If you want music to auto-play whenever you open a page you can but you'll need add the AWBW site https://awbw.amarriner.com to your list of allowed sites that can auto-play media. You can find out how to do it for Firefox here. For Chrome you'll just need to use the website a lot for it to be automatically approved for auto-play. For other browsers you'll need to search online.

Below are the changes from the original script:

  • Added the option to switch between AW1, AW2, AW:Dual Strike, and AW:Reboot Camp soundtracks. Note that in AW1 there are no special power themes, but the activation sound makes up for it! The Reboot Camp power themes for all COs were added as well.
  • You can also add overrides for themes of specific COs. For example, if you really like Sonja's Reboot Camp theme you can add an override for Sonja so that her Reboot Camp theme will play even when your selected soundtrack is AW1/AW2/AWDS.
  • Added alternate themes that start after a certain day. If enabled, for example, the Reboot Camp power themes will switch from the CO themes to the factory themes like in the factory campaign missions. There are some other hidden alternate themes, be on the lookout!
  • Added sound effects: subs and stealths hiding and unhiding, units getting trapped, loaded missile silos being launched, black bombs exploding, units making progress capturing a property, pipe seams getting attacked, CO and Super CO Power becoming available, Colin's Gold Rush sound effect, COs tag swapping, canceling actions, and trying to buy a unit when you don't have enough funds.
  • Added animation: pipe seam wiggles when attacked (if you have animations enabled on AWBW).
  • Song are able to continue where they left off the last time they played instead of always starting at the beginning depending on how you set the new setting: Restart Themes Every Turn. This means when a turn change happens, if the next CO is the same as the previous CO the music won't restart. Note that this feature is disabled when using the random theme setting.
  • Fixed issues where some replay controls weren't updating the music properly.
  • Added cursor moving sound effects to design map page.
  • Added music to maintenance, your games, and live queue pages. You can disable the autoplay for these songs in the settings: Autoplay Music On Other Pages.
  • Music will stop in the current game page if you disconnect from it and connect to another game.
  • Downloaded music will be stored locally in your browser for faster loading. The script will also check if new versions of the music have been uploaded to the server and update your local copy.
  • The music should be more seamless now on Chrome and other browsers as I have updated to a more advanced sound API.

If you like my work consider supporting me by sending a small donation through Ko-fi. https://ko-fi.com/developerjose