SD2PSXTD
Download
OpenMCE

sd2psXtd Logo Logo by Berion ❤️

sd2psXtd Firmware

Latest stable version: 1.5.1 — Download firmware

New in 1.5.1

Full release notes

sd2psXtd is an extended firmware for the popular Multipurpose MemoryCard Emulator sd2psx by developer @xyzz (see here). It combines cutting-edge extended functionality (like game ID switching, file system access, and dynamic mode selection) with the rock-solid performance of the original sd2psx firmware.

It provides the same functionality as the official stable firmware and extends it with the following features:

PS2 Game ID switching PS2 PS1 dynamic mode selection PS2 MMCEMAN and MMCEDRV support PS2 Instant card availability PS2 1-128 MB card size support PS2 Support for developer, Arcade and Prototype PS2 models. PS1 BootCard mechanics PS1 PSRAM support PS1 Card Switch Controller Combo Support PS1 Super fast FreePSXBoot PS1 Net Yaroze Support GENERAL SD card layouts GENERAL Settings file GENERAL Support for other RP2040-based MMCE devices GENERAL Per Card Config GENERAL Template Cards GENERAL Game2Folder mapping GENERAL Splash Screen GENERAL Game Image Screen GENERAL USB modes GENERAL USB Mass storage GENERAL PS3 MCA emulation GENERAL USB-CDC command interface

PS2: Game ID Switching

Like on PS1, sd2psXtd can detect the game ID of a PS2 console and switch to a dedicated card per game. Game ID switching can be turned off in the device settings for PS2.

This is done in two ways:

History File Tracking

When starting a game, the PS2 writes its game ID to a history file on the current memory card. sd2psXtd tracks the write to this file and detects which game ID has just been written. After that, a game card for this game is mounted and exposed to the PS2.

MMCEMAN Game ID

MMCEMAN is a custom IOP module to communicate with Multipurpose Memory Card Emulators. This can be integrated with OPL so OPL can directly send the game ID of a launched game to sd2psx.

PS2: PS1 Dynamic Mode Selection

When launching in PS2 mode, commands sent to sd2psx are monitored. Since PS1 sends controller messages on the same bus as memory card messages, if a controller message is detected, the sd2psx switches to PS1 mode.

Firmware 1.5.1 adds experimental switching back to PS2 mode when a PS2 accesses the card after an automatic switch to PS1 mode. This can be used with DKWDRV and Free McBoot.

While in general this should be safe behavior, if sd2psx is used mainly in PS1, manual mode selection is recommended.

If sd2psx is connected to a PS1 in PS2 mode, there is always a risk of damaging your PS1 console. You have been warned!

Do not use sd2psx in dynamic mode on a PS1 multitap, as this WILL damage your PS1 multitap device.

PS2: MMCEMAN and MMCEDRV Support

MMCEMAN is a PS2 module for interacting with Multipurpose Memory Card Emulators. Its main use cases include:

PS2: Instant Card Availability

If using 8MB cards, sd2psXtd firmware exposes the card to the PS2 while it is still being transferred to PSRAM. This enables using FMCB/PS2BBL at boot time without additional waiting scripts. Very helpful for PlayStation 2 models with simpler OSDSYS programs, that result on faster boot times (like PSX DESR and Arcade PS2)

A new PS2 card created from a template becomes available after the firmware finishes copying the image.

PS2: 1-128 MB Card Size Support

Card sizes from 1 to 128 MB are supported. Newly created 1, 2, and 4 MB cards are automatically formatted. Cards larger than 8 MB rely heavily on quick SD card access, so on older or lower-quality SD cards, these larger cards may become corrupt.

While the feature has been extensively tested, it is still recommended to use 8MB cards, as this is the official specification for memory cards.

PS2: Support for Developer, Arcade and Prototype PS2s

PS2 memory cards have been used in variations of PS2 like: DevKits, TestKits, Arcades and Prototypes.

sd2psXtd firmware supports these devices by configuring the variant within the PS2 settings.

These PlayStation 2 variations use different magicgate keysets to ensure their memory cards are inaccessible in other devices (e.g., opening a developer memory card on a normal PS2). This is why SD2PSX must actively support them.

Devkit/DTL-H owners: as you may notice, SD2PSX has no DEVELOPER mode, this is because sd2psxtd is mimicking the behavior of licensed retail card. To use the device on developer hardware, set the card to RETAIL mode 1

