Skip to content

Extracting everything

Vincent edited this page Dec 18, 2022 · 2 revisions

This tutorial will quickly explain on how to extract and convert every asset inside an NPK0 file.

This tutorial considers you know how to use generic Java command line programs.

Preparing requirements

In order to decompile NOB0 (.n) scripts, the extractor needs to know the game's class model.

The class model is stored as a JSON file, which you need to have in order to extract scripts.

If the game you are trying to decompile is Project Nomads, download the provided class model here

The extract command

The extract command needs multiple arguments: --format, --model, --input and --output

  • --format needs an output image format for textures, typically png or ktx. See help of ntx2img command for full list of supported formats.
  • --model needs a path to a JSON class model.
  • --input needs a path to a NPK0 archive to extract.
  • --output needs a path to a folder that will be used as the output of the extraction.

A typical command would be

java -jar nebula2-assets-extractor-0.2.1-jar-with-dependencies.jar extract --format=png --model=project-nomads.classmodel.json --input=data.npk --output=out
Clone this wiki locally