05-12-2025, 07:38 PM
I made tool for extracting sprite from Mugen Fighting Game Engine.
Mugen use file SFF format to store the sprites.
Mugen engine put the characters in chars directory.
This tool can view the sprites and export it as individual PNG image or a big Atlas (Sprite Sheet) that include the data (sprite coordinate, sprite width height) in CSV.
Feature:
- Auto animation
- Browse and zoom with mouse scroll
- Load additional palette (*.act)
- Export sprites as PNG images
- Export sprites as Sprite Sheet
- Export sprites data as CSV text
- View Sprite Statistic
- Register SFF handler (for Windows OS)
- Auto resize image preview
- Atlas loader in Love2D
Download: Mugen Sprite Viewer (for Windows)
Usage:
1. Download the tool
2. Run once.
3. Select (double click SFF file from windows explorer)
Mugen Resource:
Note:
If it is permissible, then it's best that you obtain the MUGEN asset author's permission to post any sheets before you decide to do so
After extracting sprite (Export as Sprite Atlas), it will generate 3 file:
- main.lua
- sprite_atlas_charname.csv
- sprite_atlas_charname.png
Then you can load that sprite sheet and animate it using Love2D Lua Engine by calling in command prompt:
Code:
love .