YesNoOk
avatar

X-COSTUME Palette Selector v(2.0) 12/7/2013 (Read 101065 times)

Started by PlayerOne, June 23, 2013, 05:29:54 am
Share this topic:
X-COSTUME Palette Selector v(2.0) 12/7/2013
#1  June 23, 2013, 05:29:54 am
  • **
  • PlayerOneShow
    • USA
Sorry for the Necro Edit! I'm putting this project up for grabs for any experienced coder(s) that want to improve this and make this bug free. Hopefully this could lead to a hard code feature for a future version of mugen. IT'S ALL YOURS! Good Luck!

XCOSTUME v2.0
Download - Mediafire

Fighter Factory 3
Official Page

Here's a thread with XCOSTUME characters already coded and ready for download.
Click Here

There are still some issues with characters who already use (fvar) 36-39. Post those characters as a request in the link above so either I or someone else can code it for you and upload it to that thread.

1. You have to change your character's mugen version to Mugenversion = 1.0. You can change it in their .def file.
2. Save your character's .sff file as 1.0 or 1.1 in FF3 before you add any sprites! - It needs to convert your old .sff into .sffv2


Tutorial Video!



=====<Features>=====
Spoiler, click to toggle visibilty

=====<Credit>=====
Spoiler, click to toggle visibilty
Last Edit: February 11, 2016, 05:44:38 am by PlayerOne
Re: xcostume Palette Selector Mugen (1.0) - (1.1) [06.21.2013]
#2  June 23, 2013, 05:36:13 am
  • ******
I always wanted to try coding something like that but was too lazy to...

Great job... with more code, you could add a near limitless amount of selections.  ;)
Re: xcostume Palette Selector For Mugen (1.0) - (1.1) [06.21.2013]
#3  June 23, 2013, 07:38:09 am
  • ****
Pretty cool, I might just have to try this out.  Would it be possible to have a version where you place the sprites into the fightfx.sff and the sounds into the common.snd?  That way, you wouldn't have to put the new sprites and sounds into each and every character, rather just pull it from the aformentioned files.

I haven't messed around with this yet, but doing so may eliminate a few steps and save some time.  Nice work nonetheless.
Re: X-COSTUME Palette Selector For Mugen (1.0) & (1.1) 06/22/2013
#4  June 23, 2013, 04:12:44 pm
  • ***
  • Hola
    • Chile
    • yiazmatomegavictorys.wix.com/mugenvictorys
Oh, cool. I was going to add Palette Selection for Sean and this will save me some time.

Re: X-COSTUME Palette Selector For Mugen (Winmugen) (1.0) & (1.1) 06/22/2013
#5  June 23, 2013, 08:40:09 pm
  • ****
  • PSN&Steam: ViBeZ8282/Le-Fiction
    • USA
    • vonthegreat653@hotmail.com
you my friend have been nominated just fucking fantastic thank you flawless thank you
Re: X-COSTUME Palette Selector For Mugen (1.0) & (1.1) 06/22/2013
#6  June 23, 2013, 09:24:03 pm
  • *****
  • Master Relic Tech
  • Screenpack Maker EX
This is very cleaver and a needed concept. Downloading the video and all the hook up's, thanks mate.
Re: X-COSTUME Palette Selector For Mugen (1.0) & (1.1) 06/22/2013
#7  June 24, 2013, 05:43:31 pm
  • avatar
This looks really awesome!! I plan on checking it out soon!
Re: X-COSTUME Palette Selector v(1.2) 06/25/2013
#8  June 25, 2013, 07:53:47 am
  • ****
  • commissions open bang my line
    • USA
    • https://www.paypal.com/paypalme/xtayisblackx?country.x=US&locale.x=en_US
Simply awesome man! Legit all over this.
My stages folder:
https://app.mediafire.com/g5pnpb2im4lqa

Want a screenpack ported to ikemen? DM's open
Want a stage remade with parallax & possible super jump? DM's open
Re: X-COSTUME Palette Selector v(1.2) 06/25/2013
#9  June 25, 2013, 08:46:32 am
  • ***
  • In-training Artist
    • Colombia
wow dude.... pretty awesome tool... also the tutorial was pretty easy to follow... impressive work...
Re: X-COSTUME Palette Selector v(1.2) 06/25/2013
#10  June 26, 2013, 02:58:26 am
  • ***
    • USA
    • stacksmash.kontek.net/
