Streaming Serverside Sounds & Additional XML / DAT / Meta Support

Firstly, apologies if this has been requested and removed before but I have not seen a similar post in the feature requests.

I feel as if (if even possible) server side sound streaming would be a much loved addition to the client. I know it’s not important to have this feature, but take it as an extra.

Secondly, another feature (again, if even possible) that would be nice to have is the capability to stream other XML files currently unsupported by the server and client such as popcycle.dat, dispatch.meta, or gameconfig.xml files.

Hi! You found a way for the .dat files? I would like have them working, no matters if client or serverside.

.dat files can be placed server side. They cannot be streamed at this time. I recommend using the search feature or browsing the support section.

already did it, search and look into support section, i found nothing about .dat files :confused: If you have a like about it i would appreciate it

In fact our development team has been researching just the sound stuff today!

For the first time ever, custom .dat151.rel/.dat54.rel files have been created for the audio subsystem, and (on canary now!) some CitizenFX shortcomings have been fixed allowing WAVEPACK_FILE to be used in data_file contexts.

The other part will never be done, however gameconfig limit changes can be separately requested as a feature (until ‘unlimited’ limits like GTA:SA OpenLimitAdjuster are implemented) - and it is unlikely replacing anything that does not have DLC support will be implemented as that will not work reliably due to the game’s context.

Also, just saying ‘.dat files’ or ‘.meta files’ makes no sense, as each file is completely different from one another - also, they aren’t “streamed”: only audio, Scaleform GFx files and files starting with ‘y’ are streamed.

4 Likes

In my case it is not audio related, i would like to have this working on my server, mainly the burnout smoke mod

2 Likes

Hey thanks for replying and clarifying those few points, it’s great to hear the work you guys are putting in!

how can I stream a .dat file

how can I make a .dat file serversided

Hi, popcycle.dat is possible to streaming from server-side
Example:

2 Likes

Currently my table about “file type” is work in progress, but I share you what I did :slight_smile:

A lot of these “file data” didn’t tested. Please take this a correction!

1 Like

Streaming sounds is possible also :wink:
I have to go, so i describe this later.

At below you can see my code in __resource.lua

resource_manifest_version '05cfa83c-a124-4cfa-a768-c24a5811d8f9'

--RESOURCE: VR_audio

--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/
--WEAPON_SOUNDS

files {
	'audio_rel/dlcthing_game.dat151.nametable',	
	'audio_rel/dlcthing_game.dat151.rel',
	'audio_rel/dlcthing_sounds.dat54.nametable',
	'audio_rel/dlcthing_sounds.dat54.rel'
}
data_file 'AUDIO_GAMEDATA' 	'audio_rel/dlcthing_game.dat'
data_file 'AUDIO_SOUNDDATA' 'audio_rel/dlcthing_sounds.dat'

--file {
--	'metaData/weapons.meta'	-- causes crash while joining into server (I see solution in [gameconfig.xml] Yeah FiveM maybe stream able gameconfig.xml ??? -_- )
--}
--data_file 'WEAPONINFO_FILE' 'metaData/weapons.meta'

files {
	'sfx/weapons/RESIDENT/collision.awc',	-- 16.295 KB (Thanks FiveM.. *_*)
	'sfx/weapons/RESIDENT/collisions.awc',
	'sfx/weapons/RESIDENT/explosions.awc',	-- 16.590 KB (Thanks FiveM.. *_*)
	'sfx/weapons/RESIDENT/weapons.awc'		-- 16.613 KB (Thanks FiveM.. *_*)
}
data_file 'AUDIO_WAVEPACK' 	'sfx/weapons/RESIDENT'

file {
	'sfx/weapons/REVOLVER/ptl_revolver.awc'
}
data_file 'AUDIO_WAVEPACK' 	'sfx/weapons/REVOLVER'

