beeequeue / gmd

A library for parsing and serializing GMD files for the MT Framework engine

Repository from Github https://github.combeeequeue/gmdRepository from Github https://github.combeeequeue/gmd

@beequeue/gmd

npm npm bundle size node-current

A library for parsing and serializing GMD files for the MT Framework engine, more specifically for Monster Hunter: Generations Ultimate.

Largely based on the work in onepiecefreak3/GMDConverter.

Usage (CLI)

pnpm install -g @beequeue/gmd
gmd --help

The input can be a file, directory, or glob pattern.

By default the output will be written to the same directory as the input file.

--option can be used to change this to a specific directory.

gmd decode --output ./output path/to/files/**/*.gmd
gmd encode ./output/**/*

Usage

import { readFileSync } from "fs"
import { encodeGmd, decodeGmd } from "@beequeue/gmd"

const buffer = readFileSync("./somefile.gmd")
const json = decodeGmd(buffer)
const data = encodeGmd(json)

About

A library for parsing and serializing GMD files for the MT Framework engine

License:MIT License


Languages

Language:TypeScript 73.3%Language:JavaScript 26.7%