//---------------------------------------------------------------------
//                     Input Macro driver  v0.4a
//
//                         written by Gangta
//---------------------------------------------------------------------
//
// Credits:
//
//  HyperYagami: External file support is based on his cheat engine
//
//        Jyaku: For online/offline testing and reporting bugs
//
// Mr K aka MHz: Ideas of input macro came from kawaks input macro
//
//---------------------------------------------------------------------
//
// How to define input macro:
//
//  combo type : game zip name : combo move : combo name
//
//---------------------------------------------------------------------
//
// valid combo types:
//
//   a - autofilre
//   b - block other input until combo finishes
//   n - normal
//   e - not a combo, used to specify clones (i.e. e:sf2u:sf2)
//
//--------------------------------------------------------------------
//
// valid short cut moves:
//
//  (+360) -         clockwise 270 motion
//  (-360) - counter clockwise 270 motion
//  (+720) -         clockwise 630 motion
//  (-720) - counter clockwise 630 motion
//  (+DRG) - forward dragon punch motion
//  (-DRG) - reverse dragon punch motion
//  (HCF)  - half circle forward motion
//  (HCB)  - half circle back motion
//
//--------------------------------------------------------------------
//
// valid keys
//
//   U   - up
//   D   - down
//   L   - left
//   R   - right
//   ,   - next frame
//   1   - button 1
//   2   - button 2
//   3   - button 3
//   4   - button 4
//   5   - button 5
//   6   - button 6
//   ~xx - hold this for xx frames
//
//-------------------------------------------------------------------- 
//
// Examples:
//
// b:sfa:R,D,DR,3:whatever            <--- forward dragon, high punch
// b:sfa:(-DRG),1:whatever            <---- reverse dragon, low punch
// b:sfa:R,RD,D,DL,L,LU,U,2:whatever  <------------ c 360,  Mid punch
// b:sfa:(+360),6:whatever            <------------ c 360, high kick
// bLsfa:(-360),123:whatever          <------ cc 360, all three punch
// b:sfa:R,RD,D,DL,L,LU,U,UR,R,RD,D,DL,L,LU,U,3  <- c 720, high punch
// b:sfa:(+720),123:whatever          <------- c 720, all three punch
// b:sfa:L~60,R,3:whatever <-- hold left 60 frames, right, high punch
// b:sfa:1,~10,3:whatever  <--- low punch, wait 10 frames, high punch
// b:wof:D~4,U~4,1 <-- hold down for 4 frames, up for 4 frames, attack
//
/////////////////////////////////////////////////////////////////////


// ----------------------------------
// Capcom System Play Games
// ----------------------------------

// Alien vs. Predator & Clones
e:avspu:avsp
e:avspj:avsp
e:avspd:avsp

b:avsp:D~2,U~2,2:D,U,Attack

// Battle Circuit & Clones
e:batcirj:batcir
e:batcird:batcir

b:batcir:D~2,U~2,1:D,U,Attack
b:batcir:(+360),1:c360,Attack

// D&D: Shadow Over Mystara & Clones
e:ddsomjr1:ddsom
e:ddsomu:ddsom
e:ddsoma:ddsom
e:ddsomr2:ddsom
e:ddsomj:ddsom
e:ddsomur1:ddsom
e:ddsomud:ddsom

b:ddsom:D~2,U~2,1:D,U+Attack

// D&D: Tower of Doom & Clones
e:ddtodu:ddtod
e:ddtodur1:ddtod
e:ddtodj:ddtod
e:ddtoda:ddtod
e:ddtodh:ddtod
e:ddtodd:ddtod

b:ddtod:D,D2,~10,1:D,N,Attack

// Darkstalkers: The Night Warriors & Clones
e:dstlkr1:dstlk
e:dstlka:dstlk
e:vampj:dstlk
e:vampja:dstlk
e:vampjr1:dstlk

b:dstlk:(+360),3: c360,HP
b:dstlk:(-360),3:cc360,HP
b:dstlk:(+360),6: c360,HK
b:dstlk:(-360),6:cc360,HK
b:dstlk:(+360),123: c360,3xP
b:dstlk:(-360),123:cc360,3xP

// Mercs & Clones
e:mercsu:mercs
e:mercsj:mercs

