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

NLSC Forum

A hub for everything related to NBA 2K17 modding. Releases, previews, requests, and other modding discussion belongs here.
Post a reply

Re: Modding Progress

Wed Sep 28, 2016 1:56 am

PeacemanNOT wrote:Holy shit I think I just discovered how to change short lengths.

@PeacemanNOT last nite i was thinking about "i can only change socks color for home / away" .....yes but my question/suggestion is:

UNIFORM1 [block in memory]
UNIFORM2 [block in memory]
UNIFORM3 [block in memory]

....and so on till last UNIFORM for that team.

So did you try to compute the offset between Uniform Home and Uniform Away for one value like socks color?

I suppose every uniform has the same block size in memory:

if socks color for UH is at ADDRESS0
if socks color for UA is at ADDRESS2450

2450 is the OFFSET between UNIFROMS blocks in memory....


Just my 2 cents

Re: Modding Progress

Wed Sep 28, 2016 1:58 am

TGsoGood wrote:Re-branded jerseys are the ones u create or download in myLeague.


That's amazing!

Re: Modding Progress

Wed Sep 28, 2016 2:01 am

PeacemanNOT wrote:Holy shit I think I just discovered how to change short lengths.


This is HUGE. Its vital for the adding of new classic teams.

Re: Modding Progress

Wed Sep 28, 2016 2:06 am

maumau78 wrote:
PeacemanNOT wrote:Holy shit I think I just discovered how to change short lengths.

@PeacemanNOT last nite i was thinking about "i can only change socks color for home / away" .....yes but my question/suggestion is:

UNIFORM1 [block in memory]
UNIFORM2 [block in memory]
UNIFORM3 [block in memory]

....and so on till last UNIFORM for that team.

So did you try to compute the offset between Uniform Home and Uniform Away for one value like socks color?

I suppose every uniform has the same block size in memory:

if socks color for UH is at ADDRESS0
if socks color for UA is at ADDRESS2450

2450 is the OFFSET between UNIFROMS blocks in memory....


Just my 2 cents

I have barely any experience with Cheat Engine man, you would have to investigate into that yourself.

As far as short lengths go, I was able to get the cavaliers to use the 1998 bulls jersey, which copied over the short length. So now all I have to do is search for changing addresses in MyLeague.

Image

Re: Modding Progress

Wed Sep 28, 2016 3:06 am

Are you able to change TeamColor designations for different uniforms? (e.g. change TC1 from orange to blue for the Knicks Home Uniform, etc.)? Sorry if this is a silly question -- I didn't follow modding progress for 2K16 at all.

Re: Modding Progress

Wed Sep 28, 2016 3:09 am

bigh0rt wrote:Are you able to change TeamColor designations for different uniforms? (e.g. change TC1 from orange to blue for the Knicks Home Uniform, etc.)? Sorry if this is a silly question -- I didn't follow modding progress for 2K16 at all.

I made a tutorial for it here:
viewtopic.php?f=226&t=102257

Re: Modding Progress

Wed Sep 28, 2016 3:44 am

So little update... I thought I would be able to change the short lengths but I don't really know what address I'm looking for in cheat engine. It could be a possibility that they're not editable through the game and need to be hex edited or something. I doubt it though considering I'm able to change accessory colours with cheat engine..

Re: Modding Progress

Wed Sep 28, 2016 4:23 am

How were you able to change the Cavs short length then? Were they using the same texture location as the Bulls when you did it or a different one?

Re: Modding Progress

Wed Sep 28, 2016 4:24 am

PeacemanNOT wrote:So little update... I thought I would be able to change the short lengths but I don't really know what address I'm looking for in cheat engine. It could be a possibility that they're not editable through the game and need to be hex edited or something. I doubt it though considering I'm able to change accessory colours with cheat engine..


I guess they are....in memory a ROSTER is just a big Excel Spreadsheet where every row (on the uniforms block) is just an uniform that's why I was talking about OFSSET on my previous post

That's a screenshot from 2k13 Leftos Editor with socks color highlighted...

Image

