Problems with MP3's

I have a very specific problem. It's something I've tried to fix a dozen times, over the course of several years. It's clearly beyond me so I'm hopeful that somebody here will have a clue...

To sum it up: RPG Maker games that I've downloaded can't play MP3 files, but they can play .ogg files. When I play a game that uses MP3 files for bg music, the game is silent except for sound effects. When I play a game that uses .ogg files, it works fine. When I open the games' files myself and try playing the music tracks, they work fine in both windows media player and VLC.

I've tried all sorts of things to fix it. At one point I literally converted all the songs to .ogg's myself, and they worked because I added a ".mp3" to the end of each filename. The game looked for "____.mp3" and was able to find it, and played it even though it was the wrong file type. That solution was messy though, and I don't want to have to do it for every RPG Maker game that uses MP3's. I tried setting VLC as my default player for MP3's. "BGM" is checked off when I press F1 in-game. I tried running the game as an administrator. I was thinking the problem could have to do with security... Like, maybe the games don't have permission to play MP3 files? Keep in mind, this is all from the perspective of just a player, I don't have access to the game's RPG Maker files (I do own RPG Maker now, I just never have time to try it).

I'm on windows 7. If any of you have any ideas, please let me know!
That's because .mp3 files vary heavily by computers on how they run, and depend on the encoding used by the file. The only true fix is to contact the maker of the game and tell them to convert all files to .ogg

Incidentally if you go to windows10, .mp3 files stutter when ran now in VXAce (at least they do on my PC), due to how windows10 handle the decoding of the .mp3. So the maker will need to update them to .ogg someday regardless.
The only true fix is to contact the maker of the game and tell them to convert all files to .ogg

Incidentally if you go to windows10, .mp3 files stutter when ran now in VXAce (at least they do on my PC), due to how windows10 handle the decoding of the .mp3. So the maker will need to update them to .ogg someday regardless.

Thank you for the quick response. I actually tried asking them to make a version of the game where it calls .ogg's instead, but they seemed adamant about using .mp3's. They said that .ogg's made the game lag as the player entered new areas (presumably because it's calling a new song). That was over a year ago, so I don't know what their plans are now. I know the relatively new version of the game still uses .mp3's.

Is there really nothing I can do on my end? That's kind of a bummer but at least now I know there is nothing wrong with my computer.
Not really. And .ogg do not cause lag vs .mp3 so they are mistaken on that, and as I saw windows10 .mp3s lag (which causes an odd stutter sound). So you may want to communicate to them that players on windows10 will have problems with the .mp3 files and they will need to convert to .ogg someday, as per a recent survey there are now more PC's using windows10 than windows7.

On your end I don't think there is much that can be done. Though maybe someone who has played more with .mp3 decoders will have an idea of one you can try to install to see if it helps, as it might be calling a unique decoding algorithm that is not default to windows.
The first part of the problem is that MP3 is not a filetype, but a container type - which means that the files you see as "MP3" may use different codecs for internal structures. Different codecs have different compression rates, but the computer needs to know the codec to be able to uncompress and play the MP3.

From the sound of it, the games where you don't hear anything are using an MP3 codec that your computer doesn't know - there is a chance that you might solve this by installing more codec packs. Codec packs are included with some player programs, some music programs and sometimes can be downloaded and installed directly. Be carefull not to install packs from tiny unknown websites as those might be infected, but installing several of the well-known music players might help you here.
That is only a random chance however, without knowing which codecs are used you have no chance to search for them, and the games most likely use different codecs.

The second part of the problem is that any music file needs to be completely loaded. That is the delay on entering a map - it has absolutely nothing to do with real lag, it's only there because the computer needs to finish loading the file.
If the developers claim that OGGs have a larger delay than MP3s, then that points out to the MP3 having smaller file sizes - and that usually happens if you use high compression codecs on MP3 and low compression codecs on OGG - because like MP3, OGG is also a container format for different codecs.
And if a game developer doesn't understand codecs, then the default settings native to his computer can result in OGGs working better than MP3s for some people and MP3s working better for other developers.
From the sound of it, the games where you don't hear anything are using an MP3 codec that your computer doesn't know - there is a chance that you might solve this by installing more codec packs. Codec packs are included with some player programs, some music programs and sometimes can be downloaded and installed directly. Be carefull not to install packs from tiny unknown websites as those might be infected, but installing several of the well-known music players might help you here.
That is only a random chance however, without knowing which codecs are used you have no chance to search for them, and the games most likely use different codecs.

I've tried installing the K-Lite and X Codec packs. Once they're installed, how can I tell if they're being used? Do I have to set one codec as the default for all MP3's?
I've tried all sorts of things to fix it. At one point I literally converted all the songs to .ogg's myself, and they worked because I added a ".mp3" to the end of each filename.
RPG Maker does not seek for the file extension. If the game is made in VXAce, as long as the filename is the same regardless of the extension, it will still be played, let it end with .mid or .ogg. MV might behave the same, but I haven't really double checked yet. So you don't need to put .mp3 at the end of the filename.

That solution was messy though, and I don't want to have to do it for every RPG Maker game that uses MP3's
On average RPG Maker games I've seen though, most of them were using the correct file type. So you don't actually need to do it often.
I've tried installing the K-Lite and X Codec packs. Once they're installed, how can I tell if they're being used? Do I have to set one codec as the default for all MP3's?
that isn't how this works - codecs can't be executed at all, and they're common to the entire computer.
Whatever player program is used tries to find if the correct codec is available and then automatically switches to it.
If the correct codec is available, then you can hear sound. If it isn't available then you can't hear sound.

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-mp3s.104395/