Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 833 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 833 Bytes

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