rw-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

RenderWare Binary Stream Parser

npm NPM

Parses RenderWare DFF and TXD files into usable format!

Used in projects

  • None yet

Usage

  1. Install rw-parser using npm install --save rw-parser
  2. Import it either by using plain require:
    const { DffParser } = require('rw-parser');
    // or
    const DffParser = require('rw-parser').DffParser;
    or ES6 syntax:
    import { DffParser } from 'rw-parser';

The beauty of this is you can use it within browser or as a backend with Node.js!

Documentation is not done yet (working on it), but you can check an example here.

Development

  1. Clone the repository or download the source code here
  2. Install dependencies using npm install
  3. Compile TypeScript source files using tsc
  4. Run parser using node .

Optionally, you may set up a task that watches for file changes: tsc -p tsconfig.json --watch or npm run dev.

Please note that this project is still under heavy development. Changes to output structure may happen, so be careful using it in production environment! If you have any questions or problems, create an issue.

Install

npm i rw-parser

DownloadsWeekly Downloads

2

Version

1.0.6

License

GPL-3.0

Unpacked Size

90.7 kB

Total Files

22

Last publish

Collaborators

  • timic3
  • megadreams