In 2k12-2k14 Short size was a jersey parameters so I suppose they didn't changed this....Unfortunately no mod this year for me :-/

EDIT this is what Vlad found:
Image
Last edited by maumau78 on Wed Sep 28, 2016 4:37 am, edited 2 times in total.

Re: Modding Progress

Wed Sep 28, 2016 4:31 am

TBM wrote:How were you able to change the Cavs short length then? Were they using the same texture location as the Bulls when you did it or a different one?

Basically what I did was upload the 97-98 Bulls Jersey to the 2K Servers in MyLeague. This copied the short length accessory colours etc.

I then downloaded the jersey and put it on the Cavs. This gave the Cavaliers the 90's shorts, and yes this also means it changed the jersey file that the team uses. I then copied the roster with the Limnono Modifier over to Play Now. It worked perfectly, it used all the files that the 97-98 Bulls use as well. The problem I'm having is I have no idea what I'm searching for, what type of address it is, what value I'm looking for etc.

I thought it might be like last gen where each short length had its own number field:
0 - Long Shorts
1 - 90's Shorts
2 - 80's Shorts

.... then again I'm guessing Vlad just edited that into the RED MC to make it more convenient. I have a feeling short lengths have a lot more to them then to what I previously anticipated. Considering we can't hex edit rosters this year, decoding roster files and finding the addresses that we need will be almost impossible.

Re: Modding Progress

Wed Sep 28, 2016 4:40 am

PeacemanNOT wrote:
TBM wrote:How were you able to change the Cavs short length then? Were they using the same texture location as the Bulls when you did it or a different one?

Basically what I did was upload the 97-98 Bulls Jersey to the 2K Servers in MyLeague. This copied the short length accessory colours etc.

I then downloaded the jersey and put it on the Cavs. This gave the Cavaliers the 90's shorts, and yes this also means it changed the jersey file that the team uses. I then copied the roster with the Limnono Modifier over to Play Now. It worked perfectly, it used all the files that the 97-98 Bulls use as well. The problem I'm having is I have no idea what I'm searching for, what type of address it is, what value I'm looking for etc.

I thought it might be like last gen where each short length had its own number field:
0 - Long Shorts
1 - 90's Shorts
2 - 80's Shorts

.... then again I'm guessing Vlad just edited that into the RED MC to make it more convenient. I have a feeling short lengths have a lot more to them then to what I previously anticipated. Considering we can't hex edit rosters this year, decoding roster files and finding the addresses that we need will be almost impossible.


@Peace if you can edit socks color the you can also edit shorts type for sure...problem is finding the correct offset....trust me a ROSTER is just loaded in memory..Vlad was able to do it offline but in-memory seems the only option from 2k15 - 2k17

Re: Modding Progress

Wed Sep 28, 2016 4:44 am

maumau78 wrote:
PeacemanNOT wrote:
TBM wrote:How were you able to change the Cavs short length then? Were they using the same texture location as the Bulls when you did it or a different one?

Basically what I did was upload the 97-98 Bulls Jersey to the 2K Servers in MyLeague. This copied the short length accessory colours etc.

I then downloaded the jersey and put it on the Cavs. This gave the Cavaliers the 90's shorts, and yes this also means it changed the jersey file that the team uses. I then copied the roster with the Limnono Modifier over to Play Now. It worked perfectly, it used all the files that the 97-98 Bulls use as well. The problem I'm having is I have no idea what I'm searching for, what type of address it is, what value I'm looking for etc.

I thought it might be like last gen where each short length had its own number field:
0 - Long Shorts
1 - 90's Shorts
2 - 80's Shorts

.... then again I'm guessing Vlad just edited that into the RED MC to make it more convenient. I have a feeling short lengths have a lot more to them then to what I previously anticipated. Considering we can't hex edit rosters this year, decoding roster files and finding the addresses that we need will be almost impossible.


@Peace if you can edit socks color the you can also edit shorts type for sure...problem is finding the correct offset....trust me a ROSTER is just loaded in memory..Vlad was able to do it offline but in-memory seems the only option from 2k15 - 2k17

Can you explain to me what exactly you mean by "in-memory"? I get the basics, but I'm relatively new to all this stuff. Do you mean all the addresses are linked in some way?

Re: Modding Progress

Wed Sep 28, 2016 4:45 am

Yeah, anything you can do in an offline roster editor should be possible with memory editing.

Re: Modding Progress

Wed Sep 28, 2016 4:48 am

Wait ... this is good news. With PeacemanNot's discovery of how to make short's length change + my discovery of where the game places uploaded jerseys/ re-branded items, u should be able to go into the file location I posted earlier and open up that Bulls jersey u uploaded. Open it with 7z. Then you can just extract and replace the bulls jersey textures and this will not overwrite any of the games original files. The real bulls classic jerseys will still be in game also.

I hope u guys understand. Im at work so i cant explain any better right now

Re: Modding Progress

Wed Sep 28, 2016 4:51 am

PeacemanNOT wrote:Can you explain to me what exactly you mean by "in-memory"? I get the basics, but I'm relatively new to all this stuff. Do you mean all the addresses are linked in some way?


When game is started it loads resources from disk to volatile memory (your 8-12-16 gb of RAM) .iff sounds...etc etc...and ROSTER.ROS

When you did edit socks color with CheatEngine you basically edit the roster in Memory then...you saved the roster so socks color was written back to the disk so that at next boot the edited roster will reflect socks color you changed.

Now 2K roster are mainly separated in blocks:

-Players
-Stadium Parameters (capacity,city name)
-Jersey

When you did edit socks...you were looking hex values in "jersey" blocks portion of the roster that game loaded in memory (that's why CheatEngine is so useful)

If you have more questions....just ask for now just look at the below image.....jersey parameters (socks color,team color, shorts type) in memory are just organized as below....

Image


EDIT:
We can't edit ROSTER.ROS files becouse 2K checksum those files in 2k15-2k17 in a way we're not able to understand so game crash if you hex edit them

EDIT2: Limnono and other Chinese guys are just using memory editors like cheatengine but they write some simple editor to do it easier than cheatengine...but the principle is the same

EDIT3: Add teams with memory editor I think it's impossible (you'll mess all the memory...you can only replace values) while we can just enable hidden teams...you can change teams names..so in that "Teams" block there should be some hex values to make visible for example college teams

EDIT4: Greg was starting a Roster/Memory Editor for 2k16 too....

Re: Modding Progress

Wed Sep 28, 2016 5:19 am

So are you saying that every address that is related to a particular team for example the Raptors have a similar address? How do I find a block?

I noticed that on the release day roster of NBA 2K17, the Raptors team colors 1 and 2 addresses are litterally the exact same except for 1 digit.

Team Colour 1:
7FF6AB3A9458

Team Colour 2:
7FF6AB3A945C

Re: Modding Progress

Wed Sep 28, 2016 5:25 am

maumau78 wrote:
PeacemanNOT wrote:Can you explain to me what exactly you mean by "in-memory"? I get the basics, but I'm relatively new to all this stuff. Do you mean all the addresses are linked in some way?


When game is started it loads resources from disk to volatile memory (your 8-12-16 gb of RAM) .iff sounds...etc etc...and ROSTER.ROS

When you did edit socks color with CheatEngine you basically edit the roster in Memory then...you saved the roster so socks color was written back to the disk so that at next boot the edited roster will reflect socks color you changed.

Now 2K roster are mainly separated in blocks:

-Players
-Stadium Parameters (capacity,city name)
-Jersey

When you did edit socks...you were looking hex values in "jersey" blocks portion of the roster that game loaded in memory (that's why CheatEngine is so useful)

If you have more questions....just ask for now just look at the below image.....jersey parameters (socks color,team color, shorts type) in memory are just organized as below....

[ Image ]


EDIT:
We can't edit ROSTER.ROS files becouse 2K checksum those files in 2k15-2k17 in a way we're not able to understand so game crash if you hex edit them

EDIT2: Limnono and other Chinese guys are just using memory editors like cheatengine but they write some simple editor to do it easier than cheatengine...but the principle is the same

EDIT3: Add teams with memory editor I think it's impossible (you'll mess all the memory...you can only replace values) while we can just enable hidden teams...you can change teams names..so in that "Teams" block there should be some hex values to make visible for example college teams