a:mercs:1:Auto Fire

// Marvel Vs. Capcom - Clash of Super Heroes & Clones
e:mvsca:mvsc
e:mvscar1:mvsc
e:mvscj:mvsc
e:mvscjr1:mvsc
e:mvscb:mvsc
e:mvsch:mvsc

n:mvsc:25:MP+MK
n:mvsc:36:HP+HK
n:mvsc:123:3x Punch
n:mvsc:456:3x Kick
n:mvsc:D,U:Super Jump

// Marvel Super Heroes Vs. Street Fighter & Clones
e:mshvsfj1:mshvsf
e:mshvsfj:mshvsf

n:mshvsf:13:LP+HP
n:mshvsf:46:LK+HK
b:mshvsf:(+360),3:c360,HP
b:mshvsf:(+360),123:c360,3xP
b:mshvsf:(+360),456:c360,3xK

// The Punisher & Clones
e:punishrj:punisher
e:punishru:punisher

b:punisher:D~2,U~2,1:D,U,Attack

// Street Fighter II - The World Warrior & Clones
e:sf2ua:sf2
e:sf2ub:sf2
e:sf2ue:sf2
e:sf2ui:sf2
e:sf2j:sf2
e:sf2ja:sf2
e:sf2jc:sf2

b:sf2:(+360),3:c360,HP

// Street Fighter II' C.E./Turbo & Clones
e:sf2ceua:sf2ce
e:sf2ceub:sf2ce
e:sf2cej:sf2ce
e:sf2accp2:sf2ce
e:sf2rb:sf2ce
e:sf2rb2:sf2ce
e:sf2red:sf2ce
e:sf2v004:sf2ce
e:sf2t:sf2ce
e:sf2tj:sf2ce

b:sf2ce:(+360),3:c360,HP

// Street Fighter Alpha & Clones
e:sfar1:sfa
e:sfau:sfa
e:sfzj:sfa
e:sfzjr1:sfa
e:sfzjr2:sfa

n:sfa:13:LP+HP
n:sfa:46:LK+HK
b:sfa:(+360),3:c360,HP
b:sfa:(+360),6:c360,HK
b:sfa:(+720),3:c720,HP

// Street Fighter Alpha 2 & Clones
e:sfz2a:sfa2
e:sfz2j:sfa2
e:sfz2aj:sfa2

b:sfa2:(+360),3:c360,HP
b:sfa2:(+360),6:c360,HK
b:sfa2:(+720),3:c720,HP

// Street Fighter Alpha 3 & Clones
e:sfa3r1:sfa3
e:sfz3a:sfa3
e:sfz3j:sfa3
e:sfz3jr1:sfa3

n:sfa3:14:LP+LK
n:sfa3:25:MP+MK
n:sfa3:36:HP+HK
b:sfa3:(+360),3:c360,HP
b:sfa3:(+360),6:c360,HK
b:sfa3:(+720),3:c720,HP

// Street Fighter Zero CPS Changer & Clones
n:sfzch:13:LP+HP
n:sfzch:46:LK+HK
b:sfzch:(+360),3:c360,HP
b:sfzch:(+360),6:c360,HK
b:sfzch:(+720),3:c720,HP

// Super Street Fighter 2 & Clones
e:ssf2tb:ssf2
e:ssf2j:ssf2
e:ssf2jr1:ssf2
e:ssf2jr2:ssf2

b:ssf2:(+360),3:360,HP
b:ssf2:(+360),6:360,HK

// Super Street Fighter 2 Turbo & Clones
e:ssf2ta:ssf2t
e:ssf2tu:ssf2t
e:ssf2xj:ssf2t

b:ssf2t:(+360),3:c360,HP
b:ssf2t:(+360),6:c360,HK
b:ssf2t:(+720),3:c720,HP

// Vampire Savior: The Lord of Vampire & Clones
e:vsava:vsav
e:vsavu:vsav
e:vsavj:vsav

b:vsav:(+360),3:c360,HP
b:vsav:(+360),6:c360,HK
b:vsav:(+360),456:c360,3xK

// Vampire Savior 2: The Lord of Vampire & Clones
b:vsav2:(+360),3:c360,HP
b:vsav2:(+360),123:c360,3xP
b:vsav2:(+720),456:c720,3xK

