Skip to content

Commit

Permalink
Add windows core files
Browse files Browse the repository at this point in the history
Much like #725 but this was already setup locally, just not tested yet 😅
  • Loading branch information
SirPlease committed Jan 1, 2024
1 parent d4bf578 commit 5ec7b6d
Show file tree
Hide file tree
Showing 57 changed files with 62 additions and 19 deletions.
Binary file removed addons/metamod/bin/linux64/metamod.2.csgo.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.blade.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.bms.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.csgo.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.css.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.dods.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.doi.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.ep1.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.ep2.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.hl2dm.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.insurgency.so
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.l4d.so
Binary file not shown.
Binary file added addons/metamod/bin/metamod.2.l4d2.dll
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.nd.so
Binary file not shown.
Binary file added addons/metamod/bin/metamod.2.sdk2013.dll
Binary file not shown.
Binary file removed addons/metamod/bin/metamod.2.tf2.so
Binary file not shown.
Binary file added addons/metamod/bin/server.dll
Binary file not shown.
Binary file added addons/metamod/bin/win64/server.dll
Binary file not shown.
5 changes: 5 additions & 0 deletions addons/metamod_x64.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"Plugin"
{
"file" "addons/metamod/bin/win64/server"
}

Binary file added addons/sourcemod/bin/sourcemod.2.l4d2.dll
Binary file not shown.
Binary file added addons/sourcemod/bin/sourcemod.2.sdk2013.dll
Binary file not shown.
Binary file added addons/sourcemod/bin/sourcemod.logic.dll
Binary file not shown.
Binary file added addons/sourcemod/bin/sourcemod_mm.dll
Binary file not shown.
Binary file added addons/sourcemod/bin/sourcemod_mm.x64.dll
Binary file not shown.
Binary file added addons/sourcemod/bin/sourcepawn.jit.x86.dll
Binary file not shown.
Binary file added addons/sourcemod/bin/x64/libsourcepawn.dll
Binary file not shown.
Binary file added addons/sourcemod/bin/x64/sourcemod.logic.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/bintools.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/clientprefs.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/dbi.mysql.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/dbi.pgsql.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/dbi.sqlite.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/dhooks.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/geoip.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/regex.ext.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added addons/sourcemod/extensions/topmenus.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/updater.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/webternet.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/x64/bintools.ext.dll
Binary file not shown.
Binary file not shown.
Binary file added addons/sourcemod/extensions/x64/dbi.mysql.ext.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added addons/sourcemod/extensions/x64/geoip.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/x64/regex.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/x64/topmenus.ext.dll
Binary file not shown.
Binary file added addons/sourcemod/extensions/x64/updater.ext.dll
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions addons/sourcemod/gamedata/core.games/common.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@
"game" "doi"
"game" "bms"
"game" "iosoccer"
"game" "open_fortress"
"game" "tf2classic"
}

"Keys"
Expand Down Expand Up @@ -239,6 +241,9 @@
"game" "doi"
"game" "bms"
"game" "iosoccer"
"game" "reactivedrop"
"game" "open_fortress"
"game" "tf2classic"
}

"Keys"
Expand Down Expand Up @@ -299,6 +304,8 @@
"game" "csgo"
"game" "reactivedrop"
"game" "FortressForever"
"game" "open_fortress"
"game" "tf2classic"
}

"Keys"
Expand Down
11 changes: 11 additions & 0 deletions addons/sourcemod/gamedata/funcommands.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@
}
}

"nucleardawn"
{
"Keys"
{
"SpriteBeam" "sprites/widestripe.vmt"

"Team2BeaconColor" "75,75,255,255"
"Team3BeaconColor" "255,75,75,255"
}
}

