placeholder logo for Menu Loop Randomizer

Menu Loop Randomizer

elnexreal
,
Erymanthus

Menu Loop Randomizer

Are you bored of hearing the same menu song over & over? Well... No more of that!

This mod allows you to randomize the menu song every time you open the game, picking from a random downloaded song from Newgrounds, RobTop's Music Library, or your own songs. .mp3, .ogg/.oga, .wav, and .flac files are supported.

Adding custom songs

If you want to add your own songs to the mod you should go to the settings tab, then click the pink folder button. Just like with grabbing songs you've downloaded from Newgrounds or RobTop's Music Library, .mp3 and .ogg files are supported.

Screenshot on how to use it. Install the mod to view this screenshot!

.oga, .flac and .wav files are also supported, for the few audiophiles who want the highest of audio quality out there.

Note: There is an alternative config directory shortcut button within the mod's settings, in case you have QOLMod installed.

Android

If you click the folder and you get sent to the geode folder itself, you should go to game/geode/config/elnexreal.menuloop_randomizer and put the songs there

Blacklisting songs

Ever felt like a song was an absolute dud? Click the (crudely drawn) blacklist button and you won't ever hear that song as a menu loop again.

Elnexreal would like to thank:

  • hiimjustin000 for helping me with the bindings problem (i was using an outdated version of geode LMAO).
  • km7dev for helping me with the constant crashes and testing.
  • shaday for giving me the idea.
  • dank_meme for helping me with singletons.
  • ninxout for porting part of the mod to macOS, and adding Music Library support.
  • raydeeux for porting part of the mod to macOS, and adding .ogg/.oga/.wav/.flac file support for custom songs.
  • Feather Icons for providing the shuffle icon.

Join RayDeeUx's Discord server to report issues with using the mod, or open a GitHub issue.

This Geode mod is licensed under LGPLv2.

v1.6.1

  • Redo the button for blacklisting songs. Base icon shape provided by FREAKINGDAN.
  • Reduce confusion when copying song names/IDs while playing songs replaced by Jukebox/Auto Nong. {Reported by CyBlanc}
  • Fix a bug where some songs downloaded from vanilla GD wouldn't be treated properly in Playlist Mode (potentially related to "No Songs Limit" being enabled). {Reported by ita_player}
  • Make the setting description for Playlist Mode a scrollable setting description. {Reported by hiimjustin000}
  • Attempt to fix a bug where setting the music volume to 0 while on Playlist Mode would re-start a song while failing to end the original playback. {Reported by EmirNoob}

v1.6.0

  • Added "Copy Song ID" button (suggested by Akashnil). Custom songs and NONGs will not return a song ID. They will fall back to its song name instead. Button sprite adapted from hiimjustin000 with permission.
  • Added "Blacklist Song" button (suggested by AlphaQuata). This button works regardless of your custom songs or Playlist Mode choices. To manually un-blacklist a song, open blacklist.txt in the mod's config directory and edit it accordingly.
  • Fix a bug where Playlist Mode would ignore the in-game "Menu Music" toggle if that was disabled.
  • Fix another bug where "Remember Last Menu Loop" would remember the original menu loop from GD's resources.

v1.5.0

  • Added "Playlist Mode" (suggested by TheKevineer). This feature is incredibly unstable, especially outside of Windows. I have done everything I could to keep its behavior consistent between Windows, macOS, and Android, but any crashes/issues from this feature are either beyond my control or have been acknowledged during beta testing without an obvious/more immediate fix.
  • Added "Remember Last Menu Loop" (suggested by HexCodesGMD).
  • Renamed and reordered a few settings to reduce confusion.
  • Added config directory shortcut button.
    • Incidentally, the pink config directory shortcut button from previous versions won't be added if QOLMod is loaded.

v1.4.3

  • Made sure the new "Regenerate Notification" sprite is actually part of the mod's resources.
  • Also shrunk the mod file size down as there haven't been any new crashes from the changes introduced in v1.4.1.

v1.4.2

  • Redrew the "Regenerate Notification" sprite (courtesy of elnexreal).

v1.4.1

  • Add a new button to show the "Now Playing" notification again, per GitHub feedback. (The texture is incredibly scuffed. I will revise it later. The important thing is that it works as intended.)
  • Attempted to fix a weird stoi crash. Not sure why it happens, but it did for the one person who reported it, and they didn't really provide further context beyond a crashlog file reading C++ Exception: class std::out_of_range("stoi argument out of range"). ¯(ツ)/¯
    • The mod now uses Geode's geode::utils::numFromString<int>() function.
  • License the mod under LGPLv2.

v1.4.0

  • Added setting to choose font for "Now Playing" notifications.
  • Added an extra child folder in the mod's config directory for enabling/disabling menuloops easily. The mod itself doesn't do anything to it beyond creating the child folder.
  • Hopefully fix the mistake where macOS ARM support wasn't added the first time in v1.3.0.
  • Fix rolling the same song twice in a row. (Unless if you have only one song loaded for the mod.)
  • Fix that one godforsaken Android crash. (It was caused by ninxout being a bit silly and failing to check if certain directories existed on Android.)
    • Incidentally, this also fixes potential issues where songs from RobTop's Music Library could be added twice on certain platforms, skewing the probability distribution.
  • Fix arrow steps in settings being wonky. (Geode has yet to support floating point increments in arrow steps.)
  • Notifications now move off-screen when switching menus to minimize chances of the song title in the "Now Playing" notification from being incorrect.
  • Add text formatting options for songs from Newgrounds or RobTop's Music Library.
    • Song Name
    • Song Name + Artist
    • Song Name + Song ID
    • Song Name, Artist, Song ID
  • Added punctuation to the changelog.

v1.3.0

  • Added macOS support (thx ninxout, raydeeux, and hiimjustin000).
  • Added support for .wav, .ogg/.oga, and .flac files for custom songs.
  • Included artist name for all "Now Playing" notifications.
  • Set Z order of the "Now Playing" notification to 200 for easier readability against most MenuLayer mods (such as Overcharged Main Menu).
  • Shuffling the song now generates a new "Now Playing" notification.
  • Increase "Now Playing" notification maximum duration to 5 seconds.
  • Add better slider control for adjusting notification duration.
  • Added Node IDs to nodes added by this mod.
  • Squash a few bugs, optimize a few things, minimize likelihood of potential crashes.

v1.2.2

  • Added an option to enable the shuffle button (thx reinmar).

v1.2.1

  • Fixed crash caused by Newgrounds manager trying to gather info of default menuLoop.mp3.

v1.2.0

  • Added Randomize on editor exit setting.
  • Added Notification time setting.
  • Added Use custom songs path setting.
  • Added SongManager.hpp.
  • Added custom songs support.
  • Added stoi to Utils (prolly it crashed because of Autonong).
  • Added a button to add custom songs (present in the settings tab).
  • Added a button for randomizing the song manually.
  • Most of the functions related to the m_songs vector are now in SongManager.
  • Fixed crash when there are no songs (original menuLoop plays instead).
  • Fixed crash caused by switching the songs location.
  • Modified PlayingCard to fit the new system.
  • Now the song randomizes every time you change Use custom songs path.

v1.1.0

  • Fixed crash when opening the game (missing textures crash).
  • Fixed random song picker being on a loop for every song downloaded.
  • Moved song class to its own file.
  • The mod should now check for the songs path when loaded, not when executed.
  • Added setting to randomize song on level exit.
  • Fixed Android crash caused by not able to access the memory (f*** pointers).
  • Added Utils.hpp

v1.1.0-alpha.5

  • Updated Geode target version to v3.0.0-beta.1.

v1.1.0-alpha.4

  • Updated notification card & position.
  • Added the property name to the Song class.

v1.1.0-alpha.3

  • Added a notification animation for the card.
  • The position is now added in MainLayer instead of the layer itself.

v1.1.0-alpha.2

  • Fixed crash on startup caused by a missing dependency.

v1.1.0-alpha.1

  • Added a card showing which song is playing. (you can disable it in settings.)
  • Changed a little bit how songs are stored in the vector.
  • Removed MacOS support. (sorry, i don't wanna deal with MacOS bindings.)

Notes

  • This version is for Geode v3.0.0-alpha.2 only.

v1.0.0

  • Initial release
The recommended way to install mods is through the in-game mod loader. You will have to manually install the .geode files you get from this page.

Some mods also require other mods as dependencies; you will need to find and install them yourself.

Site made by HJfod . Thank you to Nekit for the domain!

Geode Team 2024