NOTE: I'm still relatively new to this forum. If you are a moderator and believe this thread should be moved elsewhere, feel free to do so, though I would appreciate it if informed.
What is this?
The MUGEN Extraction Machine and Executor is a short Python script that extracts all characters/stages in a directory to their respective MUGEN folders, updates the select.def file, then runs MUGEN. I made it because I was tired of having to extract assets and edit the select.def file by hand, and figured the process could be better automated using a scripting language like Python.
How do I use this?
You will need Python 3 installed. Python 2 won't work.
Clone the repository (using "git clone https://github.com/BEPISMAN2/MEMAE.git", or just download it as a zip and extract it). Make a folder called "install", and in that folder, create two more folders, "chars" and "stages". More on these later.
Edit the config.json. You will see something along the lines of this:
"mugen-install" : "path/to/your/mugen/install",
"empty-space" : "randomselect"
Replace "path/to/your/mugen/install" with, well, the path to your MUGEN install (excluding the .exe). Be sure to replace all backward-slashes ("\") with double-backward-slashes ("\\"), or else the script may turn up errors. Replace "randomselect" with whatever keyword your select.def file uses to denote an empty/vacant slot in the character select screen. Save these changes to config.json.
Once the configuration is set up, whenever you want to install characters and/or stages, first extract them to the appropriate folders. You will put your character files in chars (make sure characters are separated into separate folders or zip files), and your stage files in "stages" (you can keep them organized as you like for this folder).
Once that's done, open up a Command Prompt/PowerShell, navigate to the directory where you put MEMAE, then run:
This will automatically move these files to your MUGEN install. Once the installation is done, MEMAE will run MUGEN for you.
MEMAE can also be useful for character creators. By creating a memae.json file in a character's directory, one can edit the stage, theme, and order of the character when it's being extracted by MEMAE.
"line" : "kfm, randomselect, order=3"
If you encounter bugs in the program, feel free to create an issue on GitHub, or post about it either here on the MFG or on the GBATemp thread.
Anyways, hope y'all enjoy~