Commit graph

39 commits

Author SHA1 Message Date
ChillerDragon c3ff27f3b9 feat: implement to_json() for TwPacket 2024-06-16 13:07:26 +08:00
ChillerDragon 7b860510fd fix: replace agpl code with BSD-2 Clause rewrite 2024-04-23 12:30:34 +08:00
ChillerDragon e9ec2a121b chore: be more precise about the supported versions 2024-02-26 11:36:03 +08:00
ChillerDragon 0d296d83d0 feat: add 0.6 support to the pcap printer example 2024-02-23 12:48:12 +08:00
Chiller Dragon fd7a93e76a chore: link individual examples 2023-11-14 14:05:20 +00:00
Chiller Dragon 4e4f198fb7 chore: link examples in readme 2023-11-14 14:01:57 +00:00
ChillerDragon d9c5f0d066 feat: add optional libtw2 huffman backend
Prefer libtw2 over TeeAI huffman but do not install it by default.
Thanks to @heinrich5991 for porting his rust code to python.
2023-06-18 12:51:07 +02:00
ChillerDragon e06ce8366f feat!: snap items in sys/game messages
This commit is not about snapshots!

Generated the snap item classes for 0.6 and 0.7
And changed the type used for snap items from int to the snap class

This now allows to properly serialize and deserialize
messages such as sys.input
2023-06-09 13:06:24 +02:00
ChillerDragon e4118eaa84 feat: conventional commit git hook 2023-06-04 11:52:38 +02:00
ChillerDragon 2e8ac72bf6 0.6.5 reached feature completion of 0.7
It is not as well tested but since the code is auto generated
it should be functioning the same way
2023-06-03 10:51:28 +02:00
ChillerDragon 0794cbe0a6 Test packing connless and mark as done 2023-05-13 10:06:59 +02:00
ChillerDragon ffbc603ad6 Reformat feature table 2023-05-07 15:09:56 +02:00
ChillerDragon edce9e01d5 Bump progress 2023-04-30 13:10:47 +02:00
ChillerDragon 390e470f3b Add imports and result to example 2023-04-29 09:31:35 +02:00
ChillerDragon 8d639b57b8 Note about defaults (closed #8) 2023-04-29 09:25:47 +02:00
ChillerDragon b9a719ece9 Add pack() method to PacketHeader class
Also removed unused PacketHeader size field
2023-04-09 16:22:35 +02:00
ChillerDragon 7a8dc63aee Document message parsing progress 2023-04-08 15:27:52 +02:00
ChillerDragon 2346e271ac Note that this will never keep track of vital msgs for you 2023-04-07 12:54:18 +02:00
ChillerDragon 640dca32ad Advertise my favorite command that ensured pipelines passing so far 2023-04-07 10:38:04 +02:00
ChillerDragon 8559dcbfeb Also revert readme back to setup.cfg 2023-04-07 09:40:32 +02:00
ChillerDragon ccbc15d230 Move setup.cfg into pyproject.toml 2023-04-06 18:15:08 +02:00
ChillerDragon 146f2214e0 Weird assumed progress but ctrl,game+sys sounds solid
Just details missing like weird fields and snap items
2023-04-06 17:45:05 +02:00
ChillerDragon a4a71d4069 Document progress 2023-04-02 10:41:46 +02:00
ChillerDragon 91df2614b3 Separate snap and msgs in roadmap 2023-03-31 10:17:44 +02:00
ChillerDragon 0988cff4c9 Refactor to prepare proper msg unpacking
Rename `name` -> `message_name`
Replaced `GameMessage` and `SysMessage` with duck typed `NetMessage`
Split up packet.py in multiple files
2023-03-25 14:22:45 +01:00
ChillerDragon 51b0b6ca9a Note about immaturity 2023-03-19 11:44:40 +01:00
ChillerDragon c8f8ca6a21 Break api packet.parse -> packet.parse7
Rename the main `twnet_parser.packet.parse()` method.
Into more explicit `parse6()` and `parse7()`
2023-03-18 10:04:11 +01:00
ChillerDragon f6a1eb3560 Define scope of the project 2023-03-18 09:35:43 +01:00
ChillerDragon e3d026763a Fix dev setup command 2023-03-16 17:08:27 +01:00
ChillerDragon fa0751790e Getting started as a lib user now works :) 2023-03-16 16:56:37 +01:00
ChillerDragon 18f5c146b4 Overengineer release script 2023-03-16 16:51:57 +01:00
ChillerDragon 9b264eb45d Document first publish (something went wrong xd) 2023-03-16 15:05:27 +01:00
ChillerDragon a41a59eda8 Release 0.0.1 2023-03-16 14:50:20 +01:00
ChillerDragon 0abf651b87 Add tests 2023-03-16 14:04:48 +01:00
ChillerDragon a0c2b54651 Parse 0.7 packet header 2023-03-16 12:08:02 +01:00
ChillerDragon d516b591b0 First actual parse 2023-03-16 10:26:36 +01:00
ChillerDragon 3ba7403ad4 First draft 2023-03-14 22:58:06 +01:00
ChillerDragon 37786f7a48 POC 2023-03-12 22:12:07 +01:00
ChillerDragon 4300602154 Init 2023-03-12 21:41:14 +01:00