Where is Vlad and REDITOR?

Talk about NBA 2K13 here.

Where is Vlad and REDITOR?

Postby Lagoa on Thu Oct 04, 2012 11:12 am

We need REDITOR for NBA 2K13!!

Vlad, pleeeease help us....

:D :D
FOLLOW ME ON INSTAGRAM and THREADS @lagoanba

Please consider making a donation of any value if you like my work! :D

https://www.paypal.com/cgi-bin/webscr?c ... source=url
User avatar
Lagoa
 
Posts: 2943
Joined: Tue Dec 17, 2002 11:05 pm
Location: São Paulo, Brasil

Re: Where is Vlad and REDITOR?

Postby JaoSming on Thu Oct 04, 2012 11:14 am

are you serious man? the game has been out for 1 day.....the REDitor in past years usually doesnt come out for months after release.
Opinions are my own.

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

Re: Where is Vlad and REDITOR?

Postby Lagoa on Thu Oct 04, 2012 11:21 am

hahaha....cmon Jao....we need Vlad editor right now! :lol: :lol: :lol: :cheeky:
FOLLOW ME ON INSTAGRAM and THREADS @lagoanba

Please consider making a donation of any value if you like my work! :D

https://www.paypal.com/cgi-bin/webscr?c ... source=url
User avatar
Lagoa
 
Posts: 2943
Joined: Tue Dec 17, 2002 11:05 pm
Location: São Paulo, Brasil

Re: Where is Vlad and REDITOR?

Postby nba2kway on Thu Oct 04, 2012 10:27 pm

By the way have you noticed that names of players are not anymore in .ROS files ? Only in roster.iff.
Also
- references in .ROS files to names are to memory and not to the file.
- .ROS files seems to be codified in a different way

I guess Vlad will have to work over roster.iff and not over .ROS files
User avatar
nba2kway
 
Posts: 310
Joined: Fri Oct 16, 2009 4:56 am
Location: Argentina

Re: Where is Vlad and REDITOR?

Postby JaoSming on Thu Oct 04, 2012 11:18 pm

nba2kway wrote:By the way have you noticed that names of players are not anymore in .ROS files ? Only in roster.iff.
Also
- references in .ROS files to names are to memory and not to the file.
- .ROS files seems to be codified in a different way

I guess Vlad will have to work over roster.iff and not over .ROS files

iirc the names are still in the roster, just compressed or encrypted in some manner. if the roster.iff thing was true, it would update whenever you create a unique name player or team.
Opinions are my own.

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

Re: Where is Vlad and REDITOR?

Postby Lagoa on Fri Oct 05, 2012 2:28 am

I dont edit rosters...just TEAM/SOCKS COLORS....

2k ignoring this art stuff for years and REDITOR are perfect for this!

=)
FOLLOW ME ON INSTAGRAM and THREADS @lagoanba

Please consider making a donation of any value if you like my work! :D

https://www.paypal.com/cgi-bin/webscr?c ... source=url
User avatar
Lagoa
 
Posts: 2943
Joined: Tue Dec 17, 2002 11:05 pm
Location: São Paulo, Brasil

Re: Where is Vlad and REDITOR?

Postby Leftos on Fri Oct 05, 2012 5:28 am

Vlad won't have a new version of REDitor ready until Christmas, and even that's hopeful. So we still have 3 months before REDitor. Too early to talk about it.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: Where is Vlad and REDITOR?

Postby wilson27 on Fri Oct 05, 2012 11:39 am

Hope someone can make a tool that can be utilized in simple player insertion in a roster.

LEFTOS! :bowdown: :mrgreen:
Your Tip Here :D
Image
User avatar
wilson27
 
Posts: 550
Joined: Thu Sep 08, 2011 6:23 pm

Re: Where is Vlad and REDITOR?

Postby Vl@d Zola Jr. on Mon Oct 08, 2012 4:49 am

nba2kway wrote:By the way have you noticed that names of players are not anymore in .ROS files ? Only in roster.iff.
Also
- references in .ROS files to names are to memory and not to the file.
- .ROS files seems to be codified in a different way

