MR Files

From CW-Games Wiki
Jump to: navigation, search

MR Files describes missions. Things like the character, course and time are inside this file.

Header

Offset Length Name Description
0x00 0x04 Signature "NKMR"
0x04 0x04 Nr of Entries The number of mission entries in the file

Mission Entry

Offset Length Name Description
0x00 0x02 Time Limit of mission Time Limit × 1000 = Time Limit in Milliseconds
0x02 0x02 Time connected to ranks This time is usually bigger than the first, but changing it results better/worse ranks. Everything depends on value. (Probably sth with percents)
0x04 0x02 Tolerance The bigger the number the less time you have to have to get 3 stars.
0x06 0x01 ID Number In hex
0x07 0x01 Mission task For sure 04 is Power Slide.
  • 00 - Gate races
  • 01 - coins
  • 02 - make x laps in set time
  • 03 - Destroy Object(s)
  • 04 - power slides
  • 05 - doesn't exist
  • 06 - race with XYZ. (Yoshi, Peach...)
  • 07 - fight boss
0x08 0x01 Track The Track the mission takes place. See Tracks.
0x09 0x01 Amount of laps needed to be made If none, 0. If something, 1-2.
0x0A 0x01 Character The character you drive during the mission. See Characters.
0x0B 0x01 Kart The kart the character drive during the mission. See Karts.
0x0C 0x01 ID in Mission Run menu Mission 1-1 gets 0, 1-2 gets 1, 1-3 gets 2, etc. (! BETA GET 0 TOO)
0x0D 0x02 Always blank One 1 for Beta Mission, doesn't do a thing probably.
0x0F 0x01 Target Value If you have to collect coins for example it is the number of coins.
0x10 0x04 Unknown Unknown
0x14 0x04 Object ID The Object ID of the object(s) that have to be destroyed/collected/beaten.
0x18 0x06 Always 00 Always 00
0x1E 0x02 Condition Different types of runs
  • 2 - Do not hit...
    • 4-5 Collect all 15 coins. If you get squished by a Thwomp, you fail!
  • 33 - No condition; backwards
    • 1-6 Drive out of the mansion...backwards!
    • 3-2 Drive through all 5 numbered gates in order...backwards!
  • 35 - Backward do not hit...
    • 5-2 Drive backward and collect 15 coins! If you hit a snowman, you fail!
    • 7-7 Drive backward and collect all 12 coins! If you hit a burner, you fail!
  • 41 - Backward do not fall...
    • 6-1 Drive backward across the spinning bridge! If you fall, you're out!
0x20 0x02 Defines race (06 task) FFFF for all other, with 5 races the situation is different. Relates to enemy character. Unknown what it does.
0x22 0x0C Name of Mission In the selected course the filename of the nkm have to be: Name of Mission + _tool.nkm (Not sure if it will work if you make it longer than 0x04. The 0x8 are probably padding.)

Tracks

  • 01 - [GCN Yoshi Circuit]
  • 02 - old_mario_gcn
  • 03 - luigi_course
  • 04 - dokan_course
  • 05 - test1_course
  • 06 - donkey_course
  • 07 - wario_course
  • 08 - nokonoko_course
  • 09 - [GCN Baby Park]
  • 0A - [SNES Mario Circuit 1]
  • 0B - [N64 Moo Moo Farm]
  • 0C - [GBA Bowser Castle 2]
  • 0D - [GBA Peach Circuit]
  • 0E - [GCN Luigi Circuit]
  • 0F - [SNES Koopa Beach 2]
  • 10 - [N64 Frappe Snowland]
  • 11 - [Tick-Tock Clock]
  • 12 - [Luigi's Mansion]
  • 13 - [Airship Fortress]
  • 14 - [Figure 8 Circuit]
  • 15 - test_circle
  • 16 - [Yoshi Falls]
  • 17 - [N64 Banshee Boardwalk]
  • 18 - [Shroom Ridge]
  • 19 - [Mario Circuit]
  • 1A - [Peach Gardens]
  • 1B - [Desert Hills]
  • 1C - [Delfino Square]
  • 1D - [Rainbow Road]
  • 1E - [DK Pass]
  • 1F - [Cheep Cheep Beach]
  • 20 - [Bowser Castle]
  • 21 - [Waluigi Pinball]
  • 22 - [Wario Stadium]
  • 23 - [SNES Donut Plains 1]
  • 24 - [N64 Choco Mountain]
  • 25 - [GBA Luigi Circuit]
  • 26 - [GCN Mushroom Bridge]
  • 27 - [SNES Choco Island 2]
  • 28 - [GBA Sky Garden]
  • 29 - mini_block_course
  • 2A - Block Fort
  • 2B - Pipe Plaza
  • 2C - Nintendo DS
  • 2D - Lighthouse
  • 2E - Palm Shore
  • 2F - Shortcake
  • 30 - MR Stage 1
  • 31 - MR Stage 2
  • 32 - MR Stage 3
  • 33 - MR Stage 3
  • 34 - Award
  • 35 - Staffroll
  • 36 - StaffrollTrue
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
Courses
Documentation
Files
Full Hacks
Model Hacks
Texture Hacks
Misc Hacks
Applications
Theory
Tutorials
Video