*rearrange some sd and usb init to keep from re-init the thing 20 times
*execute some of the main dol patches that are the same size in the same
loop so we dont keep looping the same data a bunch if we dont need to
(hopefully this doesnt break anything)
*sprinkle some more gpringf() around
* Fixed issue 1058
* Menus splitted to several smaller files, to reduce compile time
This version has FAT support. You can change the used partition in the game load options. Default WBFS will be used, if found. Otherwise the first FAT partition with games will be used. FAT will only work when using Hermes cios (222/223)!!!
* Added initial (untested!) support for the zip file format, which is supported by the HBC
* Began working on compressed wad files. Uncompressing fails for now, so uploading WAD files should be done with the previous version of Wiiload.
* Fixed issue 902 (hence the large commit).
formatted the code to make it easier to read. no functional changes at all.
i didn't put anything from the libwiigui folder or banner folder in the beautifier.
my automated .bat seems to have done a good job. the only places i see it fucked up was on (GXColor){blablabla}. it treated the brackets in the color like all the other brackets and put the color on a new line and indented it. i think i fixed most of them. not sure if it messed up anywhere else. also not sure about how it handled different linebreaks. it looks fine on windows. if it looks messed up on linux, it can be reverted.
the code still compiles and runs fine.
NOTE: This option is ONLY for those who have problems with their HDDs being detected. With this disabled you shouldn't get weird lists where all Games are the same or no Games at all.
Boot-Strategy:
- is "argv[0]" set, then the boot-device extracted from the argv.
- if no meaningful boot device found, then looking for
"boot.dol"/"boot.elf" in "apps/usbloader_gx/"
first on "SD:/" and then on "USB:/".
When found, than use this Device. Otherwise use the default "SD:"
- Set all default-Paths on this Device
- Set the Path for config-Folder, GXGlobal.cfg, GXGameSettings.cfg
and GXGameFavorites.cfg on this Device (e.g. USB:/config and so on)
* clean up the wild mounts and unmounts (this and the new libfat fix the download-bug)
* reorganize shutdowns and reboots use now the functions Sys_Reboot(), Sys_Shutdown(), Sys_ShutdownToIdel(), Sys_ShutdownToStandby() and Sys_BackToLoader()
this functions stops the GUI-Thread, Shutdowns the Audio, Video, WPad and unmounts the SD and USB
*Changed CACHE and SECTOR size for SD Cards what increases the loading speeds
if anyone's cards get compatibility problems now with saving or other stuff report as issue and it will be reverted)
**Big Thanks to CorneliousJD for Hosting the DOLs)**
*Reverted ardi's stuff which made codedumps on the Download (sorry ardi commit it again when its fixed)
*Fixed Creditscrash (noticed that giantpune can't count lol)
*Fixed European Keyboard missplaced
*Pimped the Home Menu (sound and stuff and a lot of fixes)
*Fixed last compile warning thx to DRayX7
*Added S.Chinese Unicode Fix thx to pc9528
*Fixed one bug that you couldnt get to FormatMenu
*Added USB functions, not yet implemented (they dont work under cIOS249/cIOS222, only under IOS36 (original). right now function only works if partition 1 is fat/fat32)