Memory Card problems
#21
Kill the witch hunting please.
[Image: ref-sig-anim.gif]

Reply

Sponsored links

#22
(07-21-2013, 12:28 PM)KrossX Wrote: Test the attached build please. You'll need VS2012 runtimes.

Works with this build
Reply
#23
Good.

I use sio2.cmdlength to get the sio.bufSize, which worked fine for all I had tested. Persona 3 however, gives bad values from it.

BIOS: (cmd, length)

Quote:Memcard cmd: 11, 3
Memcard cmd: F3, 4
Memcard cmd: F3, 4
Memcard cmd: F7, 4
Memcard cmd: F0, 4
Memcard cmd: F0, 13
Memcard cmd: F0, 13
Memcard cmd: F0, 4
Memcard cmd: F0, 13
Memcard cmd: F0, 4
Memcard cmd: F0, 13
Memcard cmd: F0, 13
Memcard cmd: F0, 4
Memcard cmd: F0, 4
Memcard cmd: F0, 4
Memcard cmd: F0, 13
Memcard cmd: F0, 4
Memcard cmd: F0, 4
Memcard cmd: F0, 4
Memcard cmd: F0, 13
Memcard cmd: F0, 4
Memcard cmd: F0, 13
Memcard cmd: F0, 4
Memcard cmd: F0, 13
Memcard cmd: F0, 4
Memcard cmd: 28, 4
Memcard cmd: 27, 4
Memcard cmd: 26, 12
Memcard cmd: 23, 8
Memcard cmd: 23, 8
Memcard cmd: 23, 8
Memcard cmd: 23, 8
Memcard cmd: 23, 8
Memcard cmd: 28, 4
Memcard cmd: 11, 3
Memcard cmd: 28, 4
Memcard cmd: 11, 3
Memcard cmd: 28, 4

Persona 3: (cmd, length, port)
(with patch, otherwise would fail at first error)

Quote:Memcard cmd: F3, 4, 0
Memcard cmd: F3, 4, 0
Memcard cmd: F3, 4, 0
Memcard cmd: F3, 4, 0
Memcard cmd: F3, 4, 0
Memcard cmd: F3, 1, 0
Memcard cmd: F3, 1, 0

Memcard cmd: F3, 4, 0
Memcard cmd: F7, 4, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 4, 0
Memcard cmd: F0, 13, 0
Memcard cmd: F0, 4, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 27, 2, 0
Memcard cmd: BF, 2, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 28, 1, 0
Memcard cmd: 26, 1, 0
Memcard cmd: 11, 1, 0
Memcard cmd: 23, 6, 0

It starts well, but then it goes nuts for some reason. Then the authentication part works properly too (F0) and does whatever afterwards.

Attached is the patch, just specifies some command lenghts.


Attached Files
.zip   sio_p3.zip (Size: 648 bytes / Downloads: 197)
[Image: nbKSK.jpg]
Reply
#24
(07-22-2013, 03:05 PM)KrossX Wrote: Good.

I use sio2.cmdlength to get the sio.bufSize, which worked fine for all I had tested. Persona 3 however, gives bad values from it.

BIOS: (cmd, length)


Persona 3: (cmd, length, port)
(with patch, otherwise would fail at first error)


It starts well, but then it goes nuts for some reason. Then the authentication part works properly too (F0) and does whatever afterwards.

Attached is the patch, just specifies some command lenghts.

I wish I had this patch earlier, I went and deleted my memcards because I thoughd they were corrupt Sad

Thank you anyway!! Big help Smile
Reply
#25
Thank You! It works!
Reply
#26
(07-22-2013, 03:05 PM)KrossX Wrote: ...
Attached is the patch, just specifies some command lenghts.

Commit this?
Reply
#27
(07-23-2013, 01:05 AM)avih Wrote: Commit this?

Gotta check Mana Khemia first.

I'll try later today.

#EDIT: Tested and Mana Khemia has a very similar behavior. Works fine with the posted patch and build.

So considering that sio2.cmdlength ain't reliable on at least two titles, maybe it would be better to just not use it and specify the lenghts of all commands? Using it makes the code look nicer though.
[Image: nbKSK.jpg]
Reply
#28
Command lengths should probably be fixed like they are with cdvd
[Image: ref-sig-anim.gif]

Reply
#29
IIrc Persona 3 was always harder to get right regarding memory cards. Just chiming in Tongue2
Reply
#30
Would it be possible to backout the part which adds support for PSX mcds and/or the checksum thingy, but keep the multitap change in?

KrossX?
Reply




Users browsing this thread: 1 Guest(s)