audio-buffer-through-resource-pack #65

Merged
sigonasr2 merged 2 commits from audio-buffer-through-resource-pack into master 2 months ago
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 2 months ago
sigonasr2 self-assigned this 2 months ago
sigonasr2 added 2 commits 2 months ago
sigonasr2 merged commit ce1caabc90 into master 2 months ago
sigonasr2 deleted branch audio-buffer-through-resource-pack 2 months ago
Poster
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
The pull request has been merged as ce1caabc90.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: sigonasr2/AdventuresInLestoria#65
Loading…
There is no content yet.