summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
AgeCommit message (Collapse)Author
2010-06-02Meta:Soren Jorvang
Using Unix tools to operate on a tree containing filename with spaces in them is really annoying, so rename the handful of instances where there were spaces. Host.cpp has never been used. Games tend to lookup the following directories that we don't yet have anything to put in, so prepopulate them in Data/User/Wii: title/00010001 title/00010002 title/00010003 title/00010004 title/00010005 title/00010006 title/00010007 meta shared2/title Set eol-style native on a number of text files which didn't already have it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-01Only warn about unknown magic words if none of the known ones are found.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5563 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Limit buffer size required to extract files. This helps avoid out of memory ↵donkopunchstania
errors. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5553 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Consider 'X' as region-free.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5552 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Mark 'A' as being region-free, but still explicitly default it to Soren Jorvang
European settings. Also try to add sensible defaults for [LMNTQ] taken from http://wiibrew.org/wiki/Title_database#Region_Codes . git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5551 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30'A' appears to be another country code for Europe.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5550 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Make this work with debug builds again.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5540 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Add some safety to file names. This fixes a buffer overrun when extracting ↵donkopunchstania
everything from an ISO. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5537 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28Improve iterator usage.Jordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5528 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28In r5448 the CSharedContent and cUIDsys constructors create the Wii/shared1Soren Jorvang
and Wii/sys directories if they do not already exist. This conflicts with DolphinApp::OnInit (run after constructors) which populates the User tree only if there isn't already something there. Instead, set up the two directories in the Data tree. With this change, sys/uid.sys still won't be created until the _second_ run after a fresh install, so these file initializations should be moved out of constructors so that they will be run after OnInit(). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5526 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28Linux compile fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5525 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28GameListCtrl: fixes progress bar for extracting multiple files (cant mix ↵LPFaint99
ascii with unicode wxstring:format) use appropriate extensions extracting compressed wii discs check for tmd+tik for each title and list titles correctly for sysmenu versions <=0xE0 this will allow viewing of installed channels but they will not launch until ES_Launch is emulated so far I have not been able to determine why later sysmenu versions do not display channels correctly switching between system menu versions is as simple as rightclicking a system menu wad in the gamelist and installing to wiimenu than restarting git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5524 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-26Remove unused variables.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5480 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-23misc stuffMarko Pusljar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5468 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-13Install shared content from wads to the proper locationLPFaint99
allows (among other things) installing the wiimenu from a wad extracted from the update partition of a game currently you can choose Tools > Install Wii Menu or right click wad from the gamelist and install restart required to have the Tools > Load Wii Menu work I thought I had already commit this, I guess I forgot and it's just been sitting on my hdd :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5448 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-04lpfaint's fix for compressing small disc images. Fixes issue 2569Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5433 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-17Several little fixes.Glenn Rice
Fixed a segfault in linux when a cd/dvd drive is empty or invalid and "Boot from DVD" or "Show Drives" are selected. On all platforms if a game fails to load show the game list again. The other things here are essentially code cleanup and won't be noticeable by most users. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5204 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-07Removed more compiler warnings in linux.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5170 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-03~1KB mem leak fix in NANDContentLoader.cppSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5152 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24Systematically eliminating compiler warnings.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5117 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17More memory leak fixing.donkopunchstania
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5072 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO ↵Sonicadvance1
from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5067 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14Bunch of tiny memory leaks fixed and cleanup, フウ〜!Sonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5056 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08DiscScrubber: er, actually we don't need to store/check for a flag on the ↵Shawn Hoffman
original image anymore either. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5033 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08another patch from baby.lueshi: DiscScrubber doesn't modify original file ↵Shawn Hoffman
anymore, and just returns the "real" or "free'd" buffer inline with compression - so it should be a little faster too :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5032 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08Use standard C file i/o in PlainFileReader instead of Windows' functions. ↵Shawn Hoffman
Fix a memleak in CompressedBlob and VolumeDirectory. Thanks to baby.lueshi for finding the File i/o issue :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5031 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02Linux global build. At least the basic footwork is done here.Glenn Rice
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-02Some small clean up + fixes to make valgrind happynakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4991 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-29Fixes Issue 2176 (SysConf on OSX), plus some initialization order warning ↵j4ck.fr0st
fix in VolumeDirectory.cpp git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4985 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-17Fix for importing / exporting more than one save per launchLPFaint99
SD_IV should not be global, thanks to interdpth as I was only testing with one save before remove duplicated code from BannerLoaderWii.cpp git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4863 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-14Adds experimental data.bin export of wii saves,LPFaint99
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-11(nothing of value, just reindentation and removal of commented out includes. ↵hrydgard
i'm just cleaning my svn client here) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4808 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-11ISO compression: Report filename in corruption warnings. hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4807 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-11Better-quality downsizing of Wii banners (yeah yeah I know it's not ↵hrydgard
important but it's been sitting on my harddrive for ages). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4806 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-11Small unicode fix for extracting files (ISOProperties.cpp)LPFaint99
Change some PanicYesNo to AskYesNo so that they will always show (WiiSaveCrypted.cpp) Adds more country filtering options to Gamelist (france, italy, korea, taiwan, and unknown country) Misc. fixes for potential crashes that can only occur with a corrupted dump == check filesize of a dump before spending time looking for the cause of a crash :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4802 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-09Fixed Issue 1979 - Crash when scanning WAD files with no title information...fgfemperor
Removed the panic alert about HCI_CMD_INQUIRY because it doesn't crash Dolphin or anything like that... It's called from MiiChannel, when you try to upload your Miis to a WiiMote. And it works just fine! (except for the warning "Can't find Wiimote by bd: xx:xx:xx:xx:xx:xx", which is really odd)... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4800 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-29allow for extracting apploader/dol from gc/wii images without having to ↵Shawn Hoffman
extract the whole fst. for now, the wii extraction just comes from partition 1. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4746 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-28Some changes/fixes for the GUI : no need for 2 play button in the debugger, ↵sl1nk3.s
fix some issues with the console not closing as it should when floating. Wii games now show their description in the gamelist instead of the company (= always "N/A"), fix SJIS handling using wxString code instead of Win32 code, fixes some broken characters in the gamelist and ISOProperties. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4740 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-14VolumeDirectory: fix issues with Read() that broke non-apploader modeShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4693 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10VolumeDirectory: allow loading of arbitrary apploader and dol. Code cleaning ↵Shawn Hoffman
around the bootup logic. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4668 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-23wxMenu objects are now deleted by wxwidgets - should fix a few GUI-related ↵Shawn Hoffman
crashes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4602 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-19DiscIO.vcproj depends on zlib...Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4590 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-18fix a silly overflow error in DiscScrubber.cppShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4587 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15STAND BACK - NEWLINE POLICEbztdlinux
gcc spams warnings when newlines are not at the end of files. reason: http://gcc.gnu.org/ml/gcc/2001-07/msg01120.html git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4582 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25Fix a possible crash on close due to INANDContentLoader objects getting ↵Shawn Hoffman
deleted twice git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4463 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24fix some warnings, compile Plugin_VideoSoftware against the plain ↵Shawn Hoffman
multithreaded version of libc instead of the MT DLL version. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4460 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11Allow dumping of dol files from gc discsShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4394 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-08CompressedBlob - add a missing delete. saw this while briefly looking at the ↵hrydgard
weird issue 1196 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13Various fixes for ISOProperties's filesystem viewer, bugfix for empty ↵sl1nk3.s
folders not being empty thanks to j4ck.fr0st (issue 702), also added icons and fixed dumping all files from a wii game. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4266 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13patch by Daco for extracting directory contents from a gcm (which also ↵LPFaint99
allows dumping an entire partion other than 0 from a wii disc) plus a small fix for File::GetSize log git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4258 8ced0084-cf51-0410-be5f-012b33b47a6e