Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GitHub marketplace

English · Português (BR)

Install characters, stages and music straight from any public GitHub repository. Open Mercado GitHub in the main menu.

Quick start

  1. Press U (or click + Adicionar) and paste a link: https://github.com/owner/repo, owner/repo, or a folder link such as https://github.com/owner/repo/tree/main/mugen.
  2. The game reads the repository tree and lists what it finds.
  3. Mark items (Space, click, or Todos) and press Instalar (I). Downloads run in parallel with a progress bar.
  4. Installed items are active right away. Use Ativar (E) and Desativar (O) on any selection, including bulk selections, or Remover (X) to delete them from the device.

Everything is stored locally, so the repository list, the installed items and their on/off state are still there next time.

Browsing: list, grid, formats and outdated items

  • List and grid. The Lista / Grade switch (V, or the gamepad aux button) toggles a dense list and a grid of cards with a portrait, and is remembered. In both, a tap or click marks an item and dragging scrolls (touch friendly); the mouse wheel, PageUp/PageDown and the arrow keys scroll too.
  • MUGEN and UMF badges. Every character, stage and pack shows its format. A pack is UMF when its path or name says so (umf/ folder, *_UMF.zip); everything else is MUGEN. The same fighter can exist in both formats: they are never merged, each variant keeps its own badge, state and download, and variants of one fighter are sorted next to each other (Goku_SS4 and Goku_SSJ4_UMF count as one fighter).
  • Outdated items. An installed item whose repository version (hash of file paths and shas, see above) differs from the one installed is marked DESATUALIZADO and outlined in orange. The listing then re-downloads it automatically, and Instalar does it on demand.
  • Filters. Type (F), format Todos/MUGEN/UMF (J) and Desatualizados (P) combine with the Explorar/Instalados tabs (Tab).
  • Pack vs character. A zip's kind comes from its contents (read via HTTP Range, never the whole file): one fighter shows CHARACTER, several show PACK · N and the footer lists them (Contém (N): ...). Filter Not installed (K) hides what you already have.
  • Batch actions. Install all (Z), Update all (Y) and Remove all (B) respect the active filters; removal asks for confirmation and progress is shown in the footer.
  • Portraits. Cards show the preview image of the item: a PNG in a previews/, portraits/ or thumbs/ folder with the same name as the item (previews/umf/Goku_SSJ4_UMF.png for umf/Goku_SSJ4_UMF.zip). Only visible cards are fetched (3 at a time, from raw.githubusercontent.com), downscaled to at most 240 px wide, kept in an in-memory cache of 48 portraits and, on desktop, on disk next to the listing by blob sha. Items without a preview show their initials.

Suggested repositories

Only juninmd/ultimate-mugen is in the in-game suggestion list (SUGGESTED in src/market.rs). The other row is a reference: the links open each folder on GitHub. To add it in the marketplace, type owner/repo.

What is detected

KindRuleInstalled files
Characterfolder with a .def plus .sff, .air and .cns/.cmd in its treethe whole folder, plus files declared in [Files] that live elsewhere in the repository
Stage.def with a same-name .sff, or any .def under a stages/ folderthe stage files, its spr sprite file and its bgmusic file
Music.ogg, .mp3, .flac, .wav (wav under 32 KB is ignored as a sound effect)the audio file
Pack.zipthe archive, unpacked in memory like a manual import

Screenpack files (system.def, select.def, fight.def, ...) are never treated as stages or characters. Files inside hidden folders (.git, .github) are skipped.

Active music tracks play as the fight BGM in rotation whenever the stage has no music of its own. A M.U.G.E.N stage with bgmusic keeps its own track.

Where data lives

PlatformState and downloads
Linux$XDG_DATA_HOME/ultimate-mugen/market (default ~/.local/share/ultimate-mugen/market)
macOS~/Library/Application Support/ultimate-mugen/market
Windows%APPDATA%\ultimate-mugen\market
Androidapp internal storage, market/
WebIndexedDB database ultimate-mugen-market

Set UME_MARKET_HOME to move the folder on desktop. Each installed item is a single bundle file; the list of repositories, the installed items, the ETag of each listing and the optional token are in state.json. Bundle file names are percent-encoded with lowercase letters only, so items and folders whose names differ just in letter case never share a file on Windows or macOS.

Rate limits, token and caching

The listing uses the GitHub API (60 requests per hour without a token) and file downloads use raw.githubusercontent.com, which is not limited the same way. Listings send the saved ETag, so an unchanged repository answers 304 and is served from the local cache. A repository is refreshed when you open it if the cache is older than 10 minutes, or on demand with R.

Automatic updates

Every listing entry keeps the Git blob sha of each file. An item's version is a hash of its file paths and shas, saved with the installed item. While the game runs (and at startup) each repository that has installed items is re-listed every 10 minutes; any installed item whose version differs from the repository is downloaded again, and only that item. Updated items keep their active or inactive state. Downloads add ?v=<sha> so a fresh push is never served from the raw.githubusercontent.com cache. Items installed before versions existed are reinstalled once.

To raise the API limit press T and paste a personal access token (no scopes needed for public repositories), or set UME_GITHUB_TOKEN / GITHUB_TOKEN on desktop. The token is only ever sent to api.github.com.

Safety limits

  • Only https links to github.com, api.github.com, raw.githubusercontent.com, media.githubusercontent.com and codeload.github.com are fetched. Redirects to other hosts are blocked.
  • Paths coming from a repository are validated: no .., absolute paths, backslashes, drive letters, control characters, leading spaces or Windows reserved device names (CON, PRN, AUX, NUL, COM1-9, LPT1-9). Unsafe entries are dropped from the listing.
  • Limits: 64 MB per file, 256 MB and 4000 files per item, 48 MB for the listing. Items above the limits are shown as "grande demais" and cannot be installed.
  • Content never runs as code. Characters are loaded by the same sandboxed parsers as manual imports.
  • Respect each author's license. Installing from a repository is a download, not a redistribution right.

Platform notes

PlatformAdding a repository
Desktoptype in the game (paste is not available in the game window; type owner/repo)
Web and phone browserthe browser's own prompt, with paste

Community roster of M.U.G.E.N characters. Paste a folder link in Mercado GitHub (U) to install a single character.

KindLink
Repositoryzinclee123/mugen_chars
CharactersHinako · K' · Lin · MasterRyu · Rugal2nd · kusanagi-XIII
Stagesnone in the repository
Musicnone in the repository
Packsnone installable (the .rar in the repository is not a marketplace pack)

98-kim and yujiro are AI patches without sprites: they are not listed as characters and need the original fighter installed first. MasterRyu holds four fighters (Ryu, NormalRyu, EvilRyu, MasterRyu) in one folder, so all four appear after installing it.

Smoke test results and evidence: docs/evidence/mugen-chars-smoke.