// Warriors of Fate & Clones
e:wofa:wof 
e:wofj:wof
e:wofu:wof

a:wof:1:Auto Fire
b:wof:D~4,U~4,1:D,U,Attack
a:wof:R12,RD,D12,DL,L12,LU,U12,UR:c360+Special rep

// X-Men Vs. Street Fighter & Clones
e:xmvsfu:xmvsf

n:xmvsf:14:LP+LK
n:xmvsf:25:MP+MK
n:xmvsf:36:HP+HK
b:xmvsf:(+360),3:c360,HP
b:xmvsf:(+360),123:c360,3xP


// --------------------
// Neo-Geo Games
// --------------------

// Blazing Star
a:blazstar:1:Auto Fire

// Metal Slug - Super Vehicle 001
a:mslug:1~3:Auto Fire

// Metal Slug 2 - Super Vehicle 001 / II
a:mslug2:1~3:Auto Fire

// Metal Slug 3 & clones
e:mslug3n:mslug3
e:mslug3nd:mslug3

a:mslug3:1~3:Auto Fire

// Metal Slug 4 & clones
e:mslug4nd:mslug4
e:mslug4b:mslug4
e:ms4plus:mslug4

a:mslug4:1~3:Auto Fire

// Metal Slug 5 & clones
e:mslug5nd:mslug5
e:ms5plus:mslug5
e:mslug5b:mslug5

a:mslug5:1~3:Auto Fire

// Metal Slug X - Super Vehicle 001 / II
a:mslugx:1~3:Auto Fire

// The King of Fighters '94
n:kof94:DR:DF Motion (Right)
n:kof94:DL:DF Motion (Left)

// The King of Fighters '95 & clones
e:kof95a:kof95

n:kof95:DR:DF Motion (Right)
n:kof95:DL:DF Motion (Left)

// The King of Fighters '96
e:kof96h:kof96

n:kof96:DR:DF Motion (Right)
n:kof96:DL:DF Motion (Left)

// The King of Fighters '97 & clones
e:kof97a:kof97
e:kof97pls:kof97
e:kf97plsa:kof97

n:kof97:DR:DF Motion (Right)
n:kof97:DL:DF Motion (Left)

// The King of Fighters '98 - The Slugfest & clones
e:kof98n:kof98
e:kof98k:kof98

n:kof98:DR:DF Motion (Right)
n:kof98:DL:DF Motion (Left)

// The King of Fighters '99 - Millenium battle & clones
e:kof99a:kof99
e:kof99p:kof99
e:kof99nd:kof99
e:kof99e:kof99

n:kof99:DR:DF Motion (Right)
n:kof99:DL:DF Motion (Left)

// The King of Fighters 2000 & clones
e:kof2000n:kof2000
e:kof2knd:kof2000

n:kof2000:DR:DF Motion (Right)
n:kof2000:DL:DF Motion (Left)

// The King of Fighters 2001 & clones
e:kof2001h:kof2001
e:kof2k1nd:kof2001
e:kof2001b:kof2001
e:kf2k1pls:kof2001
e:kf2k1pla:kof2001
e:cthd2003:kof2001
e:cthd2k3a:kof2001
e:ct2003sp:kof2001

n:kof2001:DR:DF Motion (Right)
n:kof2001:DL:DF Motion (Left)
n:kof2001:D~1,UR,:Fast Jump (Right)
n:kof2001:D~1,UL,:Fast Jump (Left)
b:kof2001:(QCF),(QCF),(QCF),(QCF),13:Iori's Maiden Crusher (Right)
b:kof2001:(QCB),(QCB),(QCB),(QCB),13:Iori's Maiden Crusher (Left)

// The King of Fighters 2002 - Challenge to ultimate battle & clones
e:kof2k2nd:kof2002
e:kof10th:kof2002
e:kof2002b:kof2002
e:kf2k2pls:kof2002
e:kf2k2pla:kof2002
e:kf2k2plb:kof2002
e:kf2k4spe:kof2002
e:kf2k4spl:kof2002

