BigRedSave

Contents
1. Structure
2. File
    2.1. World Completion
    2.2. Coin Scores
3. Coin Rush Data
4. Source

BigRedSave is the save file used by NSMB2.

1. Structure

Offset
Size
Description
0x00
0x04
File Signature (0x20000000).
0x04
0x14
Unknown.
0x18
0xA54
File 1 Data.
0xA6C
0xA54
File 2 Data.
0x14C0
0xA54
File 3 Data.
0x1F14
0x4
Padding.
0x1F18
0x4
Global Coin Count.
0x1F1C
0x7F4
Coin Rush Data.
0x2710
0x01
Control Scheme (0 = Type 1, 1 = Type 2).
0x2711
0x01
Unknown.
0x2712
0x01
Spotpass Flag (0 = Disabled, 1 = Enabled).
0x2713
0x01
Unknown.
0x2714
0x02
Streetpass Count.
0x2716
0x02
Number of Coin Rush Victories.
0x2718
0x1F
Global Level Completion (World 1).
0x2737
0x1F
Global Level Completion (World 2).
0x2756
0x1F
Global Level Completion (World 3).
0x2774
0x1F
Global Level Completion (World 4).
0x2794
0x1F
Global Level Completion (World 5).
0x27B3
0x1F
Global Level Completion (World 6).
0x27D2
0x1F
Global Level Completion (World Mushoom).
0x27F1
0x1F
Global Level Completion (World Flower).
0x2810
0x1F
Global Level Completion (World Star).
0x282F
0x01
Last Coin Milestone (0 = None, 1 = 100,000, 2 = 200,000, 3 = 300,000, 4 = 400,000, 5 = 500,000, 6 = 600,000,
7 = 700,000, 8 = 800,000, 9 = 900,000, 10 = 1,000,000, 11 = 9,999,999).
0x2830
0x01
First Boot Dialog Flag (0 = Don't Show First Boot Dialog, 1 = Show First Boot Dialog).
0x2831
0x02
Unknown.
0x2833
0x01
Eshop Button Flag (0 = Don't Show Button, 1 = Show Button).
0x2834
0x01
Coin Rush First Load Flag (0 = Don't Show First Load Dialog, 1 = Show First Load Dialog).
0x2835
0x01
Streetpass Notification Flag (0 = Don't Show Notification, 1 = Show Notification).
0x2836
0x01
Unknown.
0x2837
0x01
Last File Saved (0 = File 1, 1 = File 2, 2 = File 3).

2. File

The structure of each save file.

Offset
Size
Description
0x00
0x0B
Unknown.
0x0B
0x04
Score.
0x0F
0x02
Lives.
0x11
0x01
Current Power Up. (0 = None, 1 = Mushroom, 2 = Fire Flower, 3 = Mini Mushroom, 4 = Leaf, 5= Gold Flower, 6 = White Raccoon)
0x12
0x01
Current Inventory Item. (1 = Mushroom, 2 = Fire Flower, 3 = Star, 4 = Mini Mushroom, 5 = Leaf, 6 = Gold Flower, 9 = None)
0x13
0x4
Coin Count.
0x17
0x1
Star Coin Count.
0x18
0x93
Unknown. (Star Coin Related?)
0xAB
0x1F
World 1 Completion.
0xCA
0x1F
World 2 Completion.
0xE9
0x1F
World 3 Completion.
0x108
0x1F
World 4 Completion.
0x127
0x1F
World 5 Completion.
0x146
0x1F
World 6 Completion.
0x165
0x1F
World Mushroom Completion.
0x184
0x1F
World Flower Completion.
0x1A3
0x1F
World Star Completion.
0x1BF
0x0C
Unknown.
0x1CB
0x3E
World 1 Coin Score.
0x209
0x3E
World 2 Coin Score.
0x247
0x3E
World 3 Coin Score.
0x285
0x3E
World 4 Coin Score.
0x2C3
0x3E
World 5 Coin Score.
0x301
0x3E
World 6 Coin Score.
0x33F
0x3E
World Mushroom Coin Score.
0x37D
0x3E
World Flower Coin Score.
0x3BB
0x3E
World Star Coin Score.
0x3F9
0x11
Star Coin Signs. (The status of each world's signs are stored in a bitfield.)
0x40A
0x11E
Unknown.

2.1. World Completion

The completion flags for each level in a world.

Levels can have multiple different flags:

Flag
Meaning
0x00
Level not completed.
0x11
Regular exit cleared.
0x12
Secret exit cleared.
0x13
Both exits cleared.
0x14
Asist block unlocked.
0x15
Regular exit cleared with assist block.
0x16
Secret exit cleared with assist block.
0x17
Both exits cleared with assist block.

Offset
Size
Description
0x00
0x07
Levels 1-7.
0x07
0x03
Levels A-C.
0x0B
0x01
Ghost house.
0x0D
0x01
Tower.
0x0F
0x01
Castle.
0x10
0x07
Unknown.
0x17
0x01
Cannon.
0x19
0x01
Unknown (Always seems to be 0x5?).
0x1A
0x05
Unknown.

2.2. Coin Scores

Offset
Size
Description
0x00
0x0E
Levels 1-7.
0x0E
0x06
Levels A-C.
0x16
0x02
Ghost house.
0x1A
0x02
Tower.
0x1E
0x02
Castle.
0x20
0x14
Unknown.
0x2E
0x02
Cannon.
0x34
0x02
Rainbow.
0x36
0x08
Unknown.

3. Coin Rush Data

The structure of the Coin Rush Data.

Offset
Size
Description
0x1F1C
0x5C
Player's Mii.
0x1F78
0x04
Unknown.
0x1F7C
0x01
Current Coin Rush High Score Pack (0 = Mushroom, 1 = Flower, 2 = Star, 3 = Invalid, 4 = DLC).
0x1F7D
0x03
Unknown.
0x1F80
0x02
Current Coin Rush High Score.
0x1F82
0x01
Coin Rush High Score Stage 1 (World Number).
0x1F83
0x01
Coin Rush High Score Stage 1 (Level Number).
0x1F84
0x01
Coin Rush High Score Stage 2 (World Number).
0x1F85
0x01
Coin Rush High Score Stage 2 (Level Number).
0x1F86
0x01
Coin Rush High Score Stage 3 (World Number).
0x1F86
0x01
Coin Rush High Score Stage 3 (Level Number).
0x1F87
0x01
Coin Rush High Score Racoon Mario Flag.
0x1F88
0x07
Unknown.
0x1F90
0xF80
Streetpass Challengers (15 Entries).

4. Source

https://web.archive.org/web/20170826173821/http://nsmb2.us.to/wiki/index.php?title=BigRedSave_(File_Format)