files {
	'sfx/weapons/WEAPONS_PLAYER/lmg_combat.awc',
	'sfx/weapons/WEAPONS_PLAYER/lmg_mg_player.awc',
	'sfx/weapons/WEAPONS_PLAYER/mgn_sml_am83_vera.awc',
	'sfx/weapons/WEAPONS_PLAYER/mgn_sml_am83_verb.awc',
	'sfx/weapons/WEAPONS_PLAYER/mgn_sml_sc__l.awc',
	'sfx/weapons/WEAPONS_PLAYER/ptl_50cal.awc',
	'sfx/weapons/WEAPONS_PLAYER/ptl_pistol.awc',
	'sfx/weapons/WEAPONS_PLAYER/ptl_combat.awc',
	'sfx/weapons/WEAPONS_PLAYER/ptl_px4.awc',
	'sfx/weapons/WEAPONS_PLAYER/ptl_revolver.awc',
	'sfx/weapons/WEAPONS_PLAYER/ptl_rubber.awc',
	'sfx/weapons/WEAPONS_PLAYER/sht_bullpup.awc',
	'sfx/weapons/WEAPONS_PLAYER/sht_pump.awc',
	'sfx/weapons/WEAPONS_PLAYER/smg_micro.awc',
	'sfx/weapons/WEAPONS_PLAYER/smg_smg.awc',
	'sfx/weapons/WEAPONS_PLAYER/snp_heavy.awc',
	'sfx/weapons/WEAPONS_PLAYER/snp_rifle.awc',
	'sfx/weapons/WEAPONS_PLAYER/spl_grenade_player.awc',
	'sfx/weapons/WEAPONS_PLAYER/spl_minigun_player.awc',
	'sfx/weapons/WEAPONS_PLAYER/spl_prog_ar_player.awc',
	'sfx/weapons/WEAPONS_PLAYER/spl_railgun.awc',
	'sfx/weapons/WEAPONS_PLAYER/spl_rpg_player.awc',
	'sfx/weapons/WEAPONS_PLAYER/spl_tank_player.awc'
}
data_file 'AUDIO_WAVEPACK' 	'sfx/weapons/WEAPONS_PLAYER'
--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/
--STORM_SOUNDS

files {
	'sfx/storm/ONESHOT_AMBIENCE/lightning_strike_02.awc',
	'sfx/storm/ONESHOT_AMBIENCE/lightning_strike_03.awc',
	'sfx/storm/ONESHOT_AMBIENCE/thunder_roll_01.awc',
	'sfx/storm/ONESHOT_AMBIENCE/thunder_roll_02.awc',
	'sfx/storm/ONESHOT_AMBIENCE/thunder_roll_03.awc'
}
data_file 'AUDIO_WAVEPACK' 	'sfx/storm/ONESHOT_AMBIENCE'
--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/
--AMBIENT_CAR_SOUNDS

files {
	'sfx/car_ambient/ONESHOT_AMBIENCE/banchee_distant.awc',
	'sfx/car_ambient/ONESHOT_AMBIENCE/cheeta_distant.awc',
	'sfx/car_ambient/ONESHOT_AMBIENCE/commet_distant.awc',
	'sfx/car_ambient/ONESHOT_AMBIENCE/entity_distant.awc',
	'sfx/car_ambient/ONESHOT_AMBIENCE/f620_distant.awc',
	'sfx/car_ambient/ONESHOT_AMBIENCE/feltzer_distant.awc',
	'sfx/car_ambient/ONESHOT_AMBIENCE/khamelion_distant.awc',
	'sfx/car_ambient/ONESHOT_AMBIENCE/stinger_distant.awc'
}
data_file 'AUDIO_WAVEPACK'	'sfx/car_ambient/ONESHOT_AMBIENCE'
--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/--/
--CAR_EFFECT_SOUNDS
file {
	'sfx/car_effects/RESIDENT/vehicles.awc'
}
data_file 'AUDIO_WAVEPACK' 	'sfx/car_effects/RESIDENT'

I use these modyfications:

For a WEAPON_SOUNDS (works partly, probably by impossibility streaming files above 16MB)

For a STORM_SOUNDS (doesn’t work):

and for a AMBIENT_CAR_SOUNDS (works partly):

See you later :wink:
Regards, Ordenko.

5 Likes

I posted this over a year ago damn…

I know that but you could appreciate. They exist older topic and these get even later answer.

Why of course I do, I just happened to notice how long ago I created this post.

Where do i get these files so i can activate them correctly

files {
	'audio_rel/dlcthing_game.dat151.nametable',	
	'audio_rel/dlcthing_game.dat151.rel',
	'audio_rel/dlcthing_sounds.dat54.nametable',
	'audio_rel/dlcthing_sounds.dat54.rel'
}
data_file 'AUDIO_GAMEDATA' 	'audio_rel/dlcthing_game.dat'
data_file 'AUDIO_SOUNDDATA' 'audio_rel/dlcthing_sounds.dat'
2 Likes