hhhzzzsss / SongPlayer

A Fabric mod for Minecraft that plays noteblocks
MIT License
60 stars 16 forks source link

invalid song format issue #46

Closed Yoltznvolts closed 5 months ago

Yoltznvolts commented 5 months ago

whenever i try to play a song it says invalid song format please help!

Sk8kman commented 5 months ago

SongPlayer can only play .midi .mid .nbs and .txt files. If you are trying to play .mp3 .mp4 etc... It won't work. If you are using a supported format I can take a look at the file and see what's going wrong

Yoltznvolts commented 5 months ago

here is the file

467339_At_the_Speed_of_Light_FINA - Copy.txt

Yoltznvolts commented 5 months ago

it was origanally a nbs but i have to change it into a txt for it to work

Sk8kman commented 5 months ago

That file seems to have MP3 related data in it, not nbs or txt

Yoltznvolts commented 5 months ago

the download was a mp3 but i changed it to nbs does it stay mp3 data?

Sk8kman commented 5 months ago

renaming the file extension to .nbs doesn't change the data inside the file. It's still an mp3

Yoltznvolts commented 5 months ago

oh how do i change it to a nbs data?

Sk8kman commented 5 months ago

There aren't any good ways to accurately convert mp3 files to .nbs files, but you can usually search online for a .midi or .nbs file someone made. https://drive.google.com/file/d/1yDcV4XxfzhmdH4NWGGzMxHFFc9IigjZs/view?pli=1 here's a link of a proper .nbs file that's compatible with SongPlayer

Yoltznvolts commented 5 months ago

ok thanks i think thats it