Enums Reference - thethiny/NRS-Asset-Manager GitHub Wiki

Enums Reference

IJ2 Enums (mk_utils/nrs/ij2/enums.py)

ECompressionFlags

Name Value Notes
NONE 0x0000 No compression
ZLIB 0x0001
LZO 0x0002
OODLE 0x0004 Used by IJ2
COMPRESS_PFS 0x0008
COMPRESS_BiasMemory 0x0010
COMPRESS_BiasSpeed 0x0020

EPixelFormat (47 values)

Key formats used in IJ2 textures: PF_DXT1 (5), PF_DXT5 (7), PF_BC5 (0x1B), PF_BC7 (0x16), PF_V8U8 (0x1C), PF_A8R8G8B8 (2), PF_G8 (3)

EPackageFlags

Name Value
PKG_SavedWithNewerVersion 0x20
PKG_ContainsMap 0x20000
PKG_DisallowLazyLoading 0x80000
PKG_CookedForODSC 0x800000
PKG_StoresShaderCaches 0x1000000
PKG_StoreCompressed 0x2000000

MK11 Enums (mk_utils/nrs/mk11/enums.py)

CompressionType

Name Value Notes
NONE 0x00
PS4 0x20
XBX 0x40 Used by MK11
OODLE 0x80

Game-Specific Enums

  • MK11UnlockableType (16 types: General, Background, Character, etc.)
  • EItemRarityType (10 levels: Normal through Elder)
  • EInventoryItemType (Instanced, Stackable, Unlockable)
  • EItemUnlockableType (34 unlock sources)
  • EKollectionCategoryType (8 categories)
  • EInventoryGenerationType (6 types)

See the source files for complete values.