PS1: BootCard Mechanics

If BootCard functionality is activated, the PS1 starts with BootCards at startup. If BootCard is not activated, the card index and channel from the previous session are restored automatically.

PS1: PSRAM Support

sd2psXtd firmware allows PS1 cards to be served from PSRAM. While this is mainly an under-the-hood change, it provides more flexibility in RAM usage.

PS1: Card Switch Controller Combo Support

Controller Button Mapping for Card and Channel Switching

The following button combinations are used to perform card and channel switches:

These mappings require that all four buttons (L1, R1, L2, R2) are held down in combination with one of the directional inputs.

The Controller Combos can be activated by a setting in the PS1 Settings menu.

PS1: Super fast FreePSXBoot

sd2psXtd allows super fast booting of FreePSXBoot by using some non standard card communication. Please note: This is only possible using a special FreePSXBoot Version provided at https://sd2psXtd.github.io

PS1: Net Yaroze Support

sd2psXtd will act as a Net Yaroze Access Card, if used with the Net Yaroze Software.

General: USB Modes (1.5.0)

The USB Mode submenu on devices with a display offers Serial, PS3 MCA, and Mass. Serial and PS3 MCA are saved across restarts; Mass is a temporary mode.

General: USB Mass Storage

Select USB Mode → Mass or enter set mode mass in a USB serial terminal to access the entire microSD card from a computer. The serial command also works on devices without buttons. Mass mode stops card emulation and disables the device buttons. Eject the drive on the computer to return to the previous console mode and USB profile. Idle time, USB suspension, and cable disconnection leave the device in Mass mode. Rebooting returns it to the saved Serial or PS3 MCA profile.

USB re-enumerates on entry and exit, so reopen the serial terminal after switching. While the computer owns the microSD card, CDC accepts only help and version.

The RP2040 uses USB 1.1 Full Speed, limited to 12 Mbit/s before protocol and SD-card overhead. File transfers are substantially slower than this theoretical limit.

General: USB PS3 Memory Card Adaptor Emulation

Select USB Mode → PS3 MCA to present the currently selected PS1 or PS2 card as a Sony PS3 Memory Card Adaptor. Compatible software can access that emulated card over USB. Select the appropriate console mode, card, and channel using the device controls.

On devices without a display, set MCA=ON in the [General] section of .sd2psx/settings.ini, or enter set mode mca through USB-CDC. The serial interface disconnects when MCA starts. Return to USB Mode → Serial, or set MCA=OFF on the SD card and restart, to use CDC again.

MCA exposes the selected memory card; Mass exposes the entire microSD card.

General: USB-CDC Command Interface

In Serial mode, the device exposes a USB-CDC serial interface that accepts simple text commands. This can be used to change cards, channels, modes, PS2 variants, or to reboot the device without using the on-device controls.

Commands are lowercase and submitted with Enter:

help
version
ls [path]
stat <path>
reset bl
reset dev
channel up
channel down
set channel <idx>
card up
card down
set card <idx> [channel <idx>]
set game <id> [channel <idx>]
set mode <ps1|ps2|mca|mass>
set variant <retail|proto|conquest|arcade>

reset bl resets to the bootloader. reset dev restarts the firmware. Card, channel, and game commands affect the currently active mode. Setting a PS2 variant also switches the device to PS2 mode.

Both normal and debug builds accept USB-CDC commands and report command output. Debug builds also send firmware logs over USB serial. set mode mca disconnects CDC and starts PS3 MCA emulation.

General: SD Card Layouts

The firmware supports MBR and GPT partition tables as well as superfloppy layouts, where the filesystem is directly on the card with no partition table.

General: Settings File

sd2psXtd generates a settings file (.sd2psx/settings.ini) that allows you to edit some settings through your computer. This is useful when using one SD card with multiple sd2psx devices or MMCE devices without a display to change settings.

A settings file has the following format:

[General]
Mode=PS2
FlippedScreen=OFF
MCA=OFF
[PS1]
Autoboot=ON
GameID=ON
EnableControllerCombo=ON
MaxCardIdx=0
MaxChannels=8
[PS2]
Autoboot=ON
GameID=ON
CardSize=16
Variant=RETAIL
MaxCardIdx=0
MaxChannels=8

Possible values are:

