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 6:01 am

Very interesting stuff maumau78. Grazie!

Re: Modding Progress

Wed Sep 28, 2016 6:02 am

maumau78 wrote:
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 :-/)

Don't the addresses/offsets change every roster update? I remember Leftos implemented a system that automatically searched for new offsets in 2K13? I know I'm getting a bit ahead of myself but how the hell would you be able to do that?
Last edited by PeacemanNOT on Wed Sep 28, 2016 6:07 am, edited 1 time in total.

Re: Modding Progress

Wed Sep 28, 2016 6:07 am

PeacemanNOT wrote:
maumau78 wrote:
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 :-/)

Doesn't the addresses/offsets change every roster update? I remember Leftos implemented a system that automatically searched for new offsets in 2K13? I know I'm getting a bit ahead of myself but how the hell would you be able to do that?


Last year Limnono roster editor was working even after roster updates....so I guess in memory they are in the same place.....don't take this as gold

Re: Modding Progress

Wed Sep 28, 2016 6:17 am

By the way, I don't want to disturb the conversation, but I wonder if those Camera Mods you made for the previous years work for NBA 2k17, maumau78. I remember trying the one you made for 2k15 in the 2k14 and it worked. It's a pity I am not able to play the game this week, but I wanted to try it. I loved those camera angles.

Re: Modding Progress

Wed Sep 28, 2016 6:18 am

TGsoGood wrote: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


Did anyone notice this post above? We can have authentic retro jerseys in no time. With correct shorts.

Also I can provide a list of every team in the game later when i get home. All teams are visible in one of the trainers i downloaded. All the highschool teams are still in the roster so we can replace those as well as the colleges (last years colleges are stll in roster). We just need to figure out the value that changes a team type so these teams can be selected for play now.

Re: Modding Progress

Wed Sep 28, 2016 6:20 am

CarolusXCI wrote:By the way, I don't want to disturb the conversation, but I wonder if those Camera Mods you made for the previous years work for NBA 2k17, maumau78. I remember trying the one you made for 2k15 in the 2k14 and it worked. It's a pity I am not able to play the game this week, but I wanted to try it. I loved those camera angles.


Image

Sorry I'm out of modding for 2k17 :-(

Re: Modding Progress

Wed Sep 28, 2016 6:29 am

TGsoGood wrote:
TGsoGood wrote: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


Did anyone notice this post above? We can have authentic retro jerseys in no time. With correct shorts.

Also I can provide a list of every team in the game later when i get home. All teams are visible in one of the trainers i downloaded. All the highschool teams are still in the roster so we can replace those as well as the colleges (last years colleges are stll in roster). We just need to figure out the value that changes a team type so these teams can be selected for play now.

TGsoGood, sorry I haven't been able to reply. I investigated into this and it's not exactly what you seem. First of all it doesn't upload normal jerseys. It only puts logos you put in yourself. This would be useful for mapping jersey textures though as I get to see where the logos go on the jersey, thanks for the heads up.

Re: Modding Progress

Wed Sep 28, 2016 6:31 am

TGsoGood wrote:
TGsoGood wrote: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


Did anyone notice this post above? We can have authentic retro jerseys in no time. With correct shorts.

Also I can provide a list of every team in the game later when i get home. All teams are visible in one of the trainers i downloaded. All the highschool teams are still in the roster so we can replace those as well as the colleges (last years colleges are stll in roster). We just need to figure out the value that changes a team type so these teams can be selected for play now.


I saw it, but didn't totally grasp it. I hope this is the case, that way when I release my roster the 92-93 Suns will have the correct short length.

Re: Modding Progress

Wed Sep 28, 2016 6:32 am

@maumau, how do I convert an array of byte to a normal byte. I can't edit anything as an array of byte unless it's a hexcode.

Re: Modding Progress

Wed Sep 28, 2016 6:32 am

maumau78 wrote:
CarolusXCI wrote:By the way, I don't want to disturb the conversation, but I wonder if those Camera Mods you made for the previous years work for NBA 2k17, maumau78. I remember trying the one you made for 2k15 in the 2k14 and it worked. It's a pity I am not able to play the game this week, but I wanted to try it. I loved those camera angles.


Sorry I'm out of modding for 2k17 :-(


