Multi-PokemonFramework icon indicating copy to clipboard operation
Multi-PokemonFramework copied to clipboard

[X/Y] Music Modifier - Broken Loops

Open FrostedGeulleisia opened this issue 10 months ago • 1 comments

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"},

FrostedGeulleisia avatar Jan 23 '25 03:01 FrostedGeulleisia

Do you have a video or audio demonstrating this?

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"},

I'll take a look into that.

biometrix76 avatar Aug 15 '25 02:08 biometrix76