IS VER
From LFS Manual
Revision as of 19:36, 9 February 2026 by Bokujishin (talk | contribs)
Introduction
The VERsion packet contains information about the LFS and InSim versions, allowing you to prevent your program interacting with legacy versions of the game. To request an IS_VER packet, either set ReqI to non-zero in the IS_ISI packet when initialising InSim, or send an IS_TINY packet with a SubT of TINY_VER.
| Type | Name | Description |
|---|---|---|
| byte | Size | 20 |
| byte | Type | ISP_VERSION |
| byte | ReqI | ReqI as received in the request packet |
| byte | Zero | |
| char | Version[8] | LFS version, e.g. 0.3G |
| char | Product[6] | Product: DEMO / S1 / S2 / S3 |
| byte | InSimVer | InSim version (see below) |
| byte | Spare | Spare |
Packet Details
Size
The size of the packet, always 20.
Type
The type of packet from the ISP_ enumeration, always ISP_VER.
ReqI
Contains the ReqI as received in the request for an IS_VER to be sent.
Version
The LFS version, e.g. 0.7G.
Product
The LFS product, e.g. S3.
InSimVer
The current InSim version, which at the time of writing is version 10. If this value does not match the version of InSim you are expecting, your program may not work correctly.