Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
imagewidth (px)
256
1.02k

Dota 2 Textures

Dota 2

Every texture of Dota 2's 3D world on its own: the colour maps, normal maps and masks of every hero, cosmetic, unit, building, prop and map, the particles' textures, skyboxes. 99,164 files, 19.7 GB, as PNG with the pixels the game draws (decoded from the GPU's block compression; full size), high dynamic range ones as EXR. The 3D models in dota2-models already hold theirs inside; here each is a file for your own renders, mods and art.

What's inside

Folder What Files Size
materials/models/items/ cosmetics 51,159 7.4 GB
materials/models/heroes/ heroes 6,838 1.3 GB
materials/vgui/hud/ the HUD 6,707 22 MB
materials/stickers/season_6/ stickers 2,192 537 MB
materials/stickers/monster_hunter/ stickers 1,933 2.0 GB
materials/particle/sprays/ sprays 1,861 220 MB
materials/stickers/season_10/ stickers 1,072 265 MB
materials/stickers/crownfall/ stickers 1,013 68 MB
materials/stickers/season_13/ stickers 978 315 MB
materials/stickers/season_12/ stickers 944 260 MB
materials/models/props_structures/ buildings 931 367 MB
materials/stickers/season_11/ stickers 904 222 MB
materials/models/creeps/ creeps, Roshan 772 276 MB
materials/models/courier/ couriers 770 154 MB

At the game's paths: <name>.vtex_c in the game is <name>.png here. A texture of several pictures is several files: an animated sheet as <name>_seq<n>.png (or a file a frame, _seq<n>_<frame>) with <name>.mks describing its frames, a cube map as its six faces _bk _dn _ft _lf _rt _up, a volume as its slices _z000, _z001, ...

Dota's hero textures come in sets: _color (colour, alpha often a mask), _normal, _masks1 / _masks2 (detail, metalness, self-illumination, specular, rim, tint by channel), _specexp, _rimmask.

How to use it

One file, straight from its link (works in a browser, an <img>, fetch; served with CORS):

https://huggingface.co/datasets/Sqls1/dota2-textures/resolve/main/materials/models/heroes/pudge/pudge2_body_color_psd_e676b3c.png

Python (huggingface_hub):

from huggingface_hub import hf_hub_download, snapshot_download

# one file
path = hf_hub_download("Sqls1/dota2-textures", "materials/models/heroes/pudge/pudge2_body_color_psd_e676b3c.png", repo_type="dataset")

# a whole folder
snapshot_download("Sqls1/dota2-textures", repo_type="dataset", allow_patterns="materials/models/heroes/pudge/*", local_dir="dota2-textures")

Command line (pip install -U huggingface_hub):

hf download Sqls1/dota2-textures --repo-type dataset --include "materials/models/heroes/pudge/*" --local-dir dota2-textures

Find anything: files.json at the root lists every file with its size, one download instead of walking the folders:

const { files } = await (await fetch("https://huggingface.co/datasets/Sqls1/dota2-textures/resolve/main/files.json")).json(); // [[path, size], ...]

How it stays up to date

Exported from the game files by textures.js. The tracker checks Steam every six hours; after a game update it exports only what changed and removes what the game removed. Everything at the game's own paths, so a file you know from the game is easy to find.

Made for Dotadex, a site that shows every Dota 2 hero and cosmetic in 3D as the game does, and open to everyone.

The whole family

  • dota2-data: every script and text of the game as JSON (items, heroes, abilities, 28 languages)
  • dota2-images: every picture of the interface: icons, portraits, loading screens
  • dota2-videos: every video of the interface: animated hero portraits, trailers
  • dota2-models: every 3D model: heroes, cosmetics, units, buildings, props
  • dota2-textures: every texture of the 3D models and maps, on its own (this one)
  • dota2-particles: every particle effect system and its textures
  • dota2-sounds: every sound: voice lines, abilities, music, announcers
  • dota2-maps: every map and scene: the main map, events, backgrounds, MVP screens

License and credit

Everything here is Valve's content (and the Dota 2 Workshop authors' for cosmetics), taken from the game files and shared for reference, research, fan sites, art and other non-commercial community projects. Dota 2 is a registered trademark of Valve Corporation. This is an unofficial, fan-made dataset, not affiliated with or endorsed by Valve. If you use it, please credit Valve and Dota 2.

Downloads last month
276