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

Dota 2 3D Models

Dota 2

Every 3D model of Dota 2 as glTF (.glb): all heroes, every cosmetic item and style, couriers, wards, creeps, Roshan, buildings, map props, event and interface models, with their skeletons, animations and materials, textures inside each file. 61,385 files, 60.6 GB. Open them in Blender, three.js, Babylon.js, any glTF viewer, or see them all in 3D on Dotadex.

What's inside

Folder What Files Size
models/items/ cosmetics 39,972 29.0 GB
models/heroes/ heroes 5,567 13.5 GB
textures/materials/ material variants' textures 4,427 863 MB
models/props_structures/ buildings 1,479 2.0 GB
models/events/ events 1,039 3.3 GB
models/creeps/ creeps, Roshan 953 2.5 GB
models/courier/ couriers 672 788 MB
models/props_gameplay/ gameplay props 611 566 MB
models/ui/ interface models 577 1.3 GB
models/props_debris/ map props 483 247 MB
models/props_tree/ trees 464 422 MB
models/particle/ models particles draw 375 226 MB
models/props_nature/ map props 354 236 MB
models/props_mines/ map props 302 139 MB
Path What
models/<path>.glb A model: meshes, skeleton, animations, materials, textures inside
models/<path>.glb.gz The same model lighter for web pages (gunzip it: a valid .glb)
models/<path>.sequences.json Its animations: looping or not, activities (ACT_DOTA_IDLE), effects and lines they start
models/<path>.attachments.json Attachment points (attach_hitloc, attach_weapon, ...): bones, offsets, rotations
models/<path>.cloth.json Cloth, hair and beard physics as the game simulates them
models/<path>.flex.json Face controllers and their morph rules (lip sync)
models/<path>.skins.json, textures/ Material variants (golden versions and the like) and their textures
materials/dynamic.json, cubemaps/ Materials the game animates; the cube maps they reflect

A hero model is the bare body: arms, weapons and the rest are cosmetics worn on top, each its own file (models/items/<hero>/...), bound to the hero's bones by name, as in the game. The glTF files are in metres, y up; the JSON files keep the game's units (inches, z up). Materials keep Dota's shader parameters in extras.vmat.

Names people know: names.json maps a model to its name in the game: "models/items/pudge/pudge_skeleton_hook_body.glb": ["Dragonclaw Hook", "cosmetic"] (kinds: hero, cosmetic, unit).

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-models/resolve/main/models/heroes/pudge/pudge.glb

Python (huggingface_hub):

from huggingface_hub import hf_hub_download, snapshot_download

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

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

Command line (pip install -U huggingface_hub):

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

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-models/resolve/main/files.json")).json(); // [[path, size], ...]

How it stays up to date

Converted from the game files by models.js with Source 2 Viewer (models), particles.js (sequences, attachments), cloth.js, flex.js, skins.js, materials.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 (this one)
  • dota2-textures: every texture of the 3D models and maps, on its own
  • 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
9,120