Skip to content

Alternative fix for the missing music in Melee's New Rollback

License

Notifications You must be signed in to change notification settings

Carr-23/RollbackMusicAlt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rollback Music Alternative

Our God Fizzi created, Rollback Netcode for the beloved GameCube game 'Super Smash Bros. Melee'. However, with all the greatness that came there was one small flaw which was NO-MUSIC.

Sadly, many people miss the Dreamland chants!

There is a solution however it is not the most optimal. What RollbackMusicAlt does is it detects what stage you're playing on based on your display, and then plays the respected songs for that stage.

RollbackMusicAlt1.1

P.S. this was my first time coding in Python and was the project that I used to learn the language. Also im back to school so won't have as much time to update the code

Normal vs Lite?

Although both ran pretty much lag free on my computer I do have a pretty good one (i7-970, GTX1060 FTW+, 12gb of Ram).

The Normal RollbackMusicAlt has a user-interface and a lot more feautres such as: Custom playlists, Volume Control, Manual/Automatic Switch, Delay Change, etc.

However, with these added features it could theoretically slow down your gameplay (hasn't happened to me with V1.1).

If your notice your computer may not be able to handle it, id suggest using RollbackMusicAltLite. This uses a lot less resouces since there are a lot less feautres that need to constantly be checked. By Default the volume may be to high for you, so you would have to manually adjust it in Volume Mixer (I could add a config file where you can change the volume by changing a text file, if requested)

Getting Started

RollbackMusicAlt

  1. Default Checkbox -> used to change between default stage music or a custom playlist
  2. Searchbar -> allows you to search for anything and it will download the first YouTube video to the corresponding stage playlist
  3. Stage Playlist Dropdown -> choose which stage playlist the YouTube video will be downloaded to
  4. Run Button -> this will start the main function of RollbackMusicAlt (for automated you can press 'space' as a kill switch also)
  5. Auto Checkbox -> used to change between manual and automated music player (automated works best)
  6. Volume Level -> allows you to change the musics volume
  7. Option Tab -> open the option window

  1. Open Folder -> opens the folder were everything is stored
  2. Set Input Key -> lets you set an input for the manual start function (press key to start during loading screen and press to end)
  3. Delay Input -> allows you to choose how often it checks for a change on the display (0.016 ≈ Every Frame)

You only have to double click the .exe and once that happens this black window will appear to let you know it is running. To shut it off, just close the window.

Installing

Prerequisites

Make sure you have the following installed:

Install VLC - 64 bit inside 'C:\Program Files\VideoLAN\VLC'

Install Tesseract-OCR inside 'C:\Program Files (x86)\Tesseract-OCR'

Install Python - 64 bit

Download

You can download V1.1 here: RollbackMusicAlt

You can download V1.0-Lite here: RollbackMusicAlt

Built With

  • getPass - Used to get current Windows 10 user
  • OpenCV - Used to edit the screenshot
  • keyboard - Used to get user input
  • pyautogui - Used to screenshot
  • pytesseract - Used to convert the image to text (OCR)
  • fast_youtube_search - Used to get YouTube search results
  • os - Used to manage files
  • pafy - Used to download YouTube Videos
  • vlc - Used to run Music
  • tkinter - Used to create the user interface
  • numpy - Used for OCR image processing
  • youtube-dl - Used as a part of pafy
  • Pillow - Used to read pixel data

Versioning

Normal

  • 1.0 -> Launch
  • 1.1 -> Fixed Lag issue

Lite

  • 1.0 -> It's normal 1.1 without a UI

Authors

Future Builds

  • Better UI with a custom look
  • Drag and drop URL's
  • Fix lag when changing input key
  • Fix issue of no music playing even if detected (no idea how to fix as of now)

Looking To Help Out?

The main things I would need help with is optimizing the code, and creating a better User interface. You can contact me at: brauliocarrion@gmail.com

Acknowledgments