Last year I discovered a lot in regards to editing rosters, so this year I'm making a tutorial for everyone to use. It's actually crazy how simplistic this actually is, I'm actually quite surprised no one discovered this before. Anyways, let's get down to it.
You're going to need to download the following program before progressing any further:
Cheat Engine is an open source tool designed to help you with modifying single player games running under window so you can make them harder or easier depending on your preference.
!!!Notice that it says single player! Do not use this tool for any online aspect of the game for e.g MyCareer, MyTeam etc. You have been warned!!!
#1 - Basics:
This first section is just for the people who are using Cheat Enigne for the first time so you can skip ahead if you want. First off you're going to need to open NBA 2K17 with Cheat Engine. Make sure NBA 2K17 is open first of course, then you need to click the button in the the top left corner of the program which I have circled in red:
Scroll through the list until you find 'NBA2K17.exe' and then double-click to open it. Cheat Engine is now attached to NBA 2K17.
#2 - General Thesis:
Basically how Cheat Engine works is it searches for different addresses/numbers in the NBA 2K17.exe which change. The only way to find these addresses is if we're able to change them or if they change by themselves. In this case we can change Accessory Colours/Team Names through MyLeague's Team Relocation feature, so let's do it.
IMPORTANT THING TO NOTE:
The only problem with editing accessory colours is each roster has its own unique addresses. Let's say for example if I found an accessory colour for the current roster that came with the game, and then 2K Sports released an new roster, I would need to go in again and find all those addresses again as they're completely different. It's an annoying process but this has been the case for years.
This also means that if you're going to be editing a rosters accessory colours you're going to have to make sure that the MyLeague you're going to be editing is using that exact same roster. Please take note of this when you're first starting off.
#3 - Editing Accessory Colours
First off you need to open up a new MyLeague using the same the roster you want to edit. Once loaded up select the team you want to edit and enter Team Relocation/Design Uniform. Let's start off with the home jersey, first remove all numbers, names on the back of jerseys etc. so all you have left is just a blank jersey. Make the jersey completely white, and I mean completely white. Like this:
Next, save and exit the Design Uniform section so that the jersey saves. Now you're going to need to tab out of the game and open Cheat Engine again. When you change the colour of a jersey it also changes the colour of accessories, shoes etc.
So in order to find a colour address you're going to need to search it up with the following settings. Set the Value Type to 'Array of Byte' and make sure the 'Hex' box is ticked. To find the colour white we need to find the hex code of that colour, in this case the hex code for the colour white is' 'FFFFFF' (without the Apostrophes).
So all in all it should end up looking like this:
Go ahead and press First Scan, you should notice a bunch of 'FFFFFF' hex codes will pop up on the left.
It will also say 'Found:' just above it. Your goal is to get that number to as low as possible. Now you're going to repeat the process. Go into Team Relocation/Design Uniform again but this time make the jersey completely black, and I mean completely black. Save and exit the Design Uniform section. Tab out of the game and this type in the following hex code '000000'. Go ahead and press the 'Next Scan' button. You will notice that all the 'FFFFFF' hex codes on the left will turn to the black hex code.
So as you would imagine the process repeats itself over and over until you can reduce the number of addresses found to atleast below 100.
Once you get the 'Found:' number ideally below 100, you can exit MyLeague. Go into your roster, and enter the team you want to edit. In Cheat Engine the table on the left will be full with random hex codes now, if you scroll down you will notice that there are green addresses and then there are black ones. The only ones you should be concerned about should be the green ones. From here on out it's pretty much trial and error. To edit an address double click it and it will pop down on the bottom. It should look like this:
Double click the value and change the hex codes to whatever you want. You can find colour hex codes in programs such as Photoshop/Gimp/Paint.NET etc. or websites like these:
In this case, I was able to find the Socks address, so I changed it to pink just to test:
The process needs to be repeated for the away accessory colours. Unfortunately there is no way to edit the alternate jerseys with cheat engine, so you will have to do with editing only the home and away ones for now.
#4 - Editing Team Names:
For editing team names it is a little different. Instead of searching for an address as a 'Array of Byte' you search for it as a 'String' and make sure the 'Unicode' box is ticked to the right of it. So it looks like this:
It works the exact same as it does for the accessory colours. Enter MyLeague, select the team you want to edit and go into the Team Relocation/Team Branding. Tab out of the game and open Cheat Engine and search for your team's name, so in my case it is the '76ers'. Please take note that it will be case sensitive so make sure to include capital letters etc. Go ahead and press 'First Scan', this will bring up a bunch of addresses to the left.
Now go back to the game and edit the name of the team to whatever you want, make it unique so that it is very easy to find. I'm going to change their name to 'PeacemanNOT'. Save and exit the Team Branding section so that the team name saves. Once you've typed in the new name go ahead and search for it. Again the only address you should be concerned about should be the green ones. Go ahead and double click both of the team names so they will pop to the bottom. It should look like this:
Repeat this entire process to get the Team's City name and abbreviation.
Once you get the addresses you need, you can exit MyLeague. Go into the roster you want to edit. You will notice that one of the addresses has gone back to normal, this is the one you want to change. So just to test it out, I changed the address to PeacemanNOT and this was the result:
That's pretty much it, hopefully this works for you and if you have any problems be sure to tell me down below.