[Tool] Global Editor v0.5.0.1 (Edit Global Lighting)

A hub for everything related to NBA 2K12 modding. Releases, previews, requests, and other modding discussion belongs here.

[Tool] Global Editor v0.5.0.1 (Edit Global Lighting)

Postby Leftos on Thu Mar 01, 2012 7:50 am

This tool was made to easily customize the Global lighting/shadowing effects discovered by tatlopuyo & JaoSming in the NLSC forums. If we find any other useful parameters, I'll add them as well.

The tool comes with the default 2K lighting profile. That profile is preset and can't be deleted. You can, however, create your own profiles for use with this tool, in case you've found some hex values that you think will work better. In order to do that:
1. Select the profile you want as your base.
2. Click on New and enter a new name for your profile.
3. Edit the values and click on Save.
Your profile will now be automatically loaded whenever you start the tool.

In case you screw up one of the default profiles, just select it, click on Delete, and then re-select it.

Whenever you load a global file, it automatically detects the lighting values and inserts them into the boxes for you.


Lighting Values Tutorial
.......by seanjohn1414

There's no sure way to know what each value does exactly without having access to VC's code, so this tutorial is based on seanjohn1414's experimentation with the values.

Lighting 1: Place of lighting in stadium, skin gloss on body and faces
Lighting 2: Lightness of players' skin
Lighting 3: Lighting focused on players' body; higher values mean brighter light, effects white and "Duncan-skinned" players
Lighting 4: Hue and saturation
Lighting 5: Affects lightness/hue of dark-skinned players, also affects shadow on them
Lighting 6: See lighting 5, for white and "Duncan-skinned" players; negative values may cause zombie-like skin and blue-ish shadows on armpits
Lighting 7-10: No findings as to what these change yet
Lighting 11: Shadow effect (see lighting 13)
Lighting 12: No findings yet
Lighting 13: Placement of shadows on the body; lower than 2 and the shadow will be below the muscles; brings great results if tweaked appropriately along with lightings 11, 14, 15; acts as base shadow
Lighting 14: Intensity of shadows; edit after editing lighting 13 first
Lighting 15: Used along with lightings 11, 13 and 14 for shadow effects
Lighting 16: Sweat effects
Lighting 17: Intensity of sweat; too high a value along with a progressive sweat DDS and the players will look like taking a shower late in the game
Lighting 18: See lighting 3, for dark-skinned players
Lighting 19: No findings yet
Lighting 20-21: Hue options; changing these will make your game definitely funnier
Lighting 22: No findings yet
Lighting 23: Makes players black; shouldn't be changed at all as the effects seem hard to reverse
Lighting 24: Half sweat-effect, half hue-saturation; raising it causes more sweat but changes the hue towards green, lowering it causes less sweat but changes the hue towards red
Lighting 25: Subtle shadow effect

Different skin-types require changing the same parameters to different values per shader, which can only be done via hex-editing right now. NBA 2K12 Global Editor may support changing each instance of each parameter later on.


Disclaimer
The tool is still in beta. Make sure you keep a backup of your global file before making any changes.


Screenshots
Image


Credits
  • tatlopuyo, for discovering the lighting/shadowing values
  • seanjohn1414, for discovering some more lighting values
  • JaoSming, for his original global editing tutorial


Download
Latest version


Donate and support my work
If you enjoy using my tools and want to show your appreciation, all you have to do is say a hello and a thank you in a reply here. If, however, you want to show a little more appreciation, you can always consider making a small donation towards my everyday and studies expenses. Any donation, no matter the amount, will give me even greater incentive to develop these tools and helping the community.

Click here to donate!
Last edited by Leftos on Wed Mar 21, 2012 9:22 pm, edited 7 times in total.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby JaoSming on Thu Mar 01, 2012 7:53 am

:applaud: let's do this
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby Leftos on Thu Mar 01, 2012 7:55 am

Am I quick or what? :D

Go ahead modders and gamers, try out the values, see what works! Give us screenshots of your edits! Let's make the perfect shadow mod!
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby JaoSming on Thu Mar 01, 2012 8:14 am

very quick, great job

these values don't seem to play as nicely as the uniform ones, and since we have to quit/restart the game each time to see the new values, definitely a bit of a pain.
No screenies cause I was doing nuts with it, but the 2nd lighting value doesn't really blend nicely. I'll try more after homework.
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby Leftos on Thu Mar 01, 2012 8:18 am

Well, maybe there's more of these values around the global that we haven't discovered, or the 2nd value isn't supposed to be messed with a lot. :P

Hopefully with the testing from other modders and a bit more research we should achieve a similar, if not greater, level of awesomeness this year with the shadow mods.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby Andrew on Thu Mar 01, 2012 10:30 am

Awesome stuff. (Y)
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 113954
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby fumanchu on Thu Mar 01, 2012 2:25 pm

what i noticed, please correct me if im wrong...

lighting 1: too positive, makes green, too negative, makes red...
lighting 2 makes players lighter....

is it possible to share the values used by tatlopuyo on his screenshots?
:twisted:
User avatar
fumanchu
D' Energizer
 
Posts: 1430
Joined: Fri Mar 28, 2008 7:49 pm
Location: Manila, Philippines

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby seanjohn2525 on Thu Mar 01, 2012 2:30 pm

+1 (Y) (Y)
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby seanjohn2525 on Thu Mar 01, 2012 2:53 pm

:D :D
made an experiment ....
tell me guys what you think??

Image

Image
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby fumanchu on Thu Mar 01, 2012 2:56 pm

clean....ive been trying to replicate tatlopuyo's screenies.....i think im close coz im getitng the hang of the values....
:twisted:
User avatar
fumanchu
D' Energizer
 
Posts: 1430
Joined: Fri Mar 28, 2008 7:49 pm
Location: Manila, Philippines

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby Leftos on Thu Mar 01, 2012 2:59 pm

I'd share tatlopuyo's values... However he doesn't even remember them, because he says he was changing them constantly and he lost the changes he did when he took the screenshots.

seanjohn1414, that looks nice! What values did you use for that?

fumanchu, thanks for that info. It's only the first version on the tool based on the parameters tatlopuyo discovered, which are these two lighting values. They exist 96 times inside the global file! :P But even so, there may be other lighting values that we haven't discovered, or it just could be that we're not supposed to make such big changes. But yes, it could be that the first lighting value is the hue or some color channel, while the second one is the lightness. If the first one is a color channel, we need to research for more lighting values, but I'll leave that to the more experienced hex diggers (-cough- Jaosming -cough-). Whatever info you provide me with, I'll improve the tool.

Now, everyone, keep trying different values! Let's get this done perfect.

And remember, you need to RESTART NBA 2K12 between changes with the tool, you can't just start another game without restarting.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby seanjohn2525 on Thu Mar 01, 2012 4:07 pm

Image

this is the values that i used for this..

i think its to bright..

i will do more experiment for this.. (sana maging ok na hehe)

Image
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby fumanchu on Thu Mar 01, 2012 4:09 pm

Image

Image

too red? im currently trying to find the values for stronger shadows
:twisted:
User avatar
fumanchu
D' Energizer
 
Posts: 1430
Joined: Fri Mar 28, 2008 7:49 pm
Location: Manila, Philippines

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby Leftos on Thu Mar 01, 2012 4:14 pm

I love seanjohn1414 preview and I'll try his values out.

fumanchu, yes, definitely too red right now, Kevin Love's face looks slightly sunburnt. :P

Again, maybe we haven't found the proper shadowing parameter yet, but keep trying.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby fumanchu on Thu Mar 01, 2012 4:24 pm

i was trying if i could find tatlopuyo's values using your tool....
:twisted:
User avatar
fumanchu
D' Energizer
 
Posts: 1430
Joined: Fri Mar 28, 2008 7:49 pm
Location: Manila, Philippines

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby seanjohn2525 on Thu Mar 01, 2012 4:53 pm

another preview using this value

Image

Image

Image

is'nt it too dark for you guys?? or my eyes hurt?? :D :D
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby tatlopuyo on Thu Mar 01, 2012 4:54 pm

change 00 00 40 bf - to 00 00 40 3f..you can start with that fumanchu..anyways..ill do more researching...just need to go to the recording right now to make music..ill be back later for more stuff...anyways awesome tool leftos..
User avatar
tatlopuyo
 
Posts: 768
Joined: Thu May 19, 2011 6:20 pm

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby tatlopuyo on Thu Mar 01, 2012 4:56 pm

seanjohn u are using stadium shadowmod on the previews?
User avatar
tatlopuyo
 
Posts: 768
Joined: Thu May 19, 2011 6:20 pm

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby XpLosibo on Thu Mar 01, 2012 5:04 pm

you guys are a genius.. in a different matrix :applaud:

leftos, is it possible to remake the 2k11 cf editor, the one w/c we use f1,f2,f3? its easier, and we can use it in draft class
==========================
*** ◄®eal Gamefa©e► ***
==========================
User avatar
XpLosibo
 
Posts: 1320
Joined: Sat Feb 16, 2008 5:27 am
Location: Man from Manila

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby seanjohn2525 on Thu Mar 01, 2012 5:05 pm

@tatlopuyo oo yata tol.. i cant remember..

if only i can find the values for the shadows.....

can you pls send me your values bro?? pls...
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby tatlopuyo on Thu Mar 01, 2012 5:16 pm

for starters tol just change 00 00 40 bf - to 00 00 40 3f then change the 40 to other values until you get what u want..
User avatar
tatlopuyo
 
Posts: 768
Joined: Thu May 19, 2011 6:20 pm

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby seanjohn2525 on Thu Mar 01, 2012 5:21 pm

Image

using this value the shadows are inverted.. its like the lights are coming from the court LOL.. almost there... konti pa.... :D :D

Image
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby seanjohn2525 on Thu Mar 01, 2012 5:22 pm

@tatlopuyo cge tol i will try that... thnx (Y) (Y)
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby Leftos on Thu Mar 01, 2012 5:28 pm

seanjohn1414, that could mean that Lighting 1 is actually the angle of lighting or something. Negative values mean that it comes from the top, positive values that it comes from the bottom.

I'm not sure, but from your screenshots it looks like it.

===================================================

Lighting 2 seems to be the lightness. If you get it higher than 1.05 the players start getting lighter skin, anything lower and the white players get darker skin. If it needs any edits, they need to be only slight if you ask me.

I'm gonna test Lighting 1 now.

===================================================

Wow. Lighting 1 really doesn't like to be changed. Changed it to -2 and suddenly some of the faces became red. I'm baffled as to what it does really.

If you ask me, there's more parameters in the global that we haven't discovered yet. I'll let you guys play around with it, see if you can get something better.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Global Editor v0.1 (Edit Global Lighting)

Postby seanjohn2525 on Thu Mar 01, 2012 7:04 pm

i think this is the best for me ATM....

i think i will need to rest my head for now :D :D

later i will experiment again for more values...

Image

Image

Image
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Next

Return to NBA 2K12 Modding

Who is online

Users browsing this forum: No registered users and 26 guests