theangryangel / insim.rs

Crates for working with the Live For Speed Racing Simulator
MIT License
6 stars 1 forks source link

feat: Pcap or other file based "net" implementation for replaying/simulation #158

Open theangryangel opened 3 months ago

theangryangel commented 3 months ago

Whilst working on https://github.com/theangryangel/race_directord it's popping up that it would be helpful to have a sample recording of insim packets for a subset of testing.

  1. Offline development
  2. Not needing a real server to play with
  3. Allows hot-code reloading/interruptions

It should:

mkapal commented 3 months ago

I like this idea!

I should have a look if there is such a tool in the Node.js world too, because it would be useful for testing Node InSim as well.

theangryangel commented 3 months ago

You could probably do something with scapy if you want something quick for testing. I’m in 2 minds if anything without some level of insim understand is going to work quite right. But I might be wrong!

when I get an evening where the girls aren’t playing up I’m hoping I can bang this out quickly 😅