Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<frame_index: int64, timestamp_ns: int64, next_frame_timestamp_ns: int64, width: int64, height: int64, mouse_events: list<item: struct<timestamp_ns: int64, event_type: string, x: int64, y: int64, dx: int64, dy: int64, button: string, pressed: bool>>, raw_mouse_events: list<item: struct<timestamp_ns: int64, dx: int64, dy: int64, button_flags: string, button_data: int64, event_timestamp_ns: int64, button_flag_names: list<item: string>>>, keyboard_events: list<item: struct<timestamp_ns: int64, event_type: string, vk: int64, key_name: string>>, level_1_instruction: string, level_2_instruction: string, level_3_instruction: string>
to
{'frame_index': Value('int64'), 'timestamp_ns': Value('int64'), 'next_frame_timestamp_ns': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'mouse_events': List({'timestamp_ns': Value('int64'), 'event_type': Value('string'), 'x': Value('int64'), 'y': Value('int64'), 'dx': Value('int64'), 'dy': Value('int64'), 'button': Value('string'), 'pressed': Value('bool')}), 'raw_mouse_events': List({'timestamp_ns': Value('int64'), 'dx': Value('int64'), 'dy': Value('int64'), 'button_flags': Value('string'), 'button_data': Value('int64'), 'event_timestamp_ns': Value('int64'), 'button_flag_names': List(Value('string'))}), 'keyboard_events': List({'timestamp_ns': Value('int64'), 'event_type': Value('string'), 'vk': Value('int64'), 'key_name': Value('string')})}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2328, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1870, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2130, in cast_array_to_feature
                  casted_array_values = _c(array.values, feature.feature)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1872, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2170, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<frame_index: int64, timestamp_ns: int64, next_frame_timestamp_ns: int64, width: int64, height: int64, mouse_events: list<item: struct<timestamp_ns: int64, event_type: string, x: int64, y: int64, dx: int64, dy: int64, button: string, pressed: bool>>, raw_mouse_events: list<item: struct<timestamp_ns: int64, dx: int64, dy: int64, button_flags: string, button_data: int64, event_timestamp_ns: int64, button_flag_names: list<item: string>>>, keyboard_events: list<item: struct<timestamp_ns: int64, event_type: string, vk: int64, key_name: string>>, level_1_instruction: string, level_2_instruction: string, level_3_instruction: string>
              to
              {'frame_index': Value('int64'), 'timestamp_ns': Value('int64'), 'next_frame_timestamp_ns': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'mouse_events': List({'timestamp_ns': Value('int64'), 'event_type': Value('string'), 'x': Value('int64'), 'y': Value('int64'), 'dx': Value('int64'), 'dy': Value('int64'), 'button': Value('string'), 'pressed': Value('bool')}), 'raw_mouse_events': List({'timestamp_ns': Value('int64'), 'dx': Value('int64'), 'dy': Value('int64'), 'button_flags': Value('string'), 'button_data': Value('int64'), 'event_timestamp_ns': Value('int64'), 'button_flag_names': List(Value('string'))}), 'keyboard_events': List({'timestamp_ns': Value('int64'), 'event_type': Value('string'), 'vk': Value('int64'), 'key_name': Value('string')})}

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

GameHorizon-Data

The data home of GameHorizon Suite β€” a unified data and evaluation suite for gameplay capabilities across temporal horizons. This repository hosts the AAA gameplay recordings, the temporally aligned keyboard-mouse action streams, the multi-horizon instruction annotations, and the data for the offline and online tracks of GameHorizon-Bench.

πŸš€ Release plan

Everything is released here progressively. The annotator demo, the keybind maps, and the offline benchmark data are live now; the online track and the full corpus are being prepared.

  • 🎬 GameHorizon-Annotator-Demo/ β€” six annotated scenes to run the pipeline on
  • ⌨️ keybinds/ β€” key-to-action maps for all 21 titles
  • πŸ“Š GameHorizon-Bench-Offline/ β€” 99 recordings, 122 hours, and 290 annotated scenes for the offline benchmark
  • πŸ“Š GameHorizon-Bench (online) β€” task specifications and environment states for the stepwise online track
  • 🎯 GameHorizon-Data (full) β€” 5,000 hours of human gameplay across 21 titles: 4,571 videos at 60 fps, 411.03 M keyboard-mouse events, and 6,184,036 instructions (5,947,588 short-horizon, 189,158 medium-horizon, 47,290 long-horizon)

Watch this repository, or the GitHub repo, to follow progress.

🎬 GameHorizon-Annotator-Demo/

Six annotated gameplay scenes, one folder each. Every folder holds the recording, the per-frame keyboard-mouse stream, and the three levels of instructions.

Scene Game Frames Span Level 1 / 2 / 3
ApexLegends Apex Legends 9,972 603 s 191 / 7 / 3
Cyberpunk2077 Cyberpunk 2077 5,253 337 s 94 / 4 / 1
EldenRing Elden Ring 9,884 632 s 419 / 8 / 2
EldenRing_NightReign Elden Ring Nightreign 4,843 311 s 143 / 4 / 2
GTA5 GTA V 4,901 313 s 74 / 4 / 1
Minecraft Minecraft 5,237 331 s 92 / 4 / 1
GameHorizon-Annotator-Demo/<Scene>/
β”œβ”€β”€ <recording>.mkv                          # full session, 60 fps
β”œβ”€β”€ <scene>_annotations_per_frame.json       # per-frame keyboard and mouse events
β”œβ”€β”€ <scene>_annotations_per_frame_with_text_instructions.json  # same frames, plus Level-1/2/3 instructions
β”œβ”€β”€ level_1_instructions.json                # short-horizon operations
β”œβ”€β”€ level_2_instructions.json                # medium-horizon goals
└── level_3_instructions.json                # long-horizon strategies

*_annotations_per_frame_with_text_instructions.json β€” the same frames as *_annotations_per_frame.json, with level_1_instruction, level_2_instruction, and level_3_instruction on every frame. Each string is the clip from level_{1,2,3}_instructions.json that contains that frame.

*_annotations_per_frame.json β€” one entry per sampled frame under frames, with the scene's bounds and event counts at the top level.

{
  "scene_name": "...", "interval_start_ns": 0, "interval_end_ns": 0,
  "num_frames": 5237, "stats": {},
  "frames": [{
    "frame_index": 42,
    "timestamp_ns": 1784308897688733400,
    "next_frame_timestamp_ns": 1784308897751233400,
    "width": 1920, "height": 1080,
    "keyboard_events":  [{"timestamp_ns": 0, "event_type": "press", "vk": 32, "key_name": "SPACE"}],
    "raw_mouse_events": [{"timestamp_ns": 0, "dx": -6, "dy": 6,
                          "button_flags": "0", "button_data": 0, "button_flag_names": []}],
    "mouse_events":     [{"timestamp_ns": 0, "event_type": "move", "x": 1279, "y": 822}]
  }]
}

raw_mouse_events is the Windows RawInput stream: dx/dy are relative deltas (dx > 0 rightward, dy > 0 downward) and button_flag_names holds RI_MOUSE_* constants. mouse_events is the derived view of the same input β€” move with absolute x/y, click with button/pressed, scroll with dx/dy.

Timestamps are absolute wall-clock nanoseconds shared with the recording, which is how frames and actions stay aligned. The annotation covers one scene out of the full session, located through the video's creation_time, so keep the recording intact.

level_{1,2,3}_instructions.json β€” one entry per clip under items, in temporal order.

{
  "schema_version": 2, "game_id": "minecraft", "level": 1,
  "model": "gemini-3.5-flash", "prompt_version": "detailed-v2-mouse",
  "items": [{
    "scene": "scene_000000",
    "order": 0,
    "level": 1,
    "duration_s": 8.41,
    "instruction": "Strafe right and jump along the crimson cliffside in the Nether ...",
    "source_scenes": [],
    "sampled_frame_refs": ["frames_level_1/scene_000000/000000.jpg"],
    "status": "ok"
  }]
}