Setting Values
Mode PS1, PS2
Autoboot OFF, ON
GameID OFF, ON
CardSize 1, 2, 4, 8, 16, 32, 64, 128
Variant RETAIL, PROTO, ARCADE, CONQUEST
FlippedScreen ON, OFF
MCA ON, OFF
EnableControllerCombo ON, OFF
MaxCardIdx 1–255; 0 means unlimited
MaxChannels 1–255

MCA=ON selects PS3 MCA; MCA=OFF selects Serial. Mass storage is temporary and is not saved in this setting.

Set MaxCardIdx and MaxChannels separately in [PS1] and [PS2]. MaxChannels defaults to 8 and can be overridden per card. MaxCardIdx=0 is the default unlimited setting; the parser only applies positive values, so entering 0 does not clear an existing limit.

Note: Make sure there is an empty line at the end of the ini file.

General: Support for Other RP2040-Based MMCE Devices

Support for different MMCE devices that share the same MCU has been added:

For each device, follow the flashing instructions provided by the creator, using the corresponding sd2psXtd firmware file.

New in 1.2: PMC+ and PMCZero now support using the onboard buttons. They are assigned in the following way (according to the markings ons their board):

General: Per Card Config

There are some configuration values that can be modified on a per card base within a config file named CardX.ini in a card folder, where X is the card index.

Note 1: The CardSize setting is only used for PS2 cards and can only be either of 1, 2, 4, 8, 16, 32, 64, 128. Note 2: The BOOT folder should contain a file named BootCard.ini Note 3: Make sure there is an empty line at the end of the ini file.

MaxChannels accepts 1–255 and overrides the default for the current PS1 or PS2 mode.

[ChannelName]
1=Channel 1 Name
2=Channel 2 Name
3=Channel 3 Name
4=Channel 4 Name
5=Channel 5 Name
6=Channel 6 Name
7=Channel 7 Name
8=Channel 8 Name
[Settings]
MaxChannels=8
CardSize=8

General: Template Cards

To give new memory cards a set of starting saves or tools, copy a raw .mcd image from MemoryCards to the .sd2psx folder at the root of the microSD card.

Mode Template file Required size
PS1 .sd2psx/ps1.mcd 128 KB (131,072 bytes)
PS2 .sd2psx/ps2.mcd A supported PS2 card size, such as 8 MB (8,388,608 bytes)

The firmware uses the template when creating a numbered card, channel, Game ID card, or BootCard. It also uses the template when recreating a PS2 card with an invalid image size. The PS2 template's size takes precedence over CardSize in the device and per-card settings. An invalid template size falls back to an empty card.

Template formats and behavior

General: Game2Folder mapping

There are some games, that share save data for multiple game ids (like the Singstar series etc). For these cases, a custom game to folder mapping can be created.

If a game with a mapped id is loaded, instead of using the game id based folder, the mapped folder is used for storing the card.

The mapping needs to be defined in .sd2psx/Game2Folder.ini in the following way:

[PS1]
SCXS-12345=FolderName1
[PS2]
SCXS-23456=FolderName2

Be aware: Long folder names may not be displayed correctly and may result in stuttering of MMCE games due to scrolling.

Note 2: Make sure there is an empty line at the end of the ini file.

General: Splash Screen (1.3)

By default, sd2psXtd comes with a special splash screen resembling the project's logo.

You can customize this by going to the splashgen page on the project website!

From there, you can customize a splash screen to your needs. Once you are happy with the result displayed in the preview, press the Download UF2 button. This will generate a UF2 file containing your splash screen.

You can flash this splash screen just like any other firmware update.

Alternatively, place a generated splash.bin in the root of the SD card. On startup, the firmware imports it into flash and removes splash.bin from the SD card.

The flashed splash screen is maintained after a firmware update, so you probably only need to upload it once.

Note: When combining the splash screen with a firmware UF2 (such as for mass production or flashing multiple sd2psXtd with the same splash and firmware combination), it's strongly recommended to flash the combined image with picotool, since uploading using the usual firmware update procedure often does not work. To do so, please install picotool and run:

picotool load <combined_file_name>.uf2

while having the sd2psx to be updated connected in bootloader mode.

General: Game Image Screen (1.3)

Add a splash image that the device shows in the card main view. Use the splashgen page to convert a source image to the device .bin format, then place the generated file in the card folder on your SD card.

Naming and behavior:

Practical notes

Special Thanks to...

  1. Devkits: official retail memory cards use developer magicgate by default until the console actively requests to use retail magicgate with a dedicated command ↩