JSPM

@rojo2/wad-parser

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q51669F
  • License MIT

WAD parser and extractor

Package Exports

  • @rojo2/wad-parser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rojo2/wad-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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