source_scenes lists the lower-level clips a Level-2 or Level-3 instruction was merged from, which is what links the three horizons into one pyramid. sampled_frame_refs records the frames the model saw.

πŸ“Š GameHorizon-Bench-Offline/

Recordings and per-frame annotations for the offline benchmark, across 10 games. The 99 videos run 122 hours and about 26.5 million frames at 60 fps. 290 scenes carry the keyboard-mouse stream together with Level-1, Level-2, and Level-3 instructions (81,320 / 2,184 / 623) on 2,880,941 frames: 943,327 keyboard events and 1,897,743 mouse events. A recording holds many scenes, so the videos sit beside the annotations instead of inside each scene folder.

Game Videos Scenes
Apex Legends 5 18
Cyberpunk 2077 24 71
Elden Ring 10 51
Elden Ring Nightreign 5 11
GTA V 11 44
Minecraft 14 40
Roco Kingdom World 7 22
The Witcher 3 11 18
Watch Dogs 2 1 1
Wuthering Waves 11 14
GameHorizon-Bench-Offline/
β”œβ”€β”€ videos/<Game>/<recording>.mkv            # source recording, 60 fps
β”œβ”€β”€ annotations/merged_index.json            # one entry per scene
β”œβ”€β”€ annotations/export_manifest.json         # which scenes were exported
└── annotations/<game>/<clip>/<scene>/
    β”œβ”€β”€ <scene>_annotations_per_frame.json
    β”œβ”€β”€ <scene>_annotations_per_frame_with_text_instructions.json
    β”œβ”€β”€ level_1_instructions.json            # short-horizon operations
    β”œβ”€β”€ level_2_instructions.json            # medium-horizon goals
    └── level_3_instructions.json            # long-horizon strategies

The two per-frame files and the three instruction files use the same fields as GameHorizon-Annotator-Demo/. merged_index.json points at each scene with a relative annotation_path and video_path.

⌨️ keybinds/

Key-to-action maps for all 21 titles, one JSON per game: a flat mapping from raw KEY_* / RI_MOUSE_* event names to their in-game meaning.

{
  "KEY_W": "Move Forward",
  "LCONTROL": "Sprint",
  "KEY_E": "Open/Close Inventory",
  "RI_MOUSE_LEFT_BUTTON_DOWN": "Attack / Destroy Block"
}

apex_legends Β· assassins_creed Β· black_myth_wukong Β· cyberpunk_2077 Β· delta_force Β· eldenring Β· eldenring_nightreign Β· escape_from_tarkov Β· genshin_impact Β· gta5 Β· honor_of_kings_world Β· minecraft Β· neverness_to_everness Β· palworld Β· pubg Β· red_dead_redemption_2 Β· roco_kingdom_world Β· the_witcher_3 Β· valorant Β· watch_dogs_2 Β· wuthering_waves

πŸ“₯ Download

hf download TencentARC/GameHorizon-Data --repo-type dataset --local-dir ./GameHorizon-Data

# or a subset
hf download TencentARC/GameHorizon-Data --repo-type dataset \
  --include 'keybinds/*' --local-dir ./GameHorizon-Data
hf download TencentARC/GameHorizon-Data --repo-type dataset \
  --include 'GameHorizon-Bench-Offline/**' --local-dir ./GameHorizon-Data

πŸ“œ License

Apache-2.0. The gameplay recordings are released for research use; all game content remains the property of its respective publishers.

πŸ“– Citation

@article{GameHorizonSuite2026,
      title={GameHorizon Suite: Multi-Horizon Data and Evaluation in Gameplay},
      author={Yiran Wang and Xingyilang Yin and Junfu Pu and Guangzhi Wang and Kaifeng Li and Mingyu Ouyang and Huiqiang Sun and Lingen Li and Cheng Cheng and Wangbo Yu and Honghao Chen and Xiaodong Cun and Chi-Man Pun and Zhiguo Cao and Ying Shan},
      year={2026},
      journal={arXiv preprint arXiv:2609.25001},
      url={https://arxiv.org/abs/2609.25001},
}
Downloads last month
589

Paper for TencentARC/GameHorizon-Data