Addon Audio Limiter
What happened?
i have 150 pdm custom engine sounds + 188 extra engine sounds to add with addon cars now in total of 338 audio banks but after doing too many testings i figure it out that it has a limit of 190 sounds,
Expected result
there must be a way to increase addon sound so we can create a cool server
Reproduction steps
- i had a pack of a sound that contains 197 addon sound dlc in sfx folder
- i removed 12 dlc to make it 185 then every sounds work
- i gradually added 1 sound in every restart but after going above 191 the last audio that is mentioned in the end of fxmanifest will get stop working or i'll say muted engine sound and rest audios work fine
- i thought this is problem might be causing by i have too many .rel files and after deleting some the sound issue didn't got fixed
- then i thought it might be causing due to mentioning 1 dlc 2 or 3 times in fxmanifest and that's not the case
- then i started removing audio files directly from sfx and boom audio files start getting working since i'm no more hitting audio limit
Importancy
Unknown
Area(s)
FiveM
Specific version(s)
FiveM:b2944 | Server:b8102
Additional information
No response
This does appear to be a limit I've experienced myself. I'm assuming related the Audio Heap in the gameconfig. The audio dlc's will appear to have loaded properly when reading the log upon joining the server. However they do not work when triggered in the game world. All DLC's work as normal and the ones that exceed the limit do not.
Would it be possible to provide a reproduction?
Another issue I think some users are hitting is that the game only uses the first eight characters for indexing wavepacks, e.g., https://github.com/citizenfx/fivem/blob/b998343017fc89c6b27b7011ec5be789560c7313/code/components/gta-core-five/src/PatchAudioWavePackOverlay.cpp#L382. In which longer names (or shared prefixes) is causing issue e.g., qwertyuiop_1 and qwertyuiop_2.
Ive never personally ran into that problem and I don't think its that's the problem I am experiencing because if I remove some wave packs the ones that weren't working, work again.
I will work on reproducing further and provide more in depth examples of exactly what is happening, so that you can reproduce
Experienced the exact same issue as @NB-FiveM is describing. Hitting what appears to be a hard cap at the 190 mark.
No errors with loading the audio over the cap (according to logs), it just breaks any additional sounds that are added over the cap. Tested with a variety of sounds exceeding the cap and it doesn't seem to be specific to any unique sound.