File size: 7,993 Bytes
5faf0a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7c741f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5faf0a7
 
 
 
7c741f4
3fc98b3
7c741f4
5faf0a7
7c741f4
5faf0a7
3fc98b3
 
 
 
 
 
 
 
 
 
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
 
 
 
5faf0a7
 
7c741f4
 
5faf0a7
7c741f4
 
 
 
5faf0a7
7c741f4
5faf0a7
7c741f4
c2b7c31
 
7c741f4
 
c2b7c31
7c741f4
 
 
 
5faf0a7
7c741f4
 
 
5faf0a7
 
7c741f4
5faf0a7
 
7c741f4
 
c2b7c31
7c741f4
 
 
 
c2b7c31
 
7c741f4
c2b7c31
 
7c741f4
 
 
 
c2b7c31
 
7c741f4
c2b7c31
 
7c741f4
5faf0a7
7c741f4
 
5faf0a7
 
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
 
 
 
 
 
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
 
 
 
 
 
 
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
 
 
 
 
5faf0a7
7c741f4
5faf0a7
7c741f4
 
 
 
 
 
 
 
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
5faf0a7
7c741f4
 
 
 
 
 
5faf0a7
7c741f4
5faf0a7
7c741f4
 
 
5faf0a7
7c741f4
5faf0a7
 
 
 
 
7c741f4
 
 
 
 
 
5faf0a7
 
 
7c741f4
5faf0a7
7c741f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
---
license: cc-by-nc-4.0
pretty_name: CounterStrike-1K
task_categories:
- video-classification
- reinforcement-learning
- video-to-video
- robotics
tags:
- counter-strike-2
- game
- world-model
- video-prediction
- action-conditioned-video
- multi-view
- multi-agent
- webdataset
- audio
- esports
size_categories:
- 10K<n<100K
configs:
- config_name: manifest
  data_files:
  - split: metadata
    path: manifest.parquet
- config_name: rounds
  data_files:
  - split: metadata
    path: round_index.parquet
- config_name: matches
  data_files:
  - split: metadata
    path: match_index.parquet
- config_name: subsets
  data_files:
  - split: train_10h
    path: subsets/train_10h.parquet
  - split: train_50h
    path: subsets/train_50h.parquet
  - split: train_100h
    path: subsets/train_100h.parquet
  - split: train_500h
    path: subsets/train_500h.parquet
  - split: train_1000h
    path: subsets/train_1000h.parquet
  - split: train_all
    path: subsets/train_all.parquet
  - split: dust2_100h
    path: subsets/dust2_100h.parquet
  - split: full_demo_eval
    path: subsets/full_demo_eval.parquet
---

# CounterStrike-1K

<p align="center">
  <img src="media/introduction_video_wall_1000_hours.gif" alt="100+ POV video wall — 1,000+ hours of professional play" width="100%"/>
</p>

**1,490 rendered POV-hours · 7,347 synchronized rounds · 73,470 POV clips · 7 maps · 720p + audio**

<h3 align="center">Synchronized 10-POV rounds with per-frame action overlays</h3>
<p align="center">
  <img src="media/multi_pov_with_actions.gif" alt="10 synchronized POVs with per-frame action HUD overlays" width="100%"/>
</p>

<h3 align="center">Seven active-duty maps</h3>
<p align="center">
  <img src="media/seven_maps.gif" alt="Ancient · Anubis · Dust2 · Inferno · Mirage · Nuke · Overpass" width="100%"/><br/>
  <sub>Ancient · Anubis · Dust2 · Inferno · Mirage · Nuke · Overpass</sub>
</p>

CounterStrike-1K is the first grounded, professional-grade Counter-Strike 2 dataset with **10 synchronized first-person perspectives per round**, captured from professional match demos. It is designed for video world modeling, action-conditioned video prediction, multi-view consistency research, and audio-conditioned learning.

## Quickstart

Start a fresh `uv` project and add the loader:

```bash
mkdir cs1k-demo && cd cs1k-demo
uv init
uv add datasets "counterstrike1k @ git+https://github.com/AnirudhhRamesh/counterstrike1k"
```

<details>
<summary>Using pip instead</summary>

```bash
mkdir cs1k-demo && cd cs1k-demo
python -m venv .venv && source .venv/bin/activate
pip install datasets "counterstrike1k @ git+https://github.com/AnirudhhRamesh/counterstrike1k"
```
</details>

Stream one sample from the public shards — no download required:

```python
from datasets import Video, load_dataset
from counterstrike1k import decode_sample

shards = load_dataset(
    "ArnieRamesh/CounterStrike-1K-360-wds", split="train", streaming=True,
).cast_column("mp4", Video(decode=False))
sample = decode_sample(next(iter(shards)))

print(sample["actions"].shape)   # (frames,) tick, delta_pitch, delta_yaw, buttons bitmask
print(sample["state"].shape)     # (frames,) pos, view, weapon, ammo, hp, money, score, …
print(len(sample["video"]))      # mp4 bytes with synchronized audio
```

Browse the manifest:

