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

NLSC Forum

Patchmaking tutorials for NBA 2K14.
Post a reply

Re: HoS Profiles: Roster.iff Editing

Tue Oct 08, 2013 1:48 am

Looking for the "Player Type" values... no luck yet on my part

Re: HoS Profiles: Roster.iff Editing

Tue Oct 08, 2013 11:34 pm

Pretty good but too complicated :cheeky: Is gonna be a most "easy" editor like RED MC for 2k13 or something like that? Jao?

Re: HoS Profiles: Roster.iff Editing

Tue Oct 08, 2013 11:40 pm

At some point.

Re: HoS Profiles: Roster.iff Editing

Sun Oct 13, 2013 5:34 am

Is it possible to change team name and change assigned dorna number to Euroleague Team? Because all Euroleague teams use just one file, dorna070.iff.

Re: HoS Profiles: Roster.iff Editing

Sun Oct 13, 2013 9:03 am

I think I found the 76ers Home Jersey info (which should be where all the jersey stuff starts, right?).

I'm using a regular hex editor (HxD), and haven't even booted HoS yet (too intimidating :P).

I cracked open my (decompressed) roster.iff, took a stab searching for 3 of the sixers' colors (byte-reversed), and found this block, which I was able to better decode thanks to this post by flitzpiepe in your (@Jao) 2K12 hex editing thread:
Code:
Offset: 0017CE94
Image
Key:

██ ██ = Jersey ID
It's 2 bytes, and the bytes are reversed, so in the example of the 76ers Home jersey, "3D 00" is actually read as 00 3D, which equals "61", which (surprise!) is the ID number of Philly's Home digs.

= Sock Color | Collar Type
(First character {in this case "0"} is sock color, where 0=white, 4=black. Second is the jersey collar type {I don't know what values mean what collar type, though})

Red, Green, Blue = the RGB color values (but reversed, so B-G-R).
The Blue-Green-Red-Alpha 4-byte blocks should be in this order:
1. Shoe Base Color (by default, I think all are either EBEBEB {white-ish} or 141414 {black-ish})
2. Team Color 1
3. Team Color 2
4. Headband Color
5. ? (No clue, always FFFFFF {100% pure white})
6. ? (...ditto, always 323232 {black, but at 80% strength})

• And Gray would = Alpha
(generally gonna wanna keep this at "FF" if editing team colors; stick to editing the RGB values.)


Hopefully someone can work with that to make editing all the jerseys' colors easier.
I know it's the *1* thing that bothers me most about the 2K series.
Last edited by Sports.Swami on Sun Oct 13, 2013 12:02 pm, edited 4 times in total.

Re: HoS Profiles: Roster.iff Editing

Sun Oct 13, 2013 10:55 am

I love you, Sports.Swami. lol. Been looking through this half the day trying to figure that out.

Re: HoS Profiles: Roster.iff Editing

Sun Oct 13, 2013 11:51 am

futan wrote:I love you, Sports.Swami. lol. Been looking through this half the day trying to figure that out.

Anything for a fellow member of the "0.00 posts per day" club. :D
(though I think I might hit 0.01 in a little bit, this post is putting me at 0.00519 posts per day)

Also, in the picture I have one byte highlighted in cyan for the jersey ID, but it should be that and the next one (which for the jersey in the example, is a "00"). Otherwise, there would be a limit for jerseys at 255, and that level is reached before you hit the Pistons' Away jersey. :shock:
I'm editing that post right now.

Fibaa wrote:Is it possible to change team name [...]
Yes. I believe the Euroleague team names start at offset 0x26C33A, with "A.l.b.a." (unicode, so you need those null values between letters).
Fibaa wrote:[...] and change assigned dorna number to Euroleague Team? Because all Euroleague teams use just one file, dorna070.iff.
In roster.iff, each Euroleague team doesn't have their own dorna entry, so at this moment, no. The Euroleague stadiums start at Offset 0x26A5EE, with "B.e.r.l.i.n. A.r.e.n.a.", and all the Euroleague stadiums after it only have unique floor files listed.
I don't know if that will be possible when a real roster editor comes out; I'm not smart enough to know how you make one. :-\

Re: HoS Profiles: Roster.iff Editing

Sun Oct 13, 2013 10:44 pm

Thank you Sports.Swami (Y)

Re: HoS Profiles: Roster.iff Editing

Wed Oct 16, 2013 10:03 am

Using Jao's JerseyType profile as a base and the information Swami gave us, I made a HoS profile for team colors.

0 = Shoe Blue
1 = Shoe Green
2 = Shoe Red
3 = Shoe Alpha
4 = Team Color 1 Blue
5 = Team Color 1 Green
6 = Team Color 1 Red
7 = Team Color 1 Alpha
8 = Team Color 2 Blue
9 = Team Color 2 Green
10 = Team Color 2 Red
11 = Team Color 2 Alpha
12 = Headband Blue
13 = Headband Green
14 = Headband Red
15 = Headband Alpha
You do not have the required permissions to view the files attached to this post.

Re: HoS Profiles: Roster.iff Editing

Wed Oct 16, 2013 10:34 am

aww yea, thank you futan,

Re: HoS Profiles: Roster.iff Editing

Thu Oct 17, 2013 3:07 am

Image
Sorry, had to echo your sentiments, Jao, but couldn't just c/p it. (Y)

I would've made a "Challenge Accepted", what with the inevitable blindfolded straw-grasping that will be my first running of HoS, but thought that might be overkill.
Especially since someone else could do it.... (eh?)

Seriously, though, thanks futan, even if I can't use it, I'm sure hundreds will.

Side-note: I noticed editing roster.iff in the program directory didn't do anything. Had to replace the one in the downloads section of the user directory (over-writing {AFTER backing up}), and set it to read-only. :arrow:

Re: HoS Profiles: Roster.iff Editing

Fri Oct 25, 2013 9:40 pm

how can find myplayer number in hex editor?:)

Thanks!

Re: HoS Profiles: Roster.iff Editing

Fri Oct 25, 2013 11:15 pm

you can't with this. This is editing the file that generates the Roster that the game imports your MC player into when you start. It is not possible to edit any save files with this procedure

Re: HoS Profiles: Roster.iff Editing

Fri Oct 25, 2013 11:42 pm

Is it possible to make mass edits using this method?

And roster.iff in NBA2k14 Folder or roster.iff under Online Data?

Re: HoS Profiles: Roster.iff Editing

Sat Oct 26, 2013 12:18 am

You'll need to edit the one in the Online Data folder, now that official updates have started to come through.

Re: HoS Profiles: Roster.iff Editing

Sat Oct 26, 2013 12:21 am

RowdyRondo wrote:Is it possible to make mass edits using this method?

And roster.iff in NBA2k14 Folder or roster.iff under Online Data?
Andrew wrote:You'll need to edit the one in the Online Data folder, now that official updates have started to come through.

However, if you edit the online data one, you need to move it to your main folder (remember to backup!) for the game to load it. Once you edit or delete a file in the online data when the game is loaded it will revert to using the one in the main folder.

Re: HoS Profiles: Roster.iff Editing

Mon Nov 11, 2013 5:55 pm

can i change team's name in this method? Thanks! :P

Re: HoS Profiles: Roster.iff Editing

Mon Nov 11, 2013 10:15 pm

not through HoS, but by hex editing, yes. Just remember that you need to maintain file size, so you cannot change the length of the games in the file

Re: HoS Profiles: Roster.iff Editing

Fri Nov 29, 2013 8:50 am

how do we change the body type of a player??

Re: HoS Profiles: Roster.iff Editing

Fri Nov 29, 2013 12:24 pm

use the trainer or wait for RED MC, didn't find that in this.

Re: HoS Profiles: Roster.iff Editing

Fri Nov 29, 2013 2:01 pm

which trainer are u talkin about??

Re: HoS Profiles: Roster.iff Editing

Fri Nov 29, 2013 2:24 pm

viewtopic.php?f=153&t=92987

Re: HoS Profiles: Roster.iff Editing

Sun Jan 26, 2014 5:06 am

PC Only?? or can it be done on consoles?

Re: HoS Profiles: Roster.iff Editing

Sat Mar 15, 2014 3:38 pm

JaoSming, Bro ? there a 30teams in nba 2k14.. if i can delete 20 teams ??

Re: HoS Profiles: Roster.iff Editing

Thu Mar 20, 2014 3:13 pm

JaoSming wrote:possibly, but like team rotations its not easy to decipher, I can't find it.

I've see?


Jaosming, so rotations cannot be really changed? example, if I wanted Michael Jordan to substituted at the near end of 3rd quarter, this tool cannot do it? :roll: newbie here btw. thanks.
Post a reply