# The Mugen Fighters Guild Forum

## Help => Tips, Tricks, Tutorials => Topic started by: Kula Diamond on January 26, 2005, 04:27:59 AM

Title: Win Mugen and it's Clsn Errors
Post by: Kula Diamond on January 26, 2005, 04:27:59 AM

Trying to find out what you need to do to fix those nasty Clsns so that you can play that awesome character on Winmugen? Here's some tips from a retard so they should be even easier for you to understand. All of this code is in the .AIR file of the char.
Okay, let's look at the exampilary code (that means it's awesomely correct format)
Code:

    ;Move name or comment
    [Begin Action ZZZ]
    Clsn2Default: 2
     Clsn2[0] = X, X, X, X
     Clsn2[1] = X, X, X, X
    X,X, X,X, X
    X,X, X,X, X
    X,X, X,X, X

    Or maybe this:

    ;Another name or comment
    [Begin Action ZZZ]
    Clsn2: 1
     Clsn2[0] = X, X, X, X
    X,X, X,X, X
    Clsn1: 1
     Clsn1[0] = X, X, X, X
    Clsn2: 2
     Clsn2[0] = X, X, X, X
     Clsn2[1] = X, X, X, X
    X,X, X,X, X
    Clsn2: 1
     Clsn2[0] = X, X, X, X
    X,X, X,X, X

All of the "Z"s are the state number you need to know to find what you need to fix. All of those "X"s stand for numbers that you don't need to know anything about unless you want to program a new character. Those are states that Winmugen will read just fine.
Code:

    ;Another name or comment
    [Begin Action ZZZ]
    Clsn2: 1
     Clsn2[0] = X, X, X, X
    X,X, X,X, X
    Clsn1: 1
     Clsn1[0] = X, X, X, X
    *Clsn2:  *
     Clsn2[0] = X, X, X, X
     Clsn2[1] = X, X, X, X
    X,X, X,X, X
    Clsn2: 1
     Clsn2[0] = X, X, X, X
    X,X, X,X, X

Between the stars is the kind of mistake you need to look for. These are simple typos that DOS Mugen overlooks generally. Not WinMugen, to WinMugen, this sticks out like a sore thumb and prevents the character from being loaded.
Code:

    ;Another name or comment
    [Begin Action ZZZ]
    Clsn2: 1
     Clsn2[0] = X, X, X, X
    X,X, X,X, X
    Clsn1: 1
     Clsn1[0] = X, X, X, X
    Clsn2: 2
     Clsn2[0] = X, X, X, X
     Clsn2[1] = X, X, X, X
    X,X, X,X, X
    *Clsn2 = 1*
     Clsn2[0] = X, X, X, X
    X,X, X,X, X

Another kind of mistake. In that specific type of line, the "=" doesnt belong there. Insted of "Clsn2 = 1", you should have "Clsn2: 1" on that line.
Another thing is to look for common sense kinds of answers. like this for example:
Code:

    ;Another name or comment
    [Begin Action ZZZ]
    Clsn2: 1
     Clsn2[0] = X, X, X, X
    X,X, X,X, X
    Clsn1: 1
     Clsn1[0] = X, X, X, X
    Clsn2: 2*

    lsn2*[0][/b] = X, X, X, X
     Clsn2[1] = X, X, X, X
    X,X, X,X, X
    Clsn2: 1
     Clsn2[0] = X, X, X, X
    X,X, X,X, X

In this case, you need to fill the gap and put in a "C." This kind of thing is simple and easy to do once you have the hang of it. Adapting characters' AIR files to Winmugen is more like editing your homework than programming anything. Mind you, those are just examples of what was done wrong from my experience. There are many more things that those crazy authors may have done to their AIR files that are just as easy to spot and just as easy to fix.
I do hope that someone will catch anything that I left out, but alas, I think I got everything I know into this.
\/,,

Title: Re: Win Mugen and it's Clsn Errors
Post by: Byakko on January 26, 2005, 06:23:56 AM

Quote
Instead of "Clsn2 = 1", you should have "Clsn2: 1" on that line.
Will work even better.

