Home

NHL2K editing (technical discussion)

This is a discussion on NHL2K editing (technical discussion) within the NHL 2K forums.

Go Back   Operation Sports Forums > Hockey > Other Hockey Games > NHL 2K
MLB The Show 24 Review: Another Solid Hit for the Series
New Star GP Review: Old-School Arcade Fun
Where Are Our College Basketball Video Game Rumors?
Reply
 
Thread Tools
Old 09-04-2019, 02:13 PM   #1
MVP
 
OVR: 0
Join Date: Aug 2007
Blog Entries: 1
NHL2K research thread

I started this thread due to the recent breakthrough on 2K10 roster editing: https://forums.operationsports.com/f...0-utility.html


In order to open up the possibilities for us to edit more 2K games, for example 2K11 (2KHS) I'd like for this discussion about research on the games to be public, that way knowledge and research will not be lost with individuals leaving the community.


Please try to keep this thread on topic and technical, but if you know something, don't be afraid to share it!
__________________
Now go play NHL Two K!

Download the NHL2K20 roster at:
http://PlayNHL.TK

Discussion: https://forums.operationsports.com/f...s-nhl2k11.html

Last edited by nikethebike; 09-04-2019 at 03:05 PM.
nikethebike is offline  
Reply With Quote
Advertisements - Register to remove
Old 09-04-2019, 03:08 PM   #2
MVP
 
OVR: 0
Join Date: Aug 2007
Blog Entries: 1
Re: NHL2K editing (technical discussion)

First of all I would be really interested in what we know about the save file format of NHL2K10.
How is the data structured and at what offsets can we find specific data in the file?


If we update say a player name, do we need to edit anything else to make it load successfully in the game?
__________________
Now go play NHL Two K!

Download the NHL2K20 roster at:
http://PlayNHL.TK

Discussion: https://forums.operationsports.com/f...s-nhl2k11.html
nikethebike is offline  
Reply With Quote
Old 09-05-2019, 12:32 AM   #3
MVP
 
OVR: 0
Join Date: Aug 2007
Blog Entries: 1
Re: NHL2K editing (technical discussion)

Here is what I found myself about the NHL2K11 save file:
1. At offset Hx213CE0 the edited player names are stored.
- They are stored as normal characters padded with a Hx00 between them.
- After each word/name three Hx00 marks the name as finished
- Just hex editing these names in the file does not work. The game says that the save file is corrupt.
- When you change a name in the game, the game adds to this list of names, it does not overwrite words, which is bad since the save file has fixed length. This means eventually you will run out of place for text edits.
- The space for edited names seem to go somewhere up to 2236E0 - since that area is padded with zeroes.
5. At offset Hx2236E1 I found Getzlaf and the rest of the standard player name strings in the game.
- These name strings seem to end at Hx22971C
6. After this comes a strange area. In it I found 2 strings, First and Last. Rest of the data are Hx2A Hx00 repeated...
7. At Hx22FBC9 I found strings for arena names, cities, teams, shortnames etc.
- This ends at 231216
8. At Hx2315AB I found countries, coach names, a lot of names and different strings you can find in the game.
- This ends somewhere at Hx241E1B


I tried changing a couple of strings but never succeeded, the game said that the file was corrupt. I suspect there might be a checksum somewhere.
__________________
Now go play NHL Two K!

Download the NHL2K20 roster at:
http://PlayNHL.TK

Discussion: https://forums.operationsports.com/f...s-nhl2k11.html
nikethebike is offline  
Reply With Quote
Old 09-05-2019, 06:34 AM   #4
Rookie
 
snowdrift's Arena
 
OVR: 0
Join Date: Nov 2016
Blog Entries: 1
Re: NHL2K editing (technical discussion)

Quote:
Originally Posted by nikethebike
Here is what I found myself about the NHL2K11 save file:
1. At offset Hx213CE0 the edited player names are stored.
- They are stored as normal characters padded with a Hx00 between them.
- After each word/name three Hx00 marks the name as finished
Good news as that is exactly how 2K10 works, except the name list is at a different address.

Quote:
Originally Posted by nikethebike
Just hex editing these names in the file does not work. The game says that the save file is corrupt.
I took a quick look at various Wii forums and it seems most Wii saves do use a checksum. There's no point in discussing anything until the checksum isn't figured out so I suggest researching that, maybe reach out to some people with experience on Wii/Dolphin forums. If you find a good one we could even move our entire discussion there.

Quote:
Originally Posted by nikethebike
- When you change a name in the game, the game adds to this list of names, it does not overwrite words, which is bad since the save file has fixed length. This means eventually you will run out of place for text edits.
My utility erases the entire list and only writes in the names provided in the CSV file. It also never writes duplicates (sometimes the same name appears twice in the default 2K10 file which wastes space unnecessarily).
snowdrift is offline  
Reply With Quote
Old 09-05-2019, 06:39 PM   #5
MVP
 
OVR: 0
Join Date: Aug 2007
Blog Entries: 1
Re: NHL2K editing (technical discussion)

OMG... It might be as easy as the first four bytes in the file being the checksum...
Will see if I can find how it is calculated.
__________________
Now go play NHL Two K!

Download the NHL2K20 roster at:
http://PlayNHL.TK

Discussion: https://forums.operationsports.com/f...s-nhl2k11.html
nikethebike is offline  
Reply With Quote
Advertisements - Register to remove
Old 09-06-2019, 10:20 AM   #6
MVP
 
OVR: 0
Join Date: Aug 2007
Blog Entries: 1
Re: NHL2K editing (technical discussion)

Well, the "easy way" to calculate the sum, was not the right one. Will probably need to learn more on dolphin debugging.
__________________
Now go play NHL Two K!

Download the NHL2K20 roster at:
http://PlayNHL.TK

Discussion: https://forums.operationsports.com/f...s-nhl2k11.html
nikethebike is offline  
Reply With Quote
Old 09-08-2019, 04:25 AM   #7
MVP
 
OVR: 0
Join Date: Aug 2007
Blog Entries: 1
Re: NHL2K editing (technical discussion)

Some progress... Been digging around a bit and my current approach is pretty much guess work, trial and error. Been using calculate methods available in HxD but nothing has worked yet. Getting closer to having to learn dolphin debugging.
__________________
Now go play NHL Two K!

Download the NHL2K20 roster at:
http://PlayNHL.TK

Discussion: https://forums.operationsports.com/f...s-nhl2k11.html
nikethebike is offline  
Reply With Quote
Old 09-08-2019, 10:10 AM   #8
MVP
 
OVR: 0
Join Date: Aug 2007
Blog Entries: 1
Re: NHL2K editing (technical discussion)

Found an extremely interesting text on the NBA series: https://forums.nba-live.com/viewtopic.php?f=150&t=88190


It has a 4 byte checksum at pos=0...
__________________
Now go play NHL Two K!

Download the NHL2K20 roster at:
http://PlayNHL.TK

Discussion: https://forums.operationsports.com/f...s-nhl2k11.html
nikethebike is offline  
Reply With Quote
Reply


« Previous Thread | Next Thread »

« Operation Sports Forums > Hockey > Other Hockey Games > NHL 2K »



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 03:48 AM.
Top -