Skip to content

Commit

Permalink
Update schema and demo format for v14005 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
saul committed Apr 30, 2024
1 parent f8648e3 commit 1c3f89b
Show file tree
Hide file tree
Showing 37 changed files with 54,653 additions and 56,091 deletions.
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.13.1 (2024-04-30)

- Update schema and demo format for v14005

### 0.12.2 (2024-04-12)

- Fix player pawn positions occasionally jittering ([#37](https://github.com/saul/demofile-net/issues/37)). Thanks to [@in0finite](https://github.com/in0finite) for spotting the bug.
Expand Down
2 changes: 1 addition & 1 deletion demos/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
set -e
pushd "$(dirname "$0")"

curl 'https://pub-df0163da89b24187b28fd37c8dc7c8a1.r2.dev/demofile-net-demos-4.zip' --output test-demos.zip
curl 'https://pub-df0163da89b24187b28fd37c8dc7c8a1.r2.dev/demofile-net-demos-5.zip' --output test-demos.zip

unzip -o test-demos.zip

Expand Down
1 change: 1 addition & 0 deletions protos/cs_usercmd.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ message CSGOUserCmdPB {
optional int32 attack1_start_history_index = 6 [default = -1];
optional int32 attack2_start_history_index = 7 [default = -1];
optional int32 attack3_start_history_index = 8 [default = -1];
optional bool left_hand_desired = 9 [default = false];
}
4 changes: 4 additions & 0 deletions protos/cstrike15_gcmessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ message CMsgGCCStrike15_v2_MatchmakingServerRoundStats {
repeated int32 player_spawned = 29;
repeated int32 team_spawn_count = 30;
optional uint32 max_rounds = 31;
optional int32 map_id = 32;
}

message CMsgGCCStrike15_v2_MatchmakingClient2GCHello {
Expand All @@ -630,6 +631,7 @@ message CMsgGCCStrike15_v2_MatchmakingGC2ClientHello {
optional int32 player_cur_xp = 18;
optional int32 player_xp_bonus_flags = 19;
repeated .PlayerRankingInfo rankings = 20;
optional uint64 owcaseid = 21;
}

message CMsgGCCStrike15_v2_AccountPrivacySettings {
Expand Down Expand Up @@ -874,6 +876,8 @@ message CEconItemPreviewDataBlock {
optional float scale = 4;
optional float rotation = 5;
optional uint32 tint_id = 6;
optional float offset_x = 7;
optional float offset_y = 8;
}

optional uint32 accountid = 1;
Expand Down
10 changes: 9 additions & 1 deletion protos/demo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ enum EDemoCommands {
DEM_SaveGame = 14;
DEM_SpawnGroups = 15;
DEM_AnimationData = 16;
DEM_Max = 17;
DEM_AnimationHeader = 17;
DEM_Max = 18;
DEM_IsCompressed = 64;
}

Expand All @@ -38,6 +39,7 @@ message CDemoFileHeader {
optional string demo_version_guid = 12;
optional int32 build_num = 13;
optional string game = 14;
optional int32 server_start_tick = 15;
}

message CGameInfo {
Expand Down Expand Up @@ -130,6 +132,12 @@ message CDemoCustomDataCallbacks {
repeated string save_id = 1;
}

message CDemoAnimationHeader {
optional sint32 entity_id = 1;
optional int32 tick = 2;
optional bytes data = 3;
}

message CDemoAnimationData {
optional sint32 entity_id = 1;
optional int32 start_tick = 2;
Expand Down
28 changes: 0 additions & 28 deletions protos/steamnetworkingsockets_messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,34 +91,6 @@ message CMsgSteamDatagramLinkLifetimeStats {
optional uint32 jitter_histogram_5 = 64;
optional uint32 jitter_histogram_10 = 65;
optional uint32 jitter_histogram_20 = 66;
optional uint32 txspeed_max = 67;
optional uint32 txspeed_histogram_16 = 68;
optional uint32 txspeed_histogram_32 = 69;
optional uint32 txspeed_histogram_64 = 70;
optional uint32 txspeed_histogram_128 = 71;
optional uint32 txspeed_histogram_256 = 72;
optional uint32 txspeed_histogram_512 = 73;
optional uint32 txspeed_histogram_1024 = 74;
optional uint32 txspeed_histogram_max = 75;
optional uint32 txspeed_ntile_5th = 76;
optional uint32 txspeed_ntile_50th = 77;
optional uint32 txspeed_ntile_75th = 78;
optional uint32 txspeed_ntile_95th = 79;
optional uint32 txspeed_ntile_98th = 80;
optional uint32 rxspeed_max = 81;
optional uint32 rxspeed_histogram_16 = 82;
optional uint32 rxspeed_histogram_32 = 83;
optional uint32 rxspeed_histogram_64 = 84;
optional uint32 rxspeed_histogram_128 = 85;
optional uint32 rxspeed_histogram_256 = 86;
optional uint32 rxspeed_histogram_512 = 87;
optional uint32 rxspeed_histogram_1024 = 88;
optional uint32 rxspeed_histogram_max = 89;
optional uint32 rxspeed_ntile_5th = 90;
optional uint32 rxspeed_ntile_50th = 91;
optional uint32 rxspeed_ntile_75th = 92;
optional uint32 rxspeed_ntile_95th = 93;
optional uint32 rxspeed_ntile_98th = 94;
}

message CMsgSteamDatagramConnectionQuality {
Expand Down
1 change: 0 additions & 1 deletion protos/steamnetworkingsockets_messages_certs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ option cc_generic_services = false;

message CMsgSteamNetworkingIdentityLegacyBinary {
optional fixed64 steam_id = 16;
optional string xbox_pairwise_id = 17;
optional bytes generic_bytes = 2;
optional string generic_string = 3;
optional bytes ipv6_and_port = 4;
Expand Down
Loading

0 comments on commit 1c3f89b

Please sign in to comment.