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

NLSC Forum

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

Re: [Tool] Roster Editor

Tue Dec 11, 2012 4:04 am

Leftos, im new in using roster editor since i got boring in my game (MP) just a week ago and i have downloaded 2 versions of the roster editor.
the first one was good and i got it working (14.0.1) but the updated editor 14.0.2 seems to have a problem with the roster i use because i cant see some of the players that i add to the game. e.g. legends to the current roster teams.
i dont see any errors but the players wont come out.

is there a problem with the editor, or the roster i am using?
btw im using Meds Roster

Re: [Tool] Roster Editor

Wed Dec 12, 2012 1:26 am

Leftos I think I have found a bug using custom offsets in 360 files, because this is strange: with CustomSSOffset 94164 and CustomSSOffsetBit 2 (the default values for players offset) in the latest official roster (I think this could happen in any roster using custom offsets) the players look correctly before ID 1365, after that ID all the players look messed up, thing that not happen when you use the 360 mode option instead the custom one.

Re: [Tool] Roster Editor

Wed Dec 12, 2012 2:52 am

How can I change the colors of the headband using your Roster Editor leftos?

Re: [Tool] Roster Editor

Wed Dec 12, 2012 4:27 am

gamez, http://www.operationsports.com/forums/n ... 2044516648, post #821 mentions:

As I said, X360 saves have garbage bytes in them, some completely irrelevant information at random points in the file, nothing to do with the NBA 2K save itself. Those have to be detected and skipped, which is a process in itself as well. I'll see what I can do.

Your offsets aren't wrong though. What's wrong is that in player's 1364 entry is the beginning of those garbage bytes (should be 16KB) and then that player's entry continues after those garbage bytes. The tool isn't able to automatically detect them, that's why the Players table gets screwed up after that entry. The offsets are correct however, since the tables are shown correctly up to that point as you mention.


There's an interesting workaround which I haven't checked posted later, check it out.

Bliss, that should be one of the Team Colors in the Jerseys section. Not sure which one.

Re: [Tool] Roster Editor

Wed Dec 12, 2012 12:10 pm

Hey Leftos,

Im trying to edit certain colors for player gear (accessories) but my jersey tab is empty. What am I doing wrong?

Re: [Tool] Roster Editor

Fri Dec 14, 2012 8:53 pm

How to copy all the attributes and signature from one player to other? I've tryed just ctrl+c and ctrl+v, also tryed copy it into Excel and then paste but in all cases it writes "The pasted data must have the column headers in the first row". WTF?

Re: [Tool] Roster Editor

Fri Dec 14, 2012 9:08 pm

I can't copy the ShoeCustomColor option, I mean the tick. In Excel, instead of tick appears True or False, and when I paste it into Editor this doesn't change. Any solution?

Re: [Tool] Roster Editor

Fri Dec 14, 2012 9:14 pm

atrak5[LTU] wrote:How to copy all the attributes and signature from one player to other? I've tryed just ctrl+c and ctrl+v, also tryed copy it into Excel and then paste but in all cases it writes "The pasted data must have the column headers in the first row". WTF?

You must also copy the column headers to excel, cause it's necessary for the Editor to know which parameter are you pasting. Same as first column (ID).

Re: [Tool] Roster Editor

Fri Dec 14, 2012 9:28 pm

They are automatically copy to excel when I paste those numbers...Then I copy headers together with numbers from excel and when I paste I get this message too.

Re: [Tool] Roster Editor

Sat Dec 15, 2012 4:51 am

atrak5[LTU], there's video tutorials explaining how copy-paste works. Find JaoSming's Video Tutorials thread, he goes in detail about many features of Roster Editor. And there's also this: https://vimeo.com/52282734

disci922, you're trying to edit a newer roster than the latest Roster Editor supports.

Re: [Tool] Roster Editor

Sat Dec 15, 2012 4:53 am

Leftos wrote:atrak5[LTU], there's video tutorials explaining how copy-paste works. Find JaoSming's Video Tutorials thread, he goes in detail about many features of Roster Editor. And there's also this: https://vimeo.com/52282734

disci922, you're trying to edit a newer roster than the latest Roster Editor supports.


Gotcha thanks.

Re: [Tool] Roster Editor

Sat Dec 15, 2012 7:29 am

mmq wrote:I can't copy the ShoeCustomColor option, I mean the tick. In Excel, instead of tick appears True or False, and when I paste it into Editor this doesn't change. Any solution?

Leftos, do you know how to do this? Sorry for beingrepetitive. :?

Re: [Tool] Roster Editor

Sun Dec 16, 2012 9:46 am

i have the same problem ,with my roster i created 1 player now i cant create more players if i try it the game crashes to the desktop plz help leftos!
*edit: i fixed it, just i put manually default Pltype of all players(not too mutch with the editor), now i can create players again.

Re: [Tool] Roster Editor

Mon Dec 17, 2012 3:26 pm

suck it! I think I finally have a good procedure for figuring out the Jerseys


for the latest official roster as of this post
Code:
CustomRosterOffset - 867688
CustomRosterOffsetBit - 0

Code:
CustomJerseyOffset - 1492609
CustomJerseyOffsetBit - 5

Re: [Tool] Roster Editor

Mon Dec 17, 2012 5:20 pm

you're the man! I can now import my created team and change its name, (Y)

Leftos, is it possible to change the whole interface of 2k13? I can provide the designs etc... i.e. ESPN interface. :roll:

Re: [Tool] Roster Editor

Mon Dec 17, 2012 6:53 pm

