Hex Map, Resources, Discussion

A hub for everything related to NBA 2K23 modding. Releases, previews, requests, and other modding discussion belongs here.

Hex Map, Resources, Discussion

Postby vetmin on Fri Nov 18, 2022 3:35 am

Wanted to create a general thread for hex stuff. Shout out to Mahmood for getting me started on hex editing 2K and to ksmiz for his insights re: previous 2Ks, which helped me get a foothold in trying to make sense of everything. Also thanks to bongo88 for his interest in and insight into hex stuff, which has led to a lot of useful discussion over the years (judging by past NLSC threads).

Latest Hex Workshop color map:
vetmin23_2022-11-18.zip
(note: Hex Workshop is free)

Note that this color map is forever a work in progress. I map things as I go along, not for their own sake, but please share items / insights that you have as you go along and I will add them to the map. I will credit your contributions.

For those who prefer not to download Hex Workshop, no worries; CMAP is a plaintext format, and you can find that plaintext for the latest version of the color map here:

Code: Select all
##############################################################################
# Hex Workshop Color Map Definition File (cmap)
#
# General Format:
#   <hex_sequence> | <charrange> = <color_definiton> [,<comment>]
#
# <hex_sequence>
#  Defines a hex sequence.  The hex sequence must a valid quoted hex string
#  and can represent between 1 to 32 bytes of data.
#   
#  Example:
#    "00AABBCC"
#
# <charrange>
#   Defines a range of characters in decimal.
#
#   For example, byte 0 to 32 is represented as:
#     charrange(0, 32)
#
# <color_definition>
#   Defines the color definition.  Each color definition is defined using an
#   RGB tuple.  For example, RGB(<red>, <green>, <blue>), where each color
#   component is a decimal value between 0 and 255.
#
#   RGB(<red>, <green>, <blue>)
#     Defines the RGB value for either the foreground or background for
#     both the hex and text/ascii areas.  This format is compatible with
#     Hex Workshop v5.x and earlier.
#
#     To display all instances of 'DDDD' in black on yellow:
#       "DDDD"=RGB(0, 0, 0), RGB(255, 255, 0) 
#
#   hexFgRGB(<red>, <green>, <blue>)
#     Defines the hex foreground color.

#   hexBgRGB(<red>, <green>, <blue>)
#     Defines the hex background color.
#
#   hexRectRGB(<red>, <green>, <blue>)
#     Defines the hex border rectangle color.
#
#   asciiFgRGB(<red>, <green>, <blue>)
#     Defines the ascii foreground color.
#
#   asciiBgRGB(<red>, <green>, <blue>)
#     Defines the ascii background color.
#
#   asciiRectRGB(<red>, <green>, <blue>)
#     Defines the ascii border rectangle color.
#
# <comment>
#    Defines a comment for a particular color mapping.  The comment is
#    displayed in a tooltip when hovering the mouse cursor over rendered
#    data in Hex Workshop.
#
#    Example:
#        comment("My Color Mapping")
#
##############################################################################
#
# Examples:
#
# Displays all instances of "00000000" in White on Black:
#   "00000000" = RGB(255, 255, 255), RGB(0, 0, 0)
#
# Displays all instances of "00000000" in a Red Rectangle:
#   "00000000" = asciiRectRGB(255, 0, 0), hexRectRGB(255, 0, 0)
#
# Displays all instances of "00000000" in Blue on Yellow (hex) and Green on
# Yellow (ascii):
#   "00000000" = asciiFgRGB(0, 255, 0), hexFgRGB(0, 0, 255), RGB(255, 255, 0)
#
# Displays all instances of "00000000" in Blue on Yellow (hex) and Green on
# gray (ascii):
#   "00000000" = asciiFgRGB(0, 255, 0), hexFgRGB(0, 0, 255), asciiBgRGB(192, 192, 192), hexBgRGB(255, 255, 0)
#
# Displays all instances of "00000000" with a yellow background in the hex
# display and yellow border rectangle in the ascii display:
#   "00000000" = hexBgRGB(255, 255, 0), asciiRectRGB(255, 255, 0)
##PAMSFT

"22746F74616C456C656D656E747322" = RGB(255, 255, 255), RGB(128, 0, 0), comment("totalElements")
"0900000000000000" = asciiBgRGB(0, 255, 0), hexBgRGB(0, 255, 0), comment("StateList Marker")
"57D6EE0D" = RGB(255, 255, 255), RGB(0, 128, 0), comment("FontTable Separator")
"ECA7A670" = RGB(255, 255, 255), RGB(255, 0, 255), comment("VC_Font Marker")
"448CBF4C" = asciiBgRGB(255, 128, 0), hexBgRGB(255, 128, 0), comment("VC_ClipRectHeight Marker")
"81020000" = RGB(128, 255, 255), RGB(0, 128, 255), comment("Float Header")
"D1E69E42" = asciiBgRGB(0, 255, 255), hexBgRGB(0, 255, 255), comment("Text Source Marker")
"5907A718" = RGB(255, 255, 255), RGB(255, 128, 0), comment("VC_ClipRectWidth Marker")
"D9991A2A" = asciiBgRGB(255, 128, 192), hexBgRGB(255, 128, 192), comment("VC_LetterSpacing Marker")
"28B53061" = asciiBgRGB(128, 64, 0), hexBgRGB(128, 64, 0), comment("VC_WindowHeight Marker")
"A6E67195" = RGB(255, 255, 255), RGB(128, 64, 0), comment("VC_WindowWidth Marker")
"D742284B" = RGB(255, 255, 255), RGB(160, 160, 164), comment("VC_ShadowOffset0 Marker")
"41722F3C" = asciiBgRGB(160, 160, 164), hexBgRGB(160, 160, 164), comment("VC_ShadowOffset1 Marker")
"FB2326A5" = RGB(255, 255, 255), RGB(160, 160, 164), comment("VC_ShadowOffset2 Marker")
"F931AF21" = RGB(255, 255, 255), RGB(64, 0, 128), comment("VC_Justification Marker")
"81220000" = RGB(192, 192, 192), RGB(0, 0, 0), comment("String-Value Header")
"DC0AF24C" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Left-Aligned")
"A22C08B0" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Center-Aligned")
"E3A68AC2" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team City")
"CC6277A3" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team Name")
"6F6719BE" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team City")
"BFF4E25E" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team Name")
"84294D8D" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team Score")
"F72600AF" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team Score")
"5855441F" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Time")
"83F99D55" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Clock - Retro")
"89606363" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Quarter Text - Retro")
"834A968B" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Foul Text - Retro")
"D0F66543" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("action_nba_bold (Druk Bold)")
"3242FE83" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("action_nba_medium (Druk Medium)")
"B0F176F4" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_black (Druk Super) / barlow_black.FONT2")
"AB8EE0F4" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_black_condensed (Urania Bold) / barlow_black_condensed.FONT2")
"C2190DA8" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_black_condensed_tight (Urania Bold)")
"FC22B522" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_black_tight (Druk Super)")
"3DC5515D" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_bold_condensed (Urania Bold) / barlow_bold_condensed.FONT2")
"52D72BD5" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_bold_condensed_stroked (Druk Wide Heavy) / barlow_bold_condensed_stroked.FONT2")
"FBDC08AE" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_bold_stroked (Druk Super) / barlow_bold_stroked.FONT2")
"2F4FB094" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_bold_stroked_tight (Druk Super)")
"8AADDA38" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("barlow_medium (Urania) / barlow_medium.FONT2")
"81074A33" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("crossword_belle (Crossword Belle)")
"318E406E" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era1980_font1 (NewsLab ExtraBold)")
"8BDF49F7" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era1980_font2 (NewsLab Medium)")
"AF8EEAA2" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era1990_font1 (Transducer)")
"DC9831FA" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era2000_font1 (Rational Display ExtraBold)")
"66C93863" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era2000_font2 (Rational Display Medium)")
"7ADFEC34" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("franklin_book_regular (Urania)")
"CB239779" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("franklin_demi_medium (Druk Super)")
"6D54B381" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("franklin_medium (Druk Wide Heavy)")
"D3197697" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("jd_lcd_rounded")
"8F5AB1BE" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("lobstertwo_italic (Druk Super)")
"A6FA28E7" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("stratum2_black (Druk Super)")
"F48431B6" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("stratum2_bold (Stratum Bold)")
"791CB705" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("stratum2_light (Urania)")
"D0461DCC" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("stratum2_medium (Urania Ultra)")
"2C99AD99" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("stratum2_regular (Urania)")
"65D2F917" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Arena Name")
"D6ED626E" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team City and Name")
"0F4DE9ED" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team Abbreviation")
"7B77F489" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team Name")
"5835B552" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team Name, I think with forced/default mixed-case")
"C9601CB1" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team Name, with team color")
"7981B83F" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team City")
"D045FA90" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team City, with team color")
"DB0A5FDD" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team Record, with team color")
"E5BB8663" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team City and Name")
"8D3CE739" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team Abbreviation")
"08E16174" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team Name")
"910549CA" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team Name, I think with forced/default mixed-case")
"F3FB5EA4" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team Name, with team color")
"F1FB0BB5" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team City")
"E83C8155" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team City, with team color")
"2C8B2B9F" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team Record, with team color")
"234A71B1" = asciiBgRGB(255, 128, 0), hexBgRGB(255, 128, 0), comment("VC_ClipRectTop Marker")
"F5A6A127" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team - Retro")
"B101DAF8" = RGB(255, 255, 255), RGB(255, 0, 128), comment("VC_Capitalization Marker (0=Mixed,1=Upper,2=Lower)")
"1B87DA72" = asciiBgRGB(192, 192, 192), hexBgRGB(160, 160, 164), comment("VC_Shadow Marker")
"3D0F6AFC" = RGB(255, 255, 255), RGB(128, 128, 255), comment("VC_Italicize Marker")
"81120000" = RGB(0, 128, 255), RGB(0, 0, 128), comment("Toggle Header")
"FBAA92F7" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Away Team Abbreviation")
"4D381D85" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("Home Team Abbreviation")
"F537E965" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("druk_super.FONT2")
"C8037379" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("urania_light.FONT2")
"8BD31BF4" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("crosswordbelle.FONT2")
"9B38E03E" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("druk_bold.FONT2")
"3A82C1AE" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("urania_bold.FONT2")
"3A82C296" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era1980_extra_bold.FONT2")
"CE46AFEC" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("druk_medium.FONT2")
"4F97135C" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("led_regular.FONT2")
"AED76943" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era1990_regular.FONT2")
"1005CDE0" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("urania_ultra.FONT2")
"81297C29" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("druk_wide_heavy.FONT2")
"F800907F" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era1980_medium.FONT2")
"BDD3C272" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("cowboy_western.FONT2")
"7F2CFF5D" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("coyboy_western_digits_only (Cowboy Western)")
"ECC4A284" = RGB(255, 255, 255), RGB(255, 0, 255), comment("VC_Font Marker / barlow_bold (Urania Ultra) / barlow_bold.FONT2")
"2BEFBFA1" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era2000_medium.FONT2")
"6EC4EA73" = RGB(0, 128, 255), asciiRectRGB(0, 128, 255), hexRectRGB(0, 128, 255), comment("era2000_extra_bold.FONT2")


VCUIELEMENT General Concepts:

  • There are two sections: human-readable and raw data.
  • stateList values in the human-readable portion refer to the starting points of their corresponding raw data blocks (they always begin with the byte 09 followed by 0s).
  • Each data block is divided mostly into 12-byte modules, organized as follows: 4-byte data-type header (qualitative / text-based, toggle, float), 4-byte attribute marker (e.g., VC_Font, VC_Italicize, VC_Effect), and a 4-byte value for that attribute.

Never hex edited 2K before? Here is a tutorial for certain types of hex edits that may be useful as a general introduction:
vetmin - VCUIELEMENT Basics and Text-Routing via Hex.zip
(created for last year's game, but it is still applicable)
You do not have the required permissions to view the files attached to this post.
vetmin
 
Posts: 306
Joined: Sat Mar 14, 2020 8:26 am

Re: Hex Map, Resources, Discussion

Postby looyh on Fri Nov 18, 2022 2:39 pm

They are crc32b hash, for example the "VC_Font", 0x70a6a7ec (unsigned int 32) or bytes " EC A7 A6 70 " is the hash of "Font": https://md5calc.com/hash/crc32b/Font
You can use this website to calculate the hash: https://md5calc.com/hash/crc32b

And I dumped all key-value for the lang pack map(173960 items):
file:
lang_pack_map_k-v.zip


Some samples:
Code: Select all
 
......
 16CC1BE5: {0:PAUSE_SHOOTING_BREAKDOWN:REBOUNDS}
 16CC6F03: |BULLET| Struggles to hold his position down low and settles for too many fadeaway jumpers
 16CE0A7C: Watched the Rising Stars game tonight. I think {0:HANDLE} played, but it was hard to tell.
 16CE37C7: {0:f1}B
 16CE834D: PF
 16CFA5FE: Great. Thanks, Che.
 16CFCF8D: GIVE 13 QUICK
 16CFE08D: Kings Area Code Tee
 16D0E547: We're not even close right now, {0:MYPLAYER:NAME:FIRST}. I'm willing to give you a counter offer, but what you suggested isn't in the same neighborhood.
 16D0EE6D: {0:MYCAREER_UPGRADESMENU:SKILLBOOSTS:REBONGDING}
 16D0F4A4: Ruffles Billboard
 16D19BEC: {0:SHORT_DATE}
 16D2D557: {0:PLAYNOW_NBATODAY:TICKER_BOTTOM:TEXT1}
 16D30A35: Man, you shoot from the hip, huh? Maybe I need some sense smacked into me. I don't know. Thanks for letting me get all worked up for a minute, though. Guy's gotta vent sometimes.
 16D30D84: I'm too focused on improving as a player to pay attention to all that.
 16D3504B: Turn Up
 16D463B4: As soon as they find a willing partner.
 16D4A733: {0:STAT:MENU_SPECIFIC:ASSISTS:VALUE:PER_MINUTES:36:LEADERSHIP}
 16D4C796: Satisfied
 16D520D7: Negotiate
 16D5D61B: Green Lightning Ball
 16D601DE: {0:MYLEAGUECONTRACT:PLAYER:WEIGHT}
 16D606A2: Why didn't you pick {0:NAME:FIRST_LAST_POS}?
 16D6B691: RV_EOH_PLAYER_INTERVIEW_CLINTCAPELA_CLIP31613_TAG001
 16D71189: 1990-91 Reggie Theus Nets Jersey
 16D75A9B: {0:PLAYNOW_NBATODAY:HEADLINES}
 16D83FA6: Jump Shot II
 16D8BDDC: Team
 16D993BA: Grand Canyon
 16DA9A58: Dirty Drums
 16DAFB40: Large Afro
 16DB2F7C: 2Hr Set Flames Short Shorts
 16DB3F2C: Game Analyst
 16DB6C32: {0:NAME:LONG}
 16DBFF3E: Tag On Roll
 16DC2D9D: Bring it in, everyone.
 16DD6A2C: Do you see yourself as the go-to player on this team?
 16DE3B54: Nate Thurmond played for how many NBA franchises during his career?
 16DE69E5: I'm sure you can trim the fat from somewhere. Get it done.
 16DE8225: Trying to hoop?
 16DEC9B9: |M_PRIMARY| Continue
 16DF5A85: Enable Lineup Automation
 16E02ED4: Offensive Consistency
 16E075CF: {0:NAME:FIRST_LAST} (saw reflection in lake, dove in trying to save person "who looks just like me") will be on the sidelines against {4:NAME:LONG}.
 16E13E31: 2-Way Middy Point Forward
 16E196A1: Calm and poised in elimination games; his players outperform their abilities in playoff when facing elimination.
 16E1A044: |M_PRIMARY| Continue
 16E201B1: Rebound: +{0:D} {1:VIRTUAL_CURRENCY:CURRENCY_NAME:ICON}
 16E297D5: Which of the following members of the University of Michigan's 'Fab Five' did not play in the NBA?
 16E31E65: MONTY_WILLIAMS
 16E339E6: {0:MYLEAGUE_CREATE:TAB}Offseason - Player Retirement
......
You do not have the required permissions to view the files attached to this post.
User avatar
looyh
 
Posts: 469
Joined: Mon Aug 05, 2013 2:06 pm

Re: Hex Map, Resources, Discussion

Postby vetmin on Sat Nov 19, 2022 1:24 am

looyh wrote:They are crc32b hash, for example the "VC_Font", 0x70a6a7ec (unsigned int 32) or bytes " EC A7 A6 70 " is the hash of "Font": https://md5calc.com/hash/crc32b/Font
You can use this website to calculate the hash: https://md5calc.com/hash/crc32b


Ahhhh... I think I recall ksmiz alluding to this in an old thread or two but I didn't understand him; thank you for clarifying! It's already helped me map out a few more items (i.e., just by trying different parameter names and seeing if their CRC32B hashes are present). I can already see that 2K hasn't named everything uniformly. For instance, the hash for "Justification" is 95411e54, but the actual value in the game is 21af31f9, which happens to be the hash for "Justify", even though the property name in SCNEs is "VC_Justification". I'm guessing there are a lot of discrepancies like this due to legacy code. Still though, it's very useful to understand the general concept, even if some guesswork is required; thanks for explaining.

And I dumped all key-value for the lang pack map(173960 items):
file:
lang_pack_map_k-v.zip


Some samples:
Code: Select all
 
......
 16CC1BE5: {0:PAUSE_SHOOTING_BREAKDOWN:REBOUNDS}
 16CC6F03: |BULLET| Struggles to hold his position down low and settles for too many fadeaway jumpers
 16CE0A7C: Watched the Rising Stars game tonight. I think {0:HANDLE} played, but it was hard to tell.
 16CE37C7: {0:f1}B
 16CE834D: PF
 16CFA5FE: Great. Thanks, Che.
 16CFCF8D: GIVE 13 QUICK
 16CFE08D: Kings Area Code Tee
 16D0E547: We're not even close right now, {0:MYPLAYER:NAME:FIRST}. I'm willing to give you a counter offer, but what you suggested isn't in the same neighborhood.
 16D0EE6D: {0:MYCAREER_UPGRADESMENU:SKILLBOOSTS:REBONGDING}
 16D0F4A4: Ruffles Billboard
 16D19BEC: {0:SHORT_DATE}
 16D2D557: {0:PLAYNOW_NBATODAY:TICKER_BOTTOM:TEXT1}
 16D30A35: Man, you shoot from the hip, huh? Maybe I need some sense smacked into me. I don't know. Thanks for letting me get all worked up for a minute, though. Guy's gotta vent sometimes.
 16D30D84: I'm too focused on improving as a player to pay attention to all that.
 16D3504B: Turn Up
 16D463B4: As soon as they find a willing partner.
 16D4A733: {0:STAT:MENU_SPECIFIC:ASSISTS:VALUE:PER_MINUTES:36:LEADERSHIP}
 16D4C796: Satisfied
 16D520D7: Negotiate
 16D5D61B: Green Lightning Ball
 16D601DE: {0:MYLEAGUECONTRACT:PLAYER:WEIGHT}
 16D606A2: Why didn't you pick {0:NAME:FIRST_LAST_POS}?
 16D6B691: RV_EOH_PLAYER_INTERVIEW_CLINTCAPELA_CLIP31613_TAG001
 16D71189: 1990-91 Reggie Theus Nets Jersey
 16D75A9B: {0:PLAYNOW_NBATODAY:HEADLINES}
 16D83FA6: Jump Shot II
 16D8BDDC: Team
 16D993BA: Grand Canyon
 16DA9A58: Dirty Drums
 16DAFB40: Large Afro
 16DB2F7C: 2Hr Set Flames Short Shorts
 16DB3F2C: Game Analyst
 16DB6C32: {0:NAME:LONG}
 16DBFF3E: Tag On Roll
 16DC2D9D: Bring it in, everyone.
 16DD6A2C: Do you see yourself as the go-to player on this team?
 16DE3B54: Nate Thurmond played for how many NBA franchises during his career?
 16DE69E5: I'm sure you can trim the fat from somewhere. Get it done.
 16DE8225: Trying to hoop?
 16DEC9B9: |M_PRIMARY| Continue
 16DF5A85: Enable Lineup Automation
 16E02ED4: Offensive Consistency
 16E075CF: {0:NAME:FIRST_LAST} (saw reflection in lake, dove in trying to save person "who looks just like me") will be on the sidelines against {4:NAME:LONG}.
 16E13E31: 2-Way Middy Point Forward
 16E196A1: Calm and poised in elimination games; his players outperform their abilities in playoff when facing elimination.
 16E1A044: |M_PRIMARY| Continue
 16E201B1: Rebound: +{0:D} {1:VIRTUAL_CURRENCY:CURRENCY_NAME:ICON}
 16E297D5: Which of the following members of the University of Michigan's 'Fab Five' did not play in the NBA?
 16E31E65: MONTY_WILLIAMS
 16E339E6: {0:MYLEAGUE_CREATE:TAB}Offseason - Player Retirement
......


Holy crap this is wildly useful! :shock: I have no idea to extract these values in any automated way so it would have taken me ages to find some of this stuff. Much much appreciate your sharing!!! :bowdown: :bowdown2:
vetmin
 
Posts: 306
Joined: Sat Mar 14, 2020 8:26 am

Re: Hex Map, Resources, Discussion

Postby looyh on Sat Nov 19, 2022 12:45 pm

vetmin wrote:Holy crap this is wildly useful! :shock: I have no idea to extract these values in any automated way so it would have taken me ages to find some of this stuff. Much much appreciate your sharing!!! :bowdown: :bowdown2:

Glad to see it helped. :bowdown: :bowdown2:
User avatar
looyh
 
Posts: 469
Joined: Mon Aug 05, 2013 2:06 pm

Re: Hex Map, Resources, Discussion

Postby TGsoGood on Tue Jan 10, 2023 2:20 am

good thread here. I wish I could find Ksmiz's old thread, it would be helpful now
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: 6379
Joined: Thu Jul 28, 2011 4:03 am
Location: Nashville, TN


Return to NBA 2K23 Modding

Who is online

Users browsing this forum: No registered users and 13 guests