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
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -1,14 +1,14 @@
// Code generated by strom. DO NOT EDIT.
// source: minecraft-data/pc/1.21.11/protocol.json (sha256:97d2726cce3a39cc967a954f27f4ebf029ec3f0f655bb21942aab8745d13cdab)
// version: v0.6.3-0.20260723203259-d84618c116b8+dirty (go1.26.5-X:nodwarf5)
// version: (devel) (go1.26.5-X:nodwarf5)
package v1_21_11
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 {
+4 -4
View File
@@ -1,14 +1,14 @@
// Code generated by strom. DO NOT EDIT.
// source: minecraft-data/pc/1.21.8/protocol.json (sha256:930fbb4c69fd2ecadddcee3c38d3f02908adc23b54b707cb21112e7ab1e9dba1)
// version: v0.6.3-0.20260723203259-d84618c116b8+dirty (go1.26.5-X:nodwarf5)
// version: (devel) (go1.26.5-X:nodwarf5)
package v1_21_8
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 {
+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 {
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -1,14 +1,14 @@
// Code generated by strom. DO NOT EDIT.
// source: minecraft-data/pc/26.1/protocol.json (sha256:dfb6318886cd3ceab617f75ac05e24f9836a64501d60551071289b904ebfc389)
// version: v0.6.3-0.20260723203259-d84618c116b8+dirty (go1.26.5-X:nodwarf5)
// version: (devel) (go1.26.5-X:nodwarf5)
package v26_1
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 {
+4 -4
View File
@@ -1,14 +1,14 @@
// Code generated by strom. DO NOT EDIT.
// source: minecraft-data/pc/26.2/protocol.json (sha256:7ba66411adcc68a668f38211e1b00eeb386a345d5eb16fadd6dc1c7f94bb175f)
// version: v0.6.3-0.20260723203259-d84618c116b8+dirty (go1.26.5-X:nodwarf5)
// version: (devel) (go1.26.5-X:nodwarf5)
package v26_2
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 {