RenderWare Binary Stream Parser
Parses RenderWare DFF and TXD files into usable format!
Used in projects
- None yet
Usage
- Install rw-parser using
npm install --save rw-parser
- Import it either by using plain require:
or ES6 syntax:
const { DffParser } = require('rw-parser'); // or const DffParser = require('rw-parser').DffParser;
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
- Clone the repository or download the source code here
- Install dependencies using
npm install
- Compile TypeScript source files using
tsc
- 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.