Installing Shoe Patches

From NLSC Wiki
Jump to: navigation, search

The following guide was written by Andreas Dahl.

The Guide

In this tutorial I will try to explain two different ways of adding shoe patches to your game. Replacing an old shoe is the easiest way of adding a shoe patch, and I suggest that unless you're familiar with patching, you should start with that one. Then, once you've gotten the hang of that, you can move on to the more advanced way off adding them.

Please note that this tutorial is written for NBA Live 07, however it should work just the same with older versions of the game, unless otherwise noted.

Air Jordan XXI by Andreas Dahl

This is the shoe patch that I will be using throughout these tutorials as an example. It's my White/Varsity Red-Metallic Silver Air Jordan XXI (Click thumbnail for a larger version). For more information about shoe patches as well as a tutorial on how to create your own ones, check out the Links at the bottom of the page.

Replacing an old shoe

These are the Tools neccesary for this step:


Shoetutorial1.1.jpg


First of all, check here for listings of the correct shoe numbers. Find the number of the shoe (for the correct game) that you'd like to replace. I choose the first shoe: 001 (Nike Shox Elevate for NBA Live 07). Now go to your main NBA Live directory (Where you installed the game) and open the /sgsm/common/ folder. There you'll find a file called xshoes.viv; open it with BigGUI. Then find the shoe with the same number as you looked up earlier. Extract that file. (For NBA Live 07, it's two files, one of which is for the reflection.)


Shoetutorial1.2.jpg


Now it is time to open the file that you just extracted (for me it was sh001.fsh) with FshX.


(1) First off, you might want to increase the texture resolution, thus increasing the level of detail. This only works when you've got a shoe patch that's big enough so it doesn't just stretch the image out. Also, keep in consideration that the larger the files, the larger the memory usage. (2) Click on 'Texture' -> 'Import...'. Then browse for the shoe patch texture and choose open.

If you cannot find the file there even though you are sure that it is in that folder, it's most likely because the file format isn't supported by FshX (which often is the case with jpg files), although that is nothing to worry about as you just have to type in the name of the file in the 'Filename:' bar and then choose open. Then save the file.

Then do the same for the reflection file. (If you're replacing a file from the older Live's, the reflection part is in the same file as the first part, instead of a separate file).

Now you are almost done, you just have to put the file in the \sgsm\ folder and start the game up.


Shoetutorial1.3.jpg


And there you have it... You have replaced the old Nike Shox Elevate with the new patched Air Jordan XXI.

Adding a new shoe

This is quite a hard way of adding a new shoe patch to the game, so try to follow the tutorial as closely as possible. So, if you get it wrong the first time, go through it a second time just in case. Then, if you still can't get it to work, feel free to contact me at dahl@nba-live.com.

These are the Tools neccesary for this step:


Shoetutorial2.1.jpg

Ok, let's start off with adding the new shoe to the .dbf's. Open the folder \My Documents\NBA Live (2005-07)\database\originaldb\ and open the file shoesacc.dbf with DB Commander. (If you have a patched shoesacc.dbf somewhere else, like in a roster update, you can use that one instead). Then go to the bottom of the list and there you will find that the last entry (305 for NBA Live 07). Make a new entry and completely copy the previous line.


        False         305         555         1       sh305         False         2


Then, on the new line, replace both '305' ('ID' and 'TEXTNAME') with the number of the new line (306 in this case). Then you should also assign a 'LOCID' number. That is the number that decides what name that the game uses for your new shoe. A small list of some of the names that are available can be found here. The 'SHOEBRAND' number decides what brand-category the shoe will fall under (1 = Nike/Jordan, 2 = Adidas and 3 = Reebok). When you're done, save the file but be sure to make a backup first, just in case something goes wrong.

Now take the edited shoesacc.dbf file and copy it to \My Documents\NBA Live (2005-07)\database\currentdb\ and workingdb\, but also any Saves folders that you may have. As well as this folder where you installed the game: \NBA LIVE (2005-07)\database\Origdb\.


Shoetutorial1.1.jpg


Then go to your main NBA Live directory (Where you installed the game) and open the /sgsm/common/ folder. There you'll find a file called xshoes.viv; open it with BigGUI. Select any file (it doesn't matter which one since you'll be renaming it) and extract it. (For NBA Live 07, it's two files, one of which is for the reflection.)


Shoetutorial1.2.jpg


Now it is time to open the file that you just extracted (for me it was sh001.fsh) with Tools/FshX.


(1) First off, you might want to increase the texture resolution, thus increasing the level of detail. This only works when you've got a shoe patch that's big enough so it doesn't just stretch the image out. Also, keep in consideration that the larger the files, the larger the memory usage. (2) Click on 'Texture' -> 'Import...'. Then browse for the shoe patch texture and choose open.

If you cannot find the file there even though you are sure that it is in that folder, it's most likely because the file format isn't supported by FshX (which is the case with jpg files), although that is nothing to worry about as you just have to type in the name of the file in the 'Filename:' bar and then choose open. Then save the file.

Then do the same for the reflection file. (If you're replacing a file from the older Live's, the reflection part is in the same file as the first part, instead of a separate file).

Now put the file in the \sgsm\ folder and rename it with its correct number (in this case, 306).


Shoetutorial2.2.jpg


Here's where it gets a little tricky.


Go to the \NBA Live (2005-07)\fe\ folder and open up misc.viv with BigGUI. Go down the list until you find misc~creaicns~sh000.big, export that file. Now open that file up with BigGUI and export both sh000.ebo and sh000.fsh (those are the only ones that need editing).


Shoetutorial2.3.jpg


Time to use Hex Workshop (or whichever hex-editor that you prefer). Open the sh000.ebo file that you just exported and go to the bottom of the file. There you will find a string with sh0001 in it. Enter the number of the new shoe (306 in this case). Although, and this is important, do not write over the last digit (1), only the first three digits (000). Then save the file and exit the program.


Shoetutorial2.4.jpg


Then open up sh000.fsh with FshX and click on Texture - Import... and import the image that you would like to be shown in the select shoe menu in the game. Don't increase the resolution on this though, as the game will only show the first 64x64 pixels anyways. Save the file.


Shoetutorial2.5.jpg


Now open up misc~creaicns~sh000.big again and import back and overwrite the edited sh000.ebo and sh000.fsh. After that, you should rebuild the archive. Click the icon (as you see in the image), or push it in 'File' -> 'Rebuild'. It doesn't work every time, so click it a few times. Then save the file and close the program.


Shoetutorial2.6.jpg


Now it's time for Hex Workshop (or whichever hex-editor that you prefer) again. With that, open up the misc~creaicns~sh000.big. You will see that there are four places where it says sh000 at the start of the file. Change all of those 000's to the number of the new shoe (306 in this case) and save it.


And now all you have to do is put misc~creaicns~sh000.big into the \sgsm\ folder and rename it to match the new shoes number (306 in this case).


Shoetutorial2.7.jpg


And there you have it, a completely new shoe in the game. Congrats :)

Changing the name of a shoe

This method has only been tested for NBA Live 2005 and probably won't work with any other game.


This is the tool neccesary for this step:


Changeshoename1.gif


Go to \NBA Live 2005\loc and start off by making a copy of locale.eng. Then open that file up with MJ_Realm's program NBA Locale String Editor.


Changeshoename2.gif


In there (1) search for the thing that you would like to change the name of. I choose the Nike Air Zoom Flight 2k3. (2) After you've found the string that you've searched for, (3) type in its new name and then (4) save the file.


Changeshoename3.gif


And there we go.

Links