IS CIM
From LFS Manual
Revision as of 10:34, 10 February 2026 by Bokujishin (talk | contribs) (Created page with "== Introduction == The '''C'''onnection '''I'''nterface '''M'''ode packet is sent by LFS when a player changes screens in the game's interface. {| class="wikitable" |+ IS_CI...")
Introduction
The Connection Interface Mode packet is sent by LFS when a player changes screens in the game's interface.
| Type | Name | Description |
|---|---|---|
| byte | Size | 8 |
| byte | Type | ISP_CIM |
| byte | ReqI | 0 |
| byte | UCID | connection's unique id (0 = local) |
| byte | Mode | mode identifier (see below) |
| byte | SubMode | submode identifier (see below) |
| byte | SelType | selected object type (see below) |
| byte | Sp3 |
Packet Details
Size
The size of the packet is always 8 bytes.
Type
The packet type from the ISP_ enumeration, always ISP_CIM.
ReqI
ReqI is always equal to zero.
UCID
The connection's unique ID (0 is the local client).
Mode
The mode identifier, a value from the CIM_ enumeration:
- CIM_NORMAL: Not in a special mode
- CIM_OPTIONS: Options menu
- CIM_HOST_OPTIONS: Host options menu
- CIM_GARAGE: Garage screen
- CIM_CAR_SELECT: Car select screen (includes mod selection)
- CIM_TRACK_SELECT: Track select screen
- CIM_SHIFTU: Free view mode
SubMode
The sub-mode identifier, which gives additional details about the Mode. It can be a value from one of the 3 sub-mode enumerations.
NRM_:
- NRM_NORMAL: Normal view
- NRM_WHEEL_TEMPS: F9 (tyres)
- NRM_WHEEL_DAMAGE: F10 (suspension damage)
- NRM_LIVE_SETTINGS: F11 (live settings)
- NRM_PIT_INSTRUCTIONS: F12 (pit instructions)
GRG_:
- GRG_INFO: Garage Info tab
- GRG_COLOURS: Garage Colours tab
- GRG_BRAKE_TC: Garage Brakes tab
- GRG_SUSP: Garage Suspensions tab
- GRG_STEER: Garage Steering tab
- GRG_DRIVE: Garage Final Drive tab
- GRG_TYRES: Garage Tyres tab
- GRG_AERO: Garage Downforce tab
- GRG_PASS: Garage Passengers tab
- 255 (undocumented): Garage Mod Rating tab
FVM_:
- FVM_PLAIN: No buttons displayed
- FVM_BUTTONS: Buttons displayed (not editing)
- FVM_EDIT: Layout edit mode
SelType
Selected object type, which is either a value from the AXO_ enumeration in the LYT format, or one of the following:
- MARSH_IS_CP = 252: InSim Checkpoint
- MARSH_IS_AREA = 253: InSim circle
- MARSH_MARSHAL = 254: Restricted area
- MARSH_ROUTE = 255: Route checker