I guess Vlad will have to work over roster.iff and not over .ROS files

You're right, my friend. It turned out, roster.iff has exactly the same global format, as previous year's files. But ROS files are encoded in some way. I got some clue on how they are encoded, but still haven't understood several picularities yet. For example, i was able to find out how to decypher names, but letters at some random places need to be shifted by 1 up or down (e. g. n -> o, m -> l, h -> i, d-> e, etc.). But hte places, where the letters must be shifted, are really random. I suppose that info at the very end of file (53876 bytes) is somehow responsible for how each exact file is crypted.
So, waiting for 2K to release a roster update. Maybe it will clarify everything.
User avatar
Vl@d Zola Jr.
Contributor
Contributor
 
Posts: 1057
Joined: Wed Apr 04, 2007 1:31 am
Location: Binaryland

Re: Where is Vlad and REDITOR?

Postby Leftos on Mon Oct 08, 2012 4:53 am

I've seen those 53876 files get updated/changed between different Save Roster actions, so maybe you could get a different sample by trying to save multiple rosters in-game.

Happens randomly though, it happened yesterday, but all the rosters I saved today had the same last 53876 bytes.

2K has really gone to lengths to prevent modding. I guess they got bitch-slapped from the NBA for Ultimate Base Roster or whatever. :P

On a not-so-different matter, has the player (or roster) information always been non-byte-aligned Vlad? I had to code and implement my own custom BinaryReader and BinaryWriter to be able to read non-aligned data, which was a 7-hour bitch to complete.

I remember that Team Stats last year were fully byte-aligned. Is some information byte-aligned and some not? I was surprised to find out player entries were 477 bytes and 5 bits long. They're not even-rounded to the nearest byte in order to be aligned. Man...
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: Where is Vlad and REDITOR?

Postby Vl@d Zola Jr. on Mon Oct 08, 2012 7:36 am

In roster.IFF each player is 484 bytes.

Anyway, as i told, i haven't got seriuos on NBA 2K13 files due to finishing with MLB 2K12, so can't say much. But, yes, players on ROS files seem to be less than 484 in size.
My most interest, though, is finding out, how names are encoded in ROS files (because in the IFF file they are plain text).
Leftos, could you send me a couple of files with those last 53876 bytes being different?

Also, i hope, roster format doesn't differ between US/International/retail/Steam versions? :D
User avatar
Vl@d Zola Jr.
Contributor
Contributor
 
Posts: 1057
Joined: Wed Apr 04, 2007 1:31 am
Location: Binaryland

Re: Where is Vlad and REDITOR?

Postby Leftos on Mon Oct 08, 2012 8:27 am

484? I wish. In .ROS files, the player entry is 477 bytes AND 5 BITS. Each player ends up having his information aligned differently inside the bytes. The bit patterns are the same, and with programming experience you can see them (now I know what you were talking about reading the matrix), but player 0 has his first signature skill start at 40916 bytes and 2 bits, player 1's SS1 starts at 41393 bytes and 7 bits, etc. It's mind-boggling, and really annoying. The code I had to write in order to be able to properly read and write the damn values exhausted me.

Same goes for TeamID and IsFA, which I've been currently researching. The IsFA pattern is the same for all players, but it's aligned differently. On one player it will start at bit 0 of the byte, on the next player it will start at bit 5 of the according byte, which validates my 477 bytes + 5 bits research.

So I hope REDitor was already handling non-byte-aligned values, or you'll have some coding to do.

I'll be gathering all my research here: viewtopic.php?f=150&t=88190

I don't see why ROS files would be different in format between regions. I highly doubt that.

I can't get the damn files to have those last 53K bytes changed. I guess I was (un)lucky to have some rosters with different end parts yesterday, and then I deleted them. I've saved almost 20 different rosters today, all have their last 53K the same.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: Where is Vlad and REDITOR?

Postby JaoSming on Mon Oct 08, 2012 8:50 am

um......why do we care about editing the actual rosters when the game uses the roster.iff?


i know, stupid question, I want to be able to edit the ros files and other files, but we can edit the roster.iff at will, without checksums, hit reset roster, and get it in-game. Bank of Names edits and all.
Opinions are my own.

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

