npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nw-extract

v1.2.1

Published

Library and tool to extract assets from New World game folder

Downloads

6

Readme

nw-extract

Library and tool to extract assets from New World game folder

Requirements

  • Python
    • to automatically create Oodle DLL bindings. (ffi-napi and node-gyp are used under the hodd)
  • oo2core_8_win64.dll (Oodle compression)
    • This repository does not ship the oodle compression DLL. You have to own that dll (or search the web, but be careful, dont trust blindly any download website)
  • texconv.exe
    • should be available in your PATH, if you choose to convert DDS texture to any other format

Installation (binary)

Install globally

npm install nw-extract

Extract files

Then to extract data from game intall dir

nw-extract "C:\Program Files (x86)\Steam\steamapps\common\New World"

The tool accept sfollowing arguments and options

Arguments:
  input-dir             New World game folder

Options:
  -o,--output <path>    Output folder (default: "./nw-extract-out")
  -f,--filter <filter>  Filter glob pattern (default: [])
  --lib <path>          Directory where oo2core_8_win64.dll is located
  -h, --help            display help for command

Example:
  nw-extract "C:\Program Files (x86)\Steam\steamapps\common\New World"
  nw-extract "C:\Program Files (x86)\Steam\steamapps\common\New World" -f **/*.datasheet
  nw-extract "C:\Program Files (x86)\Steam\steamapps\common\New World" -f **/*.datasheet,**/*.loc.xml
  nw-extract "C:\Program Files (x86)\Steam\steamapps\common\New World" -f **/*.datasheet -f **/*.loc.xml

Convert Files

To convert extracted files to another format

nw-convert "./nw-extract-out" -o OUT_DIR -c CONVERSION

The tool accepts following arguments and options

Arguments:
  input-dir               Location of extracted New World folder

Options:
  -o,--output <path>      Output forlder for converted files (default: "./nw-convert-out")
  -u,--update             Overrides previously converted files (default: false)
  -c,--convert <convert>  Conversion directives (default: [])
  -h, --help              display help for command

Example:
  nw-convert ./nw-extract-out -o ./nw-convert-out -c "json:**/*.datasheet"
  nw-convert ./nw-extract-out -o ./nw-convert-out -c "json:**/*.loc.xml"
  nw-convert ./nw-extract-out -o ./nw-convert-out -c "png:**/*.dds"