Commit Graph

72 Commits

Author SHA1 Message Date
LPFaint99 1e0b0bf84d Fixes/Cleanup for the MemcardManager.
Notable Changes:
Fixes right click menu in linux.
Fixes Issue 2412.
sram.raw file is no longer required to format a memcard
Update to use new ini sections, automatically remove default settings from ini file
enable pages setting no longer requires memcard manager to be reopened to take effect
it is no longer possible to switch to a negative page number

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6546 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-10 07:11:05 +00:00
Soren Jorvang 7828a689e7 Hopefully fix string concatenation on unicode builds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5960 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-24 07:31:48 +00:00
Soren Jorvang 2d06b4114b Some cases where where uses of wxFileSelector with
wxFileSelectorDefaultWildcardStr had been copy-pasted and
changed to use specific filetypes had retained the extranous
format arguments to wxString::Format.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5957 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-23 23:50:09 +00:00
Soren Jorvang b7c2e523b3 Treat strings from external sources as 8-bit so FromAscii doesn't barf.
Ideally we should be more character set aware, but at the moment we
use anonymous 7/8-bit strings in too many places.

Fix use of AddGrowable{Col,Row}. Any (non-zero) rows/columns must     
have been created first by adding an item to it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5648 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-11 08:39:03 +00:00
Glenn Rice 91e1d053d3 Missed one instance of the Shift-JIS font. Hopefully this fixes issue 2736?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5633 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-08 02:03:44 +00:00
hrydgard a3c96ac42c Warp back to 5578. Sorry for the lost changes, please re-apply. Reason: 5579 is a complete disaster.
Not only does it change tons of files to switch to a new and non-working (it doesn't parse my ini files, at least) ini parser, it also reshuffles a lot of code and removes a plugin. The latter part is fine, but doing these two major switches in one revision, one of which is broken, is completely unacceptable. I said to merge tiny changes, not massive reworkings.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5589 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-03 18:05:08 +00:00
Shawn Hoffman e4085f0f04 Merge GCPadNew into Dolphin. This takes place in three segments: Core, InputCommon, and InputUICommon. From now on it can be referred to just as "GCPad".
Switch to Billiard's IniFile implementation throughout Dolphin (it's faster!!).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5579 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-03 04:55:39 +00:00
luisr142004 816febd3b0 finish proper window handling, fix the modal state of the config dialogs, plus some minor cleanup/changes :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5129 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 06:12:35 +00:00
Glenn Rice feba09f7a3 Linux global build. At least the basic footwork is done here.
Basic usage:  "sudo scons install=global install"
Hopefully this doesn't break builds on Macs.  I have tested this on linux and windows.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4994 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 21:56:29 +00:00
LPFaint99 b186f0821e Adds experimental data.bin export of wii saves,
use at your own risk as it has been tested only to the point that a real wii recognizes the save on an sd card
Please post test results here or on issue 1945
removed the automated backup when importing from a save.bin

