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

NLSC Forum

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

Inserting Alpha Channels for Edited Jerseys

Fri Nov 05, 2010 12:40 am

I thought this might be useful for people.
Thanx to Lean I now know how to edit/insert jersey textures into the game. And thanx to him for sharing the tut with everyone.
Lean wrote:If you remember the 2k9 and 2k10 jerseys, they have this bitmap that only has four colors: black, red, green, and blue. Each color represents a specific texture to be added as an overlay to your jersey. This indicates which parts of the jersey has a cloth-like texture, shiny areas, holed areas, etc. Like this:
Image

They merged that file with the main bitmap in 2k11. Which kinda saved us the file size this time around.
When you do the main bitmaps for the jerseys, there's a fifth channel for it (RGB, Red, Green, Blue, and Alpha 1). The Alpha 1 channel is a grey-scale bitmap channel that does the same thing as the ur-colored bitmap of 2k9/2k10 does.

This is the main bitmap of the Suns jersey I released a few days ago:
Image
Now this is how its Alpha channel looks like:
Image
Though I'm not 100% sure how things work, this is just how I see what the colors on the Alpha channel are for:

White are for logos, giving it an embroidered look. The black areas have no lighting in-game. The light grey parts are for the main "cloth", just as how the black areas work in 2k9/2k10. The darker grey parts give it a shiny texture.
So this is how it looks like when imported to IFF Editor:
Image
There you go. :wink:

Re: Tutorial: Inserting your created jerseys/alpha channels

Fri Nov 05, 2010 12:49 am

Thank Eda ;)

Re: Tutorial: Inserting your created jerseys/alpha channels

Fri Nov 05, 2010 8:51 am

stickied, thanks for copying this

Re: Tutorial: Inserting your created jerseys/alpha channels

Sat Nov 06, 2010 2:33 pm

I really. really want to put my hands into jersey patching but the only thing keeping me away from that is how do you create those green textures with those clothing texture:
Image

HOW?! :(

Re: Tutorial: Inserting your created jerseys/alpha channels

Sun Nov 07, 2010 6:12 am

Thank you for the turorial (y) very helpful, I was wondering how to do that :0]

Re: Tutorial: Inserting your created jerseys/alpha channels

Tue Nov 09, 2010 6:33 am

mynameisgerd wrote:I really. really want to put my hands into jersey patching but the only thing keeping me away from that is how do you create those green textures with those clothing texture:
Image

HOW?! :(



I would like to know this also, can this green image just be cloned and filtered from the original image in photoshop? If so how? If not what is the best way to edit this file?

Re: Tutorial: Inserting your created jerseys/alpha channels

Tue Nov 09, 2010 8:48 pm

dwpshacktown wrote:
mynameisgerd wrote:I really. really want to put my hands into jersey patching but the only thing keeping me away from that is how do you create those green textures with those clothing texture:
Image

HOW?! :(



I would like to know this also, can this green image just be cloned and filtered from the original image in photoshop? If so how? If not what is the best way to edit this file?

Seems like a normal map...the problem is that normal map usually are RGB images...any help would be appreciated...

Re: Tutorial: Inserting your created jerseys/alpha channels

Tue Nov 23, 2010 7:36 pm

I had a texture from 2k9. :| Then I added the current mesh hole patterns in Photoshop for the green maps.

If you have opened the jersey file in IFF Editor (or any other applications that can open this), save the green image as a bitmap. Then open that bitmap in Photoshop and clean out any embossed logos. Apply yours and have it "embossed" the same way as well. Go to the Channels tab in Photoshop, hit CTRL+Click on the thumbnail for the "Green" channels and then create a new layer, then fill it with green. CTRL+A to select all of that new layer then CTRL+C to copy. Create a new document, paste that copied image in, and save it as a PNG. Re-import it back on IFF Editor, and that's it.

I'm actually planning on writing a full tutorial on jersey creation here for 2K11 but my sleep patterns are keeping my brain from working properly. :(

Re: Tutorial: Inserting your created jerseys/alpha channels

Mon Dec 13, 2010 4:51 am

can somebody explain me how to edit jersey numbers and insert them in? I have got a few jersey bangers but they don't look good with default numbers colors... please help..

Re: Tutorial: Inserting your created jerseys/alpha channels

Fri Dec 31, 2010 10:27 am

Lean wrote:I had a texture from 2k9. :| Then I added the current mesh hole patterns in Photoshop for the green maps.

If you have opened the jersey file in IFF Editor (or any other applications that can open this), save the green image as a bitmap. Then open that bitmap in Photoshop and clean out any embossed logos. Apply yours and have it "embossed" the same way as well. Go to the Channels tab in Photoshop, hit CTRL+Click on the thumbnail for the "Green" channels and then create a new layer, then fill it with green. CTRL+A to select all of that new layer then CTRL+C to copy. Create a new document, paste that copied image in, and save it as a PNG. Re-import it back on IFF Editor, and that's it.

I'm actually planning on writing a full tutorial on jersey creation here for 2K11 but my sleep patterns are keeping my brain from working properly. :(

May you or anyone please explain what "embossed" means and can anyone translate these instructions for GIMP Users?

Re: Tutorial: Inserting your created jerseys/alpha channels

Mon Jan 03, 2011 12:31 am

ok im new to modding and patch making so i used my nba2k modd tool and adobe to make an create a team jersey and i insert it and everything why is it the same as befor? and question number two how do u create a logo for like create a team?? thanks

Re: Tutorial: Inserting your created jerseys/alpha channels

Mon Jan 03, 2011 12:43 am

you need to replace one of the uh/ua 10XX iff files for the jersey to show up

logo10XX.iff are the logos for CATs that show up on the jerseys. in-game logos are located in the logos_small/medium/large iff files

Re: Tutorial: Inserting your created jerseys/alpha channels

Mon Jan 03, 2011 1:26 am

so i ddeleted a icon and theres a big square there instead i want it to be like blank (see threw)

Re: Tutorial: Inserting your created jerseys/alpha channels

Mon Jan 03, 2011 1:39 am

it doesnt like being blank

create a "dummy" blank logo with a single pixel somewhere on it and it should fix it

Re: Tutorial: Inserting your created jerseys/alpha channels

Mon Jan 03, 2011 4:46 pm

PLEASE HELP WITH DUMMY SO I CREAT ONE THE ICON SHAPES OUT LINES THERE FILLED WITH BLACK PLEASE HELP

Re: Tutorial: Inserting your created jerseys/alpha channels

Tue Jan 04, 2011 1:13 am

dont post in all CAPS, I can read it just fine
You do not have the required permissions to view the files attached to this post.

Re: Tutorial: Inserting your created jerseys/alpha channels

Tue Jan 04, 2011 3:45 am

haha sorry cap lock was on and thanks :D :D :D :D :D

Re: Tutorial: Inserting your created jerseys/alpha channels

Tue Jan 25, 2011 10:55 pm

Hi guys, sorry if i am using the wrong topic to post, but I'd like to ask you something: i created an alternate jersey for Seattle Sonics. I tried to import it using names such as ux562.iff, r1h562.iff or r1a562.iff and i don't see nothing changing inside the game. Only the 2 original jerseys white and green.
Is there a way to import more kits to my team? If yes, please tell me, how?
Thx in advance!!

Re: Tutorial: Inserting your created jerseys/alpha channels

Wed Jan 26, 2011 1:24 am

jerseys are loaded by the roster so in the roster there needs to be a row saying use ux562.iff with these accessory colors for this team with other parameters.

Re: Tutorial: Inserting your created jerseys/alpha channels

Wed Jan 26, 2011 3:23 am

Thanx a lot Jao!
But -as i am a little bit irrelevant- how can i see if exists this row at the roster?

Re: Tutorial: Inserting your created jerseys/alpha channels

Wed Jan 26, 2011 8:11 am

you need to look at the jerseys tab in the REDitor?

Re: Tutorial: Inserting your created jerseys/alpha channels

Wed Jan 26, 2011 10:40 am

Οk! Thank you a lot!!

Re: Tutorial: Inserting your created jerseys/alpha channels

Wed May 11, 2011 9:00 am

here are some blank maps ...from deepinto :)
http://i427.photobucket.com/albums/pp35 ... _short.png
http://i427.photobucket.com/albums/pp35 ... dcolla.png
http://i427.photobucket.com/albums/pp35 ... collar.png
Post a reply