MHXX rQuestData Format - svanheulen/mhff GitHub Wiki

Header

Note: Descriptions with a question mark are the ones given in the game's code but not entirely helpful

Offset (Hex) Size Description
0000 4 Magic
0004 4 Count
0008 4 Index
000C 4 Quest ID
0010 1 Type (0 = hunt, 1 = slay, 2 = capture, 3 = deliver, 4 = hunt-a-thon, 5 = marathon)
0011 1 Village (options are 1-11)
0012 1 Star (special permit add 0x64)
0013 1 Rank (0 = offline low, 1 = online low, 3 = online high)
0014 1 Map (night add 0x64)
0015 1 Start area
0016 1 Time
0017 1 Defeats
0018 1 Ac equip set no? (not in any quest)
0019 1 BGM type? (1 in nyanter quests, 2 in training quests, 0 in all other quests)
001A 1 Requirement 1
001B 1 Requirement 2
001C 1 Entry type combo? (not in any quest)
001D 1 Clear type (0 = normal?, 1 = hunt X and Y, 2 = hunt X and deliver paw pass)
001E 1 Repel HP percent
001F 1 Main objective type 1
0020 2 Main objective target ID 1
0022 2 Main objective count 1
0024 1 Main objective type 2
0025 2 Main objective target ID 2
0027 2 Main objective count 2
0029 1 Subquest type
002A 2 Subquest target ID
002C 2 Subquest count
002E 1 Monster carve/drop level
002F 1 Mining level
0030 1 Fishing level
0031 4 Fee
0035 4 Village points
0039 4 Main objective reward
003D 4 Subquest reward
0041 4 Main objective academy points
0045 4 Failed academy points? (not in any quest)
0049 4 Subquest academy points
004D 4 Main objective HR points
0051 4 Subquest HR points
0055 1 Rem add frame 1?
0056 1 Rem add frame 2?
0057 1 Rem add lot max?
0058 1 Supply delivery 1 label
0059 1 Supply delivery 1 type (0 = none, 1 = timed, 2 = hunt, 3 = deliver, 4 = subquest)
005A 2 Supply delivery 1 target ID
005C 2 Supply delivery 1 target count
005E 1 Supply delivery 2 label
005F 1 Supply delivery 2 type
0060 2 Supply delivery 2 target ID
0062 2 Supply delivery 2 target count
0064 13 Boss monster 1
0071 13 Boss monster 2
007E 13 Boss monster 3
008B 13 Boss monster 4
0098 13 Boss monster 5
00A5 1 Small monster HP
00A6 1 Small monster attack
00A7 1 Small monster other
00A8 1 Enemy set 2 condition type
00A9 2 Enemy set 2 condition target ID
00AB 2 Enemy set 2 condition target count
00AD 1 Enemy set 3 condition type
00AE 2 Enemy set 3 condition target ID
00B0 2 Enemy set 3 condition target count
00B2 1 Boss rush type? (0 = normal, 2 = ???, 4 = ???, 5 = ???, 7 = ???, 8 = ???)
00B3 1 Boss monster 1 condition type
00B4 2 Boss monster 1 condition target ID
00B6 2 Boss monster 1 condition target count
00B8 1 Boss monster 2 condition type
00B9 2 Boss monster 2 condition target ID
00BB 2 Boss monster 2 condition target count
00BD 1 Boss monster 3 condition type
00BE 2 Boss monster 3 condition target ID
00C0 2 Boss monster 3 condition target count
00C2 1 Boss monster 4 condition type
00C3 2 Boss monster 4 condition target ID
00C5 2 Boss monster 4 condition target count
00C7 1 Boss monster 5 condition type
00C8 2 Boss monster 5 condition target ID
00CA 2 Boss monster 5 condition target count
00CC 1 Chance of intruder
00CD 1 Extra start time?
00CE 1 Extra start random?
00CF 1 Extra limit 3?
00D0 1 Extra limit 4?
00D1 1 Extra limit 5?
00D2 1 Chance of boss monster 3 intruding
00D3 1 Chance of boss monster 4 intruding
00D4 1 Chance of boss monster 5 intruding
00D5 1 mExtraTicket?
00D6 1 Quest icon 1
00D7 1 Quest icon 2
00D8 1 Quest icon 3
00D9 1 Quest icon 4
00DA 1 Quest icon 5
00DB 4 Prog number? (not in any quest)
00DF 18 File reference to messages
00F1 4 mVillagePointG?
00F5 4 mFlag?

Quest ID

If you convert the quest ID to a decimal number it will be in this format ABCDDEE

Section Description
A DLC (0 = normal, 1 = DLC)
B Palico (0 = normal, 1 = nyanter)
C Type (0 = offline, 1 = online, 2 = arena, 3 = training, 4 = special permit)
DD Star or special permit monster
EE Quest number or special permit level

Boss monster

Offset (Hex) Size Description
000 2 Type
004 1 Sub type
008 1 Aura type
009 1 Restore count
00D 1 Vital table number
00E 1 Attack table number
00F 1 Other table number
010 1 Difficulty
011 2 Scale
013 1 Scale table
014 1 Stamina table

File Reference

Offset (Hex) Size Description
0000 4 File type code
0004 16 File path