MrPalloncini / PicoMemcard

Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico
GNU General Public License v3.0
9 stars 1 forks source link

Castlevania SOTN saving freeze #9

Open whitezombie2000 opened 1 month ago

whitezombie2000 commented 1 month ago

Someone first reported this issue in the PSIO Discord with the PSxMemCard. We thought it was an issue with the individual's PSIO set up but we were incorrect. In my previous testing I didn't really test write operations with Castlevania SOTN after the person reported it. This is an issue with the Pico PSxMemCard and not the PSIO. I went to the first save point in the game and reproduced the issue on the second save attempt. Reset, tried again, and it took 15 save attempts. I also reproduced the issue on the X-Station after about 15 save attempts. I did about 50 save operations with the MemCard PRO and could not get the game to lock up. Also, I re-flashed realJoshByrnes's v1.0.22 fork and did about 50 save attempts. I could not re-produce the issue with his fork.

Here's a video of the issue. After the write operation it can randomly freeze.

https://youtu.be/TGdaC1neYfM

Jad3d87 commented 1 month ago

I've had this happen a few times. If you wait around 2 minutes you can reset the console and a usable save will be there. Not sure why this might happen. Maybe the game is trying to move ahead before the card is ready?

whitezombie2000 commented 1 month ago

I can tell you some behavior I noticed though. After getting the game to freeze when trying to save, if you restart the console, load the game (or any game), the card doesn't blink blue, as it just stays green. Usually when you start a game it will blink blue and switch back to green. If you reset after a freeze, load CSOTN in this state, try to save the game, it will freeze every time unless you pull out the card, or power cycle the console. But it will eventually freeze again anyway.

atds55 commented 1 month ago

Alguém relatou esse problema pela primeira vez no PSIO Discord com o PSxMemCard. Achamos que era um problema com a configuração PSIO do indivíduo, mas estávamos errados. Em meus testes anteriores, eu realmente não testei as operações de gravação com Castlevania SOTN depois que a pessoa relatou isso. Este é um problema do Pico PSxMemCard e não do PSIO. Fui ao primeiro ponto de salvamento do jogo e reproduzi o problema na segunda tentativa de salvamento. Reinicie, tentei novamente e foram necessárias 15 tentativas de salvamento. Também reproduzi o problema no X-Station após cerca de 15 tentativas de salvar. Fiz cerca de 50 operações de salvamento com o MemCard PRO e não consegui travar o jogo. Além disso, atualizei novamente o fork v1.0.22 do realJoshByrnes e fiz cerca de 50 tentativas de salvar. Não consegui reproduzir o problema com o garfo dele.

Aqui está um vídeo do problema. Após a operação de gravação, ele pode congelar aleatoriamente.

https://youtu.be/TGdaC1neYfM

I couldn't replicate the problem. I saved 50 times and the game didn't crash, it saved normally. Could it be related to the SD card or console model? I tested it on a SCPH-1000, with PSIO in midboot k1v4. My 512MB SD is formatted with cluster 512 bytes. This is the SD that came with the PsxMemCard from bitfunx.

whitezombie2000 commented 1 month ago

I have a NTSC SCPH-5501 for the PSIO and the X-Station. I did test 2 PSxMemCards and used the 512MB card that came with it. I also tried a couple other 32GB SD cards and had the same issue. I have a NTSC SCPH-1001 that can barley read discs, several PSone models, PM-41, and PM-41 (2) I could probably test when I have time. The PSxMemCards I have were purchased around March 2023. I also wonder if something could have changed with the manufacturing of the cards. The back of mine say v1.2 20220920.

Edit: My NTSC SCPH-1001 and NTSC SCPH-101 PSone had the same issue from a disc.

PSxMemCard_1

PSxMemCard_2

atds55 commented 1 month ago

I have a NTSC SCPH-5501 for the PSIO and the X-Station. I did test 2 PSxMemCards and used the 512MB card that came with it. I also tried a couple other 32GB SD cards and had the same issue. I have a NTSC SCPH-1001 that can barley read discs, several PSone models, PM-41, and PM-41 (2) I could probably test when I have time. The PSxMemCards I have were purchased around March 2023. I also wonder if something could have changed with the manufacturing of the cards. The back of mine say v1.2 20220920.

Edit: My NTSC SCPH-1001 and NTSC SCPH-101 PSone had the same issue from a disc.

PSxMemCard_1

PSxMemCard_2

My picomemcard is the same as yours. So it must be a random problem, in my test the problem did not occur.

MrPalloncini commented 1 month ago

This might be a problem regarding the pio timing between the read/write operation, similiar to issue #5 however, i dom't have a LA nor a way to check how the game itself expects the data.