EDIT4: Greg was starting a Roster/Memory Editor for 2k16 too....


Question, when you talk about enabling hidden teams in a roster, wouldn't that essentially be adding teams that we could edit/change team names/make new teams?

Re: Modding Progress

Wed Sep 28, 2016 5:27 am

PeacemanNOT wrote:So are you saying that every address that is related to a particular team for example the Raptors have a similar address? How do I find a block?

I noticed that on the release day roster of NBA 2K17, the Raptors team colors 1 and 2 addresses are litterally the exact same except for 1 digit.

Team Colour 1:
7FF6AB3A9458

Team Colour 2:
7FF6AB3A945C


I think you got it right they're really similar becouse they're one next to the other in memory or in other words on the same row (look at the picture of my previous post :D )

Ok let me put this way let's say Rapotors have 5 jersey in game:

UH1
UA1
UALT1
URH1
URA1


They are loaded one next to the other in memory but there's more. Every Jersey is composed by many parameters:

Jersey NAME | Jersey TYPE | Socks COLOR | COLOR1 | COLOR2 ........|COLOR6

Each jersey has the same size......so once you got all the parameter mapped I'm sure you can extend to also retro and alternate...

Finding block unfortunately is not easy :-/

Re: Modding Progress

Wed Sep 28, 2016 5:29 am

maumau78 wrote:
PeacemanNOT wrote:So are you saying that every address that is related to a particular team for example the Raptors have a similar address? How do I find a block?

I noticed that on the release day roster of NBA 2K17, the Raptors team colors 1 and 2 addresses are litterally the exact same except for 1 digit.

Team Colour 1:
7FF6AB3A9458

Team Colour 2:
7FF6AB3A945C


Yes becouse they're one next to the other ^_^

Wait so every address starts with the same thing? Short Lengths, Collar types etc?

Re: Modding Progress

Wed Sep 28, 2016 5:31 am

Dee4Three wrote:
maumau78 wrote:
PeacemanNOT wrote:Can you explain to me what exactly you mean by "in-memory"? I get the basics, but I'm relatively new to all this stuff. Do you mean all the addresses are linked in some way?


When game is started it loads resources from disk to volatile memory (your 8-12-16 gb of RAM) .iff sounds...etc etc...and ROSTER.ROS

When you did edit socks color with CheatEngine you basically edit the roster in Memory then...you saved the roster so socks color was written back to the disk so that at next boot the edited roster will reflect socks color you changed.

Now 2K roster are mainly separated in blocks:

-Players
-Stadium Parameters (capacity,city name)
-Jersey

When you did edit socks...you were looking hex values in "jersey" blocks portion of the roster that game loaded in memory (that's why CheatEngine is so useful)

If you have more questions....just ask for now just look at the below image.....jersey parameters (socks color,team color, shorts type) in memory are just organized as below....

[ Image ]


EDIT:
We can't edit ROSTER.ROS files becouse 2K checksum those files in 2k15-2k17 in a way we're not able to understand so game crash if you hex edit them

EDIT2: Limnono and other Chinese guys are just using memory editors like cheatengine but they write some simple editor to do it easier than cheatengine...but the principle is the same

EDIT3: Add teams with memory editor I think it's impossible (you'll mess all the memory...you can only replace values) while we can just enable hidden teams...you can change teams names..so in that "Teams" block there should be some hex values to make visible for example college teams

EDIT4: Greg was starting a Roster/Memory Editor for 2k16 too....


Question, when you talk about enabling hidden teams in a roster, wouldn't that essentially be adding teams that we could edit/change team names/make new teams?


You probably see them in play now......but not 82 game season

But you can create a 07-08 roster...can't you?
Last edited by maumau78 on Wed Sep 28, 2016 5:47 am, edited 1 time in total.

