IKEMEN GO Movelist.dat Generator (Read 1566 times)

Started by SuperFromND, January 16, 2021, 02:56:32 AM
Share this topic:
IKEMEN GO Movelist.dat Generator
#1  January 16, 2021, 02:56:32 AM
  • *
  • Super
    • USA
In most modern fighting games, there's a feature that allows you to see what the command inputs for a given character's moves are.  This is meant to be a quality-of-life feature, to help out newer players with remembering how to use special moves.

IKEMEN GO added this feature using a movelist file, named movelist.dat.  This file contains a list of special and super moves, along with their command inputs, and some miscellaneous formatting data.  I think it's especially useful for IKEMEN, since by it's nature you're constantly switching between different fighting game styles.

However, since this feature didn't exist in MUGEN, and since IKEMEN GO is still relatively new and not-yet-widely adopted, almost no characters include such a file by default.  Because of this, I wanted to try and make a tool that can generate these kinds of files.  My tool attempts to read a character's existing .cmd file, figure out what moves have what commands, and then generate a movelist.dat file with those commands.

Here's a step-by-step guide on how to use the generator:
  • Open the generator.  The link is at the bottom of this post.
  • Find a character's .cmd file.  Usually it's in the same directory as the .def file, but it might also be in a "code" subdirectory.
  • Open the file, and press Ctrl-A to select all of it's contents, and then either Ctrl-C or Ctrl-X to copy it.
  • Click the green ".cmd Contents" textfield and hit Ctrl-V to paste the contents of the .cmd file.  The generator will run as soon as you do this.
  • When the generator is done, you can click the Download as .dat button to download the generated file.  I'd recommend placing it in the same directory as the .cmd file.
  • To see the movelist.dat file in IKEMEN, you'll need to add "movelist = movelist.dat" to the character's .def file, under the [Files] section.  Adjust the value if movelist.dat is in a subdirectory.

Since MUGEN/IKEMEN content is extremely variable, I've included many options to tweak to help with getting the generated file you want.  The page already includes basic descriptions of what each option does, but I think it's worth going into a bit more detail here.

Remove AI Commands
Removes any move that contains the word "AI" in the name.
Custom AIs in the winMUGEN typically require the character author to duplicate state controllers in the .cmd file, with AI-specific moves (for example, "press X twenty times in the span of two frames", which is physically and technically impossible for a human to do.)  Modern characters don't need such a move (thanks to the AiLevel trigger, among other methods), and are already filtered out by default.

Remove One-Button Commands
Removes any move that only takes one button input to activate.
This is intended to filter out normals, which only require one button press.  Some characters actually do use single buttons to activate specials and supers (as an example, four-button characters that dedicate C and Z to supers).

Annotate Palette Requirements
Adds a "requires ##p" string to moves with a PalNo trigger.
This is particularly useful to many-in-one type characters whose movesets change completely depending on the palette you select.  This string is given a unique color (defaulting to #8080FF), which can be specified in the "Color Options" section.

Compress Motions
Compresses certain combinations of directional motions into single glyphs.
Along with normal directions, IKEMEN GO also includes a lot of dedicated glyphs for common directional motions (quarter-circles, half circles, full circles, Z motions, etc). This should really only be disabled if your character has an unorthodox directional motion (such as the SF2 Tiger Knee motion's tilted half-circle) or for stylistic reasons (like for Mortal Kombat characters).

Use Comment-Based Move Names
Names moves according to a commented line placed above the state controller header.
This applies to a large portion of MUGEN content (and is encouraged by programs like Fighter Factory).  If no comment is found (or if this option is disabled), the generator will use whatever name is in the state controller header itself.  If there isn't a name there either, it'll default to "Unknown Move".

Debug Console Logging
Disabled by default for performance reasons.  There's not much reason to enable this unless you're debugging, or just want a peek at the generator's logs.

The IKEMEN GO Github wiki has more info on the movelist.dat specifications:

Wish List
This is a list of features I'd personally like to add to this tool in the future.  None of these are guaranteed to be implemented, just my personal wants.

  • The ability to auto-denote air/EX moves
  • Reading "commented-move-name" names for moves (which accounts for quite a lot of MUGEN characters) Added 2/12/2021!
  • Better merging of multiple, similar commands (the current implementation is pretty dicey and prone to "?" symbols)
  • A "Preview Move Display" section
  • A command-line version of the tool, for easy batch-processing

The Tool
The tool can be found here:
Never stop trying.  Never stop creating.
I.K.E.M.E.N. GO Movelist.dat Generator Tool
Last Edit: February 12, 2021, 08:37:22 PM by SuperFromND
Re: IKEMEN GO Movelist.dat Generator
#2  January 16, 2021, 09:04:27 PM
  • avatar
  • ****
  • For me, it was Tuesday...
    • Canada
This sounds like a potentially huge timesaver, I only messed around with making some of the command lists for a few characters, but got demotivated to continue making them just because it can be quite time consuming. I'll definitely give this one a shot, seems like a really nice tool to have, thanks for this, hopefully you can just continue on improving upon it!
Re: IKEMEN GO Movelist.dat Generator
#3  February 12, 2021, 08:39:24 PM
  • *
  • Super
    • USA
Tool's just been updated!  Here's everything that's changed:

  • Added support for comment-based move naming
  • Added support for held-down directional buttons
  • Improved merging of similar command inputs
  • Made debug console logging more verbose
  • Some miscellaneous CSS changes and mild optimization
Bug Fixes
  • Fixed erroneous detection of one-button moves that were longer than one input
  • Fixed a method of triggering false-positives on palette requirement detection
  • Fixed custom movetype header colors accidentally updating an empty generated movelist
  • Fixed potential oversight of the generator code not being ran as UTF-8

Same link as usual, .  If you've used the tool recently, you may need to clear the page cache to get the new features.  Enjoy!
Never stop trying.  Never stop creating.
I.K.E.M.E.N. GO Movelist.dat Generator Tool
Re: IKEMEN GO Movelist.dat Generator
#4  February 20, 2021, 05:39:50 AM
  • *
  • Super
    • USA
Minor update today!

  • Throws are now listed under a separate category (if there are any detected)
  • "Annotate Palette Requirements" now disabled by default

Nothing too substantial, but it's nice to have.
Never stop trying.  Never stop creating.
I.K.E.M.E.N. GO Movelist.dat Generator Tool
Re: IKEMEN GO Movelist.dat Generator
#5  February 23, 2021, 10:58:33 PM
  • ****
  • Stages & Screen Pack
  • Mugen Creator
    • USA
I wonder where is the Moderator. I know this is very important and I think this post should have its own Sticky :O