Good Day Fellow forum wanders.
So Bellow is going to be attached an example fxmanifest.lua for a sound pack and following will be a question.
files {
'audioconfig/*.dat151',
'audioconfig/*.dat151.nametable',
'audioconfig/*.dat151.rel',
'audioconfig/*.dat10.nametable',
'audioconfig/*.dat10.rel',
'audioconfig/*.dat10',
'audioconfig/*.dat54.nametable',
'audioconfig/*.dat54.rel',
'audioconfig/*.dat54',
'audioconfig/*.dat',
'sfx/**/*.awc'
}
data_file 'AUDIO_GAMEDATA' 'audioconfig/Zwrks1_elergy_game.dat'
data_file 'AUDIO_GAMEDATA' 'audioconfig/Zwrks2_elergy2_game.dat'
data_file 'AUDIO_SOUNDDATA' 'audioconfig/Zwrks1_elergy_sounds.dat'
data_file 'AUDIO_SOUNDDATA' 'audioconfig/Zwrks2_elergy2_sounds.dat'
data_file 'AUDIO_SYNTHDATA' 'audioconfig/Zwrks1_elergy_amp.dat'
data_file 'AUDIO_SYNTHDATA' 'audioconfig/Zwrks2_elergy2_amp.dat'
data_file 'AUDIO_WAVEPACK' 'sfx/dlc_Zwrks_elergy_1'
data_file 'AUDIO_WAVEPACK' 'sfx/dlc_Zwrks1_elergy2'
And my question would be Could i reduce the clutter of the above fxmanifest.lua by doing it as the following?
files {
'audioconfig/*.dat151',
'audioconfig/*.dat151.nametable',
'audioconfig/*.dat151.rel',
'audioconfig/*.dat10.nametable',
'audioconfig/*.dat10.rel',
'audioconfig/*.dat10',
'audioconfig/*.dat54.nametable',
'audioconfig/*.dat54.rel',
'audioconfig/*.dat54',
'audioconfig/*.dat',
'sfx/**/*.awc'
}
data_file 'AUDIO_GAMEDATA' 'audioconfig/*game.dat' ## orjust using /*.dat
data_file 'AUDIO_SOUNDDATA' 'audioconfig/*sound.dat' ## orjust using /*.dat
data_file 'AUDIO_SYNTHDATA' 'audioconfig/*amp.dat' ## orjust using /*.dat
data_file 'AUDIO_WAVEPACK' 'sfx/dlc_Zwrks_elergy_1' ## Keep these as the following
data_file 'AUDIO_WAVEPACK' 'sfx/dlc_Zwrks1_elergy2' ## Keep these as the following
Apprecaite any help