YesNoOk
avatar

Contents and Files (Read 2976 times)

Started by Just No Point, September 08, 2015, 06:13:36 pm
Share this topic:
Contents and Files
New #1  September 08, 2015, 06:13:36 pm
  • ******
    • www.justnopoint.com/
File List

File or directory   Purpose
mugen.exe   The main M.U.G.E.N executable
chars/   Directory containing character files
data/mugen.cfg   Preferences and settings (text file)
data/select.def   Character and stage config (text file)
data/ other files   Motif files
docs/   Documentation
font/   Directory containing font files
old_tools/   Tools from older versions of M.U.G.E.N
sound/   Directory containing music files
stages/   Directory containing stage files


Global File Types

Files with these extensions can be found in various subdirectories in the M.U.G.E.N directory.
File extension   Type
air   Animations (text)
def   Definition file -- has various uses depending on the filename (text)
fnt   Font file -- old version; new font files are a pair of .fnt and .sff
sff   Sprite file
snd   Sound file


Character Files

Character files are located as subdirectories in the chars/ directory. The files may be named differently for different characters.
Example file   Type
player.air   Animations (text)
player.cmd   Character commands and move definitions (text)
player.cns   Character states and behavior (text)
player.def   Basic info and filenames of files used by the character (text)
player.sff   Character sprites
player.snd   Character sounds


Motif Files

Motifs are located as subdirectories in the data/ directory.
File   Type
common1.cns   Behavior information common to all characters (text)
common1.snd   Sound effects that all characters can access
fight.def   Defines the look and feel of the fight screen, i.e. lifebars, etc (text)
fight.sff   Sprites used in the fight screen
fight.snd   Sounds used in the fight screen
fightfx.air   Animation data for in-fight effects, such as hit sparks
fightfx.sff   Sprite data for in-fight effects
select.def   Defines what characters and stages are included in the game
system.def   Defines the look of the system screens, such as title and character select screen
system.sff   Sprites used for the system screens
system.snd   Sounds used for the system screens


Not sure if there is anything to actually discuss or question about this but just in case.
To note you can rename any file extension to whatever you want. Beside the .def I believe.
Last Edit: September 18, 2015, 02:57:40 pm by Just No Point
Re: Contents and Files
#2  September 08, 2015, 09:28:24 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
Just to be a bit more verbose about FNFv2. The actual result is a .def and .sff or .ttf file. Maybe this info would go in a different section though. I'm not sure.

-[Все слова это только слова.]-
Re: Contents and Files
#3  September 08, 2015, 09:34:58 pm
  • ******
    • www.justnopoint.com/
I was going to tag you and tell you that if you still wanted to update any of your MUGEN Docs that this board will hopefully be a good resource if it takes off.
I just moved on to something else and forgot to tag you =p

But pardon my ignorance but FNFv2?
Re: Contents and Files
#4  September 08, 2015, 10:52:01 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
I was going to tag you and tell you that if you still wanted to update any of your MUGEN Docs that this board will hopefully be a good resource if it takes off.
I just moved on to something else and forgot to tag you =p

But pardon my ignorance but FNFv2?

No worries. I'll see where this goes. If it goes well, then there's no need for two things, right?

FNTv2, lol. I'm referring to the second version of FNT fonts used in Mugen 1.0+. Stupid typos.

-[Все слова это только слова.]-
Re: Contents and Files
#5  September 08, 2015, 10:56:44 pm
  • ******
    • www.justnopoint.com/
It didn't help since I forgot that they made a V2 of the FNT haha
Re: Contents and Files
#6  September 08, 2015, 11:18:24 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com

-[Все слова это только слова.]-
Re: Contents and Files
#7  September 09, 2015, 08:15:51 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Something to mention. The .cmd extension for command files. Not a problem when mugen first came out, everyone used .BAT instead, or .COM. But now .CMD is used as part of the OS and is one of the ways people do limited batch scripting. Because of this, there have been mentions of things like the windows restore stripping .CMD files out of the system when it occurs. Possibly as an anti virus/malware thing. We should be moving to a new extension for these files to A: Make them text rather than something you have to right click to look at and B: To prevent them getting wiped.

As most of the extensions are pretty arbitrary and mugen and FF both look at what the file is within the .def in order to define it, you could simply make up your own standard.

I'm using a .CYD file now, I can't find that as an extension for anything that might attempt to use it.

Many people also split state and CNS up. Traditionally something.CNS is for the constants. Files with attacks and actions in have often been set up as File.ST for states.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.