Title: Re: Win Mugen and it's Clsn Errors
Post by: Insanius on January 26, 2005, 06:53:49 AM

Quote from: Byakko on January 26, 2005, 06:23:56 AM
Quote
Instead of "Clsn2 = 1", you should have "Clsn2: 3" on that line.
Will work even better.
Will work best.

Title: Re: Win Mugen and it's Clsn Errors
Post by: XGargoyle on January 26, 2005, 12:26:40 PM

Fixed.

Title: Re: Win Mugen and it's Clsn Errors
Post by: Byakko on January 27, 2005, 02:30:46 AM

Quote
Will work best.
There's only 1 clsn2 there ???

Title: Re: Win Mugen and it's Clsn Errors
Post by: Insanius on January 27, 2005, 11:26:35 AM

Quote from: Byakko on January 27, 2005, 02:30:46 AM
Quote
Will work best.
There's only 1 clsn2 there ???
Whaddaya know, my eyes are broken. Good thing I replaced them just now (http://www.mugenguild.com/mcspace/aokmaniac13/borg.gif)

Title: Re: Win Mugen and it's Clsn Errors
Post by: fbs777 on January 31, 2005, 12:32:58 AM

I have more than 800 chars, and the most common problem in .air files to me was the number 1 missed. ex.:
Code:

    Clsn2Default:
    Clsn2[0] = X, X, X, X

And other problem is the wrong number. ex.:
Code:

    Clsn2Default: 2
    Clsn2[0] = X, X, X, X
    Clsn2[1] = X, X, X, X
    Clsn2[2] = X, X, X, X
    Clsn2[3] = X, X, X, X

This erros was responsible for 90-95% of my .air conversions to Linux.
In linux is very easy to discovery whats wrong, because he tell in konsole EXACTLY whats the problem, the name of file with error and where is the line of problem ;D In few seconds you know what and where is the problem.
And when dont have any error but still dont work, he understand that must be updated (some chars made for first dos version) and tell you must read the update text to know how to updated the char, all in konsole...
For mugen, the linux is very more pratice than window$ (in winmugen, when have errors, he shutdown whitout tell what and where is wrong --;

Title: Re: Win Mugen and it's Clsn Errors
Post by: Erradicator on January 31, 2005, 12:45:46 AM

What??
I don't get shutdowns here. Every single error triggers a window pointing out the error... and this includes .air problems...
Maybe you should try configuring your mugen.cfg... I don't know...

Title: Re: Win Mugen and it's Clsn Errors
Post by: Insanius on January 31, 2005, 12:50:19 AM

My winmugen gives me the error box only 50% of the time, so I guess that's one more thing that doesn't work in winmugen :P

Title: Re: Win Mugen and it's Clsn Errors
Post by: Erradicator on January 31, 2005, 01:03:41 AM

Huh...
Strange...
Maybe is something OS related??

Title: Re: Win Mugen and it's Clsn Errors
Post by: Insanius on January 31, 2005, 01:05:26 AM

Quote from: Erradicator on January 31, 2005, 01:03:41 AM
Huh...
Strange...
Maybe is something OS related??
Don't know, I've got WinXP over here.

Title: Re: Win Mugen and it's Clsn Errors
Post by: fbs777 on January 31, 2005, 01:11:24 AM

Quote from: Erradicator on January 31, 2005, 12:45:46 AM
What??
I don't get shutdowns here. Every single error triggers a window pointing out the error... and this includes .air problems...
Maybe you should try configuring your mugen.cfg... I don't know...
Your mugen is winmugen? Because i have winmugen with XP and dont show NEVER...

Title: Re: Win Mugen and it's Clsn Errors
Post by: Kula Diamond on February 04, 2005, 10:23:55 AM

Winmugen on Win98 will show the box under the illegal operation box. Which means that you have move the Illegal Operation box to see what the error is. If you click teh option to remove the IO box, the box showing where the fault in the char will also disappear, sometimes with another IO box appearance. In XP, alot of the time, you won't even get an IO box or a Winmugen Error box. That's why I like '98 better.
Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC