An open API service indexing awesome lists of open source software.

https://github.com/beeequeue/remsg

A library for parsing and serializing MSG files for the RE Engine
https://github.com/beeequeue/remsg

mhrise monster-hunter monster-hunter-rise re-engine reframework remsg

Last synced: 9 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# remsg

[![npm](https://img.shields.io/npm/v/remsg)](https://www.npmjs.com/package/remsg)
![npm bundle size](https://deno.bundlejs.com/?q=remsg&badge)
![node-current](https://img.shields.io/node/v/remsg)

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](https://github.com/dtlnor/REMSG_Converter) which is based on the work in [mhrice](https://github.com/wwylele/mhrice).

## Usage

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

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