Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to extend the number of DirectSound tracks so your custom music doesn't cut off
- src: https://www.pokecommunity.com/showthread.php?p=7559059#post7559059
- Binary
- ------
- Replace any occurence of the hex sequence "00 C5 94 00" with "00 Cx 94 00"
- (x = new max. number of tracks)
- Different games support different maximum without adverse effects:
- game codes BPR*, BPG*, BPE* (Fire Red & Leaf Green, Emerald) = 12
- game codes AXV*, AXP* (Ruby & Sapphire) = 7
- Decomp
- ------
- Open the file src/m4a.c.
- Line 80 should contain the following: | (5 << SOUND_MODE_MAXCHN_SHIFT));
- (if not, just search for it)
- Replace the "5" with the new maximum number of tracks, see Binary section above for supported maximum numbers.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement