Rocks'n'Diamonds won't play OGG files

Found a bug in R'n'D? Report it here!

Moderators: Zomis, Flumminator

Post Reply
Algebroot
Posts: 2
Joined: Tue Mar 04, 2014 8:13 pm

Rocks'n'Diamonds won't play OGG files

Post by Algebroot » Tue Sep 04, 2018 3:33 am

When I tried inserting some OGG music into Rocks'n'Diamonds, I get an error in stderr.txt:
rocksndiamonds.exe: warning: cannot read music file 'C:\Rocks'n'Diamonds\music\folder\filename.ogg': Failed loading libvorbisfile-3.dll: The specified module could not be found.
After I downloaded libvorbisfile-3.dll and inserted it into the game's folder, nothing changed; It still doesn't play the music, and still shows this error message.

User avatar
Holger
Site Admin
Posts: 2978
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Rocks'n'Diamonds won't play OGG files

Post by Holger » Wed Sep 05, 2018 11:00 am

Although R'n'D is not directly shipped with the required DLLs for playing OGG music files, it should *theoretically* work just the way you did -- drop the missing DLL into the R'n'D folder (where the other DLLs are) and restart. However, I've never tested this. :-/

One thing I could think of why it did not work in your case might be a non-matching version number of the SDL_mixer DLL -- did you use the exact same version? You can have a look at the "info" menu within R'n'D for the correct version number of SDL_mixer. If you then download the zip archive for that version from the SDL site, double-check by comparing the file sizes of all audio related DLLs in the R'n'D folder with those in the zip archive (or just replace them all). Maybe this helps...

I will also check this issue with my Windows test system, and post the results here.

filbo
Posts: 308
Joined: Fri Jun 20, 2014 10:06 am

Re: Rocks'n'Diamonds won't play OGG files

Post by filbo » Wed Sep 05, 2018 9:23 pm

There might also be an issue with 32-bit (x86) vs. 64-bit (AMD64) DLLs -- make sure you have the right flavor for your system...

Post Reply