Skip to content

bkacjios/dota2-icons-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Dota2 Mana and Spell Icons Lua port of https://github.com/rossengeorgiev/dota2mod_manacost

This script will automatically parse all spell icons and item icons. It will use the data found in the vpk to overlay manacost and damage type onto the image.

Install instructions

  • Download latest VPK here
  • Create directory SteamApps/common/dota 2 beta/game/dota_mods
  • Add the downloaded pak01_dir.vpk to your newly created folder
  • Edit SteamApps/common/dota 2 beta/game/dota/gameinfo.gi
  • Add the line highlighted in the image below
  • gameinfo.gi
  • Launch Dota2 and enjoy! dota2

To-do list

  • Convert struct to ffi and drop dependancy
  • Convert imlib2 to ffi and drop dependancy

Build Requirements

Build instructions

  • Edit render.lua and modify any of the paths to suit your needs
  • You should only need to modify vpk_dir and vpk_output
  • run luajit render.lua from the repository directory

Credits

  • CapsAdmin - For his VDF parser
  • rossengeorgiev - VPK class and original icon rendering and inspiration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages