collapse

Author Topic: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request  (Read 2426 times)

0 Members and 1 Guest are viewing this topic.

Offline cl_conn1988

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:February 25, 2020, 11:39:23 PM
  • Hi! I'm new!!
KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« on: September 18, 2014, 07:47:20 PM »
I'm still very new to mugen. All I know is how to add characters and stages, but not converting them to Mugen 1.0. Can anyone please show me a link to a tutorial on how to do so. The characters mentioned above are Blue Eyes White Karin & Master Sakura by Kaz. These characters look great but every time I try to use them I get a series of errors. I have tried looking for a post patched version of them but have had no luck, I tried converting them myself but I just can't read it completely due it being partly in Japanese. Maybe I'm just stupid, but I would really appreciate it if someone would show me how to convert them or any character for that matter, or just send a link to a version of these characters already patched for 1.0. Thanks.



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #1 on: September 19, 2014, 06:20:38 AM »
The debug text you get when they fail won't be in japanese. You read what it says and follow it into the character files. A few common ones are people who have

velset = 0,0,0
in there. Should just be velset = 0,0
If you want i can walk you through each error you receive as long as you post it in full. Remember, if i ask for a state you search for [statedef number], and post everything below that line up to the next [statedef number] If it's something a bit odd, i'll be more specific about what to look for.

Offline cl_conn1988

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:February 25, 2020, 11:39:23 PM
  • Hi! I'm new!!
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #2 on: September 19, 2014, 09:54:58 PM »
Here is what the error reads:
Error message: Invalid format specifier in "?n" (question mark is a symbol in the file)
Error parsing [State 100199, 12]
Error in [StateDef 100199]
Error in Cns/BEW_Karin.st
Character mugenversion is older than this version of M.U.G.E.N.
Error loading chars/BEW_Karin/BEW_Karin.def
Error Loading p1

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #3 on: September 19, 2014, 10:40:55 PM »
Ok that's actually a pretty good description for what we're looking for.

