Manta Config Engine
Dota 2 configuration builder. Compiles JSON
to autoexec
. There also is a web-app to easily create presets and build your own autoexec. The app is hosted on my personal server, so you don't have to set it up to use it.
CLI Installation
- Install node.js
- Run
npm install -g dota2-manta-config-engine
. - Execute
manta-config-engine path-to-preset
, wherepath-to-preset
is a relative path.
Beware that the CLI will assume that your Dota 2 is installed in the default Steam location. Use --path
to specify a different one.
Library Installation
- Install node.js
- Run
npm install -g dota2-manta-config-engine
- Require manta in your code
var manta = require('dota2-manta-config-engine')
CLI options
--path=customPath
set a custom output path
Library usage
manta.compile(preset, callback)
- Expects a valid preset, see
prests/defaut.json
. - Calls
callback
witherr
anddata
. Data is an object containing the.cfg
filenames and their compiled data.
manta.positions
- Returns an object with all camera positions manta currently uses
manta.phrases
- Returns an object containing all current chatwheel phrases
manta.LayoutParser
- internally used class to parse layouts
manta.SettingParser
- internally used class to parse settings
manta.ChatwheelParser
- internally used class to parse chatwheels
manta.DependencyParser
- internally used class to resolve dependencies
Contribute Your Presets
- Fork this project.
- Create your own preset file.
- Create a pull request.
Contribute Engine Changes
- Fork this project.
- Implement new features.
- Create a pull request.