HoS Profiles: Roster.iff Editing

Patchmaking tutorials for NBA 2K14.

Re: HoS Profiles: Roster.iff Editing

Postby TGsoGood on Tue Oct 08, 2013 1:48 am

Looking for the "Player Type" values... no luck yet on my part
Follow me on PATREON https://www.patreon.com/TGsoGood
Consider donating: http://cash.me/$TheJohnsonFamily or http://paypal.me/4TheGoods
Follow me on twitter @TGsoGood
Check me out on youtube https://www.youtube.com/channel/UCPydhZ ... PeRSmEVynQ

NBA 2K21 TGsoGood Mods and releases - viewtopic.php?f=267&t=110608
NBA 2K17 TGsoGood Mods and releases - viewtopic.php?f=225&t=102251#p1860681
NBA 2K14 TGsoGood Mods and releases - viewtopic.php?f=153&t=96056
User avatar
TGsoGood
Contributor
Contributor
 
Posts: 6433
Joined: Thu Jul 28, 2011 4:03 am
Location: Nashville, TN

Re: HoS Profiles: Roster.iff Editing

Postby kill bill on 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?
Greece - Ελλάς
User avatar
kill bill
 
Posts: 433
Joined: Sun May 26, 2013 12:49 am
Location: Greece

Re: HoS Profiles: Roster.iff Editing

Postby Andrew on Tue Oct 08, 2013 11:40 pm

At some point.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 114790
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Re: HoS Profiles: Roster.iff Editing

Postby Fibaa on 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.
Fibaa
 
Posts: 169
Joined: Sun Jun 15, 2008 8:57 am

Re: HoS Profiles: Roster.iff Editing

Postby Sports.Swami on 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: Select all
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.
My translation work may not be redistributed by anyone, at any place.
You may not download the translations, put them in an archive, and post it to ModdingWay under any circumstances.
I will do that when I have finished if it is necessary, and if I can convince Aleczou to use my translations in future releases, it likely won't be.
Only the original authors of the trainer may use my translations freely in their releases.
Image
User avatar
Sports.Swami
 
Posts: 28
Joined: Fri May 06, 2005 2:16 am

Re: HoS Profiles: Roster.iff Editing

Postby futan on 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.
futan
 
Posts: 13
Joined: Sun Oct 30, 2011 9:21 am

Re: HoS Profiles: Roster.iff Editing

Postby Sports.Swami on 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. :-\
My translation work may not be redistributed by anyone, at any place.
You may not download the translations, put them in an archive, and post it to ModdingWay under any circumstances.
I will do that when I have finished if it is necessary, and if I can convince Aleczou to use my translations in future releases, it likely won't be.
Only the original authors of the trainer may use my translations freely in their releases.
Image
User avatar
Sports.Swami
 
Posts: 28
Joined: Fri May 06, 2005 2:16 am

Re: HoS Profiles: Roster.iff Editing

Postby Fibaa on Sun Oct 13, 2013 10:44 pm

Thank you Sports.Swami (Y)
Fibaa
 
Posts: 169
Joined: Sun Jun 15, 2008 8:57 am

Re: HoS Profiles: Roster.iff Editing

Postby futan on 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.
futan
 
Posts: 13
Joined: Sun Oct 30, 2011 9:21 am

Re: HoS Profiles: Roster.iff Editing

Postby JaoSming on Wed Oct 16, 2013 10:34 am

aww yea, thank you futan,
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: HoS Profiles: Roster.iff Editing

Postby Sports.Swami on 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:
My translation work may not be redistributed by anyone, at any place.
You may not download the translations, put them in an archive, and post it to ModdingWay under any circumstances.
I will do that when I have finished if it is necessary, and if I can convince Aleczou to use my translations in future releases, it likely won't be.
Only the original authors of the trainer may use my translations freely in their releases.
Image
User avatar
Sports.Swami
 
Posts: 28
Joined: Fri May 06, 2005 2:16 am

Re: HoS Profiles: Roster.iff Editing

Postby akockato on Fri Oct 25, 2013 9:40 pm

how can find myplayer number in hex editor?:)

Thanks!
akockato
 
Posts: 1
Joined: Fri Oct 25, 2013 5:53 pm

Re: HoS Profiles: Roster.iff Editing

Postby JaoSming on 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
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: HoS Profiles: Roster.iff Editing

Postby RowdyRondo on 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?
Image
User avatar
RowdyRondo
 
Posts: 150
Joined: Sat Oct 27, 2012 11:48 am
Location: The Mean Streets of Boston

Re: HoS Profiles: Roster.iff Editing

Postby Andrew on 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.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 114790
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Re: HoS Profiles: Roster.iff Editing

Postby JaoSming on 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.
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: HoS Profiles: Roster.iff Editing

Postby mateosingko on Mon Nov 11, 2013 5:55 pm

can i change team's name in this method? Thanks! :P
S is for SHOE and D is for DAD!
User avatar
mateosingko
 
Posts: 52
Joined: Sun Sep 14, 2008 12:39 pm
Location: PILIPINAS

Re: HoS Profiles: Roster.iff Editing

Postby JaoSming on 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
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: HoS Profiles: Roster.iff Editing

Postby go7denboot on Fri Nov 29, 2013 8:50 am

how do we change the body type of a player??
User avatar
go7denboot
 
Posts: 251
Joined: Sat Apr 11, 2009 12:59 am

Re: HoS Profiles: Roster.iff Editing

Postby JaoSming on Fri Nov 29, 2013 12:24 pm

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

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: HoS Profiles: Roster.iff Editing

Postby go7denboot on Fri Nov 29, 2013 2:01 pm

which trainer are u talkin about??
User avatar
go7denboot
 
Posts: 251
Joined: Sat Apr 11, 2009 12:59 am

Re: HoS Profiles: Roster.iff Editing

Postby JaoSming on Fri Nov 29, 2013 2:24 pm

Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: HoS Profiles: Roster.iff Editing

Postby NBA2k-dealer on Sun Jan 26, 2014 5:06 am

PC Only?? or can it be done on consoles?
Image
User avatar
NBA2k-dealer
 
Posts: 9
Joined: Thu Jan 23, 2014 4:44 pm

Re: HoS Profiles: Roster.iff Editing

Postby janssencpgssen on Sat Mar 15, 2014 3:38 pm

JaoSming, Bro ? there a 30teams in nba 2k14.. if i can delete 20 teams ??
janssencpgssen
 
Posts: 1
Joined: Sat Mar 15, 2014 3:30 pm

Re: HoS Profiles: Roster.iff Editing

Postby truefaith0826 on 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.
User avatar
truefaith0826
 
Posts: 466
Joined: Mon Nov 25, 2013 4:00 am

PreviousNext

Return to NBA 2K14 Tutorials & FAQs

Who is online

Users browsing this forum: No registered users and 2 guests