SD 卡设置

加入 DS⁽ⁱ⁾ 模式破解! Discord ,为本指南贡献力量。

This page is for preparing your SD card for your device. In the process, we'll format the SD card and check the card for errors.

DANGER

请确保以此操作之前,备份您SD卡的内容。 您的SD卡将在这个过程中被擦除数据。

Section I - Formatting your SD card with SD Formatter

TIP

This section formats the SD card to the specifications by the SD Card Association. This can fix many issues that may occur with running homebrew applications.

DANGER

Any 64GB or larger SD cards will be formatted to exFAT in this process. You must follow Section II to re-format to FAT32.

  1. Download the latest version of SD Formatter在新窗口打开
  2. Run SD Card Formatter Setup (the .exe file) in the downloaded .zip file with Adminstrator privileges, then install the program
  3. Run SD Card Formatter from the Start Menu with Adminstrator privileges
  4. 选择你的 SD 卡
  5. 确认 Quick Format 复选框已被勾选
  6. Press Format to start the format process Screenshot of SD Card Formatter on Windows 11

Section II - Formatting your SD card with GUIFormat

This section formats SD cards larger than 32GB to FAT32.

TIP

If you have not followed Section I yet, please do so.

TIP

If your SD card is 32GB or less in capacity, skip to Section III.

  1. 下载最新版本的 GUIFormat在新窗口打开
    • 点击网页上的图片以下载应用程序
  2. 使用管理员权限运行 GUIFormat
  3. 选择 SD 卡对应的盘符
  4. Set the Allocation size unit to 32768
    • 如果这对于您的 SD卡来说太大的话,请将它尽可能设置为最高
  5. 确认 Quick Format 复选框已被勾选
  6. 开始格式化进程

第三节——检查错误

  1. 转到SD卡的属性窗口
    • Windows 文件管理器 -> 此电脑 -> 右键点击你的SD卡 -> 属性
  2. 在“工具”选项卡中选择检查
  3. 同时检查"自动修复文件系统错误""扫描并尝试恢复错误扇区"
  4. 开始进行检查

这将扫描SD卡并纠正它发现的任何错误.

第四节 - 检查 SD 卡读/写

  1. 下载 the h2testw archive在新窗口打开 并将其解压到你电脑上任意地方
  2. 将SD卡插入您的计算机,运行 h2testw.exe
  3. 在 h2testw 中选择中文或其他语言
  4. 在“Drive”一行选择你的 SD 卡盘符
  5. 确保 all available space 已勾选
  6. 点击 Write + Verify
  • 等待完成

TIP

If the test shows the result Test finished without errors, your SD card is healthy and you can delete all .h2w files on your SD card.

DANGER

如果测试结果显示任何其他结果,您的 SD 卡可能已经出错或损坏,可能需要更换 !

TIP

If TWiLight Menu++ fails to start after following this method, please follow the Windows method instead, by either rebooting to Windows or running a Windows Virtual Machine

第一节 - 格式化您的 SD 卡

  1. 请确保你的SD卡 没有 插入到你的Linux设备
  2. 启动Linux终端
  3. 输入 watch "lsblk"
  4. 插入你的SD卡到你的Linux设备
  5. 观察终端输出内容 输出内容应该与以下内容搭配:
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk0     179:0    0   3,8G  0 disk
└─mmcblk0p1 179:1    0   3,7G  0 part /run/media/user/FFFF-FFFF
  1. Take note of the device name. In our example above, it was mmcblk0p1
    • 如果 RO 设置为1, 确保锁定开关并没有滑下
    • Make sure you're targetting the partition, mmcblk0p1 not mmcblk0
  2. 按 CTRL + C 键退出菜单
  3. Follow the instructions relevant to your SD card's capacity:
    • 2GB or lower: sudo mkdosfs /dev/(device name from above) -s 64 -F 16
      • This creates a single FAT16 partition with 32 KB cluster size on the SD card
    • 4GB or higher: sudo mkdosfs /dev/(device name from above) -s 64 -F 32
      • This creates a single FAT32 partition with 32 KB cluster size on the SD card

