Collection of parsers that are are able to read different binary files associated with Heroes of Might and Magic III
Explore the docs »
Report Bug
·
Request Feature
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
.
User npm
npm install --save homm3-parsers
or yarn
yarn add homm3-parsers
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)
}
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
Distributed under the MIT License. See LICENSE
for more information.
Sergii Kostyrko - srg.kostyrko@gmail.com
Project Link: https://github.com/srg-kostyrko/homm3-parser