Skip to the content.

Home > rsc-tools

rsc-tools package

Library for unpacking and repacking BYOND .rsc files

Remarks

The unpackRsc() and packRsc() functions are used to convert between buffers and arrays of RscEntries, the latter are used to see and manipulate the contents of the files inside the .rsc

Classes

Class Description
EmptyRscEntry A hole in the rsc file
RscEntry Entry representing a single file in an RSC file

Abstract Classes

Abstract Class Description
BaseRscEntry Entry in an RSC file

Enumerations

Enumeration Description
ResourceType Type of entry

Functions

Function Description
packRsc(entries) Pack entries into an RSC file
unpackRsc(arrayBuffer, options) Unpack an RSC file into the entries that compose it
unpackRsc(arrayBuffer, options) Unpack an RSC file into the entries that compose it, including holes in the output
unpackRsc(arrayBuffer, options) Unpack an RSC file into the entries that compose it

Interfaces

Interface Description
UnpackOptions Options when unpacking an RSC file

Type Aliases

Type Alias Description
MaybeEmptyRscEntry Used to discriminate between RscEntry and EmptyRscEntry based on BaseRscEntry.used