Fix cstrike ext gamedata for css 64bit

This commit is contained in:
ambaca 2025-03-01 16:34:56 +02:00 committed by GitHub
parent da71c29dca
commit dbf1fc0c7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,24 +28,28 @@
"WeaponPrice" "WeaponPrice"
{ {
"windows" "2308" "windows" "2308"
"windows64" "2308"
"linux" "2308" "linux" "2308"
} }
//Offset into SetClanTag to find clan tag's offset from player //Offset into SetClanTag to find clan tag's offset from player
"ClanTagOffset" "ClanTagOffset"
{ {
"windows" "24" "windows" "24"
"windows64" "29"
"linux" "23" "linux" "23"
} }
//Offset into CheckWinLimit to find CT team score offset from gamerules. For windows this is an offset into CCSGameRules::Think //Offset into CheckWinLimit to find CT team score offset from gamerules. For windows this is an offset into CCSGameRules::Think
"CTTeamScoreOffset" "CTTeamScoreOffset"
{ {
"windows" "274" "windows" "274"
"windows64" "309"
"linux" "27" "linux" "27"
} }
//Offset into CheckWinLimit to find T team score offset from gamerules. For windows this is an offset into CCSGameRules::Think //Offset into CheckWinLimit to find T team score offset from gamerules. For windows this is an offset into CCSGameRules::Think
"TTeamScoreOffset" "TTeamScoreOffset"
{ {
"windows" "395" "windows" "395"
"windows64" "454"
"linux" "38" "linux" "38"
} }
} }
@ -57,6 +61,7 @@
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x51\x89\x4D\xFC\x8B\x45\xFC\x8B\x10" "windows" "\x55\x8B\xEC\x51\x89\x4D\xFC\x8B\x45\xFC\x8B\x10"
"windows64" "\x48\x89\x4C\x24\x08\x48\x83\xEC\x28\x48\x8B\x44\x24\x30\x48\x8B\x00\x48\x8B\x4C\x24\x30"
"linux" "@_ZN9CCSPlayer12RoundRespawnEv" "linux" "@_ZN9CCSPlayer12RoundRespawnEv"
} }
// String: "CCSPlayer::SwitchTeam( %d ) - invalid team index." // String: "CCSPlayer::SwitchTeam( %d ) - invalid team index."
@ -64,6 +69,7 @@
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x5C\x89\x4D\xFC" "windows" "\x55\x8B\xEC\x83\xEC\x5C\x89\x4D\xFC"
"windows64" "\x89\x54\x24\x10\x48\x89\x4C\x24\x08\x48\x81\xEC\xB8\x00\x00\x00"
"linux" "@_ZN9CCSPlayer10SwitchTeamEi" "linux" "@_ZN9CCSPlayer10SwitchTeamEi"
} }
// String: "#Alias_Not_Avail" // String: "#Alias_Not_Avail"
@ -71,6 +77,7 @@
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x28\x89\x4D\xF8\x6A\x00" "windows" "\x55\x8B\xEC\x83\xEC\x28\x89\x4D\xF8\x6A\x00"
"windows64" "\x48\x89\x54\x24\x10\x48\x89\x4C\x24\x08\x48\x81\xEC\x88\x00\x00\x00"
"linux" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKc" "linux" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKc"
} }
// After having located "HandleCommand_Buy_Internal" // After having located "HandleCommand_Buy_Internal"
@ -81,6 +88,7 @@
{ {
"library" "server" "library" "server"
"windows" "\x8B\x81\x04\x09\x00\x00" "windows" "\x8B\x81\x04\x09\x00\x00"
"windows64" "\x8B\x81\x34\x09\x00\x00"
"linux" "@_ZNK13CCSWeaponInfo14GetWeaponPriceEv" "linux" "@_ZNK13CCSWeaponInfo14GetWeaponPriceEv"
} }
// String: "ValveBiped.Bip01_R_Hand" // String: "ValveBiped.Bip01_R_Hand"
@ -88,6 +96,7 @@
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x81\xEC\x80\x01\x00\x00\x89\x4D\xFC" "windows" "\x55\x8B\xEC\x81\xEC\x80\x01\x00\x00\x89\x4D\xFC"
"windows64" "\x44\x88\x4C\x24\x20\x44\x88\x44\x24\x18\x48\x89\x54\x24\x10\x48\x89\x4C\x24\x08\x56"
"linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb" "linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
} }
// String: "CTsWin" // String: "CTsWin"
@ -95,6 +104,7 @@
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x28\x8B\x45\x0C" "windows" "\x55\x8B\xEC\x83\xEC\x28\x8B\x45\x0C"
"windows64" "\x48\x8B\xC4\x55\x53\x48\x8D\x68\xA1"
"linux" "@_ZN12CCSGameRules14TerminateRoundEfi" "linux" "@_ZN12CCSGameRules14TerminateRoundEfi"
} }
// String: "d3au1" follow the xref to the array // String: "d3au1" follow the xref to the array
@ -104,6 +114,7 @@
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x33\xF6\x8D\x9B\x00\x00\x00\x00\x57\xFF\x34\xF5\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x85\xC0\x74\x2A\x46\x83\xFE\x1A" "windows" "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x33\xF6\x8D\x9B\x00\x00\x00\x00\x57\xFF\x34\xF5\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x85\xC0\x74\x2A\x46\x83\xFE\x1A"
"windows64" "\x48\x89\x5C\x24\x08\x48\x89\x6C\x24\x10\x48\x89\x74\x24\x18\x57\x48\x83\xEC\x20\x48\x8D\x2D\x45\xDC\x21\x00"
"linux" "@_Z24GetTranslatedWeaponAliasPKc" "linux" "@_Z24GetTranslatedWeaponAliasPKc"
} }
// String: "weapon_assaultsuit" follow the xref to the array, first element should be "weapon_p228" // String: "weapon_assaultsuit" follow the xref to the array, first element should be "weapon_p228"
@ -112,14 +123,16 @@
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x8B\x4D\x08\x56\x85\xC9\x74\x2A\x83\xF9\x1F" "windows" "\x55\x8B\xEC\x8B\x4D\x08\x56\x85\xC9\x74\x2A\x83\xF9\x1F"
"windows64" "\x40\x53\x48\x83\xEC\x30\x48\x63\xD1"
"linux" "@_Z13GetWeaponInfo10CSWeaponID" "linux" "@_Z13GetWeaponInfo10CSWeaponID"
} }
// String: "ClangTagChanged" follow the xref, there should be conditional jump to a node with 4 subroutines call and one virtual function call // String: "ClanTagChanged" follow the xref, there should be conditional jump to a node with 4 subroutines call and one virtual function call
// SetClangTag is the second subroutine called // SetClangTag is the second subroutine called
"SetClanTag" "SetClanTag"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x51\x89\x4D\xFC\x83\x7D\x08\x00\x74\x2A\x6A\x10" "windows" "\x55\x8B\xEC\x51\x89\x4D\xFC\x83\x7D\x08\x00\x74\x2A\x6A\x10"
"windows64" "\x48\x89\x54\x24\x10\x48\x89\x4C\x24\x08\x48\x83\xEC\x28\x48\x83\x7C\x24\x38\x00\x74\x2A\x48\x8B\x44\x24\x30"
"linux" "@_ZN9CCSPlayer10SetClanTagEPKc" "linux" "@_ZN9CCSPlayer10SetClanTagEPKc"
} }
// String: "p228" the xref should you to an array that's being used in two subroutines, where the increment is * 8 // String: "p228" the xref should you to an array that's being used in two subroutines, where the increment is * 8
@ -127,13 +140,15 @@
"AliasToWeaponID" "AliasToWeaponID"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x8B\x4D\x08\x33\xC0\xEB\x2A\x8D\x9B\x00\x00\x00\x00\x39\x0C\xC5\x2A\x2A\x2A\x2A\x74\x2A\x40\x83\xF8\x26" "windows" "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x85\xFF\x74\x2A\x33\xF6\x8B\xFF\x57"
"windows64" "\x48\x89\x5C\x24\x08\x48\x89\x74\x24\x10\x57\x48\x83\xEC\x20\x48\x8B\xF1\x48\x85\xC9"
"linux" "@_Z15AliasToWeaponIDPKc" "linux" "@_Z15AliasToWeaponIDPKc"
} }
"WeaponIDToAlias" "WeaponIDToAlias"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x85\xFF\x74\x2A\x33\xF6\x8B\xFF\x57" "windows" "\x55\x8B\xEC\x8B\x4D\x08\x33\xC0\xEB\x2A\x8D\x9B\x00\x00\x00\x00\x39\x0C\xC5\x2A\x2A\x2A\x2A\x74\x2A\x40\x83\xF8\x26"
"windows64" "\x4C\x8D\x05\x09\xFE\x35\x00"
"linux" "@_Z15WeaponIDToAliasi" "linux" "@_Z15WeaponIDToAliasi"
} }
// String: "Team \"CT\" triggered \"Intermission_Win_Limit\"\n" // String: "Team \"CT\" triggered \"Intermission_Win_Limit\"\n"
@ -142,20 +157,20 @@
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x44\x56\x57\x8B\xF9" "windows" "\x55\x8B\xEC\x83\xEC\x44\x56\x57\x8B\xF9"
"windows64" "\x48\x89\x5C\x24\x18\x48\x89\x7C\x24\x20\x41\x56\x48\x81\xEC\x80\x00\x00\x00\x48\x8B\xF9"
"linux" "@_ZN12CCSGameRules13CheckWinLimitEv" "linux" "@_ZN12CCSGameRules13CheckWinLimitEv"
} }
// Inlined on windows // Inlined on windows // <- year 2025 Is it ?
"SetModelFromClass" "SetModelFromClass"
{ {
"library" "server" "library" "server"
"windows" "" "windows" "\x55\x8B\xEC\x83\xEC\x2C\x89\x4D\xFC\x8B\x4D\xFC"
"windows64" "\x48\x89\x4C\x24\x08\x48\x83\xEC\x78\x48\x8B\x8C\x24\x80\x00\x00\x00\xE8\x2A\x2A\x2A\x2A\x83\xF8\x02"
"linux" "@_ZN9CCSPlayer17SetModelFromClassEv" "linux" "@_ZN9CCSPlayer17SetModelFromClassEv"
} }
} }
}
"cstrike"
{
"Keys" "Keys"
{ {
"MVPsBase" "m_bPlayerDominatingMe" "MVPsBase" "m_bPlayerDominatingMe"
@ -168,6 +183,7 @@
"MVPs" "MVPs"
{ {
"windows" "69" "windows" "69"
"windows64" "69"
"linux" "69" "linux" "69"
} }
} }