Hex Editing: Dealing with Checksums (For Crashing Saves)

Patchmaking tutorials for NBA 2K11.

Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby JaoSming on Wed Jul 20, 2011 5:10 am

If you have attempted hex editing a roster and found that after editing the roster crashes, you need to learn how to manually update the checksum at the beginning of the file. This only applies to the PC version and I want to credit Pdub for teaching me this.

First you need this program, I just leave it in my saves folder, just in case I want to hex edit a save.
http://nba-live.com/jaosming/Tutorial/H ... _Crc32.rar

For an example, I am going to hex edit the Summer Circuit arena so that instead of the small gym, the games take place in the Generic CAT/D-League arena. Remember when hex editing rosters that you cannot change the file size and expect the game to not crash.


Alright, first off this is the checksum that we are focusing on.
Image

First thing I like to do is delete it, since I know that I will be making some hex changes.
Image

Now that it's gone I can find the reference to s735 (the Summer Circuit Arena) and make the edit I want.
Image
Image

Then you must save your roster file. Since we already deleted the checksum you should be all set, but you gotta make sure you delete it before this next step.

Start crc32
Image

Open your file, then change the drop down menu to "Dynamic Assembly"
Image

Then hit the CRC32 button and this should pop up.
Image

That is our new checksum in reverse byte order.

We need to reverse the bytes in order for this work. Remember that a byte is formed by two characters. So this is how the result looks with spaces between the bytes.
Code: Select all
3D FC F6 A3


But we need to reverse the byte order before we put that back into the file, so it should be ordered like this.
Code: Select all
A3 F6 FC 3D

See how the order swaps, but the characters in each byte don't?

The last step is to simply put the reversed result back into the file, before the 0100
Image

Then save and you are all set!



This is not exactly easy stuff, and hex editing can be a pain in the arse. But if you are forced to hex edit a roster, association, playoff, my player, any save file on the PC, you need to know how to do this.

Let me know if anything needs to be cleared up further.
Opinions are my own.

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

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby Mitza90 on Wed Jul 20, 2011 6:55 am

Thanks you so much for all the help Jao and for responding to my pm's!

Finally I can edit my player's age woohoo! ^_^

You're great man! :mrgreen:

LE: crap.. it still says save data corrupted even after doing everything step by step.

Jao do you know the my player age hex string? Are you sure it's 0035DABA? And when do I modify this hex string? before doing the checksum or after?
Mitza90
 
Posts: 48
Joined: Wed May 25, 2011 9:29 am

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby JaoSming on Wed Jul 20, 2011 7:16 am

as I said, I modified it in REDitor, and just did a compare between the two. That one byte at that address was the only difference in the entire file (other than the checksum). You make your edits to the file before you redo the checksum.
Opinions are my own.

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

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby Mitza90 on Wed Jul 20, 2011 7:58 am

Didn't work.. tried different combinations again and again.. guess i'm just unlucky :cry:

LE: So I managed finally to make the checksum right.. but it still doesn't change the age. At least the save loads now but my player still has the same age. : /
Last edited by Mitza90 on Wed Jul 20, 2011 8:22 am, edited 1 time in total.
Mitza90
 
Posts: 48
Joined: Wed May 25, 2011 9:29 am

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby JaoSming on Wed Jul 20, 2011 8:17 am

try a "name" mod like I did in this tutorial, make sure you are getting the procedure down correctly.
Opinions are my own.

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

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby Mythbuster on Thu Jul 28, 2011 11:59 pm

I got it to work, I have changed Prudential Center to Barclays Center and New Jersey Nets to Brooklyn Nets.
But it doesn't work when I change the Newark, NJ to Brooklyn, NY.

Image
Trying my best to get better.
Like the Facebook page: http://www.facebook.com/Mythbuster2KX/


Please donate, would be a big help for me, my mods and my PC. Thanks!
Image

My 2k14 Thread-Mythbuster
My 2k13 Thread-Mythbuster
My 2k12 Thread-Mythbuster
My 2k11 Thread-GS6CAR7/Mythbuster

http://www.youtube.com/user/Manaphy756
User avatar
Mythbuster
Extremely Addictive
Contributor
 
Posts: 1167
Joined: Thu Nov 04, 2010 11:47 am
Location: España

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby ravena0123 on Wed Aug 10, 2011 8:39 pm

Will this also help fix the crashing association mode . My Assoc game will finish up to the 4th and end the game, but when I attempt to quit the game, the game crashes. It really sucks....
Image


"When you're in this fantasy and you're on top of the world, it's hard to get a dose of reality. It hit me, smacked me right in the middle of my prime. So I had to fight, had to fight to resume my career."

-Grant Hill
User avatar
ravena0123
 
Posts: 168
Joined: Thu Mar 10, 2011 4:19 pm

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby JaoSming on Wed Aug 10, 2011 9:44 pm

only if you hex edited the association save file. I think you're dealing with a different type of crash
Opinions are my own.

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

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby ravena0123 on Thu Aug 11, 2011 2:34 pm

I do not hex edit any file. what I remember is I keep on installing michealuvtz mods and uninstalling them when I don't like them. The 2kfile itself created by micheal was the only thing I knew he used this hex editing.
Image


"When you're in this fantasy and you're on top of the world, it's hard to get a dose of reality. It hit me, smacked me right in the middle of my prime. So I had to fight, had to fight to resume my career."

-Grant Hill
User avatar
ravena0123
 
Posts: 168
Joined: Thu Mar 10, 2011 4:19 pm

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby JaoSming on Thu Aug 11, 2011 8:19 pm

i dont use his mods, so honestly I dont know what could be messed up by them
Opinions are my own.

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

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby wkd on Sat Sep 03, 2011 12:01 am

thanks, i used this tutorial to hex edit team colours in my .ROS (Y)
wkd
 
Posts: 117
Joined: Sun Jan 09, 2011 11:58 am

Re: Hex Editing: Dealing with Checksums (For Crashing Saves)

Postby QRST on Fri Jan 01, 2016 3:15 pm

hey all,
trying hex-editing to fix the date in file which was created when the system clock was wrong on a computer. any help on dealing with the checksum hurdle here.
[screen shot attached-- WRONG DATE-- surrounded in bold-red box]

my attempts:
-changing the text by typing in the right characters:-- doesn't work, date turns into "not available" when file is opened with the OEM software.
-deleting all boxed text and typing in the right date:-- file won't open at all using the OEM software.

thnx.
You do not have the required permissions to view the files attached to this post.
QRST
 
Posts: 1
Joined: Fri Jan 01, 2016 9:19 am


Return to NBA 2K11 Tutorials & FAQs

Who is online

Users browsing this forum: No registered users and 2 guests