Rocks'n'Diamonds won't play OGG files

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

Moderators: Flumminator, Zomis

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

Rocks'n'Diamonds won't play OGG files

Post by Algebroot »

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: 4073
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

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

Post by Holger »

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: 647
Joined: Fri Jun 20, 2014 10:06 am

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

Post by filbo »

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