Victory BGM Plugin for MZ?

I'm using Yanfly's Victory Aftermath as of now, but I don't like how the results are done. However, I wanted to have it so the Victory theme isn't an ME sound file, but a BGM soundfile. Is there a plugin that does this?

If this helps, I'm also using the FOSSIL Plugin.
Copy whichever BGM you want to use into the ME folder and select it normally?
Copy whichever BGM you want to use into the ME folder and select it normally?
Then it only plays once, and keeps playing till the whole song has played, even when you leave the victory scene straight away.
Sorry I didn't mention this in the original post, but I wanted the victory sound to loop like a BGM sound file.
You can copy the below into a text editor, save as a *.js file, include as a plugin:

Code:
BattleManager.playVictoryMe = function() {
    AudioManager.playBgm($gameSystem.victoryMe());
};

You'll have to have two files with the same name in your me and bgm folders, one that you select in the database as an ME (which can be an empty file) and the other that actually plays.

This may not be compatible with any aftermath-style plugin you end up using.
You can copy the below into a text editor, save as a *.js file, include as a plugin:

Code:
BattleManager.playVictoryMe = function() {
    AudioManager.playBgm($gameSystem.victoryMe());
};

You'll have to have two files with the same name in your me and bgm folders, one that you select in the database as an ME (which can be an empty file) and the other that actually plays.

This may not be compatible with any aftermath-style plugin you end up using.

I tried it and it doesn't seem to be working. I have the sound file as the same under both the me and bgm. I think I could program the BGM to play in the troops section, but I'd have to do it for everyone.
Not if you use a base troop event plugin. You'd also have to use Hime's End Phase Triggers to make that method work.
I tried it and it doesn't seem to be working. I have the sound file as the same under both the me and bgm. I think I could program the BGM to play in the troops section, but I'd have to do it for everyone.
Maybe I understand your intention wrong, but if you would use troop event to change the Victory ME into Victory BGM, than you'd still need a script call or plugin.

Or do you mean changing the troop section in the .js files? Because, that would mean you have some javascript knowledge, right?

If that is the case, then... You don't want to use VictoryAftermath because of how the victory scene is displayed, right? Wouldn't it be a lot more efficient if you, instead of changing the troop event, change the aftermath plugin? If you indeed have javasript knowledge, that might be an easier way. Well, depending on what you want to change about the victory scene.
Building on Turan's idea, maybe (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MZ
 * @plugindesc Play victory ME as a BGM.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/169628/
 * @help Free to use and/or modify for any project, no credit required.
 */
void (() => {
'use strict';

  /** To avoid interrupting victory BGM. */
  const PROP = "_skipReplayBgmAndBgs";

  /** Store original methods for patching. */
  const alias = Object.freeze({
    initMembers: BattleManager.initMembers,
    processVictory: BattleManager.processVictory,
    replayBgmAndBgs: BattleManager.replayBgmAndBgs,
    terminate: Scene_Battle.prototype.terminate
  });

  // Patch - initialise skip-flag.
  BattleManager.initMembers = function() {
    alias.initMembers.apply(this, arguments);
    this[PROP] = false;
  };

  // Patch - skip next "replay BGM & BGS".
  BattleManager.processVictory = function() {
    this[PROP] = true;
    alias.processVictory.apply(this, arguments);
  };

  // Patch - skip if flagged, reset flag on skip.
  BattleManager.replayBgmAndBgs = function() {
    if (this[PROP])
      this[PROP] = false;
    else
      alias.replayBgmAndBgs.apply(this, arguments);
  };

  // Patch - replay BGM & BGS when battle scene ends.
  Scene_Battle.prototype.terminate = function() {
    BattleManager.replayBgmAndBgs();
    alias.terminate.apply(this, arguments);
  };

  // Override - swap `playMe` for `playBgs`.
  BattleManager.playVictoryMe = function() {
    // Must exist under `audio/me` for selection in editor;
    // Must exist under `audio/bgm` to play in-game.
    AudioManager.playBgm($gameSystem.victoryMe());
  };

})();
I AM SO SO SORRY FOR THE LATE RESPONSE BUT THIS WORKS! THANK YOU SO MUCH

XDDDD

Original thread: https://forums.rpgmakerweb.com/threads/victory-bgm-plugin-for-mz.169628/