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

NLSC Forum

Switch to full style
Patchmaking tutorials for NBA 2K13.
Post a reply

Hex on Steroids - Easily Edit Court Reflections and Colors

Thu Nov 08, 2012 3:47 am

Based on the still relevant hex tutorial here - viewtopic.php?f=144&t=82793
Special thanks to Verminator for helping with the reflection bit
Requires the amazing tool by Leftos, Hex on Steroids
This will work with 2K12 floors, possibly older too.



http://youtu.be/EdEbj6PI_L0
phpBB [video]





Reflections


Open Hex on Steroids and goto the Edit Profile Window
Image

Click on the top Edit button to create a new Category, and then select it to create a new Profile
Image

I would name the Category "Courts" and the Profile "Reflections". Select these in the main Edit Profile window. Then fill in the following information
Code:
FFFFFFFF000000000000000000000000FFFFFFFF

Image

Press OK to close the Edit Profile window and confirm that you have the new Reflections profile selected
Image

Now we get to open up a decompressed floor file with the tool (remember to back up first). Hit File, Open, and choose the floor file of your choice. I am using the Celtics floor for an example, act surprised. We only want to concern ourselves with the these values
Image

Further experimentation has shown me to stick with row 6 ONLY. Sometimes if fucks up textures if you edit 5 or 7....sometimes
This will differ with each court, but you want to look for the "1" values and change them accordingly. I previously stated that you need to stick with row 6 and 7, that was a mistake. If you see 1, edit it. Here you can change these two values to whatever you want. Higher values increase the reflection, lower values remove the effect. I've noticed the value of "3" providing a very good accurate reflection value.

Note that the bottom value controls player reflections, and the value above controls stadium reflections. Here is an example.
Players Increased Reflection - http://nba-live.com/jaosming/2k13/Refle ... -03-96.jpg
Stadium Increased Reflection - http://nba-live.com/jaosming/2k13/Refle ... -10-38.jpg
Both
Image

Note that when you save with Hex on Steroids you need to overwrite the existing file. So remember to make backups before opening the file.

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 3:47 am

Colors


Now, this tool also helps with experimenting and editing Court Colors, such as the lane, out of bounds, and even line colors. Unfortunately, it is still a complicated process, but much much much easier than doing the straight hex editing.

On top of Hex on Steroids, you need access to an RGB color picker. GIMP and Photoshop have these built in, but you can access these two online if need be, http://www.colorschemer.com/online.html & http://www.colorpicker.com/ ~Thanks to athozoan


Open the tool, click to create a new profile in the Courts category, and input the following information.
Code:
5B21AB2400000000

Image

Press OK. Now, again, open up a decompressed floor file with the tool (remember to back up first) after confirming you've selected the correct profile. Again, these are Celtics values being displayed.
Image

Well, that looks like a mess. We want the values later in the file, so scroll right until you see values of "1" in the 3rd row
Image

The 1's are an alpha value, iirc, but the three numbers above them are the RGB colors in a proportional form.

So lets take that first value on the left and change the color. We see
Code:
S23 @ 103348 -- This is the Header (ignore)
0.2994716 -- Red
0.475 -- Green
0.285 -- Blue
1 -- Alpha?


If you recall from the old Hex Editing Tutorial - viewtopic.php?f=144&t=82793 - these values are fractions of 1, which correlate to the full RGB Scale. So to understand these values and import them into the online sites, GIMP, or Photoshop to see what color is what, we need to multiple them by 255.
Code:
0.2994716 x 255 = 76 -- Red
0.475 x 255 = 121 -- Green
0.285 x 255 = 73 -- Blue


If you take a look at those RGB values, you will recognize them as the Celtics green that surrounds the court in most of the out-of-bounds areas and the lane. In fact, this value changes all of those (except near the NBA logo, Website, and Twitter names).

Lets say I want to import in a Gold color instead of the Celtics green. To do that I first need the RGB for that Gold. According to GIMP, it is
Code:
220 -- Red
205 -- Green
37 -- Blue


To import that value back into the tool, I need to divide those values by 255
Code:
220/255 = 0.86275 -- Red
205/255 = 0.80392 -- Green
37/255 = 0.14510 -- Blue


Put those values in the tool, save the file (overwrite remember) and load it up in game to see your results
Image

I did all of that by editing colors in that method with Hex on Steroids. If it ends with 1 in row 3, it is a color for something on the court. Just know that column position, values, and effects will differ from court to court. And YES lane line colors can be changed with this process! Much easier to identify and edit without the raw hex :mrgreen:


Enjoy!

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 6:40 am

You can use this site without downloading gimp of find the RGB without downloading gimp an they also give you different colors to choose from and the RGB numbers http://www.colorschemer.com/online.html an also this sitehttp://www.colorpicker.com/

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 7:17 am

Thank you athozoan, I added those to the tutorial. (Y)

I also updated the reflections one, since it appears that if it is a "1" it should be edited for the reflections. And boy, the reflections are prreeeeeetty
Image
Image

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 7:50 am

but you need to search the esadecimal value of color, like the base calculator of HEX workshop..no?

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 7:54 am

Sixers85 wrote:but you need to search the esadecimal value of color, like the base calculator of HEX workshop..no?

nope, just multiply or divide by 255

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 8:04 am

ah...need only to divide or multiply by 255...and insert the decimal value ( for ex. 0.5678) in the tool, and the tool automatic detect the HEX code and change that?

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 8:14 am

yep, that is why this tool is awesome, lol

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 10:39 am

J+ six + this tool = Str8 Epicness! good job fellas. (Y)

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Thu Nov 08, 2012 3:04 pm

Bravo :applaud: for you for the tutorial and for Leftos for his awesome tool

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Fri Nov 09, 2012 2:24 am

:applaud: :applaud:

Definitely gonna try this

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Fri Nov 09, 2012 7:03 am

Thanks for this tutorial Jao.

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Fri Nov 09, 2012 11:04 pm

nice tool and tutorial!
is it possible to edit the shaders of jerseys with that tool and if yes could you make tutorial how to edit them?
thanks in advance

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Sat Nov 10, 2012 12:10 am

yep, just do a autodetect shaders profile for maybe 15? values and see what pops up. I havent experimented with uniforms yet this year.

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Mon Nov 12, 2012 7:21 pm

JaoSming wrote:I previously stated that you need to stick with row 6 and 7, that was a mistake. If you see 1, edit it


I got unwanted results from changing every value of 1 to 2

Image

so you may want to amend that

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Mon Nov 12, 2012 11:49 pm

hey jao thank for this tut. At last I finally edit the floor files that suit to my taste... thank you

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Tue Nov 13, 2012 1:36 am

JBulls wrote:
JaoSming wrote:I previously stated that you need to stick with row 6 and 7, that was a mistake. If you see 1, edit it


I got unwanted results from changing every value of 1 to 2

Image

so you may want to amend that


which ones caused those issues? as I said, I based it off the Celtics court which handled all of them being changed

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Tue Nov 13, 2012 5:26 am

Added my video tutorial to the first post.

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Wed Nov 14, 2012 12:53 am

Any chance that for different type of courts we will need to enter other value than 4 in the profile creating?

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Wed Nov 14, 2012 2:48 am

I don't think so, is it more trouble with that d-league court?

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Wed Nov 14, 2012 4:23 am

yea, I just can't make that work and it is making crazy not knowing why :roll:

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Wed Nov 14, 2012 4:50 am

well, I'm confused too since I just looked it up and found it immediately :oops:
Image

if you use my colors profile setup, it is columns S53 and S56. By default they should show
Code:
1
1
1
1

and I changed it to
Code:
0.1
0.8
0.1
1


I hope that solves it

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Wed Nov 14, 2012 5:33 am

I can see you edited this green part, but were you able to edit the red color as well? (circled in blue in the picture below)
cause I just can't find it.
Image

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Wed Nov 14, 2012 5:43 am

S50

Re: Hex on Steroids - Easily Edit Court Reflections and Colo

Wed Nov 14, 2012 5:48 am

s50 gives me this:
Code:
0
0
0
-3.233489E-34
Post a reply