Memory Cards Now Working On the PlayStation Core
-
- Top Contributor
- Posts: 1018
- Joined: Thu Dec 10, 2020 5:44 pm
- Has thanked: 315 times
- Been thanked: 238 times
Re: Memory Cards Now Working On the PlayStation Core
I don't see anything in the menus? How do you use this feature?
-
- Posts: 91
- Joined: Mon Jun 08, 2020 1:54 am
- Has thanked: 3 times
- Been thanked: 11 times
Re: Memory Cards Now Working On the PlayStation Core
Grab the latest nightly build...FoxbatStargazer wrote: ↑Sun Dec 19, 2021 12:42 am I don't see anything in the menus? How do you use this feature?
Re: Memory Cards Now Working On the PlayStation Core
Do we have to use this empty memory card or can we just create one like this?
Code: Select all
dd if=/dev/zero bs=8192 count=16 of=memcard.mcd
- pgimeno
- Top Contributor
- Posts: 709
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 277 times
- Been thanked: 226 times
Re: Memory Cards Now Working On the PlayStation Core
You can create one like that, but it needs to be formatted. In my experience some games allow you to format it, e.g. Sentinel Returns.
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV
- pgimeno
- Top Contributor
- Posts: 709
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 277 times
- Been thanked: 226 times
Re: Memory Cards Now Working On the PlayStation Core
Are there plans to support writing to memory cards on the fly, as if they were hard or floppy disks, rather than using autosave or the like? (if that's possible at all)
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV
-
- Core Developer
- Posts: 385
- Joined: Sat May 23, 2020 12:55 pm
- Has thanked: 42 times
- Been thanked: 414 times
Re: Memory Cards Now Working On the PlayStation Core
The problem is that writing memory card to sdcard will interrupt CD transfer with HPS. It is just too slow to do both at the same time, so i have to pause the core to make it work.
- pgimeno
- Top Contributor
- Posts: 709
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 277 times
- Been thanked: 226 times
Re: Memory Cards Now Working On the PlayStation Core
Thanks for the explanation. What a paradox, that writing 16 KB (8 KB directory + 8 KB data) at such a slow speed as a memory card write doesn't fit on the bus.
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV
-
- Core Developer
- Posts: 385
- Joined: Sat May 23, 2020 12:55 pm
- Has thanked: 42 times
- Been thanked: 414 times
Re: Memory Cards Now Working On the PlayStation Core
Oh, it's even less, just 128bytes per block.
The problem is, that a real memcard is written on the fly: every byte that comes in is written directly to memcard.
The time it requires to write onto the flash is within the transfer time (~450 clock cycles), so it can do that.
On mister i can only send the whole block at once, when the whole block was written by the game.
However, the game may already write the next block shortly after.
So i only have time to send all 128bytes while the next header bytes are received. So I only have less than 5000 clock cycles to tranfer all 128bytes to HPS.
Now, if the CD has requested a block(2352bytes) from the HPS at the same time, this does not work and the memory card cannot take the next data and must stall.
However, the games know that the memcard never needs to stall and assume the card is broken.
This is nothing theoretical, i really tried it, even with implementing a double buffer in the memcard interface, but CD read, e.g. when doing a seek before, can take so long on the HPS, that memcard WILL fail randomly.
The problem is, that a real memcard is written on the fly: every byte that comes in is written directly to memcard.
The time it requires to write onto the flash is within the transfer time (~450 clock cycles), so it can do that.
On mister i can only send the whole block at once, when the whole block was written by the game.
However, the game may already write the next block shortly after.
So i only have time to send all 128bytes while the next header bytes are received. So I only have less than 5000 clock cycles to tranfer all 128bytes to HPS.
Now, if the CD has requested a block(2352bytes) from the HPS at the same time, this does not work and the memory card cannot take the next data and must stall.
However, the games know that the memcard never needs to stall and assume the card is broken.
This is nothing theoretical, i really tried it, even with implementing a double buffer in the memcard interface, but CD read, e.g. when doing a seek before, can take so long on the HPS, that memcard WILL fail randomly.
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: Memory Cards Now Working On the PlayStation Core
Is this working for people? I have played several games, saved along the way, and I think I can restore during that day. I come back the next day and there are no games to restore from the memory card. Also, do I need a different memory card for each game? I would prefer not to use save states because it is too tempting to save a lot more and restore anytime I make a mistake and it takes the fun out of the game. Thanks!
-
- Posts: 261
- Joined: Sun May 24, 2020 10:06 pm
- Has thanked: 136 times
- Been thanked: 78 times
Re: Memory Cards Now Working On the PlayStation Core
thorr wrote: ↑Sat Mar 26, 2022 8:39 pm Is this working for people? I have played several games, saved along the way, and I think I can restore during that day. I come back the next day and there are no games to restore from the memory card. Also, do I need a different memory card for each game? I would prefer not to use save states because it is too tempting to save a lot more and restore anytime I make a mistake and it takes the fun out of the game. Thanks!
The core will save to a different memory card per game by default (though it is possible to select a specific memory card if you wish).
If you want to keep the saves, you need to open the MiSTer OSD and select “save memory cards” after saving in-game. You can also choose autosave, which just requires opening the OSD.
Re: Memory Cards Now Working On the PlayStation Core
Thanks for this. I'm going to try this out tomorrow.
- pgimeno
- Top Contributor
- Posts: 709
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 277 times
- Been thanked: 226 times
Re: Memory Cards Now Working On the PlayStation Core
I also had trouble when mixing regions. When you run the same game with a disc from a different region, the icon looks right in the MC but it won't load.
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV
Re: Memory Cards Now Working On the PlayStation Core
Just started experimenting with this core today and so far it's great, but I'm running into two issues with memory cards:
1. How do you import saves? I'd really hate to have to redo all of the unlocks for games like Resident Evil. Is it possible to take a Dex Drive save from GameFAQs and convert it to work on MiSTer?
2. Since each game gets its own memory card, how would you import a Suikoden save into Suikoden II?
1. How do you import saves? I'd really hate to have to redo all of the unlocks for games like Resident Evil. Is it possible to take a Dex Drive save from GameFAQs and convert it to work on MiSTer?
2. Since each game gets its own memory card, how would you import a Suikoden save into Suikoden II?
-
- Core Developer
- Posts: 385
- Joined: Sat May 23, 2020 12:55 pm
- Has thanked: 42 times
- Been thanked: 414 times
Re: Memory Cards Now Working On the PlayStation Core
You can just copy and rename files. The supported ending are sav and mcd, but any raw 128kbyte card will work when renamed.
To keep saves across games, either have them in the same directory or load the card in slot 2 by hand (and maybe copy to card 1 with the BIOS copy tool if you want)
To keep saves across games, either have them in the same directory or load the card in slot 2 by hand (and maybe copy to card 1 with the BIOS copy tool if you want)
Re: Memory Cards Now Working On the PlayStation Core
So what should the filnames for the cards be called?FPGAzumSpass wrote: ↑Mon Apr 25, 2022 4:29 pm You can just copy and rename files. The supported ending are sav and mcd, but any raw 128kbyte card will work when renamed.
To keep saves across games, either have them in the same directory or load the card in slot 2 by hand (and maybe copy to card 1 with the BIOS copy tool if you want)
I've called one of them the same name as the game files and it seems to work for slot 1, when i try to mount in the OSD i can't select anything though. But i've only tried slot 1?
Complication is that i'm running everything from a NAS, but AFAIK looks like if you mount a CIFS share it just replaces the games folder that's normally on the SD card...
Re: Memory Cards Now Working On the PlayStation Core
Here's a tip for anyone that want to play with save games.
https://github.com/Pezz82/MemCard-Pro-P ... laystation
Pezz82 has done a great job here, collecting save game files for a ton of games. Just get the MemCard Pro Pack Mister zip.
https://github.com/Pezz82/MemCard-Pro-P ... laystation
Pezz82 has done a great job here, collecting save game files for a ton of games. Just get the MemCard Pro Pack Mister zip.