@rojo2/wad-parser

1.0.1 • Public • Published

WAD Parser

How to install it

You can install it using npm globally:

$ npm install @rojo2/wad-parser -g
$ wad-parser <wadfile> list [regular-expression]

or locally and using npx to execute it:

$ npm install @rojo2/wad-parser
$ npx wad-parser <wadfile>

How to use it

List WAD entries

$ wad-parser <wadfile> list [regular-expression]

Extract WAD entries (right now it is capable of extract only textures and sprites as TGA files, sounds as WAV and maps as JSONs)

$ wad-parser <wadfile> extract [regular-expression]

Examples

Extracts all the DOOM2 sounds into .wav files

$ wad-parser DOOM2.WAD extract '^DS'

Extracts all the DOOM2 CyberDemon sprites into .tga files

$ wad-parser DOOM2.wad extract '^CYB'

Made with ❤️ by ROJO 2

Package Sidebar

Install

npm i @rojo2/wad-parser

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

52.8 kB

Total Files

4

Last publish

Collaborators

  • aitormm
  • azazeln28