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

NLSC Forum

Resources for NBA Live 07.
Post a reply

512 Jerseys Tutorial - Updated First Post

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.

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

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 ?

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.

Wed Apr 25, 2007 1:43 am

isnt sheed 36?

Wed Apr 25, 2007 1:48 am

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

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.

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 ?

Wed Apr 25, 2007 2:30 am

yep

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... ;)

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.

Wed Apr 25, 2007 4:00 am

I got 1 more idea hang on

Wed Apr 25, 2007 4:05 am

damn..100 megs a jersey?..damn

Wed Apr 25, 2007 4:17 am

wow, that is sexy :P

yeah, u gotta figure out a way to minimize file size...

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.

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.

Wed Apr 25, 2007 3:03 pm

Darn, that's a pretty not-so-good issue. Maybe we could re-compress it with bigGUI?

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.

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

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?

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

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.

Sat Apr 28, 2007 9:12 pm

great tutorial, really helped me out

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.

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
Post a reply