audio-buffer-through-resource-pack #65

Merged
sigonasr2 merged 2 commits from audio-buffer-through-resource-pack into master 2024-09-13 12:10:04 -05:00
Owner

This PR adds the ability for BGM tracks to be encrypted away inside the PGE resource pack system such that it will be more difficult for users to extract the songs from the game.

Because of this, we load the tracks in memory now reading directly from a buffer. (Luckily miniaudio makes this really easy to tack onto the existing pipeline)

Another additional change had to be made with manual loading of sounds. If we want to store a sound ID and track it ourselves, we are now required to specify it's a sound effect to prevent it from getting read as a resource pack item.

This PR adds the ability for BGM tracks to be encrypted away inside the PGE resource pack system such that it will be more difficult for users to extract the songs from the game. Because of this, we load the tracks in memory now reading directly from a buffer. (Luckily miniaudio makes this really easy to tack onto the existing pipeline) Another additional change had to be made with manual loading of sounds. If we want to store a sound ID and track it ourselves, we are now required to specify it's a sound effect to prevent it from getting read as a resource pack item.
sigonasr2 added the
enhancement
label 2024-09-13 12:09:34 -05:00
sigonasr2 self-assigned this 2024-09-13 12:09:34 -05:00
sigonasr2 added 2 commits 2024-09-13 12:09:35 -05:00
sigonasr2 merged commit ce1caabc90 into master 2024-09-13 12:10:04 -05:00
sigonasr2 deleted branch audio-buffer-through-resource-pack 2024-09-13 12:10:04 -05:00
Author
Owner

As an addendum, how to accomplish this came from https://github.com/mackron/miniaudio/discussions/426

As an addendum, how to accomplish this came from https://github.com/mackron/miniaudio/discussions/426
Sign in to join this conversation.
No description provided.