D2Tool is a GUI application that helps you manage your Dota 2 hero grid configurations. It automatically updates your Dota 2 heroes grid config files periodically in the background, organizing heroes based on their performance data from Dota 2 Pro Tracker.
- Automatic Grid Generation: Creates hero grid layouts based on hero ratings and match counts from Dota 2 Pro Tracker
- Position-Based Organization: Organizes heroes by their positions (1-5) and performance metrics
- Multiple Account Support: Finds and updates grid configs for all Steam accounts on your computer
- Background Operation: Can run in the background and update grids periodically
- Startup Integration: Option to run automatically when your computer starts (Windows supported)
- User-Friendly Interface: Simple GUI with main and settings panels
D2Tool fetches hero statistics from Dota 2 Pro Tracker, then:
- Finds your Steam installation and locates all hero grid config files
- Removes any previously generated D2Tool configurations
- Creates new hero grid layouts organized by position and performance metrics
- Saves the updated configurations back to your Dota 2 config files
- Go 1.23 or later
- Fyne library
- Fyne-cross library
- Steam and Dota 2 installed
To install the Fyne library, run:
go get fyne.io/fyne/v2
go get github.com/fyne-io/fyne-cross
go mod tidy
You may need additional dependencies for Fyne. See the Fyne Getting Started guide for platform-specific requirements.
To build the application, run:
go build
Pre-built binaries for Windows are available in the releases section.
To run the application, simply execute the built binary:
./d2tool
On Windows, you can double-click the executable file.
The main panel allows you to:
- View and manage hero grid config files
- Add new config files manually
- Find config files automatically using Steam path
- Select which positions (1-5) to include in the layouts
- Run the hero grid generation process
The settings panel allows you to:
- Enable or disable run on startup (Windows only)
If D2Tool cannot find your Steam installation:
- Click "Add Config" and manually navigate to your hero grid config file
- The file is typically located at:
C:\Program Files (x86)\Steam\userdata\<your-steam-id>\570\remote\cfg\hero_grid_config.json
If your updated grid layouts don't appear in Dota 2:
- Make sure Dota 2 is closed when running D2Tool
- Restart Dota 2 after running D2Tool
- In Dota 2, check the "Grid Editor" to see your updated layouts
This project is licensed under the MIT License - see the LICENSE file for details.