M.U.G.E.N. & Tech Tips

Please visit my blog for details on current WIPs. http://techy121.blogspot.ca/
Tips on making characters built for a full game compatible with your MUGEN:

When pulling characters from full games you quickly figure out there are some elements and coding missing and the characters may run but are very flawed (missing sprites or moves).

A quick way of fixing most of these issues is to copy the "commom1.cns" file from the full game's "data" folder (that is usually where it is stored) and save it in the character folder (the character you are fixing's direct folder). This file will hold most, if not all of the coding that they may be missing from the character's file.  When you save the common1.cns file into the character's file folder directly MUGEN will always check this file before the common1.cns from your game. Any extra coding specific from the game should be there.

There may be other specific elements not available without actually checking through the coding of the character such as (but not limited to) fatalities, special combo systems, bonus stage elements, etc. Unfortunately you will have to fix those the hard way by editing some of the code manually to make them work.
MUGEN 1.0 to WinMUGEN conversion tips:

I have had lots of requests for 1.0 conversions. This is for those that are still on WinMUGEN and want to use the 1.0 only characters. First ALWAYS make a copy of the character you are modifying prior to making changes. Below is the code I used to downgrade Nightcrawler from MUGEN 1.0 to WinMUGEN. This code will not work for every character. The principal is the same for any character except those build with SFFv2, and/or characters that use MUGEN 1.0 specific coding (Acey's Rogue is a prime example). I have included an explanation of the changes below in red.

Once these changes below are made, then test the character in WinMUGEN. Don't be shocked if the character still errors out (pay attention to the error and write it down/screenshot). That will mean there may still be some MUGEN 1.0 specific code that WinMUGEN doesn't understand. This is the part that gets tricky...easiest way would be to simply find and disable the code that is causing the error. That can work however you may disable moves, effects, special powers, sounds, and/or cause another unexpected glitch. The only way to downgrade characters properly would be to either learn how to code and fix the errors properly, or ask for help through a coder.

To search for the specific error, open the character file. The error will be in either a CNS or CMD file. Simply open them with notepad or fighter factory. Click CTRL+F and search for the state #, or stadedef #.

----------------------------------------------------------------------------------------
character.def:

changed:

mugenversion = 1.0

to:
mugenversion = 11,01,2001    ; changed MUGEN version character was made for

character.cmd:

changed:
; any "AILevel" code needs to be removed as it is 1.0 specific
[State -1, AI Activation]
type = varset
triggerall = AILevel > 2
triggerall = (roundstate = 2) && (var(59) = 0)
trigger1 = Random <= ((AILevel-2)*100)
v = 59
value = 1

[State -1, AI Deactivation]
type = varset
triggerall = AIlevel < 7
triggerall = var(59) = 1
trigger1 = Random > ((AILevel-2)*100)
trigger2 = roundstate != 2
v = 59
value = 0

to:
;change MUGEN 1.0 specific AI code to WinMUGEN code I use for AI when coding

[State -1, AIactivate]     
type = VarSet
triggerall = var(59) != 1
triggerall = RoundState != 3
trigger1 = command = "cpu1"
trigger2 = command = "cpu2"
trigger3 = command = "cpu3"
trigger4 = command = "cpu4"
trigger5 = command = "cpu5"
var(59) = 1

Added this to start of CMD for AI activate to work:


;Add impossible commands for computer AI to work within WinMUGEN

;-| AI Commands |----------------------------------------------------------
[Command]
name = "cpu1"
command = B+D+F+U,~D,~32222D,x,x,x,x,x,x
time = 1 ;-2

[Command]
name = "cpu2"
command = B+D+F+U,~D,~32222D,a+b+c+x+y+z+s
time = 1 ;-2

[Command]
name = "cpu3"
command = D,D,U,U,F,F,B,B,a+b+c+x+y+z+s
time = 1 ;-2

[Command]
name = "cpu4"
command = B,D,F,D,F,D,B,D,B,a+b+c+x+y+z+s
time = 1 ;-2

[Command]
name = "cpu5"
command = B+D+F+U,~D,~32222D,a,a,a,a,a,a
time = 1 ;-2

------------------------------------------------------------------------------------------------

Hopefully this helps. Sorry I upgraded to MUGEN 1.0 a while ago, so I no longer make WinMUGEN patches. Written by Techy121

What you will find here:

You will find info on my projects for MUGEN. Eventually I will have a tech tips section up sometime in the future.

About Me:

I have been working with computers for over 30 years. I started programming my first game as a kid on a Commodore VIC-20 system. I currently program characters and bonus stages for MUGEN.



Translate This Page

Flag Counter
Copyright 2013. techy121 MUGEN & tech tips.

This free website was made using Yola.

No HTML skills required. Build your website in minutes.

Go to www.yola.com and sign up today!

Make a free website with Yola