第 二 节 - 使用F3

  1. 下载并解压 F3 文件在新窗口打开 到你的计算机的任意地方
  2. 在F3文件夹里启动终端
  3. 输入 make 对F3进行打包
  4. 插入并安装SD卡,输入 ./f3write <your sd card mount point>
    • 等待处理完毕。 请参阅下面的示例。
    $ ./f3write /media/michel/6135-3363/
    Free space: 29.71 GB
    Creating file 1.h2w ... OK!
    ...
    Creating file 30.h2w ... OK!
    Free space: 0.00 Byte
    Average Writing speed: 4.90 MB/s
    
  5. 运行 ./f3read <your sd card mount point>
  • 等待处理完毕。 请参阅下面的示例。
    $ ./f3read /media/michel/6135-3363/
                      SECTORS      ok/corrupted/changed/overwritten
    Validating file 1.h2w ... 2097152/        0/      0/      0
    ...
    Validating file 30.h2w ... 1491904/        0/      0/      0
    
       Data OK: 29.71 GB (62309312 sectors)
    Data LOST: 0.00 Byte (0 sectors)
                Corrupted: 0.00 Byte (0 sectors)
       Slightly changed: 0.00 Byte (0 sectors)
             Overwritten: 0.00 Byte (0 sectors)
    Average Reading speed: 9.42 MB/s
    

TIP

If the test shows the result Data LOST: 0.00 Byte (0 sectors) your SD card is healthy and you can delete all .h2w files on your SD card.

DANGER

如果测试结果显示任何其他结果,您的 SD 卡可能已经出错或损坏,可能需要更换 !

Section I - Formatting your SD card with SD Formatter

TIP

This section formats the SD card to the specifications by the SD Card Association. This can fix many issues that may occur with running homebrew applications.

DANGER

Any 64GB or larger SD cards will be formatted to exFAT in this process. You must follow Section II to re-format to FAT32.

  1. Download the latest version of SD Formatter在新窗口打开
    • Accept the End User License Agreement to start the download
  2. Run Install SD Card Formatter (the .mpkg file) in the downloaded .zip file
  3. Run SD Card Formatter
  4. 选择你的 SD 卡
  5. 确认 Quick Format 复选框已被勾选
  6. 开始格式化进程

Section II - Formatting your SD card with Disk Utility

This section formats SD cards larger than 32GB to FAT32.

TIP

If your SD card is 32GB or less in capacity, skip to Section III.

OS X El Capitan (10.11) 及更高版本

  1. 启动"Disk Utility"应用程序
  2. 通过左上角的 View 面板,选择 Show All Devices
  3. 从侧边栏选择你的SD卡
    • 确保你选择的是正确的设备, 否则你可能会格式化错误的驱动器
  4. 点击顶端的Erase
  5. 确保 Format 设置为 MS-DOS (FAT32)
    • 在 El Capitan(10.11) 中通过 Catalina (10.15) 选择 MS-DOS (FAT)
  6. 确保 Scheme 被设置为 Master Boot Record
    • 如果"Scheme"不显示, 点击"Cancel"并确保你选择的不是声音设备
  7. 点击 Erase, 再点击 Close

OS X Yosemite (10.10) 及更早版本

  1. 启动"Disk Utility"应用程序
  2. 从侧边栏选择你的SD卡
    • 确保你选择的是正确的设备, 否则你可能会格式化错误的驱动器
  3. 点击顶部的 Partition
    • 如果"Partition"不显示, 请确保你选择的不是声音设备
  4. 确保Partition Layout 被设为 1 Partition
  5. 确保 Format 设置为 MS-DOS (FAT)
  6. 从设置按钮 (分区表下方), 选择"Master Boot Record"
  7. 点击 OK -> Apply -> Partition

第 三 节 - 使用F3键

  1. 打开终端
  2. 输入 brew install f3,从brew安装 F3
  3. 插入并安装SD卡,输入 f3write <your sd card mount point>
    • 等待处理完毕。 请参阅下面的示例。
    $ f3write /Volumes/SD\ CARD
    Free space: 29.71 GB
    Creating file 1.h2w ... OK!
    ...
    Creating file 30.h2w ... OK!
    Free space: 0.00 Byte
    Average Writing speed: 4.90 MB/s
    
  4. 运行 f3read <your sd card mount point>
    • 等待处理完毕。 请参阅下面的示例。
    $ f3read /Volumes/SD\ CARD
                      SECTORS      ok/corrupted/changed/overwritten
    Validating file 1.h2w ... 2097152/        0/      0/      0
    ...
    Validating file 30.h2w ... 1491904/        0/      0/      0
    
       Data OK: 29.71 GB (62309312 sectors)
    Data LOST: 0.00 Byte (0 sectors)
                Corrupted: 0.00 Byte (0 sectors)
       Slightly changed: 0.00 Byte (0 sectors)
             Overwritten: 0.00 Byte (0 sectors)
    Average Reading speed: 9.42 MB/s
    

TIP

If the test shows the result Data LOST: 0.00 Byte (0 sectors) your SD card is healthy and you can delete all .h2w files on your SD card.

DANGER

如果测试结果显示任何其他结果,您的 SD 卡可能已经出错或损坏,可能需要更换 !

TIP

You can now restore the contents of your SD card and continue.