n:kof2002:DR~7,:DF Motion (Right)
n:kof2002:DL~7,:DF Motion (Left)
n:kof2002:D~1,UR,:Fast Jump (Right)
n:kof2002:D~1,UL,:Fast Jump (Left)
b:kof2002:(QCF),(QCF),(QCF),(QCF),13:Iori's Maiden Crusher (Right)
b:kof2002:(QCB),(QCB),(QCB),(QCB),13:Iori's Maiden Crusher (Left)

// The King of Fighters 2003 & clones
e:kof2k3nd:kof2003
e:kof2003b:kof2003
e:kof2k4ex:kof2003
e:kof2k3up:kof2003

b:kof2003:(QCF),23:Super Combination B+C (Right)
b:kof2003:(QCF),34:Super Combination C+D (Right)
b:kof2003:(QCB),23:Super Combination B+C (Left)
b:kof2003:(QCB),34:Super Combination C+D (Left)
n:kof2003:DR:DF Motion (Right)
n:kof2003:DL:DF Motion (Left)
n:kof2003:D~1,UR,:Fast Jump (Right)
n:kof2003:D~1,UL,:Fast Jump (Left)
b:kof2003:(QCF),(QCF),(QCF),(QCF),13:Iori's Maiden Crusher (Right)
b:kof2003:(QCB),(QCB),(QCB),(QCB),13:Iori's Maiden Crusher (Left)

// SvC Chaos - SNK vs CAPCOM & clones
e:svcnd:svcchaos
e:svchaosa:svcchaos
e:svcboot:svcchaos
e:svcplus:svcchaos
e:svcplusa:svcchaos
e:svcsplus:svcchaos

n:svcchaos:DR:DF Motion (Right)
n:svcchaos:DL:DF Motion (Left)
n:svcchaos:D~1,UR,:Fast Jump (Right)
n:svcchaos:D~1,UL,:Fast Jump (Left)
b:svcchaos:(QCF),(QCF),(QCF),(QCF),13:Iori's Maiden Crusher (Right)
b:svcchaos:(QCB),(QCB),(QCB),(QCB),13:Iori's Maiden Crusher (Left)


// --------------------
// Other Games
// --------------------

// Air Gallet
a:agallet:1:Auto Fire

// Armed Police Batrider & Clones
e:batridra:batrider
e:batridrk:batrider

a:batrider:1:Auto Fire

// Batsugun & Clones
e:batsugna:batsugun
e:batugnsp:batsugun

a:batsugun:1:Auto Fire

// Battle Bakraid & Clones
e:bbakradu:bbakraid

a:bbakraid:1:Auto Fire

// Battle Garegga & Clones
e:battlega:battleg
e:battlegc:battleg
e:battlegb:battleg

a:battleg:1:Auto Fire

//  Feveron & Clones
e:feversos:dfeveron

a:dfeveron:1:Auto Fire

// DoDonPachi & Clones
e:ddonpchj:ddonpach

a:ddonpach:1:Auto Fire

// Dogyuun
a:dogyuun:1:Auto Fire

// DonPachi & Clones
e:donpacjp:donpachi
e:donpachk:donpachi
e:donpackr:donpachi

a:donpachi:1:Auto Fire

// Gunbird & Clones
e:gunbirdj:gunbird
e:gunbirdk:gunbird

a:gunbird:1:Auto Fire

// Out Zone & Clones
e:outzonea:outzone
e:outzoneb:outzone
e:outzonec:outzone

a:outzone:1:Auto Fire

// Samurai Aces & Clones
e:sngkace:samuraia

a:samuraia:1:Auto Fire

// Shippu Mahou Daisakusen

a:shippumd:1:Auto Fire

// --------------------
// IGS Games
// --------------------

// 三国战纪
n:kov:123:A+B+C组合键

// 三国战纪 克隆
e:kovj:kov
e:kov115:kov
e:kovplus:kov
e:kovplusa:kov

// 西游释厄传 (ver. 126)
a:orlegend:123:A+B+C组合键
b:orlegend:R,RD,D,LD,R,R,L,1:左必杀技键
b:orlegend:L,LD,D,DR,R,L,R,1:右必杀技键
b:orlegend:D,U,2:下上键

// 西游释厄传 克隆
e:orld111c:orlegend
e:orlegndc:orlegend
e:orld105k:orlegend
e:orlegnde:orlegend


