Skip to content

ButterflyStats/reborn-resources-handles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Dota 2 Resource Lookup

This repository contains an auto-generated resources.json lookup table for all VMLD and VPCF files used in Dota 2.

The lookup table allows you to properly identify which particles and models are loaded. The resource hash in the json is equivalent to the ID found in all the IResourceHandle<> attributes (e.g. m_nModelIndex) as well as the index for all PARTICLE_CREATE packets.

Format

The file is layed out like this:

{
    "time": "<Time when this file was generated>",
    "entries": {
        "<Hash of resource>": "<Path to resource>",
        "<.......>"...
     }
 }

Usage

Import resources.json into your program. That's it.

Generating

The code that generates this file is part of a larger non-public project at the moment and can't be copied out easily. See the following blog post for an explanation on how you can generate the data yourself, includes source code: http://invokr.org/reverse-engineering-dota2-resource-handles.html

About

Mapping Dota 2 Reborn resource hashes to their path's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published