psxmemcardmgr
psxmemcardmgr copied to clipboard
linux-dexdrive block device compatibility
I'd like to use this project in conjunction with the linux-dexdrive
project here.
Any chance of that being added as a possible input?
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
dexdrive0 254:0 1 128K 0 disk
thanks.
Interesting. If you dump a valid memory card using dd if=/dev/dexdrive0 of=somefile.bin
how big is the resulting file? Do you know if the format is equivalent to a .mc or a .gme? (one quick test would be to attempt opening it with psxmemcardmgr)
it seems to be mc format. 128k
-rw-r--r-- 1 pi pi 131072 Dec 11 23:50 dex_card0.img
-rw-r--r-- 1 pi pi 131072 Dec 12 01:30 dex_card1.img
pi@raspberrypi:/data/retronas $ cat dex_card0.img | hd | head -n10
00000000 4d 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |MC..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e |................|
00000080 51 00 00 00 00 60 00 00 01 00 42 45 53 4c 45 53 |Q....`....BESLES|
00000090 2d 30 32 39 30 38 43 5a 48 50 56 42 30 00 00 00 |-02908CZHPVB0...|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 |................|
00000100 52 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |R...............|
pi@raspberrypi:/data/retronas $
i am in the middle of integrating the module into RetroNAS, i have some more work to do in that space and part of that is verifying the data that i've dumped with dd.
i also want to try writing back an image to an mc and check it on hw.
opens fine in this tool, very cool. at a minimum i can offer our users dumping mc to fs for use with this tool as is but it would be good if they could interact directly with the device