Commit graph

22 commits

Author SHA1 Message Date
bushing
49cfded60b set svn:eol-style=native for **.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1442 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:30:24 +00:00
bushing
30c883bcfc set svn:eol-style=native for **.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:46:09 +00:00
LPFaint99
af46362f34 Fixes for crashes if firstblock or numblocks is > 2049
Fixes some memory leaks, removes duplicate function
some information about hdr added

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1311 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 05:30:18 +00:00
LPFaint99
3fdfd6e234 MemcardManager no longer crashes when opening an
invalid file.
Only opens .raw and .gcp files that have
correct hdr.size and checksums.
it is no longer possible to open the same memcard on
each side
Buttons are now only available when memcard is loaded.
memcard is loaded into a maximum of 8 pages with 16
entries perpage. added fixchecksum to Slot B.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1265 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 06:41:27 +00:00
LPFaint99
482cc819fb Update for GetFileData to check for incorrect values
in the first block, so no more crashing if your memcard
tries to use an invalid dir entry. Fixed titlePresent so
it checks the full filename instead of just the first
4 characters.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1211 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 06:37:35 +00:00
nakeee
9e31e3796a fix 2 more warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 09:47:59 +00:00
LPFaint99
8373b94fd2 small update, adds check to importFile so only one save per game allowed, adds check to remove file so removing last file on memcard will not corrupt it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1120 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 07:01:47 +00:00
LPFaint99
d2bbd6bda2 ImportFile and RemoveFile "fixed", should not cause corruption anymore, but still needs more work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1098 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-08 20:34:43 +00:00
LPFaint99
de4f4fc497 fix for error messages with memcard manager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@910 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 16:17:59 +00:00
LPFaint99
f257434b93 Removing duplicate code, cleanup, adding error messages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@909 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 05:33:52 +00:00
Shawn Hoffman
cb14a17ff5 updated GCMemcard to fix the header's checksum. sidenote: replace the first 0x13bytes of your raw memcard dumps with 0x0750B25EC2A150A9E2047343000000000B1B595C to use them in dolphin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@908 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 05:19:44 +00:00
Sonicadvance1
6fe6fd0b4c Fix Linux Building, Add failsafe check in volume deleting. Also started work on Microphone emulation, base work from Mem card. Just enough to make Odama think I have a Microphone in currently. It must be waiting for me to press the button on the Mic to continue to start, although I can wait through the intro and then use controller, is a pain though. More to come
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@870 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:23:02 +00:00
LPFaint99
f417aac20b Removes wx from gcmemcard, misc code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@869 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 02:27:50 +00:00
fires.gc
d3cbb81f0c a missing file...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@860 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 06:10:02 +00:00
fires.gc
7aead8d03e fixes so it compiles again in win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@859 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 06:09:11 +00:00
LPFaint99
6b4169e5b1 An attempt to fix my coding style to match wiki page
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@858 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 05:19:31 +00:00
Sonicadvance1
d84fa6195c Fixing stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@857 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 04:32:49 +00:00
LPFaint99
0629cc6690 My first commit, renames AddGci and SaveGci to ImportGci and ExportGci
adds Madcatz gameshark .gcs, and Datel Maxdrive/pro .sav file support to function importgci
adds conversion from .gcs and .sav to .gci, added to speed up testing for .gcs and .sav until ImportFile is fixed

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@856 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 03:16:09 +00:00
Shawn Hoffman
633881eb7a Added gci importing/exporting to the memcardmanager (thanks to lpfaint99, see issue 229). Also improved GCMemcard a bit.
I have loaded a raw dump from a real gamecube in dolphin successfully, then used FixChecksums on it (which actually changes some data...), and it continued to act correctly in dolphin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@841 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 06:09:52 +00:00
John Peterson
7d7b1b57ed Prettified the checksum fix. Moved it to its own button. The rest of the manager is now unaltered.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 04:24:33 +00:00
John Peterson
284e3ec211 Enabled checksum saving. This should give a reasonably ambitious person a fair chance to upgrade his savegames to the new version. - Please remember to make backups before any attempts to try it. I tried it with SSBM PAL and Mario Sunshine NTSC so I'm confident that it works, just try again if it fails.
Usage: Open your savefile, for example MemoryCardA.raw in a hex editor and update the gamecode and makercode according to yagcd 12.3.1 for the game you want to fix. And remember to update the tag on both locations, both Directory and Directory backup as explained in yagcd. Then open the file, still MemoryCardA.raw or whatever it's called in the Memcard manager (found under the Misc menu). That should correct the checksums. You don't need to do anything else after that, don't click Copy for example. Just close the Memcard manager and use the savefile in the latest revision.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@667 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 18:18:09 +00:00
nakeee
21171d8b1b git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@473 8ced0084-cf51-0410-be5f-012b33b47a6e 2008-09-07 20:26:38 +00:00