|
| 1 | +//------------------------------------------------ |
| 2 | +//--- 010 Editor v13.0.1 Binary Template |
| 3 | +// |
| 4 | +// File: Luigi's Mansion 2 HD Save File |
| 5 | +// Authors: Tolly Hill, Nintendo & Next Level Games |
| 6 | +// Version: 1.0.0 |
| 7 | +// Purpose: |
| 8 | +// Category: Game Saves |
| 9 | +// File Mask: |
| 10 | +// ID Bytes: |
| 11 | +// History: |
| 12 | +//------------------------------------------------ |
| 13 | + |
| 14 | +LittleEndian(); |
| 15 | + |
| 16 | +typedef ubyte byte; |
| 17 | + |
| 18 | +typedef enum <byte> { |
| 19 | + False = 0, |
| 20 | + True = 1 |
| 21 | +} BOOL; |
| 22 | + |
| 23 | +typedef enum <byte> { |
| 24 | + Bronze = 0, |
| 25 | + Silver = 1, |
| 26 | + Gold = 2, |
| 27 | + Unknown = 0xFF |
| 28 | +} GRADE; |
| 29 | + |
| 30 | +typedef enum <byte> { |
| 31 | + GloomyManor = 0, |
| 32 | + HauntedTowers = 1, |
| 33 | + OldClockworks = 2, |
| 34 | + SecretMine = 3, |
| 35 | + TreacherousMansion = 4, |
| 36 | + KingBoosIllusion = 5, |
| 37 | + None = 0xFF |
| 38 | +} MANSION; |
| 39 | + |
| 40 | +struct SAVE { |
| 41 | + struct TITLE { |
| 42 | + uint32 DataCRC <bgcolor=0xf870ff>; |
| 43 | + uint32 VersionCRC <bgcolor=0xff6bc6>; |
| 44 | + MANSION FurthestClearedMansion <bgcolor=0x73ff66>; |
| 45 | + byte FurthestClearedMission <bgcolor=0x5db854>; |
| 46 | + byte HighestTowerFloor <bgcolor=0xbae84f>; |
| 47 | + int32 TotalTreasureAcquired <bgcolor=0x00c9ff>; |
| 48 | + byte BoosCaptured <bgcolor=0xffffff>; |
| 49 | + byte DarkMoonPieces <bgcolor=0xfa208c>; |
| 50 | + byte EGaddMedals <bgcolor=0x4294ff>; |
| 51 | + int64 PlaytimeSeconds <bgcolor=0x14f5db>; |
| 52 | + } Title; |
| 53 | + |
| 54 | + struct GAME { |
| 55 | + uint32 DataCRC <bgcolor=0xf870ff>; |
| 56 | + uint32 VersionCRC <bgcolor=0xff6bc6>; |
| 57 | + uint32 SaveGameVersionNumber <bgcolor=0x6bffc6>; |
| 58 | + |
| 59 | + byte DiscoveredNIS[2048] <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 60 | + |
| 61 | + BOOL MissionCompletion[60] <bgcolor=0x73ff66>; |
| 62 | + BOOL MissionLocked[60] <bgcolor=0x5db854>; |
| 63 | + GRADE MissionGrade[60] <bgcolor=0xbae84f>; |
| 64 | + GRADE MissionPrevGrade[60] <bgcolor=0xbdb440>; |
| 65 | + BOOL MissionBooCaptured[60] <bgcolor=0xffffff>; |
| 66 | + byte MissionBooNotifyState[60] <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 67 | + byte MissionNotifyState[60] <bgcolor=0x999999, fgcolor=0xaaaaaa>; |
| 68 | + float MissionClearTime[60] <bgcolor=0x14f5db>; |
| 69 | + uint16 MissionGhostsCaptured[60] <bgcolor=0x021bf1b>; |
| 70 | + uint16 MissionDamageTaken[60] <bgcolor=0x2638ff>; |
| 71 | + uint16 MissionTreasureCollected[60] <bgcolor=0x00c9ff>; |
| 72 | + |
| 73 | + byte NumBasicGhostCollected[29] <bgcolor=0x021bf1b>; |
| 74 | + uint16 MaxBasicGhostWeight[29] <bgcolor=0x35e8bb>; |
| 75 | + byte BasicGhostNotifyState[29] <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 76 | + byte BasicGhostNotifyBecauseHigherWeight[29] <bgcolor=0x999999, fgcolor=0xaaaaaa>; |
| 77 | + |
| 78 | + BOOL AnyOptionalBooCaptured <bgcolor=0xffffff>; |
| 79 | + BOOL JustCollectedPolterpup <bgcolor=0x777777, fgcolor=0xaaaaaa>; |
| 80 | + |
| 81 | + uint16 GhostWeightRequirement[45] <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 82 | + byte GhostCollectableState[45] <bgcolor=0x87ed87>; |
| 83 | + byte NumGhostCollected[45] <bgcolor=0x021bf1b>; |
| 84 | + uint16 MaxGhostWeight[45] <bgcolor=0x35e8bb>; |
| 85 | + byte GhostNotifyState[45] <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 86 | + byte GhostNotifyBecauseHigherWeight[45] <bgcolor=0x999999, fgcolor=0xaaaaaa>; |
| 87 | + |
| 88 | + BOOL GemCollected[78] <bgcolor=0xff8aca>; |
| 89 | + byte GemNotifyState[78] <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 90 | + |
| 91 | + BOOL HasPoltergust <bgcolor=0x1647f7>; |
| 92 | + BOOL SeenInitialDualScreamAnimation <bgcolor=0xe1e1e1>; |
| 93 | + BOOL HasMarioBeenRevealedInTheStory <bgcolor=0x0000ff>; |
| 94 | + |
| 95 | + MANSION LastMansionPlayed <bgcolor=0x73ff66>; |
| 96 | + |
| 97 | + int32 TotalTreasureAcquired <bgcolor=0x00c9ff>; |
| 98 | + int32 TreasureToNotifyDuringUnloading <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 99 | + int32 TotalGhostWeightAcquired <bgcolor=0x35e8bb>; |
| 100 | + |
| 101 | + byte DarklightUpgradeLevel <bgcolor=0xf54293>; |
| 102 | + byte DarklightNotifyState <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 103 | + byte PoltergustUpgradeLevel <bgcolor=0x1647f7>; |
| 104 | + byte PoltergustNotifyState <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 105 | + BOOL HasSuperPoltergust <bgcolor=0x1647f7>; |
| 106 | + byte SuperPoltergustNotifyState <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 107 | + |
| 108 | + BOOL HasSeenReviveBonePIP <bgcolor=0x2ca8f5>; |
| 109 | + |
| 110 | + uint16 BestTowerClearTime[48] <bgcolor=0x14f5db>; |
| 111 | + byte EndlessModeHighestFloorReached[4] <bgcolor=0x73ff66>; |
| 112 | + byte AnyModeHighestFloorReached <bgcolor=0x5db854>; |
| 113 | + BOOL EndlessFloorsUnlocked[4] <bgcolor=0xbae84f>; |
| 114 | + BOOL RandomTowerUnlocked <bgcolor=0xd99f77>; |
| 115 | + byte TowerNotifyState <bgcolor=0xbfbfbf, fgcolor=0xaaaaaa>; |
| 116 | + |
| 117 | + BOOL RumbleEnabled <bgcolor=0xa34567>; |
| 118 | + BOOL GyroscopeEnabled <bgcolor=0x45a367>; |
| 119 | + BOOL RStickOmnidirectional <bgcolor=0xa36745>; |
| 120 | + BOOL XAxisInverted <bgcolor=0x67a345>; |
| 121 | + BOOL YAxisInverted <bgcolor=0x663355>; |
| 122 | + byte GyroscopeSensitivity <bgcolor=0x335566>; |
| 123 | + byte FirstPersonStickSensitivity <bgcolor=0x665533>; |
| 124 | + byte LevelBrightness <bgcolor=0x126578>; |
| 125 | + BOOL HideMinimap <bgcolor=0xf53212>; |
| 126 | + } Game; |
| 127 | +} Save; |
0 commit comments