Saved game data (disambiguation): Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
     
    (29 intermediate revisions by the same user not shown)
    Line 1: Line 1:
    {{Original research|author=[[User:DansFriend|Dan's Friend]] and [[User:Lazlo52|Lazlo52]]}}
    A '''saved game''' is a piece of digitally stored information about the progress of a player in a video game.
    This page documents ''[[MediEvil]]'' '''saved game data''' formats.
    ==''MediEvil'' (1998 original)==
    A PlayStation Memory Card data block consists of 64 frames. Each frame is 128 bytes long.
    ===Frame 0===
    This frame is the header for a block of PS1 saved data.
    {| class="wikitable"
    ! Name
    ! Offset
    ! Length
    ! Value
    ! Meaning
    |-
    | '''Magic'''
    | 0x0
    | 2
    | SC
    | Signature for all PS1 saved game data.
    |-
    | '''Icon flag'''
    | 0x2
    | 1
    | 11
    | This means the icon for the saved game consists of a single image.
    |-
    | '''Number of blocks'''
    | 0x3
    | 1
    | 1
    | How many blocks the save will take up on a memory card.
    |-
    | '''Title'''
    | 0x4
    | 64
    | MediEvil     
    | Name of the saved game in Shift JIS format.
    |-
    | '''Icon colour palette'''
    | 0x96
    | 32
    | [[File:MediEvil1998-MemoryCardIconPalette.png]]
    | Saved game icon colour palette.
    |}


    ===Frame 1===
    The following pages document ''[[MediEvil]]'' '''saved game data''' formats:
    This frame is used to store a PS1 saved game icon: [[File:MediEvil-Memory-Card.png|16px]]
    *[[Saved game data in MediEvil (1998)|Saved game data in ''MediEvil'' (1998)]]
    ===Frames 2-3===
    *[[Saved game data in MediEvil 2)|Saved game data in ''MediEvil 2'']]
    These frames are reserved for additional images in case the icon is meant to be animated, but are unused by ''MediEvil''.
    *[[Saved game data in MediEvil: Resurrection|Saved game data in ''MediEvil: Resurrection'']]
    ===Frames 4-34===
    *[[Saved game data in MediEvil (2019)|Saved game data in ''MediEvil'' (2019)]]
    These frames contain the actual ''MediEvil'' saved game data.
    {{disambig}}
    ====File header====
    __DISAMBIG__
    The header is 12 bytes long.
    {| class="wikitable"
    ! Name
    ! Offset
    ! Length
    ! Value
    ! Meaning
    |-
    |'''Magic'''
    |0x0
    |4
    |60SM
    |Signature for ''MediEvil'' saved game data.
    |-
    |'''Saved games'''
    |0x4
    |1
    |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=====
    {| class="wikitable"
    ! colspan="5" | General
    |-
    ! Name
    ! Offset
    ! Length
    ! Value
    ! Meaning
    |-
    |'''Checksum'''
    | 0x0
    | 4
    | Number
    | Used to verify save game integrity. Uses the Checksum-16 algorithm.
    |-
    |'''Save game count'''
    |0x6
    |1
    |Number
    |Number of times the game has been saved.
    |-
    |'''Time played'''
    |0x1C
    |4
    |Number
    |Time the player has played the game for. Displayed on the tombstones in the main menu and on the save game screen.
    |-
    |'''Current weapon'''
    |0x2C
    |1
    |{{CollapsibleContent|show=see more|hide=see less|width=12.75em|00 - Small Sword|01 - Broad Sword<br>02 - Magic Sword<br>03 - Throwing Daggers<br>04 - Axe<br>05 - Club<br>06 - Crossbow<br>07 - Chicken Drumsticks<br>08 - Arm<br>09 - Lightning<br>0A - Longbow<br>0B - Spear<br>0C - Hammer<br>0D Flaming Longbow<br>0E - Magic Longbow<br>0F - Good Lightning<br>10 - Dragon Armour<br>11 - Chaos Rune<br>12 - None}}
    |The weapon Dan is currently wielding.
    |-
    |'''Current shield'''
    |0x30
    |1
    |{{CollapsibleContent|show=see more|hide=see less|width=12.75em|00 - None|01 - Copper Shield<br>02 - Silver Shield<br>03 - Gold Shield}}
    |The shield Dan is currently wielding. If set without having set its durability in the inventory, it will immediately break.
    |-
    ! colspan="5" | Inventory
    |-
    ! Name
    ! Offset
    ! Length
    ! Value
    ! Meaning
    |-
    |'''Small Sword'''
    |0xA0
    |4
    |<code>FF FF 00 00</code>
    |The default value is <code>FF FF 00 00</code>, which means Dan doesn't have the Small Sword in his inventory. It is set to <code>00 00 00 00</code> when Dan obtains it.
    |-
    |'''Copper Shield'''
    |0x128
    |4
    |<code>FF FF 00 00</code>
    |The default value is <code>FF FF 00 00</code>, which means Dan doesn't have the Copper Shield in his inventory. It is set to <code>96 00 00 00</code> (150) when Dan obtains it, which is the durability of the shield.
    |-
    ! colspan="5" | Level Changes
    |-
    ! Name
    ! Offset
    ! Length
    ! Value
    ! Meaning
    |-
    | '''Length of array'''
    | 0x14C
    | 4
    | 0-256
    | Length of the "level changes" array. The array grows each time something happens that should change a level permanently on replays.
    |-
    | '''Start of array'''
    | 0x150
    | Length of array * 4
    | <code>00 00 00 00</code>
    |This is where the "level changes" array begins. The maximum amount of members in the array is 256 (1024 bytes).
    |-
    | '''CR - don't play starting cutscene'''
    | N/A
    | 4
    | <code>06 00 21 B6</code>
    |Makes it so that the cutscene at the beginning of Dan's Crypt with the Information Gargoyles is skipped.
    |-
    | '''CR - hide Small Sword'''
    | N/A
    | 4
    | <code>06 01 36 B3</code>
    |Removes the Small Sword pickup from Dan's Crypt.
    |-
    | '''CR - Life Bottle on dirt mound to moneybag'''
    | N/A
    | 4
    | <code>06 01 E4 B5</code>
    |Changes the Life Bottle on the dirt mound into a moneybag.
    |-
    | '''CR - Secret Life Bottle to moneybag'''
    | N/A
    | 4
    | <code>06 01 C6 B6</code>
    |Changes the Life Bottle behind the breakable wall into a moneybag.
    |}
     
    ===Frames 35 to 63===
    These are unused.
     
    ==Navigation==
    {{Empty section|Navigation}}
    [[Category:Files in MediEvil]]

    Latest revision as of 02:16, 24 November 2024

    A saved game is a piece of digitally stored information about the progress of a player in a video game.

    The following pages document MediEvil saved game data formats:

    This disambiguation page lists articles associated with the title Saved game data.
    If an internal link led you here, you may wish to change the link to point directly to the intended article.