Code Monkey home page Code Monkey logo

manta-config-engine's Introduction

Manta Config Engine

MIT License Code Climate NPM Downloads NPM Dependencies Code Documentation

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, where path-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 with err and data. 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.

Special Thanks

manta-config-engine's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.