Skip to content

alphazolam/nd_pak.bt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

nd_pak.bt

by alphaZomega

This is a 010 Editor Binary Template for reading Naughty Dog pak files.

Supported Games:

  • Uncharted: Legacy of Thieves Collection
  • The Last of Us Part I
  • The Last of Us Part II

Support for more games may be added in the future.

Installation / Usage

  1. Download via "Code -> Download as ZIP"
  2. Extract
  3. In 010 Editor, go to Templates -> View Installed Templates
  4. Install the bt file
  5. Open any Naughty Dog .pak file with 010 (Some files may require running the template manually
  6. Explore pak file contents in page[0] and page[1] -> Item

Currently, the following page entry types are supported:

  • GEOMETRY_1 (mesh)
  • JOINT_HIERARCHY (bones)
  • VRAM_DESC (texture)
  • VRAM_DESC_TABLE
  • TEXTURE_TABLE
  • PAK_LOGIN_TABLE
  • SKELETON_FLIPDATA
  • EFFECT_TABLE

Other structs contents can be explored only with a generic "Test" scanner.

Inside GEOMETRY_1, you can change material properties such as color and swap materials and their textures by swapping pointers: params redshirt

Swapping what texture is loaded for a texture slot is possible by swapping their offsets. You can also do things like disable extra vertex components that are causing issues with model editing

Thanks to icemesh for help researching the pak format

About

Naughty Dog .pak template for 010 Editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published