SH
Star Havenbates64
How to do adaptive music
Here's how to change BGM track volumes dynamically in response to gameplay.
call
bgm_set_track_volumes
with the music player (probably 0
) and an enum MusicTrackVols, which maps to data in snd_song_get_track_volumes_set
the specified tracks will fade to the specified volumes over 48 ticks
use snd_song_clear_track_volumes
with the same arguments to undo
to use a custom struct without modifying the enum and snd func, you can call this private func directly au_bgm_set_track_volumes(bgmPlayer, trackVols, FALSE)
example: jan_02_1_music.c calls an api func that eventually uses the following track volume data
ShyBlookster137•143d ago
random alex tech
I dig it
bates64•143d ago
more directly
The community of modders, and reverse-engineers crafting new Paper Mario romhacks!
17KMembers
View on DiscordWant results from more Discord servers?
More PostsProblem with Star RodI've posted this on #modding, but I'm gonna post it here so more people can see it and help.
I trieCustom MusicHow do I add custom music? I've seen a tutorial on youtube using n64miditool and a guy that said thaStar Rod Helphow do i Change enemies HPStar RodI need help With This ErrorBook of Mario romhack helpHello! I recently purchased an ED64 Plus and tried booting Book of Mario, but I’m getting this pop uNeed help pleaseI’m on dolphin emulator trying to download the infinite pit mod for ttyd and I want to use a gci folFailed to create shader SpriteShader nullI get this error whenever I try to open the sprite editor in Star Rod. I'll post the log in a bit.Adding new Debuff - Frozen status issue #1 of 2Hello, I'm resurfacing this issue when enabling Frozen Status for enemies
adding this code enables