-
Notifications
You must be signed in to change notification settings - Fork 52
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
[ FF7 ] Externally set music ids in config.toml does not play on certain enemy formations using FFNx v1.20.0.0 and later #738
Comments
Please enable |
I got the logs going into the Demon Gate boss fight with trace_music on from both 1.19.1.0 and 1.20.2.0 with only the music mod enabled in 7H. And yeah, in the game itself both produced a different result, the old version loaded the new music file while the newer version went to the default boss music. One of the differences in that in the new version instead of detecting the battle id it just went "WARNING: play_music: Unknown battle_id" |
Can you please provide a save file and how to repro it so I can quickly test the fix? Thank you in advance |
I compiled some relevant saves into one group for testing. Should appear in the last save group. https://drive.google.com/file/d/1OMv9u633GzI9FFTsOfWtWpbXsFsJPZtf/view?usp=drive_link First slot is just outside of Gongaga for the Turks battle. Second is just before Demon Gate, just head to the rightmost door and then past the clock room. Third is just outside Midgar Tunnels going into another Turks battle and the last slot is a world map save just outside Gold Saucer for the Ruby Weapon fight. Current behavior appears to be that interior field battles have problems with perhaps the battle_id at least on the music side while world map battles like the Ruby Weapon fight and Midgar Zolom still work. |
Thanks for sharing them, however your link says I'm unauthorized therefore I am not able to download them. Can you please upload them here as a zip file using the upload function of Github? |
Ah, lemme change that to public and attach as zip for good measure. And I guess the mod link was also not public but the link should be ok now. |
Feel free to try the latest canary, should be working fine now. Thanks a lot for reporting this bug :) Appreciated |
Thanks! Things are working great now. Now I return to making flevel.lgp edits for more scripted music cues. |
Describe the bug:
It seems on FFNx v1.20.0.0 and above (as of this writing), external modded music files set to run using config.toml in the mod's external music path does not seem to play the set music file on certain battles. Perplexingly, only certain battles do not load the new music files while other battles still play correctly. Also, this bug does not occur on FFNx v1.19.1.0 down to v1.18.1.0 which is the last I tested. On the other hand, I have tested all public builds that are newer than those and the bug is present.
In the .IRO mod that I'm using, new music ids are set via mod.xml and new music is set to play using the specific enemy formation id and the shuffle function. Here's an example of what one looks like in config.toml:
In this case "bat_644" refers to FF7's enemy formation id 644 which is the Demon Gates boss fight and the 'demongates' id is a new referenced file that is set and linked in mod.xml.
To Reproduce:
Expected Behavior:
Since this specific battle is set in the mod to play a different music file, it should play the new file rather than the generic boss fight theme. The music plays correctly on previous versions of FFNx.
Actual Behavior:
On FFNx v1.20.x.x, instead of the specified new music track, it only plays the original boss theme which is the music ID "chu". Since the music mod also changes the file referenced in "chu", the track that plays is the modded version of "chu".
Additional context:
I have not tested this bug extensively but the problem occurs in different battles as well. I have tested and confirmed on my end that the bug occurs in the Turks battle in Gongaga [bat_539], and Turks battle in Sector 8 tunnel [bat_840]. However, the new music still works on other battles like the Midgar Zolom [bat_469] and [bat_470]. And to reiterate again, the music bug does not occur in v1.19.1.0 prior.
EDIT: I have a suspicion that its the battles loaded while in an interior field through in-game scripting and random battles in-field that are problematic. It seems world map random battles and encounters like the Midgar Zolom can get their music replaced with no problems.
Here is a link to the music mod: WIP link removed since issue is now fixed
If anyone needs a FF7 PC save file which can go to certain battles quickly, just ask me I'll upload one.
GPU:
The text was updated successfully, but these errors were encountered: