grf-extractor

1.0.34 • Public • Published

Grf-extractor

This is a command line tool for extracting and handling .grf packages.

GRF files are a set of packed and compressed files, normally found on Ragnarok's game files.

Install

npm install -g grf-extractor

Usage

Usage: grf-extractor -g data.grf -o output_dir
Options:
  -g, --grf          The grf file to be worked on.                                                                                        
  -s, --search       Search a single file on the .grf or a list of files separated by comma. RegExp are supported.                        
  -l, --list         List files inside the grf.                                                                                           
  -o, --output       Output directoy to write the extracted files to.                                                                     
  -e, --extract      Extract a single file from the .grf, prints to stdout. Example: grf-extractor -e data/clientinfo.xml > clientinfo.xml
  -c, --concurrency  Concurrency rate, how many parallel extractions should we do, set it to higher values for a faster extraction.         [default: 100]
  -v, --verbose      Enable verbose output, will print debug messages.                                                                    
  -h, --help         Print help and usage information  

TODO

  • Support writting files to the grf.
  • Standardize the API.
  • Refactor extractor.js.

Package Sidebar

Install

npm i grf-extractor

Weekly Downloads

1

Version

1.0.34

License

MIT

Last publish

Collaborators

  • herenow