Datasets:
CounterStrike-1K
A large-scale, 10-POV Counter-Strike 2 gameplay dataset for multi-agent world modeling, action modeling, and 3D scene understanding.
Every retained round captures all 10 synchronized player perspectives from professional HLTV matches at 1280×720, 32 FPS with lossless audio, aligned 64 Hz replay controls, player/game states, sparse game events, 2D player visibility/bounding boxes, pixel-accurate masks, 3D skeletal poses, and camera matrices.
Quickstart
Check out quickstart.ipynb for single-POV and 10-POV loading, visualization, and MP4 export, and filtering.ipynb for remote DuckDB event queries and PyTorch batching.
Install the reader from CounterStrike-Dataset (Python 3.12 + uv):
git clone https://github.com/AnirudhhRamesh/CounterStrike-Dataset.git
cd CounterStrike-Dataset
uv sync --extra dataset
Stream CounterStrike-1K directly from Hugging Face — indexes load first and media shards are cached on demand:
from dataset.cs2_dataset import CounterStrikeDataset
dataset = CounterStrikeDataset.from_hub(
"ArnieRamesh/CounterStrike-Dataset",
release="1k",
split="train",
sequence_length=16,
modalities=("masks",), # also supports "audio"; RGB, actions, and states are included
)
sample = next(iter(dataset))
print(sample["sample_key"], sample["rgb"].shape)
Releases
This repository covers Ancient, Anubis, Cache, Dust II, Inferno, Mirage, Nuke, and Overpass, with release membership and splits stored under releases/<name>/. A round is included only when all 10 POVs pass automated media and label QA.
| Release | Path | Maps | Modalities | Matches | Rounds | Clips | POV-Hours | Synchronized Hours (2+ POVs) |
|---|---|---|---|---|---|---|---|---|
| CounterStrike-1K | releases/1k/ |
8 maps | RGB, audio, actions, states, events, cameras, poses, boxes, masks | 318 | 6,508 | 65,080 | 1,208.91 | 159.40 |
A POV-hour counts one player's recording (the ten simultaneous views of a round are counted separately); Synchronized hours count unique wall-clock time during which at least two players are recorded simultaneously.
Note: The earlier NeurIPS 2026 E&D publication of CounterStrike-1K (7 maps, 1,490.82 POV-hours) remains archived at ArnieRamesh/CounterStrike-1K.
Map breakdown (CounterStrike-1K)
| Map | Slug | Matches | Rounds | Clips | POV-Hours | Synchronized Hours (2+ POVs) |
|---|---|---|---|---|---|---|
| Ancient | de_ancient |
45 | 938 | 9,380 | 153.49 | 20.72 |
| Anubis | de_anubis |
37 | 798 | 7,980 | 151.34 | 19.88 |
| Cache | de_cache |
39 | 805 | 8,050 | 150.88 | 19.81 |
| Dust II | de_dust2 |
40 | 804 | 8,040 | 153.01 | 19.93 |
| Inferno | de_inferno |
39 | 759 | 7,590 | 151.34 | 19.74 |
| Mirage | de_mirage |
40 | 879 | 8,790 | 152.49 | 20.24 |
| Nuke | de_nuke |
37 | 802 | 8,020 | 149.70 | 20.05 |
| Overpass | de_overpass |
41 | 723 | 7,230 | 146.66 | 19.03 |
| Total | 8 maps | 318 | 6,508 | 65,080 | 1,208.91 | 159.40 |
Splits
Splits (train.parquet, val.parquet, test.parquet under releases/1k/) are disjoint by whole match and target 80% / 10% / 10% of verified frames, balanced per map.
Repository Structure
CounterStrike-Dataset/
├── metadata/
│ ├── matches.parquet # Verified matches (map, clip/round/frame counts, demo_sha256, hltv_url)
│ ├── rounds.parquet # Verified 10-POV round table
│ └── clips.parquet # Verified clip manifest with exact decoded frame & audio counts
├── indexes/
│ └── shards.parquet # Shard paths, byte sizes, counts, and companion mask paths
├── releases/
│ └── 1k/ # matches.parquet + {train,val,test}.parquet
├── labels/map=<map>/match=<match_id>/
│ ├── actions.parquet # 64 Hz per-tick player actions
│ ├── states.parquet # 64 Hz per-tick player & match state
│ ├── events.parquet # 64 Hz game events (28 event types)
│ ├── cameras.parquet # Frame-aligned 4×4 view & projection matrices (POV + viewmodel)
│ └── poses.parquet # Frame-aligned 3D skeletal joint transforms (world coordinates)
├── annotations/map=<map>/match=<match_id>/
│ └── visibility.parquet # Per-frame 2D player bounding boxes, relation, LOS & smoke flags
└── shards/map=<map>/match=<match_id>/
├── 000000.tar # Base WebDataset shard (5 whole rounds by default)
└── 000000.masks.tar # Companion lossless mask shard
Data Format & Fields
WebDataset shard members
Each clip inside 000000.tar shares the sample key match_<match_id>__r<round_idx:03d>_p<pov_idx:02d>:
| Member | Format | Description |
|---|---|---|
<key>.rgb.mp4 |
H.264 (h264_nvenc, yuv420p, CQ 30) |
1280×720 @ 32 FPS, no HUD/UI/panorama, viewmodel enabled |
<key>.audio.flac |
Lossless FLAC (stereo) | Synchronized in-game audio (voice chat disabled) |
<key>.actions.npy |
Structured NumPy array | Frame-aligned tick, delta_pitch, delta_yaw, 12-bit buttons, weapon_select |
<key>.states.npy |
Structured NumPy array | Frame-aligned 3D position/velocity, view angles, stance, weapon/ammo/inventory, vitals, economy, scores, kills |
<key>.metadata.json |
JSON | sample_key, map, match_id, round_idx, pov_idx, player_id, team_side, frame0_tick, frames, fps, frame_tick_stride, audio counts |
<key>.masks.mkv (companion) |
FFV1 lossless uint8 (gray) |
Mutually exclusive label IDs (0 background, 1 first-person viewmodel, 2–11 player bodies, 12–21 carried weapons, 22 dropped weapons) |
Citation
If you use CounterStrike-Dataset in your research, please cite:
@dataset{counterstrike1k2026,
title = {CounterStrike-1K: A Multi-Perspective Dataset of Professional Gameplay for World Modeling},
author = {Ramesh, Anirudhh},
year = {2026},
publisher = {Hugging Face},
version = {1.0.0},
url = {https://huggingface.co/datasets/ArnieRamesh/CounterStrike-1K}
}
Acknowledgements
- Special thanks to Oliver Cameron at Odyssey for supporting this work with a compute grant.
- Thanks to Prof. Arthur Gervais for academic support.
- Thanks to Chris Wendler for his support.
- Thanks to Daniel van Strien from Hugging Face for help & storage grant approval.
- Thanks to the maintainers of CS Demo Manager, demoparser2, AWpy, and Source 2 Viewer.
License
Released for non-commercial research under CC BY-NC 4.0, to the extent of the authors' rights. Counter-Strike 2, its maps, models, and game assets remain Valve's property. Takedown requests can be sent to anirudhh[dot]ramesh[at]gmail[dot]com.
- Downloads last month
- 780