homm3-parsers
v0.8.11
Published
Collection of binary parsers able to parse various file formats related to Heroes of Might and Magic III
Maintainers
Readme
Table of Contents
About The Project
The project was born as I was working on online map viewer for Heroes of Might and Magic III. The main idea was to make it easy t parse different binary respources needed for that in node and browser.
Current focus is on h3m files, with rudimentary support for lod, def and pcx.
Built With
Getting Started
Installation
User npm
npm install --save homm3-parsersor yarn
yarn add homm3-parsersUsage
Parsing h3m files
const fs = require('fs');
const { parseH3MFile } = require('homm3-parsers')
async function parse(path) => {
const file = await fs.promises.readFile(path)
return = parseH3MFile(file)
}Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature) - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Sergii Kostyrko - [email protected]
Project Link: https://github.com/srg-kostyrko/homm3-parser
