814 B
814 B
BeamNGMockOG
Utility to both record (with the caveat that it doesn't record yet) and replay binary data relating to the Outgauge struct of beamng.
This will help me develop some stuff I'm doing for ESDI and my peripherals
without having to be playing the game while doing it (fans are noisy).
Installation
go install github.com/ESilva15/BeamNGMockOg@latest
Usage
To start replaying:
BeamNGMockOg replay [--loop] -a 127.0.0.1 -p 4443 -i sunburstManual.bin
loopallows the replay functionality to keep replaying the same data file
To start recording:
BeamNGMockOg record -a 127.0.0.1 -p 4443 -o sunburstDCT.bin
Development
Use tcpdump to listen to the socket and check if data is coming through:
tcpdump -i any udp port <port> -X
Benchmark
Run with:
go test -bench=. -benchmem