What I said is that the exact same thing you did for one game worked in others. Like, one searches for the default nosebleed camera with the parameters you provided, and they seem to look the same regardless if the exe file is the 2k13 one, the 14, 15, and so on. Then one would simply replace the default ones with the ones you modified for 2k15 or maybe for 2k13 (or was it 2k12? I don't remember) and boom, new camera angles. I wondered if the same applies for this year's game, but unfortunatelly I am not being able to use my computer this week. Otherwise I would try it because camera angles usually is my greatest pet peeve in basketball games, and yours were perfect to me.

Re: Modding Progress

Wed Sep 28, 2016 6:41 am

PeacemanNOT wrote:@maumau, how do I convert an array of byte to a normal byte. I can't edit anything as an array of byte unless it's a hexcode.


http://www.hexworkshop.com/

I hope I got your question...when working with hex the above is the King...It also convert from 2 bytes -> Integer/float or character/string

Re: Modding Progress

Wed Sep 28, 2016 6:42 am

CarolusXCI wrote:
maumau78 wrote:
CarolusXCI wrote:By the way, I don't want to disturb the conversation, but I wonder if those Camera Mods you made for the previous years work for NBA 2k17, maumau78. I remember trying the one you made for 2k15 in the 2k14 and it worked. It's a pity I am not able to play the game this week, but I wanted to try it. I loved those camera angles.


Sorry I'm out of modding for 2k17 :-(


What I said is that the exact same thing you did for one game worked in others. Like, one searches for the default nosebleed camera with the parameters you provided, and they seem to look the same regardless if the exe file is the 2k13 one, the 14, 15, and so on. Then one would simply replace the default ones with the ones you modified for 2k15 or maybe for 2k13 (or was it 2k12? I don't remember) and boom, new camera angles. I wondered if the same applies for this year's game, but unfortunatelly I am not being able to use my computer this week. Otherwise I would try it because camera angles usually is my greatest pet peeve in basketball games, and yours were perfect to me.



They're almoust the same till 2k10...so I guess you'll be able to edit them (Y)

Re: Modding Progress

Wed Sep 28, 2016 6:43 am

Peace/Maumau etc, I appreciate the work you are putting in today. Ive been at work since 9AM EST, so I havnt been able to do anything.

Re: Modding Progress

Wed Sep 28, 2016 6:44 am

PeacemanNot is there instructions on how to copy roster from myLeague to play now in the tutoral section?
When i get home i will work on the jerseys with smaller shorts, so i can show you guys what to do with it. I just need to copy the roster to play now roster.

Re: Modding Progress

Wed Sep 28, 2016 6:48 am

maumau78 wrote:
PeacemanNOT wrote:@maumau, how do I convert an array of byte to a normal byte. I can't edit anything as an array of byte unless it's a hexcode.


http://www.hexworkshop.com/

I hope I got your question...when working with hex the above is the King...It also convert from 2 bytes -> Integer/float or character/string

How do I edit stuff that is represented like this:
1A E3 E8 B7

How do I see what this is? How do I edit it to see what it changes in game?

Re: Modding Progress

Wed Sep 28, 2016 6:53 am

PeacemanNOT wrote:
maumau78 wrote:
PeacemanNOT wrote:@maumau, how do I convert an array of byte to a normal byte. I can't edit anything as an array of byte unless it's a hexcode.


http://www.hexworkshop.com/

I hope I got your question...when working with hex the above is the King...It also convert from 2 bytes -> Integer/float or character/string

Where do you convert them? I can't find it anywhere on the tool.


Tools Base Converter I suppose you need:

Image

Again I hope I got your question....

Re: Modding Progress

Wed Sep 28, 2016 6:55 am

PeacemanNOT wrote:
maumau78 wrote:
PeacemanNOT wrote:@maumau, how do I convert an array of byte to a normal byte. I can't edit anything as an array of byte unless it's a hexcode.


http://www.hexworkshop.com/

I hope I got your question...when working with hex the above is the King...It also convert from 2 bytes -> Integer/float or character/string

How do I edit stuff that is represented like this:
1A E3 E8 B7

How do I see what this is? How do I edit it to see what it changes in game?


Oh sorry change first:

1A then
E3 then
E8 then
B7 then

and remeber that values ranges from: 00 to FF (0 to 255) for every single byte (a byte is 2 digit ^_^)

Use "brute" force..change one byte at time and see if ingame something happen...

Re: Modding Progress

Wed Sep 28, 2016 6:57 am

i worked with vlad on REDitor and REDMC . I found many of the small changes like sock color on short length and uniform type all in hex. What i did was extract team using the export team option in season or assc mode i dont rememebr . What i did was use the 85-86 bulls , 97-98 bulls and current day bulls and then compare the everything in hex to see what was the same and then different.

But with what TGsoGood has found the rebrand team files maybe the process can work the same using 85,98 and current days bulls. Just thought ,
i will dig threw old note i have from 2k11 with hex values for all of these if it can help. I not on pc with this generation , but maybe some of the old tricks from last generation might help. i will see what i can dig up.

Re: Modding Progress

Wed Sep 28, 2016 7:02 am

maumau78 wrote:
PeacemanNOT wrote:
maumau78 wrote:
PeacemanNOT wrote:@maumau, how do I convert an array of byte to a normal byte. I can't edit anything as an array of byte unless it's a hexcode.


http://www.hexworkshop.com/

I hope I got your question...when working with hex the above is the King...It also convert from 2 bytes -> Integer/float or character/string

How do I edit stuff that is represented like this:
1A E3 E8 B7

How do I see what this is? How do I edit it to see what it changes in game?


Oh sorry change first:

1A then
E3 then
E8 then
B7 then

and remeber that values ranges from: 00 to FF (0 to 255) for every single byte (a byte is 2 digit ^_^)

Use "brute" force..change one byte at time and see if ingame something happen...

So I have to go through every single possible combination? Well that just seems a bit.... exhausting. Well now I know why guys like Leftos and Vlad were appreciated so much...

Re: Modding Progress

Wed Sep 28, 2016 7:19 am

Take into account that bits and bytes may be not aligned in the file you are trying to edit, like in rosters for example. What are you trying to get?
Last edited by seanbarkley on Wed Sep 28, 2016 7:22 am, edited 1 time in total.

Re: Modding Progress

Wed Sep 28, 2016 7:22 am

seanbarkley wrote:Take into account that bits and bytes may be not aligned in the file you are trying to edit, like in rosters for example. What are you trying to get?

Short Lengths, Collar types. That's all need really.

Re: Modding Progress

Wed Sep 28, 2016 7:34 am

Collar types are editable in MyLeague. Does that help?

Re: Modding Progress

Wed Sep 28, 2016 7:35 am

TBM wrote:Collar types are editable in MyLeague. Does that help?

Oh yeah forgot about that. Thanks I'll check it out.

Re: Modding Progress

Wed Sep 28, 2016 7:41 am

PeacemanNOT wrote:
seanbarkley wrote:Take into account that bits and bytes may be not aligned in the file you are trying to edit, like in rosters for example. What are you trying to get?

Short Lengths, Collar types. That's all need really.


I would do try to do it by searching just on bit aligned uniform strings (those that can be read on the right side of the hex editor) and search for the pattern: I guess it should be 00, 01, 02... in the same areas after where the name of the uniforms starts.

Take for example the strings of 3 current bit aligned uniforms and 1 retro with short shorts. Once you have done it, look for a byte similar in the 3 current uniforms and different in the retro one.

Try to find out the location in not aligned code is almost impossible.

Hope this makes sense :)

Re: Modding Progress

Wed Sep 28, 2016 10:31 am

Well after hours of trying to search for the stupid shorts length address, I finally realised that there isn't one. When I edited the jersey parameters of the Memphis Grizzlies home jersey to the 96 Seattle Supersonics home jersey, I noticed that it carries over the short lengths etc.

It kinda of made me wondered, why would that carry over? The reason why is because the information is literally in the jersey file itself this year(like player models jersey/accessory type):

Image

Image

I just copied and pasted the 95-96 Supersonics information file into the Grizzlies Jersey file and this is the result:

Image

I feel really stupid having overlooked this. We would have found it eventually but fuck man, how did we not see this lol? It also includes the collar type, the nba patch and a lot of other things too. They have made things a lot easier this year for us. If only they made it so we could attach accessory colours to the jersey files themselves.
Last edited by PeacemanNOT on Wed Sep 28, 2016 10:50 am, edited 1 time in total.
Post a reply