IS SFP
From LFS Manual
Revision as of 20:46, 9 February 2026 by Bokujishin (talk | contribs)
Introduction
The State Flags Pack can be used to set some state options in game. Only a select few states can be set using this packet, other states must be set by sending either an IS_SCH or IS_MST packet.
| Type | Name | Description |
|---|---|---|
| byte | Size | 8 |
| byte | Type | ISP_SFP |
| byte | ReqI | 0 |
| byte | Zero | |
| word | Flag | the state to set |
| byte | OffOn | 0 = off / 1 = on |
| byte | Sp3 | spare |
Packet Detail
Size
The size of the packet, always 8 bytes.
Type
The packet type from the ISP_ enumeration, always ISP_SFP.
ReqI
Not used
Flags
The state to set, from the ISS_ bit flags. The states you are able to set are the following:
- ISS_SHIFTU_NO_OPT: SHIFT+U buttons hidden
- ISS_SHOW_2D: Showing 2d display
- ISS_MPSPEEDUP: Multiplayer speedup option
- ISS_SOUND_MUTE: Sound is switched off
OffOn
Set to 1 to turn the state on, or set to 0 to turn the state off.