Socket
Socket
Sign inDemoInstall

nopq

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nopq

NoPQ is a Node.js library that lets you unpack MPQ archives such as those used with several Blizzard games.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
21.7 kB
Created
Weekly downloads
 

Readme

Source

NoPQ

NoPQ is a Node.js library that lets you unpack MPQ archives such as those used with several Blizzard games.

Limitations

NoPQ is only tested against Heroes of the Storm replay files. Therefor several assumptions are made such as the presense of UserData and exclusive use of BZ2 compression.

The library is only able to decompress MPQ archives.

Install

$ npm install nopq

CLI

$ nopq filename [extract]

A filename must always be provided however extract is optional. If extract is provided the program will pipe decompressed file from the archive. If extract is not provided the program will output a list of files contained in the archive.

API

  • nopq
    • Class: Archive
      • new Archive(buffer)
      • archive.buffer
      • archive.offset
      • archive.hashTable
      • archive.blockTable
      • archive.readFile(filename)
    • Class: Table
      • new Table(key, encryption, buffer)
      • table.buffer
      • table.readAsHashTable(entries)
      • table.readAsBlockTable(entries)

Contributing

Please feel free to contribute. We are currently looking to extend the library capability to handle previous MPQ versions.

Keywords

FAQs

Last updated on 06 Apr 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc