LR2 Saved Game File Format ========================== Saved game files are always 101 bytes long and use the same format and order of components. All of the examples were saved on a Mac and use big-endian byte order. File: MGJWIndustry12 Save point: Industry world, level 12 after completing Mona, Gear, Jungle, and Wacky worlds EB 7E 28 17 ; magic number that ids saved game file 00 00 ; always 00 00 ? (or world id is 4 bytes?) 46 52 ; world id of current level $46 50 = Jungle $46 51 = Wacky $46 52 = Industrial $46 53 = Gear $46 54 = Mona $46 55 = Cooperative $46 56 = Deathmatch $46 58 = World Hub $46 59 = Credit World $46 5A = Tutorials $46 78 = Joke Credits 00 0B ; last level completed ($0B = 11) 4D ; num lives ($4D = 77, max 99) ; next comes 10 bytes per world 00 00 ; first two always 00 00 ? 46 58 ; world id (this is the World Hub) 04 00 ; always same values for each world ??? $01 for the five main worlds $02 for cooperative levels $03 for deathmatch levels $04 for world hub $06 for tutorials 00 00 ; $00 01 if started playing this world 00 00 ; $00 01 if finished playing this world ; both are always $00 00 for Hub ?? 00 00 46 5A 06 00 00 00 00 00 ; tutorials (always?) unplayed 00 00 46 50 01 00 00 01 00 01 ; Jungle world finished 00 00 46 51 01 00 00 01 00 01 ; Wacky world finished 00 00 46 53 01 00 00 01 00 01 ; Gear world finished 00 00 46 54 01 00 00 01 00 01 ; Mona world finished 00 00 46 52 01 00 00 01 00 00 ; Industrial world started 00 00 46 55 02 00 00 00 00 00 ; Cooperative levels unplayed 00 00 46 56 03 00 00 00 00 00 ; Deathmatch levels unplayed Examples -------- File: World Hub - no progress Save point: World Hub of a new game # lives: 5 EB 7E 28 17 00 00 46 58 00 00 05 00 00 46 58 04 ; $46 58 00 00 = world hub 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 00 00 00 00 00 46 53 01 00 00 00 00 00 00 00 46 54 01 00 00 00 00 00 00 00 46 52 01 00 00 00 00 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00 File: wacky 4 Save point: return to Wacky world, level 4 # lives: 6 EB 7E 28 17 00 00 46 51 00 03 06 00 00 46 58 04 ; $46 51 00 03 = wacky 4 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 01 00 00 00 00 46 53 01 00 00 00 00 00 00 00 46 54 01 00 00 00 00 00 00 00 46 52 01 00 00 00 00 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00 FIle: Wacky 5 Save point: return to Wacky world, level 5 # lives: 7 EB 7E 28 17 00 00 46 51 00 04 07 00 00 46 58 04 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 ; $46 51 = wacky world 01 00 00 00 00 46 53 01 00 00 00 00 00 00 00 46 ; $01 00 00 00 = started 54 01 00 00 00 00 00 00 00 46 52 01 00 00 00 00 ; this world (wacky) ?? 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00 File: WHub Save point: return to World Hub after completing Wacky World # lives: 21 EB 7E 28 17 00 00 46 58 00 00 15 00 00 46 58 04 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 ; $46 51 = wacky world 01 00 01 00 00 46 53 01 00 00 00 00 00 00 00 46 ; $01 00 01 00 = completed 54 01 00 00 00 00 00 00 00 46 52 01 00 00 00 00 ; this world (wacky) ?? 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00 File: MGear 18 Save point: return to Gear world, level 18 after completing Mona World # lives: 43 EB 7E 28 17 00 00 46 53 00 11 2B 00 00 46 58 04 ; $46 53 00 11 = Gear 18 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 00 00 00 00 00 46 53 01 00 00 01 00 00 00 00 46 ; $46 53 01 00 00 01 = started Gear 54 01 00 00 01 00 01 00 00 46 52 01 00 00 00 00 ; $46 54 01 00 00 01 00 01 = finished Mona 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00 File: MGHub Save point: return to World Hub after completing Mona, then Gear Worlds # lives: 48 EB 7E 28 17 00 00 46 58 00 00 30 00 00 46 58 04 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 00 00 00 00 00 46 53 01 00 00 01 00 01 00 00 46 ; $46 53 01 00 00 01 00 01 = finished Gear 54 01 00 00 01 00 01 00 00 46 52 01 00 00 00 00 ; $46 54 01 00 00 01 00 01 = finished Mona 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00 File: Secret levels!!!!!! Save point: return to Credit World, level 2 # lives: 7 EB 7E 28 17 00 00 46 59 00 01 07 00 00 46 58 04 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 00 00 00 00 00 46 53 01 00 00 00 00 00 00 00 46 54 01 00 00 00 00 00 00 00 46 52 01 00 00 00 00 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00 File: Secret Levels - 99 lives! Save point: return to Credit World, level 2 # lives: 7 EB 7E 28 17 00 00 46 59 00 01 63 00 00 46 58 04 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 00 00 00 00 00 46 53 01 00 00 00 00 00 00 00 46 54 01 00 00 00 00 00 00 00 46 52 01 00 00 00 00 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00 File: Credits 5 Save point: return to Credit World, level 5 # lives: 17 EB 7E 28 17 00 00 46 59 00 04 11 00 00 46 58 04 00 00 00 00 00 00 00 46 5A 06 00 00 00 00 00 00 00 46 50 01 00 00 00 00 00 00 00 46 51 01 00 00 00 00 00 00 00 46 53 01 00 00 00 00 00 00 00 46 54 01 00 00 00 00 00 00 00 46 52 01 00 00 00 00 00 00 00 46 55 02 00 00 00 00 00 00 00 46 56 03 00 00 00 00 00