bl4-ncs 0.5.20

NCS (Nexus Config Store) parser for Borderlands 4
Documentation

NCS (Nexus Config Store) parser for Borderlands 4

NCS files are Oodle-compressed configuration stores used by the game.

Format Overview

NCS Data Format ([version]NCS)

Compressed configuration data:

  • Byte 0: Version byte (typically 0x01)
  • Bytes 1-3: "NCS" magic
  • Bytes 4-7: Compression flag
  • Bytes 8-11: Decompressed size
  • Bytes 12-15: Compressed size
  • Bytes 16+: Payload

NCS Manifest Format (_NCS/)

Index files listing NCS data stores:

  • Bytes 0-4: "_NCS/" magic
  • Bytes 6-7: Entry count
  • Remaining: Metadata and string table