Re: Where is Vlad and REDITOR?

Postby Vl@d Zola Jr. on Mon Oct 08, 2012 9:04 am

Because we can't edit on-going association, my player and the rest by only adjusting roster.IFF ... so, let it be ROS decoding )))

Leftos, if you manage to somehow make a roster with changed last bytes, please, send it to me. Would be greatly appreciated! (Y)
User avatar
Vl@d Zola Jr.
Contributor
Contributor
 
Posts: 1057
Joined: Wed Apr 04, 2007 1:31 am
Location: Binaryland

Re: Where is Vlad and REDITOR?

Postby JaoSming on Mon Oct 08, 2012 9:50 am

oh I understand that, but I'm impatient, lol. So when I see a file that can be edited easily, such as last year's file (floorIDs and all) I get hope that an editor could be turned out in a few weeks, rather than a few months.
Opinions are my own.

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

Re: Where is Vlad and REDITOR?

Postby Leftos on Mon Oct 08, 2012 10:52 am

Plus, another thing you have to keep in mind Jao, roster.iff is going to be in the first Online Data update, so in order to get a modified file in without having it be deleted by the game, you'll need to either be offline (and lose all other Online Data updates as well) or use Keep My Mod.

And we can't really "research" the roster.iff without prior knowledge of the roster structure. I can only do the "do a change, save, compare" with ROS files, and that's how I do research.

If you're saying that the discoveries I've made on ROS files are more easily applied to the roster.iff file (byte-alignment? yum), then great, I'll work on that.

But what's the structure of roster.iff like? Same as the roster.ros? Whatever I find about the ros file applies to the iff one as well? How do I find the offset of a player in the iff file so that I can research around that?

P.S. Vlad, if I do come across a file with the last 53K changed, I'll make sure to send it over. If, when you start doing your 2K13 research, you decide to help out a bit with REALLY basic stuff such as helping us unlock some 2nd rounders to get a fuller roster (PlType, TeamID, IsFA), I'd really appreciate it. I understand you want to keep everything to yourself because REDitor is a source of income for you, but even minor stuff could really help us get through the months until REDitor is released. I'll be doing my own research, and I hope some of it helps you as well. You know where to find me.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: Where is Vlad and REDITOR?

Postby JaoSming on Mon Oct 08, 2012 11:25 am

well as Vlad said
roster.iff has exactly the same global format, as previous year's files. But ROS files are encoded in some way.

In roster.IFF each player is 484 bytes.



I've noticed that each player section is 1E4 long in the iff starting at 5098. No bits or anything. Also, CFIDs and such are searchable on top of the unencrypted bank of names.


Again, I see the point and need for the actual saves to be editable, no denying that. But if this stuff is "unprotected" and similar to past years' formats, this would be HUGE for total conversion mod makers. Right now with hex I can change file names and floorIDs, but with an editor that could do basic info and ratings, an NCAA and other TCs could be whipped up easily. I mean, if Vlad could plug it into REDII, freakin UBR.
Opinions are my own.

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

Re: Where is Vlad and REDITOR?

Postby Leftos on Mon Oct 08, 2012 11:31 am

Well, if everything is so readable and easy to edit in the roster.iff, why not post everything you know (offset and numeric type for each parameter) in the tutorials section so I could throw whatever I can in the tool?

As I said, again, the problem is with research of values that we don't know what to expect they will be. I can't change a player's X rating and compare the new roster.iff to the old one to see where it is and what's its format. Pretty much only Vlad knows that.

But I guess you're directing this to Vlad, asking him to make REDitor II compatible with 2K13's roster.iff's first, which should be a pretty easy job (weeks?) if their format is so similar. And I agree on that, I hope he agrees as well. The faster we can get to doing some good edits on the roster, the faster he gets my money this year. :D

Until then, we can try to add as much as we can to my Roster Editor, no? :P

EDIT: Is 5098 decimal or hex offset? I've switched all my offsets to decimal, since I can count them easier both by eye and when I do coding for the binary editing (roster, shaders) tools.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: Where is Vlad and REDITOR?

