CounterStrike-1K / schema /actions_bin.json
ArnieRamesh's picture
Add files using upload-large-folder tool
c2b7c31 verified
{
"schema_name": "actions_bin",
"schema_version": 9,
"artifact_suffix": ".actions.bin",
"format": "packed_fixed_width_binary",
"row_grain": "one record per decoded video frame",
"record_size_bytes": 14,
"byte_order": "little_endian",
"alignment": "packed_no_padding",
"description": "Per-frame controls for one POV sample. Player/game state is stored separately in state.bin.",
"frame_alignment": {
"record_i": "corresponds to decoded video frame i",
"tick_start": "tick field in record i",
"tick_end_exclusive": "tick + frame_tick_stride from the paired sample metadata",
"default_frame_tick_stride": 2,
"default_fps": 32,
"default_tick_rate": 64
},
"buttons_order": [
"FORWARD",
"BACK",
"LEFT",
"RIGHT",
"JUMP",
"DUCK",
"WALK",
"FIRE",
"RIGHTCLICK",
"RELOAD",
"INSPECT",
"USE"
],
"button_encoding": {
"storage_field": "buttons",
"dtype": "uint16",
"semantics": "bit i is set when buttons_order[i] is active for the frame interval"
},
"fields": [
{
"name": "tick",
"dtype": "uint32",
"offset": 0,
"bytes": 4,
"unit": "demo tick",
"description": "Absolute demo tick at the start of this video frame."
},
{
"name": "delta_pitch",
"dtype": "float32",
"offset": 4,
"bytes": 4,
"unit": "degrees",
"description": "Per-frame pitch delta after v12 dense alignment."
},
{
"name": "delta_yaw",
"dtype": "float32",
"offset": 8,
"bytes": 4,
"unit": "degrees",
"description": "Per-frame yaw delta, wrapped to the shortest angular difference."
},
{
"name": "buttons",
"dtype": "uint16",
"offset": 12,
"bytes": 2,
"description": "Action button bitmask using buttons_order."
}
],
"numpy_dtype": [
["tick", "<u4"],
["delta_pitch", "<f4"],
["delta_yaw", "<f4"],
["buttons", "<u2"]
],
"validation": [
"file_size == frames * 14",
"one record per decoded video frame",
"no Steam IDs, account IDs, player names, or online identifiers"
]
}