What’s That Song?

If you liked this item, please rate it up on Steam Workshop page.

Author: AceHand

Last revision: 7 Jan at 11:07 UTC (3)

File size: 253.3 KB

On Steam Workshop

Description:

[github.com]



Description

Have you ever wondered: "Hey! What’s that song that’s currently playing actually called?" Well, wonder no more, as I have the solution to your problem!

This is a fairly simple mod that displays the name of the currently playing song, as it is in the official soundtrack.

Associated Mods

NOTE: As of version 1.0.9, this mod automatically includes support for all soundtrack mods that function with [REP] Jukebox (Thank you ☢ Nato Potato ☢ for providing the necessary adjustments).

The mod includes support for Mod Config Menu Pure, and in case you don’t have that installed, and don’t wish to, there is also a configuration file in the mod’s directory (by default found at `/steam/steamapps/common/The Binding of Isaac Rebirth/mods/whats that song_3267389419/whatsThatConfig.lua`), where you can tweak certain aspects of the mod to your liking.

There is also support for Soundtrack Menu, and you can get more tracks added by:

  • Adding them directly to the `whatsThatMusicTableHell.lua` file (Not Recommended).
  • Utilizing the WhatsThatSongAPI interface in your own soundtrack mod.
  • Asking nicely.

Soundtrack mods with built-in support:

If you are using other music-altering mods besides these, the mod should still work perfectly fine for supported soundtracks. Additionally, if you opt for choice 1 for some reason, it would be oh so very kind of you to share your contribution with me, so I could add it for others’ use as well.

API

YourModName = RegisterMod("YourModName", 1) local yourSoundtrackTitles = { — Here go the displayed titles, in correspondence with the formatting of Soundtrack Menu } YourModName:AddCallback(ModCallbacks.MC_POST_GAME_STARTED, function() — Check existence of Soundtrack Menu if SoundtrackSongList then — The value used in place of "YourSoundtrackName" — should be same in both AddSoundtrackToMenu and WhatsThatSongAPI:AddSoundtrack AddSoundtrackToMenu("YourSoundtrackName") — Check existence of What’s That Song? if WhatsThatSong then — The function returns true if addition was successful, otherwise false if WhatsThatSongAPI:AddSoundtrack("YourSoundtrackName", yourSoundtrackTitles) then Isaac.ConsoleOutput("Successfully added titles of YourSoundtrackName to What’s That Song?n") else Isaac.ConsoleOutput("Failed to add titles of YourSoundtrackName to What’s That Song?n") end end end end)
Download
Revisions:

Old revisions of this mod are available below. Click the link to download.