Commit Graph

272 Commits

Author SHA1 Message Date
ardi@ist-einmalig.de
a8936b0054 * little stuff in FreeTypeGX
* changes is setting-dialogs
  - Update the Gui-Texts only if is needed
  - alls stuff for an option in one code-block
    this makes it easier to add, move or remove an option
* customoptionbrowser-stuff
2009-10-24 22:03:12 +00:00
dimok321
ed2ac8f085 *Created a Theme Downloader with preview, downloading themes from http://wii.spiffy360.com/ (Thanks for hosting them)
NOTE: The images used right now for the theme loader are made out of our old images and if someone can make some new ones go ahead. The themes are downloaded to the path you can set up. The downloaded preview images are cached at "<set up theme downloadpath>/tmp/". The widescreenfix isn't implemented there yet because images will probably be changed.

*Started 3rd SettingsPage

*Added JPEG Loading GuiImageData function and 4x4RGBA converter by r-win from WiiXplorer

*Added ZipFile Class from WiiXplorer

*Added StringToMD5 and MD5ToString to MD5 functions and made it undependable of platform
2009-10-21 19:32:46 +00:00
giantpune
b753af6d4d sprinkled gprintf() throughout the source some more.
added functions to mess with the "return to" stub.  everything should be working right, but if i messed up, it may cause you not to be able to exit the program (it could just keep restarting itself).  now when booting homebrew, they should exit back to this program if you have a channel installed as UNEO or ULNR.  priority is given to UNEO if both are present.
2009-10-20 23:00:19 +00:00
giantpune
6a378e3523 added basic functions for outputting debug info to USB gecko 2009-10-20 11:46:55 +00:00
ardi@ist-einmalig.de
31cd4d03e2 revert dimok's stuff, because it makes too many trubble 2009-10-19 20:34:54 +00:00
lustar.mii
08ce514727 Added a macron in case any particular title happens to require it. The network init prompt won't show up at all when network has already been initialized. Ocarina should work for people that still had the problem with recent revisions (it fixed it for me, but only when using SD, not SDHC). 2009-10-18 21:23:54 +00:00
dimok321
0c7ac826c3 Optimization Changes Part 2:
A few corrections to the changes in part 1:
*clock fix
*progressbar fix for language update
*GX DrawDone() changed
2009-10-17 22:50:42 +00:00
dimok321
3c6bf6523b Optimization Changes Part 1:
*Lots of changes in the TextDrawing stuff and FreeTypeGX to speed up the drawing
*Mostly optimization work which is not completely done yet, but mainly it is.
*You might not want to update to this revision right away there still might be bugs which are needed to be fixed. This is a version for everyone to test and report bugs caused by the changes.
*Vanishing WiiMotePointer should be fixed for the Settings/GameSettings probably (though it might still occur i am not sure if i didn't forget anything, there is just too much to change :P.
2009-10-17 20:48:52 +00:00
giantpune
55ddcb5d30 fix another memory issue. probably fixed issue 1013 and other similar ocarina issues.
little change to what happens when installing a disc
2009-10-16 21:56:32 +00:00
ardi@ist-einmalig.de
d7401a77cf fix codedump when pressing button "2" and no game is selected 2009-10-15 12:41:32 +00:00
e.bovendeur
62163b6512 * Changed the favorite icon to 5 stars, which can be used as a ranking system. The more stars are selected, the higher the game will show up in the favorites list. Games without stars are not shown in the favorite list.
* Changed credit screen.
2009-10-13 10:47:56 +00:00
ardi@ist-einmalig.de
7be002023b makes grayed sorticons again customable
if no custom gray-icon in the theme-folder the grayed icon will build from the normal (ungrayed) icon with Dimok's SetGrayscale() function
2009-10-10 22:38:27 +00:00
lustar.mii
f4758ca9c4 Fixed WiiTDB update for people who own more than 240 games. The custom URL now uses the full game ID to account for the recent proliferation of game IDs. Changed user agent so that the loader identifies itself as "USBLoaderGX (revision number)". Canceling the txt/csv export prompt will now close it without saving any file. Possible fix for issue 991 (endless rumble when changing theme path). 2009-10-09 06:13:08 +00:00
giantpune
6cf4b4ce10 fix a bug in saving cvs file 2009-10-04 11:16:30 +00:00
lustar.mii
51459465bc Added more alt-dol selection prompts for known games that require different settings to access all the content.
All options pages now contain the correct number of lines, which together with another adjustment should fix scrollbar alignment (issue 971).
Added missing scrollbar on custom paths page.
dimok fixed the file browser bug that prevented going back to the parent folder if the current folder was empty (issue 836).
Fixed parental control keyboard bug introduced in r750 (issue 976).
The free space text is now in correct order when the GUI is set to Japanese.
2009-10-04 09:48:03 +00:00
e.bovendeur
448e3b4aab Changed gameprompt window for a retail disc to show the Gametitle instead of the game id. 2009-10-01 20:58:34 +00:00
giantpune
a65c8f88ba little fixes 2009-10-01 10:35:40 +00:00
giantpune
aa936a5c43 fix a little bug
add function to create gameList based on installed channels.  not used yet.
2009-10-01 09:17:55 +00:00
satellic
1126739522 * Languagefiles update
* Arrangements english words & langfiles
* All langfiles cleaned
2009-10-01 03:55:07 +00:00
e.bovendeur
1cc7d3acd6 * Added initial support for the new wiiload (compressed protocol), uncompressed protocol is also supported
* 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).
2009-09-30 23:10:58 +00:00
giantpune
2b47c635ed Autohook games with VI hooktype when a USB gecko is detected in slot 2 so WiiRD works without having to turn on ocarina.
*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.
2009-09-29 08:47:07 +00:00
giantpune
4d6e0fe412 Free up ~24KB for every 150 games installed.
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.
2009-09-29 08:09:09 +00:00
ardi@ist-einmalig.de
572bae91d6 strncpy guarantees not tath the result will be null-terminated.
replaced all strncpy with strlcpy if its necessary
2009-09-28 16:05:11 +00:00
ardi@ist-einmalig.de
99f6bcc3a4 remove the unused searchBar.png stuff 2009-09-27 19:45:12 +00:00
ardi@ist-einmalig.de
ec01eba085 * add forgotten pictures
* the cross-button in SearchWindow now closes the Window
2009-09-27 19:04:36 +00:00
ardi@ist-einmalig.de
16b4e62c51 2009-09-27 18:19:53 +00:00
lustar.mii
6a6f02ecf8 2009-09-26 17:15:09 +00:00
lustar.mii
77685f2ea4 Ocarina situation may have improved (issue 827). FIFA 08 should work (issue 943). Updated dip_plugin/mload. Fixed title list after saving .txt/.csv (issue 961), changed known alt dol for Boogie. 2009-09-26 07:14:12 +00:00
lustar.mii
c4e27bffb2 Fixed garbled title list after saving URL txt (issue 937), settings that did not display (issue 949), and small fixes. 2009-09-20 03:10:24 +00:00
giantpune
ef30d9c6d9 Added stuff to make it even more noob-proof.
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.
2009-09-19 05:36:32 +00:00
lustar.mii
9a112e9834 Fix for games that don't always need an alt dol. Empty .gct files won't be loaded now. 2009-09-18 11:22:44 +00:00
lustar.mii
370a332fcc The known alt dol is now automatically used when launching a game that requires it, if no dol was selected (setting a dol in game settings will override it). This includes the alt dol prompt that was added a few revisions ago for games that require choosing between different dols. Fixed dol name display in the game settings. Added check to prevent empty .gct file creation. The .gct code files can now be deleted from the Uninstall Menu. 2009-09-18 08:28:31 +00:00
giantpune
75a4d33e4f fix issue 903 2009-09-17 14:23:02 +00:00
giantpune
90b08e9af8 little bug fix 2009-09-17 13:55:21 +00:00
giantpune
12b45408e4 made another useless function...
click the "Games:..." text to save a game list in the update path.  normal txt or csv format for spreadsheets is supported.
2009-09-17 13:46:13 +00:00
satellic
f33eebc265 * Add translation wich was forgotten in source (issue 933)
* Correction of 2 english words orthography faults
* Languages files updated
2009-09-17 08:41:19 +00:00
lustar.mii
fbc6a31f39 Added selection prompt for a game that requires 3 alt dols. Network is initialized only when artwork is missing (issue 862). Fixed rotating disc when powering down (issue 744). Fixed Settings/SD and Homebrew/Wii icons overlap (issue 925). 2009-09-11 07:24:16 +00:00
giantpune
1fe96748b7 Made game ID text into a button to change the ID for custom games based off a retail disc (Guitar Hero baby!).
*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.
2009-09-02 08:03:51 +00:00
lustar.mii
6a789e8b78 Changed database/artwork code for Portuguese from PO to PT. Fixed issue 871 (theme for game info page). 2009-08-28 15:52:53 +00:00
lustar.mii
117dad5271 Fixed endless rumble that sometimes happened when clicking on SD icon and hopefully fixed it on other places (583). Fixed code dump on language update prompt (842), theme that didn't apply to some buttons (837, from Virale), background music that didn't resume after disc installation (844). 2009-08-09 06:11:35 +00:00
lustar.mii
dd1700db8e Added sound after successful disc installation (823). Battery indicator turns red when power is down to 1/4 like on the original Wii menu (456). Fixed code dump when setting "standard" music (602). Updated gecko codes URL to geckocodes.org (834), enabled reading CRLF txt files from geckocodes.org. Enabled longer synopsis text so that existing game descriptions aren't cut on the game info page (but please keep them short, this is for descriptions, not reviews). 2009-08-07 16:10:54 +00:00
lustar.mii
5ef0f1afe5 Added line breaks to synopsis (A) on game info page (2). 2009-08-05 05:45:17 +00:00
giantpune
449b440737 fix issue 826
change some stuff in the wad junk that caused freeze if the wad installation ended in error.
2009-08-04 07:35:53 +00:00
lustar.mii
324358e7e1 Simplified Chinese/Traditional Chinese should now be detected if the GUI language is set to "default". Simplified Chinese/Traditional Chinese is now supported for titles,synopsis and artwork (http://wiitdb.com/Game/RSPW01). 2009-08-03 13:25:50 +00:00
dimok321
b7da5eb058 *Fixed the Format Menu which was not working at all before lol
*Added auto create subfolders to GCT creation.
*Some minor fixes
2009-08-01 22:40:01 +00:00
dimok321
d5fb3ff33f Some changes to the Carousel:
*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.
2009-08-01 14:42:12 +00:00
lustar.mii
8fef0223c5 The default language is now detected so if your language is available on the Wii you don't need to set it in the loader. The database language follows the main language setting, you don't need to set the Game language in addition to enabling "title from xml" to see titles/synopsis anymore. Fixed titles reloading when the GUI language changed. Added new accessories and icons on the game info page. The homebrew browser slide factor now goes up to 11. 2009-08-01 07:40:22 +00:00
giantpune
30535c6f5d *code beautification*
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.
2009-07-30 05:41:12 +00:00
giantpune
c9b7cf70b4 now if the name of installed channels is not in the database.txt, we try to fine it from inside the channel itself.
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.
2009-07-30 02:54:08 +00:00
giantpune
ab4cbd6314 fixed bug i made in 668 causing games not to load (because we rocked out too hard)
fixed bug which overlapped the release date and publisher in the game info screen
2009-07-29 19:27:24 +00:00