Find [StateDef 100199] in BEW_Karin.st. Post the whole state down to the next line with [Statedef in it. Most likely our fault is in the  [State 100199, 12] block, but it's possible there is more than one of those so post the lot please. It actually sounds like there is a comment, but it's not commented with ;

Offline cl_conn1988

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:February 25, 2020, 11:39:23 PM
  • Hi! I'm new!!
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #4 on: September 20, 2014, 06:44:27 PM »
Here's what I've found in [State 100199, 12]
Type = DisplayToClipBoard
TriggerAll = IsHelper(10199)
TriggerAll = !(Root,Win)
TriggerAll = RoundState <= 3
TriggerAll = Root,var(25) = 3
TriggerAll = Root,var(22) = 2
TriggerAll = Root,sysfvar(1) >= 3
TriggerAll = Root,var(2) = 0
Trigger1 = Root,fvar(27) = 0 && Root,fvar(28) = 0
Trigger2 = Root,fvar(27) = 1 && Root,fvar(28) = 0
Trigger3 = Root,fvar(27) = 0 && Root,fvar(28) = 1
Text = "%n"
Params = 4938056
SuperMoveTime = 2147483647
PauseMoveTime = 2147483647
IgnoreHitPause = 1

This is the only block I found with [State 100199, 12], Thanks for alerting me about their being more than one as their was more than one of another block in [StateDef 100199], of course the error mentioned nothing about those so no worries.  So what needs to be adjusted here? Thanks again.

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #5 on: September 20, 2014, 08:14:06 PM »
Ok, so the person is kinda dumb. I have no idea if %n has ever been a valid parameter for displaytoclipboard.

2 choices. Delete the whole thing. Or change the %n to %d. Either will fix.

You will probably get another error after this, it may even be the same sort and you'll know the fix for it.

Offline cl_conn1988

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:February 25, 2020, 11:39:23 PM
  • Hi! I'm new!!
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #6 on: September 20, 2014, 11:06:13 PM »
This did the trick, I even found more StateDef blocks with the same issue. I now have a new error, its still in [StateDef 100199] but no biggie. [State 100199, 14] and maybe others have this: Text = "%*d%n%d". Do I also change these to Text = "%*d%d%d" or is something else required?

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #7 on: September 21, 2014, 12:46:43 AM »
If it's not %d or %f, it's going to break. Those are the changes to be applied. Go for %d. %f won't actually cause a crash but no point shoving stuff in that's not needed.

Offline cl_conn1988

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:February 25, 2020, 11:39:23 PM
  • Hi! I'm new!!
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #8 on: September 21, 2014, 02:06:29 AM »
Sorry for not asking earlier, but can I please see an example for this type of fix? Here is what it can't read in [State 100199, 14]:
Text = "%*d%n%d"
On a side note [State 100199, 15] has this:
Text = "%.*d%n%d"
[State 100199, 18] has: Text = "%*d%n%d"
And finally [State 100199, 19] has: Text ="%.*d%n%d"
I tried changing the n's to d's, which unfortunately caused more errors, so I changed the n's to f's and the same error from before is still displayed. What is the purpose of putting * or . in that area actually? Thanks.

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #9 on: September 21, 2014, 03:44:57 AM »
None of that is valid at all, or should be displaying exactly what's written. Displaytoclipboard takes a number of params in a couple of formats. Integers, or whole numbers and Floats, or decimals
An integer is called in the text string with %d. A float is called with %f. Each one calls the next in sequence so you would have
params = 1,2,3.123,4,5
text = "%d %d %f %d %d"
Which in game would display as 1 2 3.123 4 5
If you want to use math as they're apparently doing it needs to be in the params part, not in the text.

Basically if it does not say %d or %f mugen will throw a wobbly. You could also swap them for %g which i think means global and it doesn't care if it's an integer or not. The only difference is if you want to actually display a % symbol in the text, for which you write %%

All of this is explained in mugen\docs\sctrls.html, worth having a look at.

Offline cl_conn1988

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:February 25, 2020, 11:39:23 PM
  • Hi! I'm new!!
Re: KAZ's characters: BEW Karin & Master Sakura 1.0 conversion request
« Reply #10 on: September 21, 2014, 02:34:10 PM »
It worked!!! The character works perfectly now.  This is just for blue eyes white karin however. I haven't made any changes to Master Sakura yet but she will most likely have same issue as BEW_Karin beforehand. I may post again later if I experience anything different.

Tags: 1.0 KAZ patch 
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

SPIDER-VERSE THE AMAZING MUGENSTORY©EPISODE 10 "THE OTHERVERSE" 1080P BY REB3LTV by Rage
[March 27, 2024, 02:44:21 PM]


D2TD VS Showcase Thread by D2TD
[March 24, 2024, 11:09:37 AM]


Tree Of Erebus Stage 1.1 & 1.0 by MatreroG
[March 22, 2024, 08:13:48 AM]


.Batzarro's. Sprite Edits by MatreroG
[March 20, 2024, 07:58:08 AM]


World Heroes 2 Shura Stage by Vegaz by LightFlare
[March 19, 2024, 12:44:28 PM]


MOVED: Prepare your ****! ***** Soldier gets his **** ready in MUGEN! by Rage
[March 18, 2024, 11:08:23 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[March 14, 2024, 01:34:08 PM]


R.I.P. Akira Toriyama "Dragonball Legend" by Rage
[March 12, 2024, 03:01:39 PM]


DBFZ Rocky Field (noon) by jafar
[March 10, 2024, 11:59:23 PM]


World Heroes 2 Neo Geegus Stage by Vegaz by LightFlare
[March 09, 2024, 11:04:56 AM]

* IMT Calendar

March 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 [29] 30
31

SimplePortal 2.3.5 © 2008-2012, SimplePortal