IJ2 Inventory System - thethiny/NRS-Asset-Manager GitHub Wiki

IJ2 Inventory System

Injustice 2 has a deep inventory system with 15 item types across 38 characters.

Item Types

Type Count Source File
Gear Pieces (5 slots) 24,982 ITEMDEFINITIONSAUX.xxx
Gear Sets ~205 Coalesced.ENG
Shaders ~814 Coalesced.ENG
Abilities ~735 Coalesced.ENG
Augments ~100+ types Coalesced.ENG + Coalesced.INI
Mother Boxes 10 tiers Coalesced.ENG
Premier Skins 9 Coalesced.ENG
Badges/Backgrounds/Guild ~hundreds Unlock pages
Currencies 7 types Config

Data Flow for Gear Display

1. mAsset hash → ITEMDEFINITIONSAUX → get mAssetGroup (set ID)
2. mAssetGroup → Coalesced.ENG [Inventory.Sets] → set name
3. mAsset hash → DCF2GEARRARITYTABLE → mVisualRarity → decode layers
4. Character + slot → Coalesced.ENG [Inventory.{Char}] → gear name
5. Character → CAPAsset → CAPItemPresetsAsset → visual pool
6. Shader → CAPMaterialAsset → CPT texture path

Character Roster (38)

Base (29): Aquaman, Atrocitus, Bane, Batman, Black Adam, Black Canary, Blue Beetle, Brainiac, Captain Cold, Catwoman, Cheetah, Cyborg, Damian Wayne, Darkseid, Deadshot, Dr. Fate, Firestorm, Flash, Gorilla Grodd, Green Arrow, Green Lantern, Harley Quinn, Joker, Poison Ivy, Scarecrow, Supergirl, Superman, Swamp Thing, Wonder Woman

DLC (9): Red Hood, Sub-Zero, Starfire, Black Manta, Raiden, Hellboy, Atom, Enchantress, TMNT