512 Jerseys Tutorial - Updated First Post

Resources for NBA Live 07.

512 Jerseys Tutorial - Updated First Post

Postby JaoSming on Wed Apr 25, 2007 1:05 am

Ok here is the updated 512 tutorial. This will create a viv file that can range from 7MB to 15MB for 55 numbers and about 20MB for all 101 numbers. It is recommended that you use the 55 number version because of the smaller filesize. The 55 numbers used are all of the numbers that are actively used in the NBA today. After using this tutorial, import your buni into the normal .fsh file as 256x256 so people in dynasty mode can still see the same jersey if their draft players have a different number,

Big thanks to Pdub for making the batch files and the getting the filesize down.

So start off by downloading this
http://www.nba-live.com/jaosming/512JerseysBatch.rar
and goto My Computer, goto your C Drive (C:/) and create a new folder called "fshline" without the quotes.
Then extract the rar contents, including the work folder, into that folder.

Next create your buni as a .png file and place it in the fshline folder. Rename it to "texture0!buni.png" without the quotes.

now goto the NBA Live 07/sgsm/uniforms folder and copy the jersey viv that you will be editing. For instance if you were to edit the boston home jersey copy the bosthome.viv and past it into the fshline folder you created.

After you move the viv file rename it to newyhome.viv so the batch files recognize the viv file. Then with a hex editor, such as Hex Workshop or something with a find and replace feature, find the normal file name (in this example bosthome) and replace it with newyhome. Again this is done so the batch files properly find the correct files.

Now the easy part, after renaming the viv and the fsh files inside the viv, and placing your renamed 512 jersey png into the fshline directory you created run one of the batch files. It is recommended to run the 55 512 Numbers.bat because it will create a smaller filesize.

After the bat file is finished rename your viv back to its original name (bosthome.viv) and use the hexeditor to rename the files inside the viv back from newyhome to bosthome.

You should also use BigGUI to rebuild the viv file after the batch process.


Then Throw back in the uniforms folder and release your work!

Image
Last edited by JaoSming on Mon Apr 30, 2007 11:55 am, edited 6 times in total.
Opinions are my own.

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

Postby dizzle on Wed Apr 25, 2007 1:20 am

awesome tutorial..maybe someone can maybe just import all the numbers and maybe upload em..i would when i have time but truly is an easier method
formerly jinth0688
dizzle
 
Posts: 635
Joined: Fri Jul 14, 2006 5:04 am

Postby Panco on Wed Apr 25, 2007 1:30 am

Thanks for sharing your knowledge, although that should take a hell of a time.. Is there a way to make this, using a hex editor ?
Image
Panco
 
Posts: 436
Joined: Tue Jun 29, 2004 1:36 am
Location: Lithuania

Postby JaoSming on Wed Apr 25, 2007 1:34 am

there is

http://www.nba-live.com/c0nr4d/Previews/DPaway512.gif

numbers are smaller than they should be and I believe you need to edit each number as well.

With the numbers you dont need to do 6-9, 16-19, 26-29, 36-39 ect because I dont believe anyone has those numbers in the NBA.
Opinions are my own.

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

Postby dizzle on Wed Apr 25, 2007 1:43 am

isnt sheed 36?
formerly jinth0688
dizzle
 
Posts: 635
Joined: Fri Jul 14, 2006 5:04 am

Postby JaoSming on Wed Apr 25, 2007 1:48 am

yep he is...hm maybe thats a college rule then, my bad
Opinions are my own.

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

Postby Lean on Wed Apr 25, 2007 1:53 am

I think doing all 101 numbers is pretty much a job in general, and ideal too if players get traded to some teams.
User avatar
Lean
The Artist Formerly Known as Crappystuff
NLSC Team Member
 
Posts: 7775
Joined: Mon Nov 13, 2006 8:49 pm
Location: Pilipinas

Postby Panco on Wed Apr 25, 2007 2:22 am

JaoSming wrote:there is

http://www.nba-live.com/c0nr4d/Previews/DPaway512.gif

numbers are smaller than they should be and I believe you need to edit each number as well.

With the numbers you dont need to do 6-9, 16-19, 26-29, 36-39 ect because I dont believe anyone has those numbers in the NBA.

Ok. Thanks.
btw, Can I still correct numbers positions using stalker's tutorial for numbers made like that ?
Image
Panco
 
Posts: 436
Joined: Tue Jun 29, 2004 1:36 am
Location: Lithuania

Postby JaoSming on Wed Apr 25, 2007 2:30 am

yep
Opinions are my own.

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

Postby c0nr4d on Wed Apr 25, 2007 3:00 am

nicely done sir (Y)

why does that screenshot still look blurry tho?

after things calm down here at school, i'll work on doing some of these... ;)
User avatar
c0nr4d
The One and Only
NLSC Team Member
 
Posts: 3211
Joined: Thu Apr 29, 2004 8:31 am
Location: East TN

Postby JaoSming on Wed Apr 25, 2007 3:10 am

cause that was a 1024 jersey shrunk to 512 512

I just did a "Time Trial" to see how long it would take to do all numbers with this tutorial.

I got a time of 20 minutes and 16 seconds from start to finish. from the start i mean getting the jersey to have an alpha layer then importing into fshx.

Image
Image

Very sexy right? Well here is the issues that come up with the 1024 jerseys. The file sizes are huge, 5 megs for each jersey so 500 megs for an entire jersey set..oh and when I tried playing 5v5 with that jersey the game crashed.

Looks like we are going to have to stick with 512 512 but with my current fsh file, 1 number is going to be 1 megabyte....so that means a cool 100 megs for a download.

Ill talk to pdub and see if we can trim out anything in that .fsh.
Opinions are my own.

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

Postby JaoSming on Wed Apr 25, 2007 4:00 am

I got 1 more idea hang on
Opinions are my own.

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

Postby dizzle on Wed Apr 25, 2007 4:05 am

damn..100 megs a jersey?..damn
formerly jinth0688
dizzle
 
Posts: 635
Joined: Fri Jul 14, 2006 5:04 am

Postby c0nr4d on Wed Apr 25, 2007 4:17 am

wow, that is sexy :P

yeah, u gotta figure out a way to minimize file size...
User avatar
c0nr4d
The One and Only
NLSC Team Member
 
Posts: 3211
Joined: Thu Apr 29, 2004 8:31 am
Location: East TN

Postby JaoSming on Wed Apr 25, 2007 4:59 am

aight guys, I dont know what to do. I tried adding the buni file to the blet and the reflection fsh files and it didnt override the 256 texture like the above method does.

For some reason 2006 and 2005 jersey .fsh files are working in 07. They didnt use to so I dont know what's going on with that. They import fine as 512 512 but the numbers are too small and are off center. I tried editing those fsh files with jersey raptor but the changes I made were not shown in 07.

so while I did find a solution, it's not a good solution. keep making 512 jerseys, this will hopefully be cracked fully by Live 08, but right now just beh.
Opinions are my own.

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

Postby Patr1ck on Wed Apr 25, 2007 8:33 am

Each 512 jersey should only be 341 kb if it is DXT3 plus 5 kb for the numbers. That still comes out to 35 mb per jersey.
Patr1ck
Administrator
Administrator
 
Posts: 13335
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Postby Lean on Wed Apr 25, 2007 3:03 pm

Darn, that's a pretty not-so-good issue. Maybe we could re-compress it with bigGUI?
User avatar
Lean
The Artist Formerly Known as Crappystuff
NLSC Team Member
 
Posts: 7775
Joined: Mon Nov 13, 2006 8:49 pm
Location: Pilipinas

Postby Patr1ck on Wed Apr 25, 2007 3:14 pm

Yes but it would only cut it down to 30 mb. If we can get someone who can write a simple binary copy and paste into another file along with some modifications to the new binary to correct the headers it would be easier then importing 101 numbers.

Now that I think about it, since I already know how to make fshline batch files, I can probably make a batch file, but it would still be dependent on the user. You would need to copy the original file 100 times and using a renamer to rename the files correctly, then of course placing the pre-exported number files into the new directories after renaming the files, then just running an import batch file tog et all the numbers and buni's back in the correct files.
Patr1ck
Administrator
Administrator
 
Posts: 13335
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Postby JaoSming on Wed Apr 25, 2007 10:29 pm

Pdub wrote:You would need to copy the original file 100 times and using a renamer to rename the files correctly, then of course placing the pre-exported number files into the new directories after renaming the files, then just running an import batch file tog et all the numbers and buni's back in the correct files.


Man you made that sound more difficult then it really is haha
Opinions are my own.

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