Re: Modding Progress

Wed Sep 28, 2016 5:32 am

PeacemanNOT wrote:
maumau78 wrote:
PeacemanNOT wrote:So are you saying that every address that is related to a particular team for example the Raptors have a similar address? How do I find a block?

I noticed that on the release day roster of NBA 2K17, the Raptors team colors 1 and 2 addresses are litterally the exact same except for 1 digit.

Team Colour 1:
7FF6AB3A9458

Team Colour 2:
7FF6AB3A945C


Yes becouse they're one next to the other ^_^

Wait so every address starts with the same thing? Short Lengths, Collar types etc?


every teams jersey have different address but the mapping (order) must be the same for sure....
...shorts style should be really near to socks color...

EDIT:

When you edit Teams Names you're in TEAMS BLOCK
When you edit Socks Color you're in JERSEY BLOCK
When you edit Player Attributes you're in PLAYERS BLOCK

I hope I made it clear ^_^

Re: Modding Progress

Wed Sep 28, 2016 5:46 am

I right clicked the Toronto's Team Colour 2 and pressed 'browse this memory region'. This popped up:

Image

So what exactly does this tell me, do I need to find an address that is on the same block as the short lengths or something?

Re: Modding Progress

Wed Sep 28, 2016 5:50 am

PeacemanNOT wrote:I right clicked the Toronto's Team Colour 2 and pressed 'browse this memory region'. This popped up:

[ Image ]

So what exactly does this tell me, do I need to find an address that is on the same block as the short lengths or something?



You got it man ^__^

Now you see it? Every raptors jersey parameters....They start with jersey name then you have everything else (look at Vlad screen everything will be clear I assure you)

Between two jersey names you have every specific jersey parameters (SOCKS, COLLAR, SHORTS TYPE)...now It's just a matter of try & catch

The good news is: once you got the schema you can apply it over & over

If SOCKS color is at position jersey name + 40 ....it will be the same position (offset) for every jersey away/home/xmas....
Last edited by maumau78 on Wed Sep 28, 2016 5:55 am, edited 1 time in total.

Re: Modding Progress

Wed Sep 28, 2016 5:55 am

maumau78 wrote:
PeacemanNOT wrote:I right clicked the Toronto's Team Colour 2 and pressed 'browse this memory region'. This popped up:

[ Image ]

So what exactly does this tell me, do I need to find an address that is on the same block as the short lengths or something?



You got it man ^__^

Now you see it? Every raptors jersey parameters....They start with jersey name then you have everything else (look at Vlad screen everything will be clear I assure you)

Between two jersey names you have every specific jersey parameters (SOCKS, COLLAR, SHORTS TYPE)...now It's just a matter of try & catch

Ohhh... well that makes a lot of sense. So is it literally just trial and error from here?

Also what does the '......' stand for? Does it just mean nothing?

Re: Modding Progress

Wed Sep 28, 2016 5:57 am

PeacemanNOT wrote:
maumau78 wrote:
PeacemanNOT wrote:I right clicked the Toronto's Team Colour 2 and pressed 'browse this memory region'. This popped up:

[ Image ]

So what exactly does this tell me, do I need to find an address that is on the same block as the short lengths or something?



You got it man ^__^

Now you see it? Every raptors jersey parameters....They start with jersey name then you have everything else (look at Vlad screen everything will be clear I assure you)

Between two jersey names you have every specific jersey parameters (SOCKS, COLLAR, SHORTS TYPE)...now It's just a matter of try & catch

Ohhh... well that makes a lot of sense. So is it literally just trial and error from here?


Nothing more ^_^...I guess chinese guys are just doing the same (with a lot of patience)...I think you better work on home & away...you decode the schema then maybe you can apply it to xmas/alternate....

Home & away you can get a direct preview I guess ( I don't have the game :-/)

very important:

I guess they din't change the roster schema much so look at Vlad screen.....you should get and idea of the Jersey schema.....and backup your roster ^_^
Last edited by maumau78 on Wed Sep 28, 2016 6:04 am, edited 1 time in total.
Post a reply