Skip to content

[X/Y] Music Modifier - Broken Loops #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FrostedGeulleisia opened this issue Jan 23, 2025 · 0 comments
Open

[X/Y] Music Modifier - Broken Loops #19

FrostedGeulleisia opened this issue Jan 23, 2025 · 0 comments

Comments

@FrostedGeulleisia
Copy link

When using the Music Modifier codes in X/Y. The desired track will play. albeit with a broken loop. This might have something to do with replacing what audio file bgm_xy_bicycle, bgm_xy_vs_norapoke and bgm_xy_vs_trainer point to, (I suspect this's the case due to the loop points breaking in different ways depending on which of the three tracks I replace with the plugin) instead of directly changing what audio track gets called by the appropriate event. While this approach works fine enough in OR/AS, S/M and US/UM due to their use of the BCSTM format, which contains the loop point within the file itself, X/Y has no such luxury. The AAC format doesn't allow for storing the loop point, thus, Game Freak decided to embed each track's "loop start" and "loop end" parameters in xy_sound.bcsar.
So far, I've been unable to find a potential fix that could be implemented without hardcoding the loop points to swap around (which while fine for the vanilla game, would break any sound mods).

Also, in the X/Y music lookup, there's a typo that prevents you from selecting Lysandre's battle theme {"bgm_xy_vs_flarebgm_xy_vs_flare_boss"},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant