Shuajota wrote:Ksmiz, last year 2K patched the exe from 1.07 for uniforms. I mean, when we changed accesories colors or we deleted uniforms from uniform data (I was interested only on home and away and delete retro jerseys) the values were loaded automatically again. This year it happens too...
My question is, can we avoid this? Or patching the exe file?
Thanks!
CorePlayer -[8 byte address values:PLAYERDATA]
HardshipPlayer -[8 byte address values:PLAYERDATA]
TwoWayPlayer -[8 byte address values:PLAYERDATA]
EuroStashPlayer -[8 byte address values:PLAYERDATA]
LineupPlayer -[8 byte address values:PLAYERDATA]
ArenaScene
LogoScene
SecondaryLogo
UnlocalizedTeamName
UnlocalizedCityName
UnlocalizedShortTeamName
UnlocalizedStateName
FileName
LogoFlat3DName
LogoFlat3DNameMirror
LogoWordmarkName
LogoWordmarkNameAlt
LogoMural
UnlocalizedSlogan
LocalizedTeamName
LocalizedCityName
LocalizedShortTeamName
LocalizedStateName
LocalizedSlogan
EmojiLogo
Uniform1 -[8 byte address value:UNIFORMDATA]
Uniform2
Uniform3
Uniform4
Uniform5
Uniform6
Uniform7
Uniform8
Uniform9
Uniform10
Uniform11
Uniform12
Uniform13
Uniform14
Uniform15
Uniform16
Uniform17
Uniform18
Uniform19
Uniform20
Uniform21
Uniform22
Uniform23
Uniform24
Uniform25
Uniform26
Uniform27
Uniform28
Uniform29
Uniform30 -[8 byte address value:UNIFORMDATA]
UniformPracticeHome -[8 byte address value:UNIFORMDATA]
UniformPracticeAway -[8 byte address value:UNIFORMDATA]
Stadium -[8 byte address value:STADIUMDATA]
City -[8 byte address value:CITYDATA]
DeadCapData -[8 byte address value:DEADCAPDATA]
TradeExceptionData -[8 byte address value:TRADEEXCEPTIONDATA]
RetiredJerseyData -[8 byte address value:RETIREDJERSEYDATA]
UniqueSignatureId -[CRC32]
AudioSignatureId -[CRC32]
Id
GameModeIndex
LastPlayoffAppearanceYear
PlayoffAppearances
ConferenceChampionships
Popularity
NumberOfCorePlayers
DivisionTitles
NBAChampionships
OverlayRed ------\
OverlayGreen |----TEAM COLOR 1
OverlayBlue------/
LastYearPlayoffsSeriesGames
SecondaryOverlayRed ------\
SecondaryOverlayGreen |----TEAM COLOR 2
SecondaryOverlayBlue------/
ClassicTeamEndYear
Salary
Rival1 -[8 byte address value:TEAMDATA]
Rival2 -[8 byte address value:TEAMDATA]
Rival3 -[8 byte address value:TEAMDATA]
BaseAttendance
InitialAttendance
CumulativeAttendance
LastYearsCumulativeAttendance
Coach_Internal -[8 byte address value:COACHDATA]
Starter -[8 byte address values:PLAYERDATA] x5
LineupBench -[8 byte address values:PLAYERDATA] x5
LineupTall -[8 byte address values:PLAYERDATA] x5
LineupQuick -[8 byte address values:PLAYERDATA] x5
LineupDefense -[8 byte address values:PLAYERDATA] x5
Lineup3Pter -[8 byte address values:PLAYERDATA] x5
LineupFreeThrow -[8 byte address values:PLAYERDATA] x5
LineupCustom -[8 byte address values:PLAYERDATA] x5
CustomLineupName
SeasonStats
WinsLeadingFGPct
WinsLeadingRebs
WinsFewerTOs
WinsAheadHalf
WinsBehindHalf
WinsAhead3Q
WinsBehind3Q
LossesLeadingFGPct
LossesLeadingRebs
LossesFewerTOs
LossesAheadHalf
LossesBehindHalf
LossesAhead3Q
LossesBehind3Q
ConferenceRanking
LastYearPlayoffsRound
Chemistry
Records -[8 byte address value:RECORDDATA]
HistoricWins
HistoricLosses
LastYearPlayoffsOpponent -[8 byte address value:TEAMDATA]
NonBirdExceptionAvailable
MLEType
MLERemaining
TeamSpecificPBPSoundId
TeamSpecificPASoundId
MascotSize
MascotTail
TeamState
HasClinchedPlayoffs
StandingsClinchType
BenchStand
WinLossStreak
PreviousWinLossStreak
Type
RosterDirectives
Last10
Last10Home
Last10Away
IsUserControlled
CrowdFileId
HomeWinLossStreak
AwayWinLossStreak
Last10HomeCount
Last10AwayCount
LongestWinStreak
LongestLossStreak
Division
FreeAgentOffersRemaining
IsImportedTeam
Buzz
MetroPopulation
MetroIncome
TVHomes
BaselineFanDemand
Latitude
Longitude
TicketPrice
ParkingPrice
HotDogPrice
SodaPrice
BurgerPrice
CoffeePrice
NachosPrice
IceCreamPrice
RestaurantPrice
ProgramPrice
HatPrice
SouvenirPrice
PromoYearlyExpense
OperationsYearlyExpense
FacilitiesYearlyExpense
GameDayExpense
RevGate
RevMerch
RevConcession
RevMedia
RevAdvertising
RevLeague
RevPlayoffs
ExpPayroll
ExpGameDay
ExpPromo
ExpStaff
ExpOperations
ExpSalaryTax
ExpPlayoffs
BankBalance
PlayerBudget
StaffBudget
DeltaBudget
SeasonHomeWins
SeasonHomeLosses
LastYearSeasonHomeWins
LastYearSeasonHomeLosses
PlayoffsHomeWins
PlayoffsHomeLosses
LastYearPlayoffsHomeWins
LastYearPlayoffsHomeLosses
NumberOfAcquiredPlayers
NumberOfAcquiredPlayersLastYear
NumberOfAcquiredPlayersMoreYearsAgo
NumberOfFreeTrainingCampsLeft
LastWinningSeasonYear
LastLotteryYear
LastNonLotteryYear
AllTimeNumberOnePicks
AllTimeLotteryPicks
SoldoutGamesThisSeason
MyTeamColor
UserEdited
AlwaysShowCityInName
IsLuxuryTaxTeam
HasAdvancedRotation
MyTeamTheme
CityTaxBreak
TertiaryOverlayRed ------\
TertiaryOverlayGreen |----TEAM COLOR 3
TertiaryOverlayBlue------/
Facilities_LuxurySuites_Level
Facilities_Parking_Level
BudgetTier
ShotChartDataIndex
IsAddedViaExpansion
BaseYearOffsetWhenAddedViaExpansion
YearsRemainToHostAllStar
OriginalType
NumberOfHardshipPlayers
NumberOfTwoWayPlayers
NumberOfEuroStashPlayers
NumberOfLineupPlayers
CustomLogoColorRed
CustomLogoColorGreen
CustomLogoColorBlue
ShotmeterBackgroundColor
PresentationPrimary_Private
PresentationSecondary_Private
OriginalId
AudioChantVariation
HistoricSeasons
Facilities_Merchandise_Level
Facilities_Concessions_IceCream
Facilities_Concessions_Beverages
Facilities_Concessions_Burgers
Facilities_Concessions_Coffee
Facilities_Concessions_Nachos
Facilities_Restaurants_Pizza
Facilities_Restaurants_Sushi
Facilities_Restaurants_Chinese
Facilities_Restaurants_Italian
Facilities_Restaurants_BBQ
Facilities_Seating_Cupholders
Facilities_Seating_BiggerSeats
Facilities_Seating_PaddedSeats
Facilities_Seating_LuxurySeats
Facilities_GreenInitiatives_ElectricCarts
Facilities_GreenInitiatives_RecyclingCenters
Facilities_GreenInitiatives_ElectricCarChargingStations
Facilities_GreenInitiatives_SolarPanels
Facilities_Amenities_BabyChangingStations
Facilities_Amenities_BasketballArcadeGames
Facilities_Amenities_PlayerStandees
Facilities_Amenities_ChildrenPlayAreas
Facilities_Amenities_MedicalFacilities
Facilities_DigitalServices_BroadbandWifi
Facilities_DigitalServices_CellTowers
Facilities_DigitalServices_PersonalOutlets
Facilities_Transportation_BusTerminal
Facilities_Transportation_TrainTerminal
IsDowntown
AdvancedRotationPlayerId
BaseTeamId
GLeagueAffiliate
ScoutingTripsLeft
IsManifestCustomLogoDirty
ContainsMultiplePlayersWithTheSameUniqueId
PlayNowOnlineTier
SpecialTeamDataIndex
UsesCustomLineupName
EnableLineupCustom
Padding3
Padding2
HeadCoachJobSecurity
ManualBuildStarter
ManualBuildLineupBench
ManualBuildLineupTall
ManualBuildLineupQuick
ManualBuildLineupDefense
ManualBuildLineup3Pter
ManualBuildLineupFreeThrow
ManualBuildLineupCustom
dirtydraw wrote:Where in the newscorebug.iff file we can see from where the input for the teamcolors is taken?
ksmiz wrote:dirtydraw wrote:Where in the newscorebug.iff file we can see from where the input for the teamcolors is taken?
Idk if that is where I would look. It is because of whatever is being loaded from the default roster.
but just to give some info on your question here is looyh's fox scoreboard and this is part of the scorebug_opt.SCNE file inside the newscorebug.iff
[ Image ]
I don't know how those values have any relation to figuring out a team's colors but they might just be one possible example of the info it is looking for idk
ksmiz wrote:dirtydraw wrote:Where in the newscorebug.iff file we can see from where the input for the teamcolors is taken?
Idk if that is where I would look. It is because of whatever is being loaded from the default roster.
but just to give some info on your question here is looyh's fox scoreboard and this is part of the scorebug_opt.SCNE file inside the newscorebug.iff
[ Image ]
I don't know how those values have any relation to figuring out a team's colors but they might just be one possible example of the info it is looking for idk
GPPatrol wrote:What app are you using on the left side? Looks very organized and I would like to use it.
NewScorebug.VCUIELEMENT
that just means 2k19s vcuielement uses the actual team colors location instead of the new scoreboard only team color location. So now we know the vcuielement controls which location the mesh is grabbing color from. So if I feel like it I’ll check it out tmrdirtydraw wrote:UPDATE:
I testet now the following scenario: I took a newscorebug.iff from 2020 and exchanged theform NBA 2K19. Then I changed a little bit on the team colors in Cheat engine and look what happend:
- Code: Select all
NewScorebug.VCUIELEMENT
[ Image ]
[ Image ]
First I Changed the bulls secondary team color from black to red and the lakers secondary from Lila to yellow. The effect is strange but there is a change.
And it has to do with the NewScorebug.VCUIELEMENT file.
What do you think??? I hope I am not the only one who is interested in the ability to change team colors on the scoreboard. KSMIZ? LOOHY? Whats your opinion
another thing is that the 2k19 scene has a lot more meshes than 2k20 so by swapping the vcuielements you made the game look for more meshes that doesn’t exist in the 2k20 iff file. And that probably messed up the team colors and made them the same for whatever team is playing.dirtydraw wrote:UPDATE:
I testet now the following scenario: I took a newscorebug.iff from 2020 and exchanged theform NBA 2K19. Then I changed a little bit on the team colors in Cheat engine and look what happend:
- Code: Select all
NewScorebug.VCUIELEMENT
[ Image ]
[ Image ]
First I Changed the bulls secondary team color from black to red and the lakers secondary from Lila to yellow. The effect is strange but there is a change.
And it has to do with the NewScorebug.VCUIELEMENT file.
What do you think??? I hope I am not the only one who is interested in the ability to change team colors on the scoreboard. KSMIZ? LOOHY? Whats your opinion
GPPatrol wrote:that just means 2k19s vcuielement uses the actual team colors location instead of the new scoreboard only team color location. So now we know the vcuielement controls which location the mesh is grabbing color from. So if I feel like it I’ll check it out tmrdirtydraw wrote:UPDATE:
I testet now the following scenario: I took a newscorebug.iff from 2020 and exchanged theform NBA 2K19. Then I changed a little bit on the team colors in Cheat engine and look what happend:
- Code: Select all
NewScorebug.VCUIELEMENT
[ Image ]
[ Image ]
First I Changed the bulls secondary team color from black to red and the lakers secondary from Lila to yellow. The effect is strange but there is a change.
And it has to do with the NewScorebug.VCUIELEMENT file.
What do you think??? I hope I am not the only one who is interested in the ability to change team colors on the scoreboard. KSMIZ? LOOHY? Whats your opinion
ksmiz wrote:within the NewScorebug.VCUIELEMENT file, the elements are referred to by their CRC32 name. I think they call a CRC32 a name sometimes (idk)
then also immediately before there is another CRC32 looking chunk of 4 bytes that I haven't been able to figure out where they get it from but this chunk is what looyh would need to swap out for for something like changing team abbreviation to team name.
edit:I don't think it is immediately before, I think it is +28hex after it maybe
I found the start to your problem just now looking at the vcui file
last year you had TEAMCOLOR_HOME,(TEAMCOLOR_HOME1, ...,...,..., TEAMCOLOR_HOME5) and TEAMCOLOR_AWAY,(TEAMCOLOR_AWAY1, ...,...,..., TEAMCOLOR_AWAY5)
this year those are not there and searching crc32 for those they are not there
now it is TEAMCOLOR_PRIMARY_HOME, TEAMCOLOR_PRIMARY_HOME_0_1, TEAMCOLOR_PRIMARY_HOME1, and TEAMCOLOR_PRIMARY_HOME1_0_1
as well as TEAMCOLOR_SECONDARY_HOME, TEAMCOLOR_SECONDARY_HOME_0_1, TEAMCOLOR_SECONDARY_HOME1, TEAMCOLOR_SECONDARY_HOME1_0_1
ksmiz wrote:well what do you want? it to work like last year?
like it is it is not broken or anything the way it is now in 2K20 it is just different
keep modding stuff and see if you can figure out how to change it the way it is I don't know what to tell you ha changing the scoreboard team colors isn't very high on my priorities
I guess you could break the secondary colors or swap out crc32s so that they are all referring to the primary color and that would probably make it work the same as last year
this can be your mod to figure out man this stuff takes time and sometimes luck I believe in you keep looking into it
GPPatrol wrote:another thing is that the 2k19 scene has a lot more meshes than 2k20 so by swapping the vcuielements you made the game look for more meshes that doesn’t exist in the 2k20 iff file. And that probably messed up the team colors and made them the same for whatever team is playing.dirtydraw wrote:UPDATE:
I testet now the following scenario: I took a newscorebug.iff from 2020 and exchanged theform NBA 2K19. Then I changed a little bit on the team colors in Cheat engine and look what happend:
- Code: Select all
NewScorebug.VCUIELEMENT
[ Image ]
[ Image ]
First I Changed the bulls secondary team color from black to red and the lakers secondary from Lila to yellow. The effect is strange but there is a change.
And it has to do with the NewScorebug.VCUIELEMENT file.
What do you think??? I hope I am not the only one who is interested in the ability to change team colors on the scoreboard. KSMIZ? LOOHY? Whats your opinion
name": "scorebug_optMatCallback_TEAMCOLOR_AWAY_0_0",
"baseName": "scorebug_optMatCallback_TEAMCOLOR_AWAY",
"type": "MaterialCallback",
dirtydraw wrote:GPPatrol wrote:another thing is that the 2k19 scene has a lot more meshes than 2k20 so by swapping the vcuielements you made the game look for more meshes that doesn’t exist in the 2k20 iff file. And that probably messed up the team colors and made them the same for whatever team is playing.dirtydraw wrote:UPDATE:
I testet now the following scenario: I took a newscorebug.iff from 2020 and exchanged theform NBA 2K19. Then I changed a little bit on the team colors in Cheat engine and look what happend:
- Code: Select all
NewScorebug.VCUIELEMENT
[ Image ]
[ Image ]
First I Changed the bulls secondary team color from black to red and the lakers secondary from Lila to yellow. The effect is strange but there is a change.
And it has to do with the NewScorebug.VCUIELEMENT file.
What do you think??? I hope I am not the only one who is interested in the ability to change team colors on the scoreboard. KSMIZ? LOOHY? Whats your opinion
I´ve token the scorebug_opt.SCNE and deleted all code blocks with secondary team color relation. also looked into the NewScorebug.VCUIELEMENT file and deleted all code blocks with a Secondary teamcolor relation.
Then i changed the primary team color in Cheat engine. Everywhere in the game the changes applied, but not in the scoreboard....
Does anyone knwo for what this code lines are responsible?
- Code: Select all
name": "scorebug_optMatCallback_TEAMCOLOR_AWAY_0_0",
"baseName": "scorebug_optMatCallback_TEAMCOLOR_AWAY",
"type": "MaterialCallback",
Could it be, that there is another Value in the game which is responsible for the teamcolors on the scoreboard and it is not team color 1, team color 2 or team color 3?
dirtydraw wrote:dirtydraw wrote:GPPatrol wrote:another thing is that the 2k19 scene has a lot more meshes than 2k20 so by swapping the vcuielements you made the game look for more meshes that doesn’t exist in the 2k20 iff file. And that probably messed up the team colors and made them the same for whatever team is playing.dirtydraw wrote:UPDATE:
I testet now the following scenario: I took a newscorebug.iff from 2020 and exchanged theform NBA 2K19. Then I changed a little bit on the team colors in Cheat engine and look what happend:
- Code: Select all
NewScorebug.VCUIELEMENT
[ Image ]
[ Image ]
First I Changed the bulls secondary team color from black to red and the lakers secondary from Lila to yellow. The effect is strange but there is a change.
And it has to do with the NewScorebug.VCUIELEMENT file.
What do you think??? I hope I am not the only one who is interested in the ability to change team colors on the scoreboard. KSMIZ? LOOHY? Whats your opinion
I´ve token the scorebug_opt.SCNE and deleted all code blocks with secondary team color relation. also looked into the NewScorebug.VCUIELEMENT file and deleted all code blocks with a Secondary teamcolor relation.
Then i changed the primary team color in Cheat engine. Everywhere in the game the changes applied, but not in the scoreboard....
Does anyone knwo for what this code lines are responsible?
- Code: Select all
name": "scorebug_optMatCallback_TEAMCOLOR_AWAY_0_0",
"baseName": "scorebug_optMatCallback_TEAMCOLOR_AWAY",
"type": "MaterialCallback",
Could it be, that there is another Value in the game which is responsible for the teamcolors on the scoreboard and it is not team color 1, team color 2 or team color 3?
The responsible color address is the address in the in-game information signs. Like here the background color of the starting lineup. @ksmiz, have you an idea where to find those ones?
[ Image ]
tiemann47 wrote:dirtydraw wrote:dirtydraw wrote:GPPatrol wrote:another thing is that the 2k19 scene has a lot more meshes than 2k20 so by swapping the vcuielements you made the game look for more meshes that doesn’t exist in the 2k20 iff file. And that probably messed up the team colors and made them the same for whatever team is playing.dirtydraw wrote:UPDATE:
I testet now the following scenario: I took a newscorebug.iff from 2020 and exchanged theform NBA 2K19. Then I changed a little bit on the team colors in Cheat engine and look what happend:
- Code: Select all
NewScorebug.VCUIELEMENT
[ Image ]
[ Image ]
First I Changed the bulls secondary team color from black to red and the lakers secondary from Lila to yellow. The effect is strange but there is a change.
And it has to do with the NewScorebug.VCUIELEMENT file.
What do you think??? I hope I am not the only one who is interested in the ability to change team colors on the scoreboard. KSMIZ? LOOHY? Whats your opinion
I´ve token the scorebug_opt.SCNE and deleted all code blocks with secondary team color relation. also looked into the NewScorebug.VCUIELEMENT file and deleted all code blocks with a Secondary teamcolor relation.
Then i changed the primary team color in Cheat engine. Everywhere in the game the changes applied, but not in the scoreboard....
Does anyone knwo for what this code lines are responsible?
- Code: Select all
name": "scorebug_optMatCallback_TEAMCOLOR_AWAY_0_0",
"baseName": "scorebug_optMatCallback_TEAMCOLOR_AWAY",
"type": "MaterialCallback",
Could it be, that there is another Value in the game which is responsible for the teamcolors on the scoreboard and it is not team color 1, team color 2 or team color 3?
The responsible color address is the address in the in-game information signs. Like here the background color of the starting lineup. @ksmiz, have you an idea where to find those ones?
[ Image ]
dirtydraw, what application are you using to open up the newscorebug.iff file to access the scorebug_opt.SCNE and NewScorebug.VCUIELEMENT codes? I want to look into this myself and see if I can find a solution to changing the scoreboard colors to reflect the uniform the teams are wearing.
Users browsing this forum: No registered users and 11 guests