Postby Patr1ck on Wed Apr 25, 2007 10:53 pm

It wasn't that hard at all. The only thing that really took time was the copying of my buni 101 times and I even figured out a faster way of doin that.

Know what I noticed? Once you import your buni with fshline, never export it and import it back again. I exported my 512 buni and the white looked yellow. Upon comparison withthe original file, it was yellow and the quality had degraded a little bit.

Here's what I did. This is a bit easier then importing one by one with Dolffin.

Extracted all the numbers with a batch script and put them in a folder for later. I used a dos command delete the dds files and the index.fsh files. This way I can just drag all these folders onto the number folders that I will extract later, clicking "overwrite all' when prompted.
Then I took one number fsh to the side and extracted it with fshline.
Edited the index.fsh and added the buni, imported it back into the number fsh.
selected the fsh, clicked CTRL+C to copy and CTRL+V to paste, then I selected both, repeated copy/paste, selected all, repeated copy/paste until I had 32 then I just caopy/pasted those two more times till I had 96. Then I selected 5, copy/pasted.
Then I used the file renamer like you said. It works great by the way, thank you for that.
Then I ran another batch script on those files, exporting them all.(This is where I noticed that the buni became lower quality.
I went back to the number folder that I extracted before, selected all the folders and copied them onto the new folders, clicking "overwrite all" when prompted. This puts all the numbers in their correct place, no need for one by one importing.
Then I opened the explorer bar on the left of windows explorer so I could see the 101 folders.
I wentback to my original buni, clicked Ctrl+C to copy.
Then I went back to the explorer bar, clicked on the first number-folder, and repeated these key presses until all the folders had the buni recopied(I did this because of the quality degradation from exporting out of fshline).

CTRL+V, down, CTRL+V, down......repeat until all folders were done. It was actually quite quick.

Then I edited my batch script so it would re-import all the images.
Then I compressed all the files with eazip and imported them into the viv file.

20 mb for this jersey.

Image

If anyone wants my batch script, let me know. You only need fshline and you can change it for each jersey with notepad/wordpad's "replace" feature.

How's that for difficult?
Patr1ck
Administrator
Administrator
 
Posts: 13335
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Postby JaoSming on Wed Apr 25, 2007 10:57 pm

its a little confusing but i think you got it. 20mb aint shabby for this, especially in a broadband world.

I dont know if this would save any space, but what if we forced jersey patchers to add the numbers to the buni instead and have a 1x1 blank texture for the number
Opinions are my own.

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

Postby JaoSming on Sat Apr 28, 2007 2:54 pm

pdub helped me get the file size down to about 7.6mb. Ill write a new tutorial when I get good at the process.
Opinions are my own.

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

Postby 2020 on Sat Apr 28, 2007 9:12 pm

great tutorial, really helped me out
User avatar
2020
 
Posts: 200
Joined: Sun Feb 04, 2007 6:24 am

Postby jusay_mitch29 on Mon Apr 30, 2007 11:25 am

JaoSming, can you post a link to the jersey texture that you used on the nets jerssey

and can someone help me a virus attacked my pc and i needed reformatting, before reformatting i had a jersey texture which had a lot of layers and blue guidelines. thing is i forgot where i downloaded this if anyone knows where to download this jersey please pm me.
search light on the word "mavs" :P
Image
|.:my 2x jersey's.:.CLICK ME:.|join elbeen's forum
User avatar
jusay_mitch29
 
Posts: 281
Joined: Fri Dec 01, 2006 7:53 pm
Location: 2917 sampaguita 1st, punta sta. ana. manila. philippines

Postby jusay_mitch29 on Mon Apr 30, 2007 11:43 am

Pdub, maybe you should write a highly detailed tuto with all the programs, fles, etc.

if its 20 mb per/jersey then it would be 40 mb per team 60mb including the alternate jersey still its a big file maybe it best to make a jersey download for each team so people can choose which jersey they will download
search light on the word "mavs" :P
Image
|.:my 2x jersey's.:.CLICK ME:.|join elbeen's forum
User avatar
jusay_mitch29
 
Posts: 281
Joined: Fri Dec 01, 2006 7:53 pm
Location: 2917 sampaguita 1st, punta sta. ana. manila. philippines

Next

Return to NBA Live 07 Tutorials & FAQs

Who is online

Users browsing this forum: No registered users and 1 guest