Difference between revisions of "Save File Format/LINF.BIN"

From Shield Cat Wiki
Jump to navigation Jump to search
m
m
Line 11: Line 11:
 
|-
 
|-
 
!0
 
!0
!
+
!ASCII u8
|SC_OTTSAV_VXXLINF header information.
+
|SC_OTTSAV_XX header information.
 
|-
 
|-
!17
+
!4
 +
!u32
 +
|LINF block header declaration.
 +
|-
 +
!13
 
!u16
 
!u16
 
|Lance's max health.
 
|Lance's max health.

Revision as of 18:39, 9 April 2020

The LINF.BIN file contains info about Lance and the abilities he has, as well as his health and magic, other stats, items that he has, and more.

This file is FILESIZE bytes.

Please note that Lance's health, magic, attack, and defense are computed from his base stats + any upgrades that you may have, and are provided for convenience. If you modify these numbers, and then Lance gets a new upgrade, the numbers will be corrected.

Offset Type Description
0 ASCII u8 SC_OTTSAV_XX header information.
4 u32 LINF block header declaration.
13 u16 Lance's max health.
19 u16 Lance's max magic.
21 u8 Lance's attack.
22 u8 Lance's defense.
23 u16 (packed) Various flags about Lance's state:
  • Bit 0: if Lance is allowed to use his equipment or not. If 0, none of his abilities will show.
  • Bit 1: Lance has his notebook to keep track of story progress.
  • Bit 2-15: Reserved for future use.
24 u8 (packed) Various flags about the game itself:
  • Bit 0: If this is a randomized mode save or not. A Randomized Mode Remap File will be required.
  • Bits 1-3: Game difficulty mode.
    • Mode 0: Chill Mode
    • Mode 1: Regular Mode
    • Mode 2: Cool Mode
    • Mode 3: Fun Mode
    • Mode 4: Custom Mode. A Custom Difficulty Data File will be required.
    • Modes 5-7: Unused.
  • Bit 4: If cheats were enabled on this file or not.
  • Bit 5: If the game has been cleared or not.
  • Bits 6-7: Unused.
25 u32 How many Pretty Petals Lance has in his possession (capped at 999,999,999)
a lot 4 Bytes OEND footer.

!0 !2 Bytes |Total count of all Fish Scales that Lance has |- !2 !1 Byte |Total count of all LANCE letters that Lance has |- !3 !5 Bytes |Reserved for future use