strom: add 1.8 protocol support, raw-to-tmcpr, disable raw-capture

- Add minecraft-data for version 1.8 (protocol 47)
- Generate proto_generated/v1_8 from 1.8 protocol.json
- Fix generator compatibility: missing CompareTo natives (i16, i32, u16, u32,
  i64, string, nbt, optionalNbt), parameterized type placeholder handling ()
- Add raw-to-tmcpr subcommand: converts raw tcpflow captures to TMCPR
  with zlib decompression and state-aware compression threshold tracking
- Extend print-replay: 1.8 state transitions (success->Play, login_start->Play,
  handshake/status initial states, set_protocol NextState detection)
- Comment out broken raw-capture subcommand (use tcpflow instead)
- Fix nbt.Anon Encode/Decode on value receivers
This commit is contained in:
Admin Else
2026-08-04 16:10:15 +02:00
parent 3273244c42
commit b162d0d401
34 changed files with 55210 additions and 249 deletions
+4 -4
View File
@@ -1,14 +1,14 @@
// Code generated by strom. DO NOT EDIT.
// source: minecraft-data/pc/1.21.9/protocol.json (sha256:9861cee397931c678c3b1837dcdf82e3fc885442c6bd0e4a60522fbf26653e59)
// version: v0.6.3-0.20260723203259-d84618c116b8+dirty (go1.26.5-X:nodwarf5)
// version: (devel) (go1.26.5-X:nodwarf5)
package v1_21_9
import (
"encoding/binary"
"github.com/admin-else/strom/mc/nbt"
"github.com/admin-else/strom/mc/proto_base"
"github.com/google/uuid"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"github.com/google/uuid"
)
type ArmorTrimMaterial struct {