It just fucking hit me. I can think of some code that could probably detect the starting offsets in all rosters (that's assuming you know what hex data you want to look for). Pretty basic tool, you give it the hex data, and it tries to find it no matter the bit-alignment.

Why the hell didn't I think of this sooner?

Re: [Tool] Roster Editor

Mon Dec 17, 2012 8:17 pm

Find That Hex and viewtopic.php?f=149&t=89704.

Re: [Tool] Roster Editor

Mon Dec 17, 2012 11:52 pm

:evil: but, but, the, the extra work I did.....figuring out that your ignoring of the practice uniforms and the true beginning of the roster file is exactly FF4 ahead of the tool's offset for the jerseys....the, the, the time, learning binary matching. The pain of hex pattern recognition. My first night of free time.....gooonnneee!!!!!!!!!!!!!!!!!!!!!!!!!!!

Look at disshit
Code:
Want to help? Read on.

=-Finding SS (Players) offset-=
Custom SS offset is 300 bytes and 2 bits after the player 0's portrait ID.

=-Finding Roster (Teams) offset-=
Custom Roster offset should be the offset where the 76ers' roster begins. There's a certain 2-byte string that lets the game know there's a valid player in there, and then there's the 2-byte player ID. You should be seeing 0, 1, 2 as the first player IDs, those will always be there for the 76ers. Note that of course, they most probably won't be byte-aligned, so you may see something along the lines of...

CODE: SELECT ALL
040C0000 040C0004 040C0008

Notice how the 040C is repeating? That's the 2-byte string I was talking about. Then there's the 2 byte player ID. But no, it's not 0, 4, 8. It's actually 0, 1, 2, but it's not byte-aligned. Byte-aligned it should be

CODE: SELECT ALL
01030000 01030001 01030002

So a valid roster spot begins with a 1 and a 3 (not always byte-aligned) and then the next 2 bytes are the player ID. Reading the binary information like I showed you in my video tutorial should help you understand how it's actually 0, 1 and 2. You'll need the bit-alignment as well, but if you find the proper byte offset, I can help you with the bit offset.

=-Finding Jersey offset-=
Custom Jersey offset should be the offset where the 76ers' home jersey starts, or at least its "GID". First 8 bytes of 76ers' jersey (byte-aligned) are

CODE: SELECT ALL
0000020D0440096E

You need to find that piece of information (that I believe won't change), but again, won't always be byte-aligned.




For Original Rosters
Teams
dec go - 862911 + 6bits
000000           0000000100000011000000000000000000000001000000110000000000 <- Match that



00000001000000110000000000000000000000010000001100000000 <- Dec17 (byte aligned)
CustomRosterOffset - 867688
CustomRosterOffsetBit - 0



Jerseys
dec go - 1486997 + 0bits
0000000000000000000000100000110100000100010000000000100101101110 <- 76ers ID



In original roster
16A0A1 is real beginning
go ahead FF4
5C33EC33EFFFF808C8  Right Here  000000080000040D04 (byte aligned example)


Bits to Find for Real Beginning
0000000000000000000000000000100000000000000000000000010000001101
00000000000000000000000000001000000000000000000000000100000 <- Dec17 16b68d+5bits
CustomJerseyOffset - 1492609
CustomJerseyOffsetBit - 5












Painful man, painful.








But thank you very much for the new tool. (Y) (Y) May not be as satisfying, but gawdamn I'd much rather have it be easier.

...except, no. Assuming you are still using bad decimal offsets.
You do not have the required permissions to view the files attached to this post.

Re: [Tool] Roster Editor

Tue Dec 18, 2012 1:17 am

I updated Find That Hex to v1.0.2, includes a lot of fixes and some optimizations.

Besides that, you wouldn't be able to find that string in the roster anyway, since they've added Bynum's injury, and so the rotation (and thus the placement in the roster) isn't 0, 1, 2, but rather 0, 7, 2, 3, 8 (867688 +0 in the roster you sent me). Strange, I thought they would rearrange them in the Players table as well, but they just redid the Roster spots. Unless you messed with the rotations yourself.

EDIT: Nope, you didn't. Just saved a latest roster myself, same way the 76ers roster is arranged. 0, 7, 2, 3, 8. Well, there goes our usual trick. You'll have to actually go into the rotations, go to Edit the first two players, find their IDs via the trainer, and then use that hex string. 2K ain't making it easy. :P

And I'm not sorry at all for getting you to learn so much more about hex editing and reverse engineering. Could be useful for the future. :P

Re: [Tool] Roster Editor

Tue Dec 18, 2012 1:28 am

the tool works (Y)

Re: [Tool] Roster Editor

Tue Dec 18, 2012 1:06 pm

new video tutorials
and for the insane

Re: [Tool] Roster Editor

Tue Dec 18, 2012 8:09 pm

<3

Here's 2 quick tips:
- Ctrl-Shift-Right Click on a file gives you the option "Copy as Path" in the context menu of My Computer. Which brings me to the next point...
- Left Click on the command prompt icon (top-left) when Find That Hex is open, go to Edit > Paste, and whatever you have copied (like the path to the roster in the above tip, or the hex string you might want to find) is pasted in the current prompt. Saves you the need to copy the roster to C:\, or type the long hex string correctly.

Re: [Tool] Roster Editor

Tue Dec 18, 2012 9:06 pm

Leftos one question, i try to change roster for all star teams, put new ids in roster spots, but nothing change in game. U think its immposible to change this other way?

Re: [Tool] Roster Editor

Wed Dec 19, 2012 12:11 am

all star rosters and a few other teams in years past require editing of an "overriding rotations" tab in the REDitor. So unfortunately, they cannot be edited.

Re: [Tool] Roster Editor

Wed Dec 19, 2012 3:56 am

Do you think it's possible to add more jerseys, like alternate and retro jerseys, to the custom shoe color option in the future? Love that stuff
Post a reply