(09-26-2013, 05:02 PM)Starscream Wrote: [ -> ]I've never had my memory card get corrupted in almost 10 years of using Dolphin. I guess I'm once again in the minority.
I have, a few times, in only 2 years of using dolphin. This is also vastly more convenient for those of us who are copying save files to a memory card on a daily basis.
Code:
> ls ~/.dolphin-emu/GC/*raw*
-rw-r--r-- 1 delroth users 16M Mar 30 22:04 /home/delroth/.dolphin-emu/GC/MemoryCardA.EUR.raw
-rw-r--r-- 1 delroth users 16M Jan 3 2013 /home/delroth/.dolphin-emu/GC/MemoryCardA.EUR.raw.bak
-rw-r--r-- 1 delroth users 16M Jan 10 2013 /home/delroth/.dolphin-emu/GC/MemoryCardA.JAP.raw
-rw-r--r-- 1 delroth users 16M Jun 30 20:35 /home/delroth/.dolphin-emu/GC/MemoryCardA.USA.raw
-rw-r--r-- 1 delroth users 16M Aug 20 2012 /home/delroth/.dolphin-emu/GC/MemoryCardA.USA.raw.bak
-rw-r--r-- 1 delroth users 16M Mar 29 00:59 /home/delroth/.dolphin-emu/GC/MemoryCardA.USA.raw.bak.2
-rw-r--r-- 1 delroth users 16M Jan 25 2013 /home/delroth/.dolphin-emu/GC/MemoryCardA.USA.raw.bak.3
-rw-r--r-- 1 delroth users 16M Feb 1 2013 /home/delroth/.dolphin-emu/GC/ZTP_memcard.raw
Yep, won't miss the old raw files.
(09-26-2013, 05:00 PM)LPFaint99 Wrote: [ -> ]many games use multiple gci files, typically games only access/write to files that share the same gamecode, but features like ssbm reading the pikmin save and giving you a trophy and MGS reading other save titles will still occur.
writes only occur to modified gci files, if something goes wrong and the write is incomplete only that gci file will be affected as the unmodified gci files are not written to. This is in contrast to a memorycard dump where on each save the entire memorycard is written to disk, and if something goes wrong everything on the memorycard can be lost
the first time you run a build from this branch with GCI Folder for the Slot device it will copy all of the gci files from your current memory card.
if by the 4.0 branch you mean the 4.0 stable build no. If you mean the development 4.0-xxx builds, then I imagine it will once the feature has been thoroughly tested
Sorry for the confusion, yeah, I meant the 4.0-xxxx git build files once it's been thoroughly tested. Will test the builds from your branch. I like this idea a lot

The fact that only game specific saves can get corrupted as opposed to an entire raw memory card is quite the nice feature.
Just tried with zelda tp, starting with no save file at all. I created it, started a game, then tried to save, and it said the card was corrupted, and prompted to format. I did so, and saved, then tried to again, right away. Same thing. Stopping emulation, and restarting it fixed it.
Games that accesses other games saves are working (like MGS or the GC IPL)?
(09-27-2013, 02:19 AM)Jhonn Wrote: [ -> ]Games that accesses other games saves are working (like MGS or the GC IPL)?
The GC IPL works fine. Copying and moving saves works. The moved save gets a .deleted extension on the source card.
(09-26-2013, 05:02 PM)Starscream Wrote: [ -> ]I've never had my memory card get corrupted in almost 10 years of using Dolphin. I guess I'm once again in the minority.
I also have not, but I've seen enough complaints about it to be concerned. The fewer chances for a user to shoot themselves in the foot the better
(09-27-2013, 04:18 AM)moosehunter Wrote: [ -> ]The GC IPL works fine. Copying and moving saves works. The moved save gets a .deleted extension on the source card.
Saves that are deleted by the GC/Wii software are indeed renamed to *.deleted
(09-27-2013, 02:19 AM)Jhonn Wrote: [ -> ]Games that accesses other games saves are working (like MGS or the GC IPL)?
I tested this with SSBM, and it does give you the Pikmin trophy when there is a pikmin save on the card
(09-27-2013, 01:19 AM)RachelB Wrote: [ -> ]Just tried with zelda tp, starting with no save file at all. I created it, started a game, then tried to save, and it said the card was corrupted, and prompted to format. I did so, and saved, then tried to again, right away. Same thing. Stopping emulation, and restarting it fixed it.
thanks for the report, i'll see if I can reproduce it
EDIT: need more info, it works fine here with NTSC TP and no save.
started game, saved successfully in all 3 slots
Uh, what happens if I delete a game that already have a .deleted file in the virtual memcard folder?
there is currently no extra checking to see if the rename succeeds.
The rename function in C++ is implementation specific, if the destination already exists they can either fail to rename, or replace the destination. I don't know offhand which option is used by windows
I can add error checking and force it to be one of these options, or something different
i would prefer the replacement option, effectively keeping a backup of the save the most recent time that the emulated software deleted it.
Probably should add this info to the first post, but keep in mind you can rename files all you want (just keep the .gci extension) and the names will be preserved each time you load them, the current names are just because they need a default name
Ah, sorry, i'm bad at git. The latest version works fine.