-
Notifications
You must be signed in to change notification settings - Fork 0
Format: RROS object recall
Save file (.osf
) containing Object recall information.
Recall is only performed on MiniFigure object types. It's not known yet if non-Pilot MiniFigure types can be recalled. But the MiniFigure subtype is not recorded, so this could amusingly imprint on a different Rock Raider type, as if they've been reincarnated in a new body. :P
Object recall functions as a stack. The latest object to be added to the list will be recalled the soonest. In this case, that would be the last Recall entry in the file.
At runtime, Object recall data is stored in a dynamically allocated array, meaning there are no hard limits on the maximum number of recall objects per file.
Byte Order: Little Endian
Off/Len | Type | Value | Description |
---|---|---|---|
0,4 |
char[4] |
"RROS" | File signature |
4,4 |
uint32 |
Count | Number of recall entries |
8,14N |
Entry[N] | Entries | Table of recall entries |
A recall entry for a single object.
Off/Len | Type | Value | Description |
---|---|---|---|
0,4 |
uint32 |
Flags5 | 5th flags field in LiveObjects (contains trained abilities) |
4,4 |
uint32 |
Level | 0-index object level |
8,c |
char[12] |
Rename | Null-terminated custom name (empty for no rename) |
Flags corresponding to an object's trained abilities.
Flags5 | Flag | Bit |
---|---|---|
Pilot | 0x1 |
0 |
Sailor | 0x2 |
1 |
Driver | 0x4 |
2 |
Dynamite | 0x8 |
3 |
Engineer | 0x10 |
4 |
Geologist | 0x20 |
5 |
None | 0x0 |
- |
All | 0x3f |
- |