rsc-tools
v2.0.3
Published
Parser for the BYOND RSC format
Downloads
27
Readme
rsc-tools
Library for packing and unpacking .rsc files
Example Usage
import * as fs from "node:fs";
import { packRsc, unpackRsc } from "rsc-tools";
const file = fs.readFileSync("./data.rsc");
const rsc = unpackRsc(file);
rsc[0].path += ".alt";
const newFile = Buffer.from(packRsc(rsc));
fs.writeFileSync("./data.rsc", newFile);