Page 1 of 1

Rocks'n'Diamonds won't play OGG files

Posted: Tue Sep 04, 2018 3:33 am
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.

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

Posted: Wed Sep 05, 2018 11:00 am
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.

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

Posted: Wed Sep 05, 2018 9:23 pm
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...