"#default"
{
"#supported"
Expand Down
12 changes: 12 additions & 0 deletions addons/sourcemod/gamedata/sdkhooks.games/master.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,16 @@
{
"game" "reactivedrop"
}
"game.openfortress.txt"
{
"game" "open_fortress"
}
"game.dystopia.txt"
{
"game" "!Dystopia"
}
"game.tf2classic.txt"
{
"game" "tf2classic"
}
}
8 changes: 8 additions & 0 deletions addons/sourcemod/gamedata/sdktools.games/master.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,12 @@
{
"game" "reactivedrop"
}
"game.openfortress.txt"
{
"game" "open_fortress"
}
"game.tf2classic.txt"
{
"game" "tf2classic"
}
}
38 changes: 19 additions & 19 deletions addons/sourcemod/gamedata/sm-cstrike.games/game.csgo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,32 @@
// -*(_DWORD *)(v34 + 8) in ida 7 -v34[52]
"WeaponPrice"
{
"windows" "200"
"windows" "208"
"linux" "208"
"linux64" "328"
"mac64" "328"
}
//Offset into CheckRestartRound
"CTTeamScoreOffset"
{
"windows" "98"
"linux" "115"
"windows" "174"
"linux" "142"
"linux64" "143"
"mac64" "148"
}
//Offset into CheckRestartRound
"TTeamScoreOffset"
{
"windows" "125"
"linux" "148"
"windows" "201"
"linux" "169"
"linux64" "174"
"mac64" "177"
}
//Offset into HandleCommand_Buy_Internal
"CCSPlayerInventoryOffset"
{
"windows" "57"
"linux" "97"
"linux" "90"
"linux64" "107"
"mac64" "73"
}
Expand Down Expand Up @@ -108,56 +108,56 @@
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x0C\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01"
"linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x4C\xA1\x2A\x2A\x2A\x2A\x8B\x5D\x08\x89\x04\x24"
"linux" "\x55\x89\xE5\x56\x53\x83\xEC\x1C\x8B\x5D\x08\xFF\x35\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x10\x84\xC0\x0F\x85\x2A\x2A\x2A\x2A\x8B\x13"
"linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x18\x4C\x8B\x25\x85\x17\xB4\x00"
"mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x54\x53\x48\x83\xEC\x10\x49\x89\xFC\x4C\x8D\x3D\xD7\xB9\x90\x00"
}
"SwitchTeam"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x10\x53\x56\x8B\x75\x08\x57\x8B\xF9\x85\xF6\x0F\x88\x2A\x2A\x2A\x2A\x3B\x35"
"linux" "\x55\x89\xE5\x83\xEC\x68\x89\x75\xF8\x8B\x75\x0C\x89\x5D\xF4\x8B\x5D\x08\x89\x7D\xFC\x89\x34\x24\xE8\x2A\x2A\x2A\x2A\x85\xC0"
"linux" "\x55\x89\xE5\x56\x53\x83\xEC\x2C\x8B\x5D\x2A\x8B\x75\x2A\x53"
"linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x49\x89\xFC\x89\xF7\x53\x89\xF3"
"mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x83\xEC\x18\x89\xF3\x49\x89\xFC"
}
"HandleCommand_Buy_Internal"//Wildcard first 6 bytes for getting address for weapon price.
{
"library" "server"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x53\x56\x57\x6A\x01\x8B\xF9"
"linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x0F\xB6\x55\x14\x89\x75\xF8\x8B\x75\x08"
"linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x54\x8B\x5D\x2A\x6A\x01\x8B\x7D\x2A\x8B"
"linux64" "\x2A\x2A\x2A\x2A\x2A\x2A\x41\x56\x41\x89\xCE\x41\x55\x49\x89\xD5\x41\x54\x41\x89\xF4"
"mac64" "\x2A\x2A\x2A\x2A\x2A\x2A\x41\x56\x41\x55\x41\x54\x53\x48\x83\xEC\x58\x41\x89\xCF\x49\x89\xD4"
}
"CSWeaponDropBB" //Revert back to using CSWeaponDrop(weapon, bool, bool)
{
"library" "server"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xE4\xF8\x83\xC4\x04\x55\x8B\x6B\x04\x89\x6C\x24\x04\x8B\xEC\x83\xEC\x34\x56"
"linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x7C\x8B\x5D\x08\x0F\xB6\x7D\x10"
"linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x48\x8B\x5D\x2A\x8B\x7D\x2A\x8B\x75"
"linux64" "\x2A\x2A\x2A\x2A\x2A\x2A\x41\x89\xCE\x41\x55\x41\x89\xD5\x41\x54\x49\x89\xF4"
"mac64" "\x2A\x2A\x2A\x2A\x2A\x2A\x41\x56\x41\x54\x53\x48\x83\xEC\x30\x41\x89\xCC\x41\x89\xD7"
}
"TerminateRound"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x6C\x53\x56\x8B\xF1\xF3\x0F\x11\x4C\x24\x24"
"linux" "\x55\x89\xE5\x57\x56\x53\x81\xEC\xBC\x00\x00\x00\x8B\x75\x08\x8B\x86\xBC\x0B\x00\x00"
"linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x6C\x8B\x7D\x08\x8B\x87"
//"linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xFE\x41\x55\x41\x54\x53\x48\x81\xEC\x98\x00\x00\x00\x89\xB5\x68\xFF\xFF\xFF"
"mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x08\x01\x00\x00\x41\x89\xF6"
}
//In CS:GO this is actually CCSGameRules::CheckRestartRound(void) but to keep same gamedata as cs:s.
"CheckWinLimit"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x2A\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9"
"linux" "\x55\x89\xE5\x56\x53\x83\xEC\x70\xA1\x2A\x2A\x2A\x2A\x8B\x35\x2A\x2A\x2A\x2A\x8B"
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x2A\x53\x8B\xD9\x8B\x0D\x2A\x2A\x2A\x2A\x56\x57\x81\xF9"
"linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x5C\x8B\x5D\x08\x65\xA1\x14\x00\x00\x00\x89\x45\xE4\x31\xC0\xA1\x2A\x2A\x2A\x2A"
"linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x58\x64\x48\x8B\x04\x25\x28\x00\x00\x00\x48\x89\x45\xC8\x31\xC0\x4C\x8B\x2D\x46\xD3\xBB\x00"
"mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x83\xEC\x58\x49\x89\xFD\x48\x8B\x1D\x85\x76\x60\x00"
}
"SetModelFromClass"
{
"library" "server"
"windows" "\x53\x56\x57\x8B\xF9\x8B\x87\x14\x03\x00\x00"
"linux" "\x55\x89\xE5\x83\xEC\x28\x89\x5D\xF4\x8B\x5D\x08\x89\x75\xF8\x89\x7D\xFC\x89\x1C\x24\xE8\x2A\x2A\x2A\x2A\x83\xF8\x02"
"linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x18\x8B\x5D\x08\x53\xE8\x2A\x2A\x2A\x2A\x83\xC4\x10\x83\xF8\x02"
"linux64" "\x55\x48\x89\xE5\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x18\xE8\x2A\x2A\x2A\x2A\x83\xF8\x02"
"mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x54\x53\x49\x89\xFC\xE8\x2A\x2A\x2A\x2A\x83\xF8\x02"
}
Expand All @@ -167,7 +167,7 @@
{
"library" "server"
"windows" "\x85\xC9\x75\x2A\x33\xC0\xC3\xE8\x2A\x2A\x2A\x2A\x8B"
"linux" "\x55\x89\xE5\x83\xEC\x18\x8B\x45\x08\x85\xC0\x74\x2A\x89\x04\x24"
"linux" "\x55\x89\xE5\x83\xEC\x08\x8B\x45\x2A\x85\xC0\x74\x2A\x83\xEC\x0C\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x10\x89\x45"
"linux64" "\x48\x85\xFF\x74\x2A\x55\x48\x89\xE5\xE8\x2A\x2A\x2A\x2A\x5D\x48\x89\xC7"
"mac64" "\x55\x48\x89\xE5\x41\x56\x53\x31\xC0\x48\x85\xFF\x74\x2A\xE8\x2A\x2A\x2A\x2A\x48"
}
Expand Down Expand Up @@ -236,7 +236,7 @@
// The respective function underneath each are SetClanTag and SetClanName.
// To get the offset of the base (m_flGroundAccelLinearFracLastTime) unqiue string is "------- accelspeed = %f, flGoalSpeed = %f, flStoredAccel = %f\n"
// Inside that function right above the debug message is an if with a call to CBaseEntity::NetworkStateChanged and a member set with the same offset.
// Do math.
// Do math.
// Note: Second offset can be skipped by simply dumping the netprops instead on each os although the distance will probably be the same on all.

"#default"
Expand Down Expand Up @@ -275,7 +275,7 @@
"windows"
{
"signature" "NET_SendPacket"
"offset" "6"
"offset" "4"
}
"linux"
{
Expand All @@ -296,9 +296,9 @@
{
"library" "engine"
// "[NET] Cannot send %d-byte packet to %s. MTU is %u. %02x %02x %02x %02x %02x\n"
"windows" "\x89\x4C\x24\x14\x81\xFF\xB0\x04\x00\x00\x7E"
"windows" "\x8B\xFA\x81\xFB\xB0\x04\x00\x00\x7E"
// _Z14NET_SendPacketP11INetChanneliRK10ns_addressPKhiP8bf_writebj
"linux" "\x8B\x7D\x10\x81\xFE\xB0\x04\x00\x00\x0F"
"linux" "\x31\xC0\x81\x7D\x2A\xB0\x04\x00\x00"
"linux64" "\x31\xC0\x81\xF9\xB0\x04\x00\x00\x0F"
}
}
Expand Down

0 comments on commit 5ec7b6d

Please sign in to comment.