- Images
ONLY TESTED WITH MUGEN 1.0
Here's a little edit I did of Inktrebuchet, Zeak6464 & Chickenbone's Random AI Battles .bat file I did about, err -- four or five years ago give or take???
I somehow got myself to learn Windows Cmd just to make it, and now I can't remember anything for the life of me, lol.
Anyways, this is a small and straightforward edit of it that adds the ability to do simul teams (based on chance) and choose random palettes for each fighter. You can modify how common simul teams are by opening the file in a text editor and locating the option for it, it's around the top.
Note that I will not be able to add turns teams into this, as that isn't a feature when executing the engine through commandline.
Basically all it does is when opening the .bat, reads through your chars folder and assumes the folder structuring is comprised of a character per folder, nothing fancy. It will write each folder name to a txt so it can refer to them later (can't save temporary things through Windows Cmd). It does the same for stages, except it only looks for files with the .def extension in the stages folder, saving a txt for them as well.
Once it's done with that process, it will execute random battles by referring to the names written down in the txts. When executing the engine through commandline, it will close once the fight is over, so it will start another random battle whenever the engine closes. It will keep starting random battles until you close the commandline window.
The only real limitation there was is that Cmd's only option for randomness is only psuedorandom, so you may get repeated results (while still being unpredictable, like you may get a character more often than others sometimes). I haven't encountered any problems myself with a big roster, however, Though a lot of characters never get chosen, and only once in a blue moon do.
Since the programming is assuming the character folders are the same as their .def names, you may want to duplicate any characters with .defs for additional modes if needed.
Also worth mentioning is that characters with irregular letters or symbols in their folder names may not appear in the generated fighter list, and may even cause the program to close when it first processes everything. Oddly, it will still count them, but they will be removed from the txt itself. To resolve it is a really annoying process of elimination. I do know that symbols such as ()'s can cause them to not appear in the list, so any characters with them in their folder/.def names you will have to rename if you want them to appear. Underscores, dashes and pluses are fine, however, this seems to be a weird Cmd thing with no actual fix unless I migrate it to something else.
Some character's folders can even cause them to not appear in the list as well, and I have no idea why. For instance, Ikaruga's and Descolor's characters did not appear until I put the character files themselves into a fresh new folder. Weird.
I do eventually plan on migrating this into it's own standalone program one day, with additional features like detecting assist type characters (SadAssist, Funny Assist, etc) and pairing them up as a teammate based on user defined chance.
With all that out of the way, I hope y'all enjoy!
Here's a little edit I did of Inktrebuchet, Zeak6464 & Chickenbone's Random AI Battles .bat file I did about, err -- four or five years ago give or take???
I somehow got myself to learn Windows Cmd just to make it, and now I can't remember anything for the life of me, lol.
Anyways, this is a small and straightforward edit of it that adds the ability to do simul teams (based on chance) and choose random palettes for each fighter. You can modify how common simul teams are by opening the file in a text editor and locating the option for it, it's around the top.
Note that I will not be able to add turns teams into this, as that isn't a feature when executing the engine through commandline.
Basically all it does is when opening the .bat, reads through your chars folder and assumes the folder structuring is comprised of a character per folder, nothing fancy. It will write each folder name to a txt so it can refer to them later (can't save temporary things through Windows Cmd). It does the same for stages, except it only looks for files with the .def extension in the stages folder, saving a txt for them as well.
Once it's done with that process, it will execute random battles by referring to the names written down in the txts. When executing the engine through commandline, it will close once the fight is over, so it will start another random battle whenever the engine closes. It will keep starting random battles until you close the commandline window.
The only real limitation there was is that Cmd's only option for randomness is only psuedorandom, so you may get repeated results (while still being unpredictable, like you may get a character more often than others sometimes). I haven't encountered any problems myself with a big roster, however, Though a lot of characters never get chosen, and only once in a blue moon do.
Since the programming is assuming the character folders are the same as their .def names, you may want to duplicate any characters with .defs for additional modes if needed.
Also worth mentioning is that characters with irregular letters or symbols in their folder names may not appear in the generated fighter list, and may even cause the program to close when it first processes everything. Oddly, it will still count them, but they will be removed from the txt itself. To resolve it is a really annoying process of elimination. I do know that symbols such as ()'s can cause them to not appear in the list, so any characters with them in their folder/.def names you will have to rename if you want them to appear. Underscores, dashes and pluses are fine, however, this seems to be a weird Cmd thing with no actual fix unless I migrate it to something else.
Some character's folders can even cause them to not appear in the list as well, and I have no idea why. For instance, Ikaruga's and Descolor's characters did not appear until I put the character files themselves into a fresh new folder. Weird.
I do eventually plan on migrating this into it's own standalone program one day, with additional features like detecting assist type characters (SadAssist, Funny Assist, etc) and pairing them up as a teammate based on user defined chance.
With all that out of the way, I hope y'all enjoy!