remsg

A library for parsing and serializing MSG files for the RE Engine.

  • Types
  • ESM
License
MIT
Install Size
22.1 kB(51.2 kB)
Vulns
0
Published

Get started

$npm install remsg
$pnpm add remsg
$yarn add remsg
$bun add remsg
$deno add npm:remsg
$vlt install remsg

Weekly DownloadsAcross all versions

Node.js
>=20.19

Versions

View all versions
1.2.1
latest

Readme

remsg

Open on npmx.dev Open on npmx.dev Open on npmx.dev npm bundle size

A library for parsing and serializing MSG files for the RE Engine, more specifically for Monster Hunter: Rise.

This library pretty much a port of REMSG_Converter which is based on the work in mhrice.

Usage

import { readFileSync } from "fs"
import { encodeMsg, decodeMsg } from "remsg"

const data = readFileSync("./somefile.msg.23")
const json = decodeMsg(data)
const msg = encodeMsg(json)