Saved game data: Difference between revisions
DansFriend (talk | contribs) |
DansFriend (talk | contribs) |
||
Line 7: | Line 7: | ||
! Name | ! Name | ||
! Offset | ! Offset | ||
! Length | |||
! Value | ! Value | ||
! Meaning | ! Meaning | ||
Line 12: | Line 13: | ||
| '''Magic''' | | '''Magic''' | ||
| 0x0 | | 0x0 | ||
| 2 | |||
| SC | | SC | ||
| Signature for all PS1 saved game data. | | Signature for all PS1 saved game data. | ||
Line 17: | Line 19: | ||
| '''Icon flag''' | | '''Icon flag''' | ||
| 0x2 | | 0x2 | ||
| 1 | |||
| 11 | | 11 | ||
| This means the icon for the saved game consists of a single image. | | This means the icon for the saved game consists of a single image. | ||
|- | |- | ||
| '''Number of blocks''' | | '''Number of blocks''' | ||
|0x3 | | 0x3 | ||
| 1 | |||
| 1 | | 1 | ||
| How many blocks the save will take up on a memory card. | | How many blocks the save will take up on a memory card. | ||
Line 27: | Line 31: | ||
| '''Title''' | | '''Title''' | ||
| 0x4 | | 0x4 | ||
| 64 | |||
| MediEvil | | MediEvil | ||
| Name of the saved game in Shift JIS format. | | Name of the saved game in Shift JIS format. | ||
Line 32: | Line 37: | ||
| '''Icon colour palette''' | | '''Icon colour palette''' | ||
| 0x96 | | 0x96 | ||
| 32 | |||
| [[File:MediEvil1998-MemoryCardIconPalette.png]] | | [[File:MediEvil1998-MemoryCardIconPalette.png]] | ||
| Saved game icon colour palette. | | Saved game icon colour palette. |
Revision as of 17:28, 20 November 2024
This page documents MediEvil saved game data formats.
MediEvil (1998 original)
A PlayStation Memory Card data block consists of 64 frames.
Frame 0
This frame is the header for a block of PS1 saved data.
Frame 1
This frame is used to store a PS1 saved game icon:
Frames 2-3
These frames are reserved for additional images in case the icon is meant to be animated, but are unused by MediEvil.
Frames 4-34
These frames contain the actual MediEvil saved game data.
File header
The header is 12 bytes long.
Name | Offset | Value | Meaning |
---|---|---|---|
Magic | 0x0 | 60SM | Signature for MediEvil saved game data. |
Saved Games | 0x4 | 0-2 | The number of saved games. |
Saved games
The file can hold a maximum of three saved games. Each saved game is 1360 bytes long.
Saved game
Name | Offset | Value | Meaning |
---|---|---|---|
Checksum | 0x0 | Number | Used to verify save game integrity. Uses the Checksum-16 algorithm. |
Save game number | 0x6 | Number | Number of times the game has been saved. |
Time played | 0x1C | Number | Time the player has played the game for. Displayed on the tombstones in the main menu. |
Frames 35 to 63
These are unused.
|