Proper fxmanifest set up of streamed vehicle/addon audio?

I’m attempting to stream custom vehicle audio and was wondering if there was a good example of how to set up the fxmanifest for the use of multiple files/collections of add-on audio.

Currently, the vehicle I’m using. Major caveat is I have no idea what I’m doing and have very little knowledge of coding practices/coding in general, but the way I’ve set up the fxmanifest is:

fx_version 'cerulean'
game 'gta5'

description 'Custom Car Audio'

game 'gta5'

files {
    '**/**/*.dat151.rel',
    '**/**/*.dat54.rel',
    '**/**/*.awc',
}

data_file 'AUDIO_GAMEDATA' 'audioconfig/roxanne_game.dat'
data_file 'AUDIO_SOUNDDATA' 'audioconfig/roxanne_sounds.dat'
data_file'AUDIO_WAVEPACK' 'sfx/dlc_roxanne'

This works but if I glob the data_files, the audio files no longer work. For example:

data_file 'AUDIO_GAMEDATA' 'audioconfig/*_game.dat'
data_file 'AUDIO_SOUNDDATA' 'audioconfig/*_sounds.dat'
data_file 'AUDIO_WAVEPACK' 'sfx/dlc_*'

I’ve seen an earlier request about something similar go unanswered, so here’s another attempt at asking for help.

Thanks to Dexvo on the Discord for clarifying how to do so with the files section :+1:

For anyone stumbling on this thread here is the proper way to do it, I’ve created a resource on GitHub you can use as a starting point:

1 Like