Memory Card Emulator for PlayStation 2

Part of HD Homebrew Project at PSX-SCENE.

HD_Project

HD_Project is the frontend (GUI) for the memory card emulator. It allows to dump real memory cards using new MCMAN & SIO2MAN modules from a game disc and can find IOPRP images automatically to launch a game. The following file contains ELF and full source code.

HD_Project_V1.05.rar (mcsioemu v0.4.1 mcdump v1.3) [Created by Polo]

MCS2EMUL

MCS2EMUL is a generic loader for the memory card emulator. It uses FAKEBOOT module to inject the emulator along with other required modules into a game and block IOP reset. The loader can be launched with PS2Link program while a game disc is in console's drive to start a game with the memory card emulator.

Typical usage: ps2client -h ps2 execee host:mcs2emul.elf "-ioprp=cdrom0:\IOPRP300.IMG;1" "cdrom0:\SLUS_212.44;1"

The following files contain MCS2EMUL.ELF:

MCS2EMUL.ELF (Jun 10 2007)
MCS2EMUL.ELF (May 23 2007)
MCS2EMUL.ELF (Apr 26 2007)
MCS2EMUL.ELF (Apr 25 2007)
MCS2EMUL.ELF (Apr 24 2007)

Source code:

MCS2ESRC.ZIP

MC2 EMULATOR for USB storage devices

USBMCEMU.ELF is a version of loader&emulator for use with USB mass-storage devices. It's similar to MCS2EMUL.ELF for HDD.

Typical usage: ps2client -h ps2 execee host:mcs2emul.elf "-ioprp=cdrom0:\IOPRP300.IMG;1" "cdrom0:\SLUS_212.44;1"

usbMcEmu.rar (Jun 04 2007) [Created by ffgriever]
McEmu.rar (Jun 03 2007) [Created by ffgriever]
mcemul usb.rar (Jun 03 2007) [Created by ffgriever]

MCSIOEMU

MCSIOEMU is the memory card emulator IRX module. It hooks SIO2MAN's interface to handle SIO2 memory card commands. The emulator uses memory card image file(s) on a PFS partition to emulate a memory card. The following file contains IRXs and their source code.

MCSIOEMU.IRX v0.6 (Jun 10 2007)
MCSIOEMU.IRX v0.5 (May 20 2007)
MCSIOEMU.IRX v0.4 (May 04 2007)
MCSIOEMU.IRX v0.3 (Apr 26 2007)
MCSIOEMU.IRX v0.2 (Apr 20 2007)

MCDUMP

MCDUMP is IRX module that can be used to copy a real memory card to a single file. It will dump the whole card to a file, i.e. memory card image will be produced. The image file differs from virtual memory card file format used by PCSX2 (PlayStation 2 emulator for PC) since PCSX2 saves "spare data" while neither MCDUMP nor MCSIOEMU don't write "spare data" to a file. The difference between these image formats can be compared with ISO&BIN file formats for CD images. The MCDUMP is supposed to work with new MCMAN modules while its compatibility with the default MCMAN ("rom0:MCMAN") is not guaranteed. Furthermore, MCDUMP can detect non-standard memory card (16MB, 32MB and so on) with the default MCMAN module so it will always assume the memory card is a standard 8MB card unless it uses a new MCMAN module.

Typical usage: ps2link -h ps2 execiop host:mcdump.irx -port=0 host:memorycard0.bin

MCDUMP v1.5
MCDUMP v1.4
MCDUMP v1.2
MCDUMP v1.1

SIO2 Memory Card command compatiblity list

Codes Size Support Description
0x81 0x11 0x04 Dummy Probe card(?) / Detect card change(?) [PS2]
0x81 0x12 0x04 Dummy I/O (write) status (?) [PS2]
0x81 0x21 0x09 Yes Erase block of page [PS2]
0x81 0x22 0x04 Yes Start Page Writing [PS2]
0x81 0x23 0x04 Yes Start Page Reading [PS2]
0x81 0x24 0x86 No Unknown command
0x81 0x25 0x04 No Unknown command
0x81 0x26 0x0D Yes Read Card Spec [PS2]
0x81 0x27 0x05 Yes Set termination code [PS2]
0x81 0x28 0x05 Dummy Probe PS2 Card (?) [PS2]
0x81 0x30 0x04 No Unknown command
0x81 0x42 0x06+ Yes Write Page Data [PS2]
0x81 0x43 0x06+ Yes Read Page Data [PS2]
0x81 0x52 0x0C+ No Read Page Data [PS1]
0x81 0x57 0x0A+ No Write Page Data [PS1]
0x81 0x58 0x05 No Unknown command for PocketStation [PDA]
0x81 0x81 0x04 Dummy Read Status (?) [PS2]
0x81 0x82 0x04 Dummy Erase/Write Status (?) [PS2]
0x81 0xBF 0x05 Dummy Unknown command [PS2]
0x81 0xF0 ? No Send MagicGate command code [PS2]
0x81 0xF3 0x05 Dummy Reset MagicGate authentification [PS2]

www.cdvdmania.com.ru