2 stable releases

1.1.0 Feb 14, 2024
1.0.0 Feb 6, 2024

#76 in Simulation

37 downloads per month
Used in insim

MIT license

210KB
109 lines

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 Documentation
insim Connection and protocol implementation. https://docs.rs/insim
insim_core Contains core types shared across other crates. https://docs.rs/insim_core
insim_pth Implements a PTH file read/writer. https://docs.rs/insim_pth
insim_smx Implements a SMX file reader/writer. https://docs.rs/insim_smx

If you're looking for race_directord that has been moved to https://github.com/theangryangel/race_directord/.

TODO

  • git grep '\(TODO\|FIXME\|XXX\)'
  • check out the issues list

lib.rs:

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.

Dependencies

~5.5MB
~170K SLoC