I assume the character's .sff has to be .sff version 2 for this to work?
Re: X-COSTUME Palette Selector v(1.2) 06/25/2013
#11  June 26, 2013, 03:57:31 am
  • **
  • PlayerOneShow
    • USA
I assume the character's .sff has to be .sff version 2 for this to work?
Correct. Which FF3 Converts to when you save it as Mugen 1.0 or Mugen 1.1.

wow dude.... pretty awesome tool... also the tutorial was pretty easy to follow... impressive work...
Thanks, i'm gonna make another tutorial to fix some issues and to make it even easier + faster to do. This way you can streamline this into all of your characters with little to no problems.

      Posted: June 25, 2013, 10:22:59 am
you my friend have been nominated just fucking fantastic thank you flawless thank you
Lol thanks!

If any of you guys have any questions, suggestions or problems let me know here on this thread.

Simply awesome man! Legit all over this.
Any problems let me know!  :2thumbsup:

This is very cleaver and a needed concept. Downloading the video and all the hook up's, thanks mate.
Thanks bro, can't wait for your screenpack. Check out the suggestion I made on that thread!
Last Edit: June 27, 2013, 03:13:48 pm by Flawless
Re: X-COSTUME Palette Selector v(1.2) 06/25/2013
#12  June 26, 2013, 06:30:38 pm
  • ****
    • USA
    • Skype - dainfinite
    • infiniteff.forumotion.com/
I assume the character's .sff has to be .sff version 2 for this to work?
It can work on a regular sff so you can only use 12 pals, but the coding runs mainly off a remapPal, which will only work in mugen1.0 or higher.
Re: X-COSTUME Palette Selector v(1.2) 06/25/2013
#13  June 26, 2013, 08:50:51 pm
  • **
  • PlayerOneShow
    • USA
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#14  June 27, 2013, 02:06:38 pm
  • ****
    • djjosehisterico@gmail.com
One question, should variables not be repeated only in the. Cns where appears life, power and others (Normal cns). Is that some chars have been -2 state in another .Cns file where there if repeated. Nothing happens in that case? Thank you very much!
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#15  June 27, 2013, 03:05:05 pm
  • **
  • PlayerOneShow
    • USA
One question, should variables not be repeated only in the. Cns where appears life, power and others (Normal cns). Is that some chars have been -2 state in another .Cns file where there if repeated. Nothing happens in that case? Thank you very much!
You SHOULD NOT use any variable that is in use for anything in any file.
Mugen loads variables from all files that are represented in the character's .def file.
You have to check ALL of the .st .cns .txt files for variables that aren't in use. - I will show a better way to find them soon.
Use the CTRL+F method I show in the video for now.
If that answers your question let me know, if not i'll get more into it if you'd like.  ;D
Last Edit: June 27, 2013, 03:22:02 pm by Flawless
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#16  June 27, 2013, 06:23:58 pm
  • ****
    • djjosehisterico@gmail.com
Yes thanks! The downside is that there are chars that use all variables, such as the Guilty Gear chars. But good to see if you find any solution, so congratulations for the code, it´s amazing!
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#17  June 27, 2013, 06:53:37 pm
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
I have a problem:
When I open the char it says this:
Error detected.

Error parsing [State 5900, Palette Selector]
Error in [statedef 5900]
Error in Coding/System.cns:246
Character mugenversion is older than this version of M.U.G.E.N.
Error loading chars/Skullo/DivineSkullo.def
Error while precaching
Error parsing [State 5900, Palette Selector]
Error in [statedef 5900]
Error in Coding/System.cns:246
Character mugenversion is older than this version of M.U.G.E.N.
Error loading chars/Skullo/DivineSkullo.def
Error while precaching
Error parsing [State 5900, Palette Selector]
Error in [statedef 5900]
Error in Coding/System.cns:246
Character mugenversion is older than this version of M.U.G.E.N.
Error loading chars/Skullo/DivineSkullo.def
Error loading p1

Clipboard tail:
  Loading cmd command set DivineSkullo.cmd...OK
  Loading cns Coding/System.cns...Freeing player RC
Character DivineSkullo.def failed to load
End of versus screen loop
Game loop deinit
Gameflow 11
Loading match assets...
Loading stage...
Info: stage cvs2_osaka(Boss)00 loading in pre-1.0 compatible mode
  Loading BG...OK
Stage loaded OK
  Allocating helpers...OK
Match RNG seed: 1144653187
Reset persist vars team 0
Reset persist vars team 1
Loading character chars/Skullo/DivineSkullo.def...
  Loading info...OK
  Loading cmd command set DivineSkullo.cmd...OK
  Loading cns Coding/System.cns...Freeing player RC
Character DivineSkullo.def failed to load

Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#18  June 27, 2013, 07:11:27 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org


Sounds like you're trying to use the code on a winmugen character. Winmugen characters can't use code exclusive to 1.0 and above, even if you use them on the newer versions. You'll need to manually change the character's mugenversion in the def file to 1.0 for it to work.
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#19  June 27, 2013, 07:55:00 pm
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
Skullomania by DivineWolf

Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#20  June 27, 2013, 08:15:35 pm
  • ****
  • commissions open bang my line
    • USA
    • https://www.paypal.com/paypalme/xtayisblackx?country.x=US&locale.x=en_US
Quickfist I just did skullomania there's a few things you have to mess with i can PM you mine so you don't have to worry about editing everything.
My stages folder:
https://app.mediafire.com/g5pnpb2im4lqa

Want a screenpack ported to ikemen? DM's open
Want a stage remade with parallax & possible super jump? DM's open
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#21  December 03, 2013, 07:04:08 am
  • **
  • PlayerOneShow
    • USA
I'm back and I'm going to seek help on getting this working 100% for all characters, but I can't do this alone. If only I had a team to take over and turn this coal into a diamond.
Last Edit: December 03, 2013, 08:16:28 pm by Flawless
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#22  December 03, 2013, 03:08:05 pm
  • ****
  • commissions open bang my line
    • USA
    • https://www.paypal.com/paypalme/xtayisblackx?country.x=US&locale.x=en_US
Count me in! :)
My stages folder:
https://app.mediafire.com/g5pnpb2im4lqa

Want a screenpack ported to ikemen? DM's open
Want a stage remade with parallax & possible super jump? DM's open
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#23  December 03, 2013, 08:04:12 pm
  • ****
  • RISSSSSSIIIIINNNNGGGGG TACO!!!
    • USA
I'm looking into this my self, so if I can help in any way I will ;D
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#24  December 03, 2013, 08:18:40 pm
  • **
  • PlayerOneShow
    • USA
My main problem seems to be mugen's limitations on it's use of (var) It's limited to 59 I believe and some characters use all of the variables to function. If only electbyte could give infinite (var) to characters then I would have a much better canvas for this tool.
Re: X-COSTUME Palette Selector v(1.5) 06/26/2013
#25  December 03, 2013, 08:27:56 pm
  • ****
    • USA
    • Skype - dainfinite
    • infiniteff.forumotion.com/
My main problem seems to be mugen's limitations on it's use of (var) It's limited to 59 I believe and some characters use all of the variables to function. If only electbyte could give infinite (var) to characters then I would have a much better canvas for this tool.
You could try using fvar's.
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#26  December 07, 2013, 10:49:30 am
  • **
  • PlayerOneShow
    • USA
Thanks to everyone's support and Infinite's tutelage I have completed version 2.0. Have fun everyone!
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#27  December 07, 2013, 08:20:36 pm
  • ****
  • commissions open bang my line
    • USA
    • https://www.paypal.com/paypalme/xtayisblackx?country.x=US&locale.x=en_US
Post a few characters you've already done i can have something to refer to if i find any errors :P
My stages folder:
https://app.mediafire.com/g5pnpb2im4lqa

Want a screenpack ported to ikemen? DM's open
Want a stage remade with parallax & possible super jump? DM's open
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#28  December 08, 2013, 04:30:19 am
  • *
    • USA
    • www.youtube.com/user/UltimateBiosparkX?feature=mhee
I just left a comment on the video and I tried out the tutorial and it works great. However, I tried it on Sanders71113 Wolverine and it won't allow me to select any of his other pals besides the current one it starts on. Any thoughts?


Update: The pals index digits were out of order in the character and fixed it. Now it works like a charm. Thanks so much for the tutorial! I hope this works on all chars.
UltimateBiosparkJ a.k.a J-Wizzy, Themes on Deck!!


