5 stable releases

3.0.0 Jun 2, 2025
2.1.0 Sep 3, 2024
2.0.0 Aug 16, 2024
1.1.0 Feb 14, 2024
1.0.0 Feb 6, 2024

#90 in Simulation

Download history 1/week @ 2025-06-20 1/week @ 2025-07-04 1/week @ 2025-07-11 2/week @ 2025-08-22

302 downloads per month

MIT license

335KB
3K SLoC

insim_smx

Parse a Live for Speed smx (Simple Mesh) file.

Historically Live for Speed has made SMX files available for each track.

For at least Rockingham there is no SMX file and there are no plans to make it available.

I would suggest that SMX files should be considered historical at this point.


insim.rs

A collection of crates to assist working with the Live For Speed racing simulator and it's Insim (protocol).

The intention is to provide a strongly typed, native rust implementation, rather than a thin layer over a series of bytes and primitive types.

If you're not sure where to start, you probably want to look at the examples.

Crate Usage
insim Insim connection and protocol implementation.
insim_core Contains core types shared across other crates.
insim_macros Contains proc_macros republished through insim_core.
insim_pth Implements a PTH file read/writer.
insim_smx Implements a SMX file reader/writer.
outgauge Implements "sans-io" Outgauge protocol implementation.
outsim Implements "sans-io" Outsim protocol implementation.

Thanks

  • simbroadcasts/node-insim which I used to bootstrap many of the packet unit tests.
  • LFS and it's community, without which this project would not exist.

Dependencies

~10MB
~326K SLoC