Postby JaoSming on Mon Oct 08, 2012 11:49 am

hex offset for the 5098

I am procrastinating dangerously with the iff discovery, this damn Plane Crash special, and well, my homework. Babysitting tomorrow, but I can confirm that the floor, player, and other stuff like that works as it does in the 2k12 rosters, which does not work in the 2k13 rosters.
Opinions are my own.

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

Re: Where is Vlad and REDITOR?

Postby Vl@d Zola Jr. on Mon Oct 08, 2012 7:04 pm

But what's the structure of roster.iff like? Same as the roster.ros? Whatever I find about the ros file applies to the iff one as well? How do I find the offset of a player in the iff file so that I can research around that?

Actually not. As i said, ROS files are encoded in some way, so most parameters are stored differently. Skip the first ~20000 bytes, then the first non-zero byte is where Jrue Holiday begins. +484 to get to each next player.

P.S. Vlad, if I do come across a file with the last 53K changed, I'll make sure to send it over. If, when you start doing your 2K13 research, you decide to help out a bit with REALLY basic stuff such as helping us unlock some 2nd rounders to get a fuller roster (PlType, TeamID, IsFA), I'd really appreciate it. I understand you want to keep everything to yourself because REDitor is a source of income for you, but even minor stuff could really help us get through the months until REDitor is released. I'll be doing my own research, and I hope some of it helps you as well. You know where to find me.

It's not a problem for me to share some minor stuff. But, again, i haven't got serious on NBA 2K13 files yet, so i don't want to provide any false info. Once i increase my knowledge of the new format, i'll be able to tell how to hex-edit several things. I mean, i haven't figured several picularities out for sure yet, e. g. how bank of names is stored...

But I guess you're directing this to Vlad, asking him to make REDitor II compatible with 2K13's roster.iff's first, which should be a pretty easy job (weeks?) if their format is so similar. And I agree on that, I hope he agrees as well. The faster we can get to doing some good edits on the roster, the faster he gets my money this year. :D

Not exactly. Every previous year the global format has been the same, but inside structs were different. Let's say, they add a hidden parameter into the middle of a player struct, then everything else is realigned, etc. And every year they add a bunch of them. If i remember correctly, one year there were even skills rearranged. So, i redecode everything every year. That's why it has no sense to start off IFF. Also, as Leftos said, it's not possible to get the basic knowledge rapidly by just editing in-game, saving and comparing. And several other fast-decoding methods don't work as well this way.
So, no, i'm stuck with ROS'es ;) But it is global format of ROS files, which changed this year - that's what i mean. Though, IFF file has the same global format as last year. Internal structs change every year.

*Gonna leave for college now. See you in the evening :D *
User avatar
Vl@d Zola Jr.
Contributor
Contributor
 
Posts: 1057
Joined: Wed Apr 04, 2007 1:31 am
Location: Binaryland

Re: Where is Vlad and REDITOR?

Postby Leftos on Mon Oct 08, 2012 7:13 pm

Any idea what the numeric type of skills (ratings) is? Double? Float? Signed/unsigned int? Is the iff file little or big endian?
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: Where is Vlad and REDITOR?

Postby Leftos on Mon Oct 08, 2012 8:04 pm

Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: Where is Vlad and REDITOR?

Postby JaoSming on Mon Oct 08, 2012 10:02 pm

Leftos wrote: Is the iff file little or big endian?

2k12's, opposite of 2k13
Opinions are my own.

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

Re: Where is Vlad and REDITOR?

Postby Leftos on Mon Oct 08, 2012 10:35 pm

I'm now researching rotations and rosters. I've been able to switch a 76ers player to any ID I want successfully. Next steps, find PlNum so that we can add more players, and find a way to tie player IDs to their names (or just brute force all IDs) so that we can find any 2nd rounders that are in but hidden.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: Where is Vlad and REDITOR?

Postby Leftos on Tue Oct 09, 2012 2:45 am

I was able to assign all players I could find using Roster Editor. We need CF ID and Portrait ID, and we should be in business for the first rosters. Anyone?
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Next

Return to NBA 2K13

Who is online

Users browsing this forum: No registered users and 1 guest