Skip to content

feat(gta-core-rdr3): support resource audio wavepacks - #4172

Open
Mosquito-Man wants to merge 2 commits into
citizenfx:masterfrom
Mosquito-Man:feat/rdr3-audio-wavepacks
Open

Mosquito-Man wants to merge 2 commits into
citizenfx:masterfrom
Mosquito-Man:feat/rdr3-audio-wavepacks

Conversation

@Mosquito-Man

Copy link
Copy Markdown

Goal of this PR

Port FiveM's resource AUDIO_WAVEPACK support to RedM.

This allows RedM resources to stream custom AWC wavepacks using the same fxmanifest layout as FiveM,

How is this PR achieving the goal

Uses a similar approach to FiveM's PatchAudioWavePackOverlay for RedM.

Resource wavepacks are checked when the game builds the path for an audio bank, while keeping the original game path as fallback.

RedM resources can mount after the audio engine has initialized, so already loaded banks affected by a new or removed wavepack are requested again.

The RPF2 VFS metadata is also populated so RAGE can read these files properly from resources.

Replacement wavepacks have been tested. I wasn't able to test completely new wavepacks, as exposing new sounds and events generally also requires matching audio metadata, which is outside the scope of this PR.

This PR applies to the following area(s)

RedM

Successfully tested on

Game builds: 1491

Platforms: Windows

Tested 33 AWC banks across 7 wavepacks, including resource restarts while affected bank requests were in flight, mounting before and after audio engine initialization, and local/distant weapon sounds.

Checklist

  • Code compiles and has been tested successfully.
  • Code explains itself well and/or is documented.
  • My commit message explains what the changes do and what they are for.
  • No extra compilation warnings are added by these changes.

Fixes issues

@github-actions github-actions Bot added RedM Issues/PRs related to RedM invalid Requires changes before it's considered valid and can be (re)triaged labels Sep 4, 2026
Signed-off-by: Mosquito-Man <awesato@gmail.com>
Signed-off-by: Mosquito-Man <awesato@gmail.com>
@Mosquito-Man
Mosquito-Man force-pushed the feat/rdr3-audio-wavepacks branch from 36b9d25 to 1dc67ed Compare September 4, 2026 19:57
@HalconBM

HalconBM commented Sep 7, 2026

Copy link
Copy Markdown

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid Requires changes before it's considered valid and can be (re)triaged RedM Issues/PRs related to RedM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants