Skip to content

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

@FrostedGeulleisia

Description

@FrostedGeulleisia

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions