summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/NANDContentLoader.cpp
AgeCommit message (Collapse)Author
2012-03-30Fixes issue 5330.Matthew Parlane
2012-02-01less log noise from CNandContentLoaderLPFaint99
2012-02-01split adding the ticket to its own function (installing a wad)LPFaint99
2011-07-18Add the DSPTool and UnitTests to the cmake build. They are optional, and to ↵Glenn Rice
enable them add -DDSTPTOOL and -DUNITTESTS to the cmake command line. Also, don't check to see if a directory is a wad file. They aren't. This removes an annoying and invalid debug assertion with the debug build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7682 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-05fix infinitely recursive deletion from r7587 and actually update locations ↵LPFaint99
of content.map and uid.sys git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7588 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-05fix a small oversight to changing NAND root, update locations of content.map ↵LPFaint99
and uid.sys git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7587 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-02Potential fix for errors related to 'Not enough free blocks'LPFaint99
changes fs getusage to return 1 additional inode to account for the directory itself Fixes save creation for at least two games, R8XE52 (Jurassic: The Hunted), STEETR (Tetris Party Deluxe) doesnt harm save creation in any games that i tested (about 25) also it is now possible to boot a nand title by selecting the tmd file using File > Open git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7575 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-16Fix IOCTL_ES_GETVIEWCNT (uninitialized data)LPFaint99
GH5 Loads again use the existing function instead of checking titleid each time a NANDLoader is needed git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7547 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-09Fix non-Windows build.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7533 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-09NAND:Consolidate Wad/Directory loading in CNANDContentLoader to one functionLPFaint99
add ticket to CNANDContentLoader move wad installer to CNANDContentManager system menu can now be launched from a wad file without being installed first, (return to system menu from another title will still only work if system menu is installed) cdb.vff: flushed to disc immediately, creates if the file exists but is too small, moved creation to Boot_WiiWad git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7530 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-05Update the country code in SysConf when wii system language is changed.LPFaint99
remove annoying assert for invalid loaders on disc titles. Fixes issue 4287. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7514 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16Reinstate AfterInit(), which is still needed for MacOpenFile()Soren Jorvang
to work properly and possibly also wxProgressDialog. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7355 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11Wrapped fopen/close/read/write functions inside a simple "IOFile" class. ↵Jordan Woyak
Reading, writing, and error checking became simpler in most cases. It should be near impossible to forget to close a file now that the destructor takes care of it. (I hope this fixes Issue 3635) I have tested the functionality of most things, but it is possible I broke something. :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7328 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05deleting a channel via the wii sysmenu works nowLPFaint99
Implement ES_DELETETICKET & ES_DELETETITLECONTENT git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7292 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05Replace install wii menu option tools to install wadLPFaint99
Add the option to clear a title from the NANDContentLoader and attempt to reload it This allows the using the system menu immediately after installing rather than requiring a relaunch git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7290 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-01More conversion from char * to std::string.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7266 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-28Convert GetUserPath to return a std::string instead of a const char *. This ↵Glenn Rice
simplifies its usage in most cases. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7265 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-22Move AES to common libLPFaint99
move pch includes to vcproj file for discio git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6643 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-16System Menu Region is now detected based on the Title Version in tmdLPFaint99
Title Version and region char of currently installed system menu are now listed in the menu as well Which means disc channel will only show pal discs if it is a pal nand dump; ntsc nand dump will show ntsc discs, ntsc-j nand dump will show ntsc-j discs git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6591 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-15Make sure a few more directories exist when needed. Most package builders ↵Glenn Rice
(including cmake/cpack) do not install the empty directories in the shared data, and so the paths need to be created at runtime. Also set up cmake/cpack to create prebuilt binary packages and source packages. Also change the vertex shader dump file name in the gfx debugger to something that makes more sense. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6587 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-09-07Implement parts of DIVerify that can be useful. (copy tmd to emulated nand ↵LPFaint99
for disc titles) correct some parts of uid.sys as disc title ids are included title in uid + tmd on nand is how the sysmenu knows which save files to look for. IE games that are displayed in the disc channel at least once and have a save file will be viewable in the sysmenu save manager git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6189 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-09-06Some work towards launching by titleid rather than content path,LPFaint99
update some var names in WII_IPC_HLE_Device_fs, filter out some spam logs from VolumeCommon git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6182 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-01Silence some compiler warnings.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6029 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-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-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-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-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
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-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-09-11fix loading wads on both windows (FileMonitor.cpp) and linux/mac ↵LPFaint99
(std::transform toupper not sure why it was there :/) fixes issue 1388. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4253 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02Got rid of all of jp's ////////////////////////////// lines (nearly 500 of ↵Marcus Wanners
them)! Yes, I used a script :D git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4169 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01Linux: Fixed some initialization ordersfacugaich
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4143 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31Misc : build fix for debug x64, assorted cleanup.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4127 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-03fix some memleaks in DiscIO. Fix for issue 1238.Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3936 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01fix some memleaks in NANDContentLoader.cpp and ISOProperties.cppShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3919 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28Now ALL copyright dates are fixed to the legally correct year: The year in ↵XTra.KrazzY
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-03Add Taiwan to the Country Codes, move all country code switches to one ↵LPFaint99
function, add unk country flag and taiwan country flag git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3666 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17Added the ability to install WADs (such as DLC WADs). Currently it just ↵itsnotmailmail
installs a WAD when booting it fails (when it's not bootable), I'm not sure whether there should be a menu option specially for installing WADS... note: If you previously manually installed WADS by creating a *file* called "CONTENT", trying to reinstall that WAD automatically will fail unless you delete the file. Added some empty log files that some games require for DLC to be recognized. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3474 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15Emulate ES's GetStoredTmd and GetStoredTmdSize commands (patch from issue 1016)itsnotmailmail
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3460 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08Fix error #002 for Wad games, also fix the Wii menu black screen, this is ↵sl1nk3.s
still a bit hacky as we don't know where to read the IOS rev, but hey it works :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3378 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-21Wii images can now be scrubbed and compressed (my z:tp wii is now 1.08GB :D )Shawn Hoffman
Currently scrubbing will display a warning that it removes the garbage data PERMENENTLY from the original file (mainly for speed of scrubbing). It could be removed in the future if people agree with me, since it is indeed just garbage. Any tips for making scrubbing faster would be welcomed :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3267 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-25Fixed a few MSVC compiler warnings, and added some switches to the readme.Marcus Wanners
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2752 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18build fix for osx, is this borke win or linux build ?tmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2679 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-14some changes of HLE of the WII game loaderfires.gc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2655 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-13fixed some ES problems and added cached for NANDContentLoader (we open this ↵fires.gc
content files ways to often at the moment) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2651 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09fixed support for GetTMDViewSize and GetTMDViewfires.gc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2637 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09added support for shared filesfires.gc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2631 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07eol-style native update, small warning fix in EXI_Channel.hLPFaint99
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2591 8ced0084-cf51-0410-be5f-012b33b47a6e