![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
The structure of a savemap. More...
#include <SaveMap.h>
Classes | |
struct | Character |
Character record. More... | |
struct | FieldPosition |
Information about the player location in a field map. More... | |
struct | Item |
Items, weapons, armors and accessories in inventory. More... | |
struct | Materia |
A materia. More... | |
struct | MemoryBank |
Each of the memory banks dumped to the savemap. More... | |
struct | PhsSelection |
Selections related to the PHS. More... | |
struct | UserSettings |
User defined settings. More... | |
struct | WindowColor |
Contains the window colours, grouped by corner. More... | |
Public Types | |
enum class | INVENTORY_TYPE { ITEM = 0 , WEAPON , ARMOR , ACCESSORY } |
Type of inventory item record. More... | |
Public Attributes | |
u32 | checksum |
Savemap checksum. More... | |
u8 | preview [68] |
Bytes used for the save preview. More... | |
WindowColor | window_colour |
Bytes for window color. More... | |
Character | characters [9] |
Character records. More... | |
u8 | party [3] |
IDs of characters in the party. More... | |
u8 | unused_0 |
Unused data. More... | |
Item | inventory [320] |
Inventory list. More... | |
Materia | materia [200] |
Unequipped materia list. More... | |
Materia | stolen_materia [48] |
Materia stolen by Yuffie. More... | |
u32 | unknown_0 |
Unknown data. More... | |
u32 | gil |
Current Gil. More... | |
u32 | time |
Total played time, in seconds. More... | |
u32 | countdown |
Countdown time, in seconds. More... | |
u8 | unknown_1 [3] |
Unknown data. More... | |
u32 | time_fractions |
Total played time, fractions of seconds. More... | |
u32 | countdown_fractions |
Countdown time, fractions of seconds. More... | |
u32 | module_redundant |
Current game module, redundant. More... | |
u16 | module |
Current game module. More... | |
u16 | location |
Saving location. More... | |
u8 | unused_1 |
Unused data. More... | |
FieldPosition | field_position |
Position information on a field map. More... | |
u8 | unknown_2 [3] |
Unknown data. More... | |
u8 | encounter_step |
Information to seed encounter data. More... | |
u8 | encounter_offset |
Information to seed encounter data. More... | |
u8 | unused_2 |
Unused data. More... | |
MemoryBank | bank [5] |
Memory banks dumped in the savemap. More... | |
PhsSelection | phs_lock |
Characters locked in the PHS. More... | |
PhsSelection | phs_available |
Characters available in the PHS. More... | |
u8 | unknown_3 [48] |
Unknown data. More... | |
UserSettings | user_settings |
UserSettings. More... | |
u8 | unknown_4 [8] |
Unknown data. More... | |
The structure of a savemap.
|
strong |
MemoryBank SaveMap::bank[5] |
Memory banks dumped in the savemap.
5 x 256 bytes.
Character SaveMap::characters[9] |
Character records.
9 x 132 bytes.
0: Cloud. 1: Barret. 2: Tifa. 3: Aeris. 4: Red XIII. 5: Yuffie. 6: Cait Sith / Young Cloud. 7: Vincent / Sephiroth.
u32 SaveMap::countdown |
Countdown time, in seconds.
4 bytes.
u32 SaveMap::countdown_fractions |
Countdown time, fractions of seconds.
4 bytes.
Ignored by V-Gears.
u8 SaveMap::encounter_offset |
Information to seed encounter data.
V-Gears ignores this.
u8 SaveMap::encounter_step |
Information to seed encounter data.
V-Gears ignores this.
FieldPosition SaveMap::field_position |
Position information on a field map.
5 bytes.
u32 SaveMap::gil |
Current Gil.
4 bytes.
Item SaveMap::inventory[320] |
Inventory list.
320 x 2 bytes,
It includes items, unequipped weapons, unequipped armor and unequipped accessories.
u16 SaveMap::location |
Saving location.
2 bytes.
Materia SaveMap::materia[200] |
Unequipped materia list.
200 x 4 bytes.
u16 SaveMap::module |
Current game module.
4 bytes.
1: Game saved in a field. 3: Game saved in the world map.
u32 SaveMap::module_redundant |
Current game module, redundant.
4 bytes.
Ignored by V-Gears.
u8 SaveMap::party[3] |
IDs of characters in the party.
3 x 1 byte.
PhsSelection SaveMap::phs_available |
Characters available in the PHS.
2 bytes.
Available characters appear in the PHS.
PhsSelection SaveMap::phs_lock |
Characters locked in the PHS.
2 bytes.
Locked characters can be switched to or from the party.
u8 SaveMap::preview[68] |
Bytes used for the save preview.
68 bytes
Unused in V-Gears, can be skipped.
u32 SaveMap::time |
Total played time, in seconds.
4 bytes.
u32 SaveMap::time_fractions |
Total played time, fractions of seconds.
4 bytes.
Ignored by V-Gears.
u32 SaveMap::unknown_0 |
Unknown data.
Always 0xFFFFFFFF. 4 bytes.
u8 SaveMap::unknown_1[3] |
Unknown data.
3 bytes.
u8 SaveMap::unknown_2[3] |
Unknown data.
3 bytes.
u8 SaveMap::unknown_3[48] |
Unknown data.
48 bytes.
u8 SaveMap::unknown_4[8] |
Unknown data.
8 bytes.
u8 SaveMap::unused_0 |
Unused data.
Always 0xFF. 1 byte.
u8 SaveMap::unused_1 |
Unused data.
Always 0xFF. 1 byte.
u8 SaveMap::unused_2 |
Unused data.
Always 0xFF. 1 byte.
UserSettings SaveMap::user_settings |
21 bytes.
WindowColor SaveMap::window_colour |
Bytes for window color.
12 bytes.