1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00
Commit graph

214 commits

Author SHA1 Message Date
9a9bcdc9df some write progress 2021-07-13 20:42:59 +02:00
67a4ca5744 rename data folder 2021-07-11 17:49:25 +02:00
5ea5983a74 make user info parsing reusable 2021-07-11 17:32:34 +02:00
746176ceb5 player entity ids are off by 1 2021-07-11 17:10:02 +02:00
3ab0a1b325 0.2.5 2021-07-11 16:11:15 +02:00
5547e31810 0.2.4 2021-07-11 16:07:03 +02:00
2eae4ab58a 0.2.3 2021-07-11 15:30:05 +02:00
9f96257b80 const new for SendPropIdentifier 2021-07-11 15:07:50 +02:00
c2fe8eca07 ignore empty text messages 2021-06-03 23:44:43 +02:00
bb79d269d8 add some sanity checks to compressed and decompressed size for snap encoded string tables 2021-05-23 14:09:28 +02:00
0cc00ddb33 0.2.2 2021-05-22 17:45:18 +02:00
3b1f9b89b5 update dependencies 2021-05-22 17:44:29 +02:00
4d87f5b279 prevent panic on invalid compressed stringtable size
fixes #2
2021-05-22 17:35:27 +02:00
e2a631cef3 fix handling of some saytext2 messages 2021-02-16 17:13:27 +01:00
a3fc003437 shove changes_often into the enum 2021-02-13 16:55:22 +01:00
0a34318c65 normalize prop definitions during flatening 2021-02-13 16:39:11 +01:00
35519d5fce dont stop prop and table name in sendprop 2021-02-13 14:48:55 +01:00
df9a6a138e strongly typed sendpropdefinition 2021-02-13 01:25:03 +01:00
1258827b54 update dependencies 2021-02-12 23:21:27 +01:00
b9c58b1adf update codegen 2021-02-12 23:09:26 +01:00
0d99a9510b iai bench 2021-02-12 23:00:18 +01:00
e8143720a5 0.2.1 2021-01-11 21:03:08 +01:00
3f4722bfea allow creating owned Demo 2021-01-11 20:59:40 +01:00
Tails8521
6ecb665f33 make handler public so custom analyzers can impl BorrowMessageHandler 2021-01-11 20:47:21 +01:00
Tails8521
b7e6db1f4f made DemoTicker cloneable 2021-01-11 20:46:58 +01:00
2e740c8f2f dont hard error when packet is cut off 2021-01-11 00:10:45 +01:00
d66124c4dd fix artifact name 2020-12-06 21:26:17 +01:00
8f754d3f44 fix handling of mallformed utf8 2020-12-06 21:22:53 +01:00
e5e54de65d make parserstate static 2020-12-06 20:55:02 +01:00
25f24b63f6 remove the need to allocate all messages in a packet 2020-12-06 19:30:54 +01:00
28ad5fafde cow string table name 2020-12-06 19:26:18 +01:00
9f0acad361 cow stringtable 2020-12-06 17:42:15 +01:00
f9116ef9f7 loop binary for 'perf' reasons 2020-12-06 17:09:11 +01:00
1a038b9f84 0.2 2020-12-06 01:18:28 +01:00
f7afdc74a3 bitbuffer 0.8 2020-12-06 01:18:03 +01:00
a4ddd586dd borrowed data 2020-12-06 00:55:54 +01:00
fed1da5cb0 non buffered bitbuffer 2020-12-05 22:49:39 +01:00
e5f9b0c9ed badge 2020-11-30 20:37:51 +01:00
d5593bc0c7 github actions 2020-11-30 20:31:30 +01:00
3d2432c70d metadata 2020-11-30 20:31:30 +01:00
27c3aea7a1 update dependencies 2020-11-30 20:31:30 +01:00
35c6f19a2c analyser access 2020-11-30 20:31:30 +01:00
992941b5e4 fmt 2020-11-30 20:31:30 +01:00
acc1584524 cleanup tests 2020-11-30 20:31:30 +01:00
e196b7bfcc
Merge pull request #1 from dalegaard/rename_voice_init_extra_data
Rename VoiceInit extra_data to sampling_rate
2020-03-27 15:09:57 +00:00
Lasse Dalegaard
63b2f2e599 Rename VoiceInit extra_data to sampling_rate
When quality is 255, an extra field is included in the VoiceInit
message. This field is the sampling rate for the voice codec selected.
This commit simply renames that field from `extra_data` as it is
currently known.

Interestingly, this field is present, but doesn't match when CELT HQ is
used. If `sv_voicecodec = vaudio_celt_high` on the server, the sampling
rate is still specified as 22050 Hz(as for CELT non-HQ) rather than the
expected 44100 Hz.  The client code will instead look for `vaudio_celt`
and `vaudio_celt_high` as codec name, and use these to to index a lookup
table that specifies the correct sampling rate and frame size. For
`vaudio_celt` 22050 Hz with 512 samples per frame is used, while
`vaudio_celt_high` uses 44100 Hz with 1024 samples per frame.
2020-03-27 13:07:22 +01:00
8f2c732945 fixes 2020-03-05 23:34:05 +01:00
c3ddcae443 fix codegen 2020-03-05 23:31:03 +01:00
c0117de169 adjust to bitbuffer rename 2020-02-13 00:02:43 +01:00
90c5e6c7f9 improved handling of unicode chat messages 2020-02-09 16:40:34 +01:00