* 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).
here is it:
* added a search-function
* added a new GuiImage type GuiImageAsync
This Type is initialized with an Image-Path and a GuiImageDate as preloaded Img.
The preloaded image shown immediately during a thread loads the image from path.
* rewrite the GameGrid and the GameCarousel to use the new GuiImageAsync
* remove dimoks buffer stuff
* remove the gray-Icons and use dimoks SetGreyscale() to build this icons on the fly
* added an own Path for 2D-Covers
set in GXGlobal.cfg cover2d_path=PathTo2DCovers
default is $(cover_path)/2D/
* added in menu.cpp/menu.h a new function
GuiImageData *LoadCoverImage(struct discHdr *header, bool Prefere3D=true, bool noCover=true);
if Prefere3D==true first search in cover_path. Is it false then first search in cover2d_path
if noCover==true and found no image then loads noimage.png or noimage2d.png or its builtin variants
if noCover==false and found no image returns a NULL-Pointer
Prefered3D is set for GameList & GameCarousel. For GameGrid is Prefered3D=false (2D is prefered)
* Toolbar-Icons: the selected Icon draws alwas ontop
* remove compiler-warnings in wad.cpp
* added own icon-positions for gamelist,gamegrid and gamecarousel in THEME.Settings
gamelist_..._x/gamelist_..._y,gamegrid_..._x/gamegrid_..._y and gamecarousel_..._x/gamecarousel_..._y
... = favorite, abc, count and so on;
The old settings (favorite_x, favorite_y, abc_x and so on) are obsolete
and should no longer be used in future.
* and more
make updated always the lang-files
now:
make -> builds only the boot.dol
make all -> builds the boot.dol and updated the lang-files
make lang -> only updated the lang-files
Also messed with the run command within the makefile. press alt+r to compile the source code and then send the resulting dol to the wii.
*note*
you must have the environmental variable set up for wiiload. you don't need to have the .exe file, just the WIILOAD variable
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.
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.
*Added HomebrewFiles Class
NOTE 1: In settings/custompaths you can change the HomebrewPath and the standard is SD:/apps/. Our browser searches for EVERY .dol and .elf file in the directory even if its not called boot.dol.
NOTE 2: Giantpune and me tested the homebrewbooting and it worked for every homebrew we tested except our own application. (a bit ironic)
NOTE 3: Right now the information on the Buttons is the path to the Homebrew. This and the BootPrompt will be replaced with the XML information inside the path of the homebrew later but for now i am taking a break
NOTE 4: Right now the button to the HomebrewMenu is next to WiiMenuButton and has the same image as the listgamebrowser. I didnt have any images so i took what i had and cyrex will change the images when he is back. Also there will be a no icon image added later.
*Added Browser for AlternateDOL from disc feature
NOTE: Right now the browser isn't working right and crashing from time to time so you i would not recommend to use it yet. It's also showing all files on the disc for test purpose. I'll try to fix it later right now i don't have time for it.
*Changed some minor codes and moved cheats to its own folder
new vars are
firstLine = 1;
numLines = -1;
totalLines = 1;
totalLines is not changed until the text is set to wrap and Draw() is called 1 time.
The other 2 are set with functions.
new functions are
void GuiText::SetNumLines(int n)
void GuiText::SetFirstLine(int n)
int GuiText::GetNumLines()
int GuiText::GetFirstLine()
int GuiText::GetTotalLines()
int GuiText::GetLineHeight(int n)
These should be self explanatory. GetLineHeight relies on total lines so it needs to be called after the first Draw();
Raised the chars[] to 3000 for the synopsis because people are writing books in there.
Used those new fancy functions make the synopsis fit in the info window. Press up/down to scroll the text. Arrows may come later for the buttons. Also put a home buttononlytrigger on the game prompt. moved disable mainWindow to the beginning of the infoprompt to keep from loading images and stuff from the sd at the same time we are reading the xml file.
*Added Japanese UnicodeFix made by Rudolph (thanks) (you still need to compile with a japanese font.ttf to have it work)
*Added missing languagevariables
issue 517, issue 515, issue 519