Saved game data: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    Line 42: Line 42:
    These frames contain the actual ''MediEvil'' saved game data.
    These frames contain the actual ''MediEvil'' saved game data.
    ====File header====
    ====File header====
    The file header is 12 bytes long.
    {| class="wikitable"
    {| class="wikitable"
    ! Name
    ! Name
    Line 49: Line 50:
    |-
    |-
    |'''Magic'''
    |'''Magic'''
    |0x200
    |0x0
    |60SM
    |60SM
    |Signature for ''MediEvil'' saved game data.
    |Signature for ''MediEvil'' saved game data.
    |-
    |-
    |'''Saved Games'''
    |'''Saved Games'''
    |0x204
    |0x4
    |0-2
    |0-2
    |The number of saved games.
    |The number of saved games.
    |}
    |}
    ====Saved games====
    ====Saved games====
    The file can hold a maximum of three saved games.
    The file can hold a maximum of three saved games. Each saved game is 550 bytes long.
    {| class="wikitable"
    ! Name
    ! Offset
    ! Value
    ! Meaning
    |-
    |'''Save Game Number'''
    |0x6
    |Number
    |Number of times the game has been saved.
    |}


    ===Frames 35 to 63===
    ===Frames 35 to 63===

    Revision as of 16:01, 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.

    Name Offset Value Meaning
    Magic 0x0 SC Signature for all PS1 saved game data.
    Icon Flag 0x2 11 This means the icon for the saved game consists of a single image.
    Block Number 0x3 1 How many blocks the save will take up on a memory card.
    Title 0x4 MediEvil      Name of the saved game in Shift JIS format.
    Icon Colour Palette 0x96 00 80 05 00 04 04 22 0C 64 18 69 10 A7 1C CA 28 EE 24 2C 39 54 35 91 3D F4 49 37 5A BB 66 3F 7B Saved game icon colour palette.

    Frame 1

    This frame is used to store a PS1 saved game icon: MediEvil-Memory-Card.png

    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 file 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 550 bytes long.

    Name Offset Value Meaning
    Save Game Number 0x6 Number Number of times the game has been saved.

    Frames 35 to 63

    These are unused.

    Navigation