We already know most of the YGOPro/EDOPro related projects are quite obsolete and hard to contribute since they are developed in quite low level (or not-using) languages. (e.g. CoffeeScript, C/C++, etc.) we know those ecosystems will eventually occur tons of problem. so I had decided to resolve this issues in modern and elegant way.
so this is a native parser project for node environment. this means I want to live lazy like other webdevs 😂. but you would realize that providing modules for productive languages can have a lot of impact on improving development ecosystem of YGOPro/EDOPro.
- Node.js >= 14
npm i yrp
or if you use yarn:
yarn add yrp
import { Replay } from "yrp";
// ...
// of course you can load replay from raw buffer too!
const replay = await Replay.fromFile("./target-file.yrp");