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.
N O T E:
--------
- The old coords for the "sort & search" buttons
are obsolete and will be removed in future
- the gamelist, gamegrid and the gamecarousel have your
own coords (named the old coords with a prefix "gamelist_",
"gamegrid_" and "gamecarousel_")
- the search-button is e.g. themable over the new setting
"gamelist_search_coords=x,y", "gamegrid_search_coords=x,y"
and "gamecarousel_search_coords=x,y".
- a workaround, for old themes, sets (by using the old coords)
all buttons as previously, apart from favorite button.
The new search button is placed at the position from the
favorite button and the favorite button is placed to the left
side of the search button. That is necessary for old themes
to insert the search button between favorite and abc button.
This workaround will be removed in future
- for new themes must use the new coords.
- Themes for old and new loader can use both coords
(the important thing is that the old coords stands
before the new coords in the GXtheme.cfg)
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
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.
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
*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.
PS: For all translaters, re-download your languagefile please.
PS2: Certain files would need to be updated.
We need volunteers to update those translations:
finnish.lang
hungarian.lang
korean.lang
polish.lang
schinese.lang
turkish.lang
russian.lang
german.lang
Oficial thread of languagefile: http://gbatemp.net/index.php?showtopic=155252&st=450
Thanks