* 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).
*may lead to false positives for some GC memory cards in slot 2, but the only side effect would be hooking the game when it wasn't wanted to be hooked*
fix i bug created by svn merging
Call to start BC for GC is still present 2x. I left one so if the first doesn't work, it can be removed and the second will be used.
Add button to mount DVD drive. Not completely tested, but somewhat.
*Tested and working*
retail Wii DVD
Wii backup
Wii backup w/ alt dol (redsteel)
Wii backup w/ alt dol & ocarina (redsteel)
Wii backup w/ alt dol & WiiRD
Retail & Backup forcing video modes
Saving individual settings for games on DVD (only Wii as BC is loaded before any settings would be used)
Display disc images for DVD games
Loading GC games retail & backup (w/ working MIOS patch installed)
I did change some stuff after testing GC so it might be broken.
Theme stuff for the button is not tested and I'm not quite up to speed with ardi's changes to the theme stuff so it might not work.
Changed images are not compressed or optimized.
Made function to check if a game has save data on the Wii nand. This can be used to allow/not allow booting certain alt dols. So far it is only called before 1 game, and it seems to work fine without issue.
*NOTE*
it is possible to change any game ID to more or less than 6 characters, but since most of the functions use header->id[0] through [5], more will be useless and less may result in code dumps.
it is not advised to change the ID for games that are not custom, as the cover and wiitdb data will not be available for made up ID
it is possible to have multiple games with the same ID on the wbfs partition, but when any of them are clicked, the wii will perform the selected action (play, delete, etc) on the first one it finds.
*Added a ToolTip
*Added GameName under the covers
*Fixed Crash with no Favorites in list.
NOTE: I'll add a better coming out effect for the covers, for now there is only a slow big ZoomOut which isnt too bad either.
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.
first try the 00000000.app with the system language, then with english.
if there is still no name for the title, look in banner.bin
also made a kick-ass clone of the wii settings screen to adjust the normal wii settings. it is after all the channels.
now, when doing a full update/full channel update, whatever .lang files are in the language path should get updated as well.
changed thread priority (70->75) for GX thread since it wasn't originally created to be drawing as many different images at once as we are throwing at it. hopefully this will fix some of the black artifacts that are popping up on the screen during the gameinfo and homebrew info windows.
disable the screen while saving wad to sd because idiots were misusing it and breaking shit
change the exit prompt so you can exit to HBC even if you didn't came from there
·Add tooltips to NavBar
·Nodisc.png & noimage.png (cover 3d or flat) for theme need to be place in your theme folder now (more easy to install theme)
Warning: if you use a custom nodisc.png/noimage.png, now you need to let it in the theme folder (so download theme, and just load it, no need to move images anymore)
·Made littles modif on the new file browser for title of custom path match with those from the setting windows (less heavy for the .lang file)
added check for GXglobal.cfg on the USB at startup. now if anny of the following are met, it will cause USB to be used as your bootDevice:
argv[0] gets passed on startup and it is usb
any of these files are on your USB drive.
USB:/config/GXglobal.cfg || USB:/apps/usbloader_gx/boot.elf || USB:/apps/usbloadergx/boot.dol || USB:/apps/usbloadergx/boot.elf || USB:/apps/usbloader_gx/boot.dol
· add sdcard_over.png and browser_over.png (neorame, if you want done an over effect like for wii button)
· Made the sdcard & homebrew button themeable with over feature,
· Add translatable tooltip to the hombrew button
· Add some translation forgotten in sources.
raise the coder to char[100] because we have a shitload of names on there
add param int t=0 to the get entries function to force getting all games and ignore settings and parental control
fix bug that code dumped if you didn't have the database.txt for the channel names
no button to create a new file and a little bug with the scrolling, but better than typing stuff in.
added channel launcher. currently doesnt show the actual name, only the u32 and ID. also, it is only showing 0x00010001 channels, so no Mii, weather, or other crappy channels, just the good stuff.
fixed bug that showed the MacOS hidden files as extra homebrew entries.
NOTE 1: For this the network has to be initialized!! You can initialize the network with the button at the right bottom of the
Homebrew Launcher or by AutoInit Network.
*Added background Network initialize
*Added AutoUpdateCheck if AutoInit Network Setting is turned on. You will get a prompt if a new Update is available.
NOTE: AutoInit Network can be turned on under GUI Settings.
IMPORTANT NOTE: All those features require network being initialized. Be aware that when network is initialized some games seem
to not want to run, this means its lowers the game load compatibility. Most of the games don't have any problem with it but some
do. Thats why there is an option for the AutoInit Network.
added more alt dol#s to the list
made the homebrewBtn movable in the theme
use homebrew_coords = x,y
move the xml loading from during the cfg loading to the menu_check so it happens after video is init and we have drawn something. maybe this will fix the garbled screen somepeople see while it loads.
make the homebrew menu read the XML data from meta.xml file. put this data on the homebrew buttons and prompt. there is 4 structs created globally that hold the XML daa. i tried to make them pointers but i got errors so i'll leave it like this and let dimok fix it :P
change homebrew icon image and move it a bit.
hide the homebrew button if godmode!=1
maybe fix issue 722. i don't have a spare drive to test it.
fix grammatical error in the settings.
fix long game name overflow on the gameinfo screen
switch the homebrew buttons to use the new HBCwindowprompt(). none of the meta.xml data is passed yet so the prompt looks pretty naked.