fixed display of pokemon titles in memcardmanager

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4829 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-14 07:19:10 +00:00
ayuanx 1e2f7c89c3 Fixed Issue 2005
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4820 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-13 06:34:34 +00:00
Shawn Hoffman 66b80131d6 wxMenu objects are now deleted by wxwidgets - should fix a few GUI-related crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4602 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-23 08:05:54 +00:00
LPFaint99 86e585a66a Work towards issue 1229; initial framework for including exi devices in savestates.
Another Unicode fix :( - exporting gci works again

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3999 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 08:26:57 +00:00
LPFaint99 e941dd79cd Fixes issue 1255.
(wxString / char * conversion)
Move CopySJISToString to WxUtils.
Add ability to view sjis name and comment for japanese memcards
Add ability to format sjis memcards
CopySJISToString needs work on linux

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3945 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-07 08:52:04 +00:00
LPFaint99 6cbeeafdf1 some more fixes for the switch to unicode. Thanks sl1nk3.s
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3925 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-02 05:59:55 +00:00
LPFaint99 8302ac84de dolphinwx and debuggerwx can now be compiled with unicode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3906 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 07:09:26 +00:00
XTra.KrazzY c86d2e5129 Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 21:32:10 +00:00
death2droid 73a7686044 Fix up all copyright dates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3886 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 11:51:40 +00:00
LPFaint99 9bc2e789d3 Memcard Manager:change error message for delete failure and remove unnecessary #defines
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3829 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 07:59:31 +00:00
LPFaint99 4bbc432506 Add log for MEMCARD_MANAGER (requires an almost complete rebuild :( sorry)
Fix a crash when trying to delete a save from a memcard that the DEntry order does not match the starting block order
add the option to export saves as GCS and SAV
Buildfix for external MEMCARD_MANAGER

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3826 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 01:16:17 +00:00
LPFaint99 15d49e5afd make working dir save to a platform specific file
fix a possible buffer overflow in MemcardManager when creating a gci savename
fix Previous Page button from being available after deleting the last save on page 2
remove magic numbers from GCMemcard

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3819 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-17 06:03:53 +00:00
LPFaint99 22eff0846f Remove the FixChecksums Buttons from MemcardManager
This function is not necessary for gci gcs or sav import!!!
The only reason to use it at this point is either fixing a memcard from around r700 by using a hex editor.
Anyone who uses a hex editor should be able to figure out the rightclick menu

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3252 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-16 08:17:06 +00:00
LPFaint99 f852ea41c4 Add the option to filter gamelist
add a drive command that I have only seen with gcos multigame discs that allows them to boot, otherwise they will hang
add a default path for browse in memcard manager
fixed display of format time in MCMdebug.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3098 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-28 02:30:50 +00:00
LPFaint99 4868d570bc adds some info about the memcard header, taken from libogc
wip real format function for GCMemcard class
somewhat useful memcard debug window
sram header taken from libogc

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2499 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 07:15:10 +00:00
facugaich cd93093cc8 Fix: Memcard Manager dialog in Linux
Fix: IniFile's handling of CRLF in Linux

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 18:08:03 +00:00
nakeee 9ec81d4bf0 linux compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2377 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 21:37:36 +00:00
LPFaint99 e5cf9c8b8c Fix for read from raw drive on some machines,
must have been a fluke that it worked for me and a few others
thanks to shuffle2 and daxtsu for testing patch

some linux compile fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2360 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 07:52:02 +00:00
LPFaint99 341ac26401 MemcardManager general cleanup, ini settings fixes
disallows multiple formats for icons

adds export all saves to right click menu

sets exported save name to gamecode+filename.gci


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2353 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 03:23:48 +00:00
LPFaint99 aced3c00fd Some WIP work on MemcardManager, nothing for enduser.
Mostly to avoid using a hexeditor to look at dir entries

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1874 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 06:06:30 +00:00
LPFaint99 b56f7a4682 Added swapdisc function, tested with TOS switching from disc 2 to disc 1. minor memcard manager cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1628 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 07:20:22 +00:00
nakeee 422437824c compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1613 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 19:40:20 +00:00
LPFaint99 011f857b24 Fix for r1600 missing parenthesis, which made it impossible to use an existing memcard
Added set as default to rightclick menu of memcard manager
compile fix for Jit64/Jit.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1610 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 18:43:52 +00:00
LPFaint99 c652c5e1f0 a few more changes, you can now set a default memcard to load, error messages made a bit more clear
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1601 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 08:47:38 +00:00
LPFaint99 c695ebd6f1 simplified EXI_DeviceMemoryCard.cpp,
warning fix for WII_IPC_HLE_Device_usb.cpp,
codecleanup and added the ability to create a formated
16Mb memcard in MemcardManager,
calibrate button is now easier to read in nJoy Testing

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1600 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 08:07:04 +00:00
nakeee 3c2a41c290 linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1522 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 19:49:19 +00:00
LPFaint99 d1712f15ca MemcardManager and GCMemcard fixes/code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1518 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 11:30:00 +00:00
nakeee 13acef8793 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1509 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 10:42:18 +00:00
omegadox 2c9f66e3b2 some fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1508 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 10:33:02 +00:00
LPFaint99 3e33e06844 memcardmanager: lots of code cleanup a few minor fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1504 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 07:14:37 +00:00
LPFaint99 cf987d255d Memcardmanager fixes. Fix for missing return values in switch statement, fix for return value from importfile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1498 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-11 06:20:39 +00:00
nakeee f82ee1faa6 first time I had to remove wxT() to make it compile:)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1481 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 09:57:15 +00:00
LPFaint99 4f40c79345 Adds a right click menu options to memcard manager, whether to use pages\ how many saves per page, which columns to show/hide
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1476 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 02:41:55 +00:00
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
LPFaint99 5712a74ffd Fix for memcard manager, now exporting and copying, deleting saves on pages other than page one will work correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1412 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 09:29:44 +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
nakeee 6e4a5d8cda Moved wiimote_test to wiimote
Some linux compile fixes


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1266 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 08:44:02 +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
Shawn Hoffman e3f9886c72 GUI updates: filesystemviewer is now ISOproperties, beginning of gameconfig (gameini) editing. Some misc cleanup here and there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1126 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 18:39:09 +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