I found the MP3 decoder in https://sourceforge.net/projects/tremul ... ulous/1.0/ using tremulous-q3-1.0.0-installer.exe to install the source code.
The purpose for what I wanted to use is to match a button of UI main menu from an ancient mod, here's the commit:
https://github.com/LegendaryGuard/BFP/c ... ca7c8b3485
That's why the mod had this, read carefully this old dev journal:
mp3 support - 11/30/2001 by Yrgol
I added Tim "Timbo" Angus' mp3 to wav converter into bfp. It can be found at http://tremulous.sourceforge.net/junk/cg_mp3decoder/
This will allow us to include more music in the download, since each music file will have a smaller filesize.
This will not allow you to play your own mp3's. It is not an mp3 player, it is an in-game utility to convert mp3's into a q3-playable format.
Nowadays, using this feature is unnecessary and pretty outdated.
Maybe it would be worth to implement a MP3 codec to play MP3 files for the engine instead making a library altered to compile for the Q3 VM.
MP3 decoder (mp3 to wav/menu converter q3-playable format)
- LegendGuard
- Posts: 121
- Joined: Thu Jun 09, 2022 7:35 am
Re: MP3 decoder (mp3 to wav/menu converter q3-playable format)
Doesn't ioQuake support mp3 playback? Or maybe just OGG perhaps.
edit: yes it does. Both Mp3 and OGG: https://ioquake3.org/the-site/mp3-support/
edit: yes it does. Both Mp3 and OGG: https://ioquake3.org/the-site/mp3-support/
- LegendGuard
- Posts: 121
- Joined: Thu Jun 09, 2022 7:35 am
Re: MP3 decoder (mp3 to wav/menu converter q3-playable format)
I tried to run this command: music music/RogerSullivan-touch_of_the_sun.mp3Eraser wrote:Doesn't ioQuake support mp3 playback? Or maybe just OGG perhaps.
edit: yes it does. Both Mp3 and OGG: https://ioquake3.org/the-site/mp3-support/
and says:
Code: Select all
WARNING: Failed to open sound music/RogerSullivan-touch_of_the_sun.mp3
This converter feature works on Quake3e and Quake 3 1.32 - 1.32c vanilla version, but on ioQuake3 only works if the mp3 file is in C:\Users\username\AppData\Roaming\Quake3\modfolder\music\ in Windows.
Explanation crosslink: https://discourse.ioquake.org/t/audio-p ... wer/1772/6
Last edited by LegendGuard on Thu Feb 08, 2024 9:51 am, edited 2 times in total.
- LegendGuard
- Posts: 121
- Joined: Thu Jun 09, 2022 7:35 am
Re: MP3 decoder (mp3 to wav/menu converter q3-playable format)
OMG, 20000 views. I never expected that.
Apparently, it has attracted a lot of attention.
Since this is a MP3 decoder that modifies only the QVMs, that isn't tweaking the engine side.
Kinda rare ancient feature.
Apparently, it has attracted a lot of attention.
Since this is a MP3 decoder that modifies only the QVMs, that isn't tweaking the engine side.
Kinda rare ancient feature.