```python
import pandas as pd
from huggingface_hub import hf_hub_download

manifest = pd.read_parquet(hf_hub_download(
    "ArnieRamesh/CounterStrike-1K", "manifest.parquet", repo_type="dataset",
))
mirage_train = manifest[(manifest["map_slug"] == "mirage") & (manifest["split"] == "train")]
```

Tiny offline preview (one match, ~2 GB):

```python
from counterstrike1k import load_sample
for sample in load_sample():
    print(sample["metadata"]["sample_key"])
    break
```

Verify that decoded actions actually align with the video — `overlay_frame` draws a HUD with WASD/FIRE/JUMP, mouse delta, HP/armor/money, and score onto any frame:

```python
from counterstrike1k import overlay_frame, overlay_video

overlay_frame(sample, 60)                          # PIL.Image, ready for display()
overlay_video(sample, "debug.mp4", max_frames=192) # full debug clip
```

The end-to-end Jupyter walkthrough is `cs2_release/quickstart.ipynb` in the [source repo](https://github.com/AnirudhhRamesh/CounterStrike-1K).

## Repos

| Repo | Contents | Size |
|---|---|---:|
| `ArnieRamesh/CounterStrike-1K` | Manifest, round/match indices, schema, subsets, Croissant. | ~700 MB |
| `ArnieRamesh/CounterStrike-1K-sample` | One match-map (16 rounds, 160 POV clips). | ~2 GB |
| `ArnieRamesh/CounterStrike-1K-360-wds` | 360p WebDataset shards (recommended for training). | ~1.3 TB |
| `ArnieRamesh/CounterStrike-1K-720-wds` | 720p WebDataset shards. | ~1.5 TB |

## What's in a sample

Each WebDataset sample is one player POV across one round.

| Member | Format | Description |
|---|---|---|
| `mp4` | H.264 + AAC | 720p or 360p video at 32 FPS with synchronized stereo game audio |
| `actions.bin` | packed binary, 14 B/frame | `tick`, `delta_pitch`, `delta_yaw`, 12-button bitmask |
| `state.bin` | packed binary, 37 B/frame | view, world position, active weapon, ammo, HP, armor, money, score, helmet/defuser/bomb |
| `events.json` | JSON | Sparse events: round boundaries, kills (with attacker/victim/assister `pov_idx`), bomb plant/defuse/explode, blinds |
| `json` | JSON | Public sample metadata: ids, alignment, alive window, weapon flags, kill counts |

Buttons (bit order): `FORWARD, BACK, LEFT, RIGHT, JUMP, DUCK, WALK, FIRE, RIGHTCLICK, RELOAD, INSPECT, USE`.

Group POVs of one synchronized round via the shared `round_id` = `match_{12hex}__r{round:03d}`. Sample keys are `match_{12hex}__r{round:03d}__p{pov:02d}` with `pov_idx ∈ {0..9}`.

Full field-level schema is in `schema/`.

## Splits and subsets

Splits are disjoint at the **match-map** level — the same match never appears in two splits.

| Split | POV-hours | Match-maps | Rounds | POV clips |
|---|---:|---:|---:|---:|
| train | 1,341.7 | 301 | 6,573 | 65,730 |
| val   |    74.5 |  21 |   383 |  3,830 |
| test  |    74.5 |  20 |   391 |  3,910 |

Bandwidth-friendly subsets:

```python
ten_hours = pd.read_parquet(hf_hub_download(
    "ArnieRamesh/CounterStrike-1K", "subsets/train_10h.parquet", repo_type="dataset",
))
dust2 = pd.read_parquet(hf_hub_download(
    "ArnieRamesh/CounterStrike-1K", "subsets/dust2_100h.parquet", repo_type="dataset",
))
```

Available: `train_10h.parquet`, `train_50h.parquet`, `train_100h.parquet`, `train_500h.parquet`, `train_1000h.parquet`, `train_all.parquet`, `dust2_100h.parquet`, `full_demo_eval.parquet`.

## Maps

Ancient · Anubis · Dust2 · Inferno · Mirage · Nuke · Overpass — all 7 active-duty competitive maps, balanced by rendered POV-frame count.

## Intended uses

- Action-conditioned video prediction
- Game world modeling
- Multi-view and multi-agent consistency evaluation
- Audio-conditioned prediction
- State-conditioned modeling
- Representation learning

## Out of scope

- Re-identifying players or linking players across matches
- Recovering Steam IDs or online accounts
- Player profiling, ranking, anti-cheat, surveillance

Public artifacts contain no Steam IDs, online account identifiers, raw HLTV identifiers, profile URLs, player names, or chat text. `pov_idx` is anonymous and only stable within a single match.

## Citation

```bibtex
@dataset{counterstrike1k2026,
  title     = {CounterStrike-1K: Synchronized Multi-POV Counter-Strike 2 for World Modeling},
  author    = {Ramesh, Anirudhh},
  year      = {2026},
  publisher = {Hugging Face},
  version   = {1.0.0},
  url       = {https://huggingface.co/datasets/ArnieRamesh/CounterStrike-1K}
}
```

## License

CounterStrike-1K release artifacts are distributed for non-commercial research under CC BY-NC 4.0 to the extent of the authors' rights. Counter-Strike 2 and underlying game assets remain property of Valve Corporation. Raw HLTV demo files are not redistributed.