Repair Memory Card filesystem
Posted: Sun Jul 26, 2009 10:05 am
Hey there.
I have a memory card that had its filesystem damaged by a PS2 title (Soul Calibur III), and I was wondering if there is any tool to repair the filesystem of a memory card (just like that one of windows: fixboot/fixmbr. they repair an hard disk shown as "unformatted", but I don't know exactly how do they work), or if it's possible to develop something to access the filesystem's file/files, so that I could try to see if there's something wrong? :( It's kinda impossible, I know, but I wanna try :)
Thanks for any help!
ps.: with "access the filesystem", I mean: see, in text mode, the bytes of the file/files of the filesystem, I could do this in 2 ways: copy them to a pendrive, or finish my ooold project that I stopped months ago (a virtual keyboard with a nice textbox) to show the chars on the screen (or the number, in case of an unprintable byte).
ps.2: it's for personal use, I know, but vould help much people, and this topic is strictly about programing, I just don't know from where to start
[edit]
Ow, this guy (Ross Ridge) knows how the ps2 memory card filesystem work:
http://www.csclub.uwaterloo.ca:11068/mymc/ps2mcfs.html
According to him, the "magic" field must set as "Sony PS2 Memory Card Format " , and the superblock of the filesystem is "Located in the first page of the memory". The "magic" field is a byte array (a char array, in another words :) )
So... how do I access the memory card by page level?
ps.: I forgot to say, but my memory card is being detected as unformatted by the PS2 (then, I suppose the "magic" field was changed somehow)
I have a memory card that had its filesystem damaged by a PS2 title (Soul Calibur III), and I was wondering if there is any tool to repair the filesystem of a memory card (just like that one of windows: fixboot/fixmbr. they repair an hard disk shown as "unformatted", but I don't know exactly how do they work), or if it's possible to develop something to access the filesystem's file/files, so that I could try to see if there's something wrong? :( It's kinda impossible, I know, but I wanna try :)
Thanks for any help!
ps.: with "access the filesystem", I mean: see, in text mode, the bytes of the file/files of the filesystem, I could do this in 2 ways: copy them to a pendrive, or finish my ooold project that I stopped months ago (a virtual keyboard with a nice textbox) to show the chars on the screen (or the number, in case of an unprintable byte).
ps.2: it's for personal use, I know, but vould help much people, and this topic is strictly about programing, I just don't know from where to start
[edit]
Ow, this guy (Ross Ridge) knows how the ps2 memory card filesystem work:
http://www.csclub.uwaterloo.ca:11068/mymc/ps2mcfs.html
According to him, the "magic" field must set as "Sony PS2 Memory Card Format " , and the superblock of the filesystem is "Located in the first page of the memory". The "magic" field is a byte array (a char array, in another words :) )
So... how do I access the memory card by page level?
ps.: I forgot to say, but my memory card is being detected as unformatted by the PS2 (then, I suppose the "magic" field was changed somehow)