Difference between revisions of "Save File Format/LINF.BIN"
m |
|||
Line 14: | Line 14: | ||
|SC_OTTSAV_XX header information. | |SC_OTTSAV_XX header information. | ||
|- | |- | ||
− | ! | + | !13 |
!u32 | !u32 | ||
|LINF block header declaration. | |LINF block header declaration. | ||
|- | |- | ||
− | ! | + | !17 |
!u16 | !u16 | ||
|Lance's max health. | |Lance's max health. |
Latest revision as of 18:51, 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. |
13 | u32 | LINF block header declaration. |
17 | 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:
|
24 | u8 (packed) | Various flags about the game itself:
|
25 | u32 | How many Pretty Petals Lance has in his possession (capped at 999,999,999) |
29 | u16 | Total count of all Fish Scales that Lance has |
31 | u8 | Total count of all LANCE letters that Lance has |
32 | u8 (*5) | Reserved for future use (for more collectables) |
37 | u16 | What save location Lance saved at. |
39 | u32 (* 2) | Lance's [#Key Items]. Lance can have up to 64 key items. |
Passive Abilities | ||
The format for Lance's abilities is as follows:
Lance's Passive abilities can be viewed here. | ||
41 | 1 Byte
(Format 1) |
|
42 | 1 Byte
(Format 1) |
|
43 | 1 Byte
(Format 1) |
|
44 | 1 Byte
(Format 1) |
|
45 | 1 Byte
(Format 1) |
|
46 | 1 Byte
(Format 2) |
Lucky |
47 | 1 Byte
(Format 2) |
Magic Master |
48 | 1 Byte
(Format 2) |
Attack Up |
49 | 1 Byte
(Format 2) |
Defense Up |
50 | 1 Byte
(Format 2) |
HP Up |
51 | 1 Byte
(Format 2) |
Magic Up |
52 | u8 (* 20) | Reserved for future use. |
Upgrades | ||
Lance can have up to 255 of each upgrade, although if the amount of upgrades would exceed the amount possible, then the result will be capped. | ||
72 | 1 Byte | Attack Increase |
73 | 1 Byte | Defense Increase |
74 | 1 Byte | Magic Meter Increase |
75 | 1 Byte | Health Increase |
Story Progress (Quests) | ||
Lance keeps track of his progress in a notebook. Each entry supports up to 15 steps in the quest, where a value of 0 means that Lance doesn't know about it (and it won't show up in his notebook) and a value of 15 means the quest is complete. The first 4 bits represent the progress of the first quest, and the last 4 bits represents the progress of the last quest.
Special Note: What each bit will represent will be added in while the game is being developed. | ||
76 | 1 Byte | First 4 bits - Roo Express (Parker)
Last 4 bits - Underground Forest (Suzette) |
77 | 1 Byte | First 4 bits - Marine Exhibit (Ruby)
Last 4 bits - Mt. Bophades (Trent) |
78 | 1 Byte | First 4 bits - Sky Cat Airship Fleet (Olivia)
Last 4 bits - Cat Castle (Claire) |
79 | 16 Bytes | Reserved for up to 32 more quests. |
95 | u32 | OEND footer. |