Datasets:
CounterStrike-Dataset
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.
- Project page: arnieramesh.com/counterstrike
- Code, data loader & visualizer: github.com/AnirudhhRamesh/CounterStrike-Dataset
- Archived NeurIPS 2026 E&D CounterStrike-1K release: ArnieRamesh/CounterStrike-1K
Quickstart
Install the reader from CounterStrike-Dataset (uv sync --locked --no-dev --extra dataset) and stream windows 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") # optional: split="train", map_name="de_dust2"
modalities = ("rgb", "masks", "visibility", "actions", "state") # also supports "audio"
# Load one player perspective (shape: T x ...)
sample = next(dataset.load_samples([{"sample_key": "match_2762714ec0__r019_p01", "num_frames": 16}], modalities=modalities))
# Load all 10 synchronized POVs on the shared 64 Hz tick grid (CT 0-4, T 5-9; shape: 10 x T x ...)
round_sample = dataset.read_round(sample["match_id"], sample["round_idx"], start_tick=int(sample["ticks"][0]), num_frames=16, modalities=modalities)
valid = round_sample["valid_frames"] # bool (10, T); False with zero-padding after a player's clip ends
See quickstart.ipynb for visualization/MP4 export and filtering.ipynb for remote DuckDB event queries (dataset.label_paths()) and PyTorch batching.
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.
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}
}
License & Acknowledgements
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.
Special thanks to Oliver Cameron at Odyssey for supporting this work with a compute grant, to Prof. Arthur Gervais for academic support, and to the maintainers of CS Demo Manager, demoparser2, AWpy, and Source 2 Viewer.
- Downloads last month
- 635