Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

Switch to full style
A hub for everything related to NBA 2K19 modding. Releases, previews, requests, and other modding discussion belongs here.
Post a reply

"Mask" Value Within .SCNE, .TXTR, etc. Files

Sun May 26, 2019 7:34 am

I always wondered what the "Mask" value was that I saw inside files like .SCNE and .TXTR

After looking through many of these files I noticed that number was always within a certain range and using cheat engine a lot I just kinda had a hunch that these were just decimal values but usually turning them to hex would look like FFFFFF or FFFFFFFF

So after a few more examples I concluded these are color values that sometimes have alpha values too

"Mask":
4294967295 -> FFFFFFFF
Image
16777215 -> FFFFFF (no alpha)
Image

Some examples of where there are actual colors:
Cavs Home Font Color .txtr
Image
Atl Secondary Font Color .txtr
Image
Memphis Away Font Color .txtr
Image

I don't know how much of an impact this value makes and not really sure how to use it or when to use it but I thought this information would be helpful.

The Min and Max values seen above do matter a lot however. But these are also just color values sometimes with alpha values.
With these the colors are (R, G, B, A) and the 0.0 to 1.0 means 0 to 255 just like a hex value of 00 to FF
you don't have to stop at 1.0 though since putting them at 4.0 for example can make the led lights on the shot clock or backboard really bright however this doesn't often look great but you can try it

Re: "Mask" Value Within .SCNE, .TXTR, etc. Files

Mon May 27, 2019 2:41 am

Thanks took this info and fixed the grey sock issue I had with my team accessories. Changed min to make it transparent then changed the color of the texture to make it all black. Looks like 2k used like a matte black color code. Wish there was a away to use the actual accessory colors I set for the socks. That goes out the window once you change make a team a user edited team in cheat engine.

Image

Image

Re: "Mask" Value Within .SCNE, .TXTR, etc. Files

Sat Jan 18, 2020 4:09 am

Thanks for the clarification on mask and min/max. I'm trying to resize a texture rn and thought at first these min max values are mapping coordinates in space, lately came to the conclusion that they must have something to do with the shading process but wasn't sure.
Post a reply