Skip to content

QDS tag which is fixed value can't handle saves correctly #12

@cynagenautes

Description

@cynagenautes

The current QDS tag does not support saving data.
In Japanese version of Animal Crossing (Doubutsu no Mori+),

  • The Legend of Zelda (FDS)
  • Nazo no Murasame Jō (The Mysterious Murasame Castle)
  • Super Mario Bros. 2 (Super Mario Bros.: The Lost Levels

are exist, but each has a different QDS tag value.

I don't currently know how to derive the correct value for these tags from the .fds / .qd files, but I'm reporting this as it seems like a potential issue.

Below is the raw debug log displayed when starting the aforementioned Disk System games in Doubutsu no Mori+ (executed on the Dolphin emulator).

The Legend of Zelda

14:15:800 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]: タグ=QDS 長さ=5
14:15:801 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]: ディスクセーブエリアをロード
14:15:801 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]:  01 ba fd 05 1c

I found the BBR tag for the NES version of The Legend of Zelda appears to share some similarities.
ref. https://hunter-r.com/posts/ac-nes-tag-data/#the-legend-of-zelda

We might be able to implement support if we can determine the save data size and the offset needed to extract the save data from the .fds.

Nazo no Murasame Jō

56:45:774 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]: タグ=QDS 長さ=5
56:45:775 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]: 初プレイなのでディスクセーブエリアを保持します
56:45:775 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]:  00 9a c7 00 3e

Super Mario Bros. 2

58:28:145 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]: タグ=QDS 長さ=5
58:28:145 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]: 初プレイなのでディスクセーブエリアを保持します
58:28:145 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]:  01 cc 4e 00 01
58:28:145 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]: タグ=HSC 長さ=8
58:28:146 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]: ハイスコア: オフセット=87d7 初期値=初プレイでハイスコアデータがないので初期化しました
58:28:146 Core\HW\EXI\EXI_DeviceIPL.cpp:307 N[OSREPORT]:  00 00 00 00 00 00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions