[RELEASE] MEMAE: MUGEN Extraction Machine and Executor

  • Thread starter Deleted User
  • Start date
  • Views 4,887
  • Replies 0
D

Deleted User

Guest
OP

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:
Code:
{
    "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:
Code:
python .\memae.py

This will automatically move these files to your MUGEN install. Once the installation is done, MEMAE will run MUGEN for you.

Per-Character Configuration
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.

Example:
Code:
{
    "line" : "kfm, randomselect, order=3"
}

Bugs?
If you encounter bugs in the program, feel free to create an issue on GitHub, or post about it either here on the GBATemp or on the MFG thread.

Anyways, hope y'all enjoy~
 
Last edited by ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/a93F-EEw6HM?si=tUXuLXhXiWUsmIIv