[RELEASE] MEMAE: MUGEN Extraction Machine and Executor

  • Thread starter Deleted User
  • Start date
  • Views 4,955
  • 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
  • Veho @ Veho:
    Oh God no :ohnoes:
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pineapple is the safe word?
  • Psionic Roshambo @ Psionic Roshambo:
    But you said pine apple...
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
    BigOnYa @ BigOnYa: Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog: