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
- Host: GitHub
- URL: https://github.com/beeequeue/remsg
- Owner: beeequeue
- License: mit
- Created: 2024-08-31T07:32:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-01T13:51:01.000Z (10 months ago)
- Last Synced: 2025-04-30T14:24:45.688Z (9 months ago)
- Topics: mhrise, monster-hunter, monster-hunter-rise, re-engine, reframework, remsg
- Language: TypeScript
- Homepage:
- Size: 361 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# remsg
[](https://www.npmjs.com/package/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)
```