Item Editing - GReinoso96/XXModding GitHub Wiki
Items are defined in:
table/itemData.itm
Actual table\itemData.itm
file is located inside resident.arc inside NativeNX\loc\arc
for MHGU, and NativeNX\arc
for MHXX Switch ver.
Header
The header is 8 bytes long, the first 4 bytes are always:
66 66 AA 41
The next 4 bytes correspond to the total number of entries, including the first dummy entry:
AF 0B 00 00 = 2.991 Entries
Increase this value when you add new entries.
Values
The following is a rundown of values for each entry, 44 bytes for each entry, in order:
Length | Description |
---|---|
Unsigned Int | ID |
Byte | Unknown Flag 1? |
Unsigned Char | Rarity Level (0 = RARE-1) |
Unsigned Char | Max in Pouch |
Unsigned Short | Sort ID |
Byte | Unknown |
Byte | Unknown Flag 2? |
Byte | Unknown Flag 3? |
Flag | Consumable* |
Byte | Unknown |
Flag | Tradeable* |
Byte | Unknown Flag 4 |
Unsigned Char | Icon ID |
Unsigned Char | Icon Color |
Byte | Unknown |
Unsigned Int | Sell Price |
Unsigned Int | Buy Price |
Unsigned Char | Material Value |
Unsigned Short | Material Group 1 |
Unsigned Short | Material Group 2 |
Unsigned Short | Material Group 3 |
Unsigned Short | Material Group 4 |
Unsigned Short | Material Group 5 |
Unsigned Short | Material Group 6 |
Unsigned Short | Material Group 7 |
Unsigned Short | Material Group 8 |
*Needs confirmation
Color Values
Hex | Dec | Color |
---|---|---|
00 | 00 | White |
01 | 01 | Red |
02 | 02 | Green |
03 | 03 | Blue |
04 | 04 | Yellow |
05 | 05 | Purple |
06 | 06 | Light Blue |
07 | 07 | Orange |
08 | 08 | Pink |
09 | 09 | Lime |
0A | 10 | Gray |
0B | 11 | Brown |
0C | 12 | Teal |
0D | 13 | Dark Green |
0E | 14 | Dark Red |
0F | 15 | Dark Blue |
10 | 16 | Dark Purple |
... |
Icons
Hex | Dec | Description |
---|---|---|
01 | 01 | Mushroom |
02 | 02 | Fish |
03 | 03 | Herb |
04 | 04 | Meat |
05 | 05 | Honey |
06 | 06 | Bug |
07 | 07 | Net |
08 | 08 | Berry |
09 | 09 | Ore |
0A | 10 | Claw |
0B | 11 | Hide |
0C | 12 | Scale |
0D | 13 | Monster Part |
0E | 14 | Bone |
0F | 15 | Egg |
10 | 16 | Dung |
11 | 17 | Plate |
12 | 18 | Bait |
13 | 19 | Bugnet |
14 | 20 | BBQ Spit |
15 | 21 | Pickaxe |
16 | 22 | Drink |
17 | 23 | Trap Tool |
18 | 24 | Trap |
19 | 25 | Barrel |
1A | 26 | Bomb |
1B | 27 | Smoke Bomb |
1C | 28 | Ball |
1D | 29 | Pill |
1E | 30 | Ammo |
1F | 31 | Husk |
20 | 32 | Coating |
21 | 33 | Empty Coating |
22 | 34 | Horn |
23 | 35 | Boomerang |
24 | 36 | Ticket |
25 | 37 | Knife |
26 | 38 | Map |
27 | 39 | Binoculars |
28 | 40 | Coin |
29 | 41 | Armor Sphere |
2A | 42 | Whetstone |
2B | 43 | Book |
2C | 44 | Jewel |
2D | 45 | Question Mark |
2E | 46 | White |
2F | 47 | Kinsect (Cut) |
30 | 48 | Kinsect (Impact) |
31 | 49 | Scraps |