Posts: 4,868
Threads: 49
Likes Received: 4,317 in 2,682 posts
Likes Given: 6,825
Joined: Aug 2017
Reputation:
77
12-18-2018, 10:46 AM
(This post was last modified: 09-20-2020, 03:58 AM by robhal.)
Original post from moddah (in the SFxT Mods forum)
NOTE: as the post was made during the early days of SFV modding, so the character code is still the old one.
Show ContentHow to How to edit colors with manual hex editing:
To edit colors you have to work in hex on the file DA_XXX_CustomizeSetting_01.uasset (each character as one and XXX is the code of the character)
I'll show it on Ryu, so I open DA_RYU_CustomizeSetting_01.uasset in a hex editor and scroll down to the part I want to edit (pants):
Here I outlined the first color:
Code: Select all
Code: 85 EB 11 3F 24 98 FA 3E 49 9D C0 3E 00 00 80 3F
Each color is represented as RRRRGGGGBBBBAAAA in hex
It's written in big endian so you have to invert the data to read it as little endian (when it's written 12 34 56 78 you actually read it as 78 56 34 12)
So we have:
R: 3F 11 EB 85
G: 3E FA 98 24
B: 3E C0 9D 49
A: 3F 80 00 00 (btw, 00 00 00 00 is black / 3F 80 00 00 is white)
Now to edit the colors to your liking you need to download this tool: http://twodev.at/releases/colortoy/3.0/
Chose a color by using the 3 sliders or click on "Preview" and chose from there:
I chose a purple:
You now see 3 numbers after the sliders, it's the floating points
R: 0.630597
G: 0.501961
B: 0.752641
You need to convert those in hex to get your color in Street Fighter V, so go to this site: http://babbage.cs.qc.cuny.edu/IEEE-754.old/Decimal.html
Enter the Decimal Floating-Points one by one (hit clear between each one to be sure not to mess with the tool)
and click on "Not Rounded"
Under Single precision (32bits) you get the Hexadecimal conversion of your floating point:
I get:
R: 3F 21 6E CE
G: 3F 00 80 84
B: 3F 40 C0 BD
So to write it as the game wants (I keep Alpha as white)
Code: Select all
Code: CE 6E 21 3F 84 80 00 3F BD C0 40 3F 00 00 80 3F
Replace the file in the game folder (make a backup of the original) and launch the game:
and Ryu has nice purple pants.
Show ContentHow to edit CostumeColorPreview files:
I'll show where the colors are located in Chun-Li's 1st costume file: DA_C91_CostumeColorPreview_01.uasset
To each name in the nametable corresponds a number:
00=/Game/Chara/C91/SkelMesh/01/DataAsset/DA_C91_CostumeColorPreview_01
01=/Script/CoreUObject
02=/Script/KiwiGame
03=ArrayProperty
04=Class
05=Color
06=Color1
07=Color2
etc...
So we look for 06 in the file and the first we find will give the datas for the 1st color of the 1st costume preview:
The datas' length is 24 and what comes at the end before FF is the color: C8 35 00
Due to endianess it's written backwards so you really read: 00 35 C8
Let's see what color it is in the photoshop color picker:
We have this blue as 1st color for Chun-Li's 1st costume preview
Now we look for 07 to get the datas of the 2nd color of the 1st costume preview, it comes directly after the datas from color1:
Same as color1, the datas' length is 24 and what comes at the end before FF is the color: 00 DE FF
You read it: FF DE 00
Let's see what color it is in the photoshop color picker:
We have this yellow as 2nd color for Chun-Li's 1st costume preview
After 0A 00 00 00 00 00 00 00 we get a new 06: the 1st color of the 2nd costume preview, etc...
Change those colors to match the colors of your mods for the best result.
Show ContentInfo about costume color file and how to update mod for v1.02 game:
Every time Capcom will add colors to the costumes, they will edit the DA_XXX_CustomizeSetting_0X.uasset file.
Nash's DA_A4B_CustomizeSetting_01.uasset from beta:
in blue: 10 original colors
Nash's DA_A4B_CustomizeSetting_01.uasset from 1.01:
in blue: 10 original colors
in green: limited edition color (EX01)
Nash's DA_A4B_CustomizeSetting_01.uasset from 1.02:
in blue: 10 original colors
in red: 5 new colors from the shop
in green: limited edition color (EX01)
If you edited the DA_XXX_CustomizeSetting_01.uasset in your mod, you have to copy the blue part from 1.01 over the blue part from 1.02 for each partnames (Nash has 11: skin, dead_skin, hair, etc...).
You can do 5 new colors or not, the color scheme may be bad but nothing that'll break the game (same as with the EX color).
Show Contentupdated info for costume color file on v1.06/1.07:
Oops yeah you're right it's 17, completely forgot about the shop ones that come after the 10 free ones.
Blue = 10 Original colors (unlocked threw survival mode)
Red = 5 Shop colors (unlocked with FM)
Green = 2 EX Colors (unlocked with $/€/£... EX1=japanese collector edition, EX2=ps4 only)
Show ContentCustomizeSetting Hex editing and Data (NEW):
Posts: 92
Threads: 0
Likes Received: 66 in 40 posts
Likes Given: 14
Joined: Oct 2018
Reputation:
0
12-19-2018, 07:10 AM
(This post was last modified: 12-19-2018, 07:20 AM by Lobuttomize.)
So when it's black since it's a ton of 0's how do you know where to start?
Edit: Figured it out
•
Posts: 4,868
Threads: 49
Likes Received: 4,317 in 2,682 posts
Likes Given: 6,825
Joined: Aug 2017
Reputation:
77
@"Lobuttomize"
Tbh you probably don't need this guide if you just want to change the color of some parts in character's color 1 till color 15 slot, as you can use the ColorEdit tool. But it's different story though if you want to change the EX colors (these can't be read by ColorEdit tool).
•
Posts: 502
Threads: 1
Likes Received: 1,690 in 381 posts
Likes Given: 426
Joined: Jun 2018
Reputation:
8
12-19-2018, 10:57 AM
(This post was last modified: 12-19-2018, 10:59 AM by addysun.)
@"robhal"
Excellent guide. You can also manipulate the EX colors in the customizesetting file. You can change whether or not specific materials show black or the ex color.
Posts: 142
Threads: 8
Likes Received: 227 in 115 posts
Likes Given: 29
Joined: Sep 2018
Reputation:
2
Is this for me????
Posts: 502
Threads: 1
Likes Received: 1,690 in 381 posts
Likes Given: 426
Joined: Jun 2018
Reputation:
8
03-24-2019, 05:59 PM
(This post was last modified: 03-24-2019, 06:35 PM by addysun.)
@"robhal"
I have a question that you may or may not have the answer to.
Falkes default outfit color 2 is a solid white outfit, but the base color in the texture files is somewhere closer to gray. So you would think that choosing white in the coloredit tool would get you more of a grey color since it mixes white with the base color in her texture file being grey. Yet, somehowo they got solid white, as if it the color is ignoring the texture file. How the hell did they do that.
if you look at the coloredit file this is what capcom has for the white:
but if i pick the white color i get this:
So the question is, what the heck is 0000A040?
quick edit.
I went here https://babbage.cs.qc.cuny.edu/ieee-754.old/32bit.html
and apparently 40A00000 is a value of 5. Why would colors go past 1?
•
Posts: 4,868
Threads: 49
Likes Received: 4,317 in 2,682 posts
Likes Given: 6,825
Joined: Aug 2017
Reputation:
77
@"addysun"
You may want to discuss about colors with @"TiggieWhite" instead as he seems like a color expert. Anyway, if the color values you pick in the ColorEdit tool doesn't match with what Capcom has in the first place, it should be easy to fix it as all you need is hex-editing. Look at the screenshot below
You can see in the left part that I highlighted, the values are exactly the same like Capcom has, right? So what you need to do is just copy those values to yours.
•
Posts: 502
Threads: 1
Likes Received: 1,690 in 381 posts
Likes Given: 426
Joined: Jun 2018
Reputation:
8
@"robhal"
That's what I currently do, it just doesn't make sense to me that they can have an rgb value over 1. Their color is like 500% white
•
Posts: 502
Threads: 1
Likes Received: 1,690 in 381 posts
Likes Given: 426
Joined: Jun 2018
Reputation:
8
So if anyone is ever curious, you can use colors beyond a 1.0 floating point. This never occurred to me before. In the picture below the left hair is a value of 1 red, the right is a value of 5 red
https://cdn.discordapp.com/attachments/4....59.30.png
you can go here to get hex values from floating point numbers.
https://babbage.cs.qc.cuny.edu/IEEE-754....cimal.html
Posts: 38
Threads: 2
Likes Received: 16 in 12 posts
Likes Given: 17
Joined: Apr 2018
Reputation:
0
04-10-2019, 03:26 PM
(This post was last modified: 04-12-2019, 03:10 PM by thundr51.)
nvm, figured it out
•
Posts: 4,868
Threads: 49
Likes Received: 4,317 in 2,682 posts
Likes Given: 6,825
Joined: Aug 2017
Reputation:
77
09-20-2020, 04:00 AM
(This post was last modified: 09-20-2020, 04:00 AM by robhal.)
Add the new stuff into the first post
CustomizeSetting Hex editing and Data - @"Killbox"
http://modderbase.com/showthread.php?tid=1471
Posts: 37
Threads: 1
Likes Received: 57 in 22 posts
Likes Given: 18
Joined: Jan 2021
Reputation:
1
Hi! All my colors edit work fine, but I have mistake with EyeBrown on Ryu C2, no changes in game. I've already try with Color editor tools and with Hexadecimal, MASK texture enable to change this color. All others can be change but not this one... However this line appear in the costumizesetting file. If someone have a solution. Thanks
@"robhal"
•
Posts: 4,868
Threads: 49
Likes Received: 4,317 in 2,682 posts
Likes Given: 6,825
Joined: Aug 2017
Reputation:
77
02-13-2021, 02:08 AM
(This post was last modified: 02-13-2021, 02:09 AM by robhal.)
@"Baniway"
I gonna tag @"bbb" instead as he is an expert on those ColorEdit & texture editing stuff, hope he can help
Posts: 1,364
Threads: 13
Likes Received: 2,299 in 956 posts
Likes Given: 1,650
Joined: Aug 2017
Reputation:
18
(02-13-2021, 02:08 AM)robhal Wrote: I gonna tag @"bbb" instead as he is an expert on those ColorEdit & texture editing stuff
This is the first I hear of this
@"Baniway"
Do you mean "EyeBlow"? I think that's a japanese typo for eyebrow. if its the eyebrow you are trying to change, that is material 06, but "eyeblow" is specifying material 07
try changing that highlighted part to 06, and have them red in the mask texture.
The following 1 user Likes BBB's post:1 user Likes BBB's post
• robhal
Posts: 37
Threads: 1
Likes Received: 57 in 22 posts
Likes Given: 18
Joined: Jan 2021
Reputation:
1
02-13-2021, 06:08 PM
(This post was last modified: 02-13-2021, 06:43 PM by Baniway.)
Hi @"robhal" Ho ok no problem, thanks
Thanks @"bbb" for your help, but it don't seem to work, Can you tell me if you see something wrong?
Yes I think eyeBlow is eyeBrow japanese typo.
But if eyeBrow is material 06, what is material 07?
I don't know how to read this number.
Here are the modified files (Z32 because it's a swap for Kage):
https://drive.google.com/file/d/1NUK-Vh9...sp=sharing
Here are my screenshots:
•
|