image hosting without registration
Last Edit: December 08, 2013, 05:05:09 am by UltimateBiosparkJ
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#29  December 08, 2013, 04:07:13 pm
  • **
  • PlayerOneShow
    • USA
I just left a comment on the video and I tried out the tutorial and it works great. However, I tried it on Sanders71113 Wolverine and it won't allow me to select any of his other pals besides the current one it starts on. Any thoughts?


Update: The pals index digits were out of order in the character and fixed it. Now it works like a charm. Thanks so much for the tutorial! I hope this works on all chars.
It will work on any character that doesn't use (fvar) 36-39. I know Balthazar's characters use them and so do Warusaki3's. You can just exchange all of the variables in the code with variables not in use.
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#30  December 08, 2013, 07:12:44 pm
  • ***
  • Green Lotus
    • USA
Quick question. How does this work for people that enjoy going into watch mode? Would it just stay on the XCostume select or after a time would it auto select a pal?
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#31  December 08, 2013, 07:17:15 pm
  • ****
  • commissions open bang my line
    • USA
    • https://www.paypal.com/paypalme/xtayisblackx?country.x=US&locale.x=en_US
It doesn't happen for the cpu, it only activates when the characters are being used by you.
My stages folder:
https://app.mediafire.com/g5pnpb2im4lqa

Want a screenpack ported to ikemen? DM's open
Want a stage remade with parallax & possible super jump? DM's open
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#32  December 08, 2013, 11:26:47 pm
  • **
  • PlayerOneShow
    • USA
Quick question. How does this work for people that enjoy going into watch mode? Would it just stay on the XCostume select or after a time would it auto select a pal?
The CPU use [Remappal]. XCOSTUME isn't coded for CPU, only for Player 1 and Player 2
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#33  December 09, 2013, 02:05:39 am
  • ***
  • Green Lotus
    • USA
Alright, preciate it, will use this tool a lot.
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#34  January 01, 2015, 09:24:53 am
  • avatar
  • *
can  i use   ur  code  in the chars select screen     not   in the raund   
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#35  January 01, 2015, 10:06:11 am
  • ***
  • 魂-Tamashi!!
    • Skype - Fallenad16
    • 1drv.ms/1xuFckG
My friend check the post before you it was posted a year ago and it's called necro posting if you post on a thread that hasn't been posted on for 2 months and more and about you question head on over to mugen configuration help section to create a topic about your question but as far as I know its not possible to use palette selector on the select screen
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#36  January 17, 2015, 12:58:55 pm
  • *
  • always ready
    • Mexico
    • deseo1990@yahoo.com
im having trouble with some chars. mostly the 3 mode chars.
i also had a problem with wolvenom, i seem to be able to move my char on pal select.
it also affected gameplay as he gets stuck in a state of repetition of same move and freezes till hit.
can some one help me and explain what i did wrong.
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#37  February 11, 2016, 02:26:24 am
  • ***
    • USA
    • morbidjoe666@yahoo.com
    • Skype - Kik : morbidjoe
not sure if your still here Im only have one issue from this, the special/rival intros are not showing just the regular intro and I cut the the 5900 def mentioned in the video and pasted the it into the xcostume.txt file are there any other code I need to take out from the main cns file or do I need to add something sorry still new at this
I need more PSN friends
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#38  February 11, 2016, 05:33:04 am
  • **
  • PlayerOneShow
    • USA
not sure if your still here Im only have one issue from this, the special/rival intros are not showing just the regular intro and I cut the the 5900 def mentioned in the video and pasted the it into the xcostume.txt file are there any other code I need to take out from the main cns file or do I need to add something sorry still new at this
There might be other states for intros inside of your character that are specific to rival interactions. You're going to have to do research and see which states are those. I think you can also move those to the xcostume.txt file as well.

im having trouble with some chars. mostly the 3 mode chars.
i also had a problem with wolvenom, i seem to be able to move my char on pal select.
it also affected gameplay as he gets stuck in a state of repetition of same move and freezes till hit.
can some one help me and explain what i did wrong.
Wolvenom is probably using variables that I have set to X-Costume. You're going to have to do some research on what exactly is conflicting. Possibly the intro state. But I know it is possible to change palettes and modes. I have seen other people do it on this website.
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#39  February 11, 2016, 06:40:38 am
  • ***
  • Palette Maker + 1.1 Stage Conversion Maestro
    • USA
    • xtremeregime.weebly.com
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#40  February 11, 2016, 07:20:56 am
  • **
  • PlayerOneShow
    • USA
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#41  September 20, 2017, 10:45:22 am
  • ***
hello, is there a way to change the code to obtain something like this:

- holdfwd, go forward and switch one by one
- holdback, go backward and switch 10 by 10

i don't know if i made myself clear.. :/ :/

thanks
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#42  March 22, 2020, 09:55:49 pm
  • avatar
    • Japan
Library error message: Died parsing root,command="a"||root,command="b"||root,command="c"||root,command="x"||root,command="y"||root,command="z"||root,command="start"||roundstate=2

Error detected.

Undefined command label: "command".
If not misspelling in CNS, check CMD
Error parsing trigger1, 1
Error parsing [State 12345, PlaySnd]
Error in [Statedef 12345]
Error in xcostume.txt:137
Character mugenversion is older than this version of M.U.G.E.N.
Error loading chars/ff3_0/ff3_0.def
Error loading p1

Clipboard tail:
Gameflow 6
Reset persist vars team 0
Reset persist vars team 1
Gameflow 8
Gameflow 9
Gameflow 10
Gameflow 11
Loading match assets...
Loading stage...
  Loading BG...OK
Stage loaded OK
  Allocating helpers...OK
Match RNG seed: 198372329
Reset persist vars team 0
Reset persist vars team 1
Loading character chars/ff3_0/ff3_0.def...
  Loading info...OK
  Loading cmd command set VAkiha_K.cmd...OK
  Loading cns VAkiha_K.cns...OK
  Loading cns xcostume.txt...Character ff3_0.def failed to load
Can anyone help me with this?
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#43  July 18, 2022, 03:03:33 pm
  • **
  • "Some People Are Born To Be Extraordinary"
    • Italy
    • fab.marchetti86@gmail.com
hello, is there a way to change the code to obtain something like this:

- holdfwd, go forward and switch one by one
- holdback, go backward and switch 10 by 10

i don't know if i made myself clear.. :/ :/

thanks

Sorry for necroposting, but I felt it could be useful to post a solution for M206. I've done this way:

Code:
[State 8140]
type = VarAdd
triggerall = time > 1
trigger1 = !fvar(39)
trigger1 = root, command = "holdback" || root, command = "holdfwd" ;<- removed holdup and holddown
fvar(36) = 1-(root, command = "holdback" && facing = 1 || root, command = "holdfwd" && facing = -1)*2 ;<- removed holdup and holddown

[State 8140]
type = VarAdd
triggerall = time > 1
trigger1 = !fvar(39)
trigger1 = root, command = "holdup"
fvar(36) = 10

[State 8140]
type = VarAdd
triggerall = time > 1
trigger1 = !fvar(39)
trigger1 = root, command = "holddown"
fvar(36) = ifelse(fvar(36) >= 10,-10,??)  ;??: subtract -10 from your last palette

Bye!
Re: X-COSTUME Palette Selector v(2.0) 12/7/2013
#44  November 18, 2022, 06:19:25 pm
  • ***
hello, is there a way to change the code to obtain something like this:

- holdfwd, go forward and switch one by one
- holdback, go backward and switch 10 by 10

i don't know if i made myself clear.. :/ :/

thanks

Sorry for necroposting, but I felt it could be useful to post a solution for M206. I've done this way:

Code:
[State 8140]
type = VarAdd
triggerall = time > 1
trigger1 = !fvar(39)
trigger1 = root, command = "holdback" || root, command = "holdfwd" ;<- removed holdup and holddown
fvar(36) = 1-(root, command = "holdback" && facing = 1 || root, command = "holdfwd" && facing = -1)*2 ;<- removed holdup and holddown

[State 8140]
type = VarAdd
triggerall = time > 1
trigger1 = !fvar(39)
trigger1 = root, command = "holdup"
fvar(36) = 10

[State 8140]
type = VarAdd
triggerall = time > 1
trigger1 = !fvar(39)
trigger1 = root, command = "holddown"
fvar(36) = ifelse(fvar(36) >= 10,-10,??)  ;??: subtract -10 from your last palette

Bye!

Sorry @F0b1aZ:, i didn't notice this post since now! Many thanks, i've solved my issue, now it's easier and faster to choose between more than 380 palettes! :D :D