Commit Graph

131 Commits

Author SHA1 Message Date
dimok321
ef956c430a *little fix to ignore case sensitivity on searching files on the WiiDisc (Thanks to LoudBob11 for pointing it out)
*Added new options for BannerSounds (You can loop them, make it be quite after once played or play the BGM again)

NOTE: Changed the way how to disable BannerSounds. If you make Volume to 0 than the loading of the BannerSounds is disabled now.
2009-11-10 18:43:56 +00:00
ardi@ist-einmalig.de
a0182d0c4c * GuiSound stuff rewritten it makes modular
* ogg decoder added (old oggplayer removed)
  * mp3 decoder added (mp3's cane use as backgroundsounds)
  * WAVE decoder added (but only uncompressed WAVE's)
  * AIFF decoder added (only uncrompressed)
  * BNS decoder added
    all soundformats can use as backgroundsounds
    dimoks GameSound class removed it is replaced with the new GuiSound stuff

* Many small fixes and other changes
2009-11-09 23:03:13 +00:00
satellic
b081dd8a41 * Language files update & doubloons removed 2009-11-09 01:43:13 +00:00
dimok321
ab82b0b40d *Added BannerSound playback to GameWindowPrompt, playing the gamesounds back (Thanks to Hibernatus for his decoding and uncompressing functions)
NOTE: Added option to enable/disable the BannerSounds and a volume option for it. Note that volume 0 is not the same as disabled. On volume 0 the sounds are still loaded. More options probably going to come.
2009-11-08 20:13:57 +00:00
satellic
5ac0aa0df8 * Small fix as asked on issue 1055 (Thx Old8oy)
* Languagefiles update
2009-10-30 01:32:01 +00:00
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
satellic
54c3afe760 * Languages files update
* Add one translation wich was forgotten in source
* Themable screensaver activated, image size as gxlogo.png, but named "screensaver.png" in the theme folder.
* Others little fixs
2009-10-22 14:45:07 +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
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
06e5f81c3a *more fixes
*quick and ugly widescreen text fix which needs to be changed later
2009-10-18 08:38:41 +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
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
ardi@ist-einmalig.de
505e4cd09c - fix tooltips in GameCarousel
- change gui_keyboard stuff
- change filebrowser stuff
2009-10-05 10:53:19 +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
satellic
ee7afe4f48 * Languagefiles update & 2 removed doubloons 2009-10-01 14:27:31 +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
lustar.mii
b83a379014 The mload/ehcmodule update is now complete, thanks to dimok. You need to update Hermes cIOS 222/223 to v4 if you use it because it works the same as in uloader, only v4 is supported.
You may have to delete your main configuration file before updating if you had v3 installed. For some games, you will have to use 222 instead of 223 (RB instruments, GH 5) if you had 222 v3.
If you think you need an external ehcmodule.elf, you can put it in SD:/apps/usbloader_gx/ and it will be loaded.

Fixed crash when setting a custom path using the folder button (issue 864).
Fixed black screen when starting the loader from HBC a long time after powering the Wii and the HDD went to sleep (tested on a WD 2,5") (possible fix for issue 881).
2009-09-30 03:57:15 +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
16b4e62c51 2009-09-27 18:19:53 +00:00
lustar.mii
76179fcea2 2009-09-20 17:43:18 +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
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
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
giantpune
18b8f34b29 Added more ResumeGui() so the app doesn't freeze when it errors in the disc browser. 2009-09-12 00:39:49 +00:00
giantpune
1e335a1adc Probably fixed the code dump cause by the disc browser. In testing, we were able to open the browser 20+ times in a row on multiple Wiis without code dump 2009-09-12 00:29:33 +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
5d4ce8f31d change names for alt dol settings to be more noob friendly and change the order they are displayed.
*special thanks to Old8oy for his extensive help on this*
couldn't have done it without you :P
2009-09-08 20:55:35 +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
giantpune
53883bfe6b fix error it one of the prompt translations 2009-08-04 07:43:24 +00:00
dimok321
c25b7cf470 *Added an option on what DiscImages to Load
INFO:

Here is what the options mean:

Only Originals  -  only download original disc images
Only Customs  -  only download custom disc images
Originals/Customs - download first original and if not available download custom disc images
Customs/Originals - download first customs and if not available download original disc images
2009-08-02 16:10:31 +00:00
lustar.mii
7ca68b46b8 Added titles reloading when database titles are disabled. Fixed Germanic lapsus clavis of r690. 2009-08-02 13:56:01 +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
satellic
61d1559e95 ·Latest language files updated
·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)
2009-07-29 01:31:11 +00:00
giantpune
d32d1aa6f6 2009-07-28 03:16:25 +00:00
giantpune
c6fd33eeb1 change the per game settings around a bit.
made the channel browser read database.txt.  The text should be in the config path (because i couldn't think of a better place for it).  And the format for the txt is the first 3 chars of the 4 char ID, then any 1 character, then the name (read up to 51 chars.
eg.
ULN USB Loader GX Full Channel
HAX Homebrew Channel
HAT Nintendo Channel

The database for ATD mod follows this format, so its a great place to start.  If people are going to be passing around a database, it would be wise to keep custom channels off this, as my WADD that says WadManager is not the same as somebody else's WADQ which could be a self destruct or something.

Commented out the code that loads titles.txt.  It was reported that this file is keeping WiiSportsResort from loading on some Wiis.  And it isn't needed anymore since there is the xml file with all the names in it.  I left the code in though in case somebody thinks that it is actually useful.

Added 1 more game to the list of known alt dols.
2009-07-27 01:15:16 +00:00
satellic
4c1976bd11 A more complete qwerty keyboard has been added as asked on issue 437 and some little stuff.
Updated last language files.
2009-07-25 16:40:19 +00:00
giantpune
19067967bc change the onscreen keyboard to filebrowser for custom paths
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.
2009-07-25 09:39:01 +00:00
dimok321
1aa2fde92f *Added SendElf / WiiLoad support for the Homebrew Launcher
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.
2009-07-23 17:24:08 +00:00
satellic
a6aba0fec1 * Add some translations wich was forgotten in source
* Update All last languages files
2009-07-23 00:41:57 +00:00
giantpune
13c565cef6 made a uninstall menu in the game settings to delete games/images/text files. everything tested and working except the uninstall game Btn because i didn't feel like reinstalling a game.
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.
2009-07-21 08:06:20 +00:00
giantpune
83f5dc29de add filesize function to get size of dols.
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.
2009-07-20 07:23:30 +00:00
satellic
1167a18dc3 Just update: language files were not updated with new entries in r627. 2009-07-19 11:16:30 +00:00
dimok321
71adda33e0 *Made a little HBC inside our loader
*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.
2009-07-19 09:10:25 +00:00
satellic
621e32c9be Little fix to tr"Txtcheatcodespathchanged"
update dutch & italian language files
2009-07-19 00:41:20 +00:00
giantpune
4886c5cc11 change the dol list to use all 6 chars of the ID because some regions are different 2009-07-18 10:12:34 +00:00
giantpune
0d9e24a78a added more alt dols to the list of known and also a messeg if somebody loads one that isn't on the list to give it to us so it can be added :P 2009-07-18 04:09:44 +00:00
giantpune
9c8243aec2 added a function to auto select the alt dol based on a list. there are only a few on the list right now.
changed the xml url again to allow up to 500 games to be called for.

changed the magic 0x address in the makefile to hopefully fix some alt dol stuff.
2009-07-16 06:37:33 +00:00
dimok321
928020b32f *Added AlternateDOL from disc feature
*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
2009-07-15 17:20:45 +00:00
giantpune
46791e8ab2 hide the M behind the rev# after the source has been edited for a full channel. remove the progress window after downloading an update and before installing a wad. 2009-07-12 13:27:14 +00:00
dimok321
e9385e9448 *Reverting the USB FAT Option (was a bad idea, going to search for a better solution) 2009-07-05 23:50:55 +00:00
dimok321
7b2454befd *Added a Setting to disable FAT/FAT32 Support for USB 2nd Partitions
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.
2009-07-05 23:01:29 +00:00
dimok321
a8cde60913 *A few cleanups 2009-07-05 06:39:56 +00:00
giantpune
9c1a0e2d8b add wait to WindowPrompt constructor. wait is # of loops the prompt will wait then select choice 1. if wait<0 it is void.
add prompt if ocarina is on but no code file is found
2009-06-26 12:38:03 +00:00
giantpune
d58f540a81 combine 002fix and anti fix into 1 settings. off/on/anti. tested and working in main settings and game settings. 2009-06-25 15:58:16 +00:00
giantpune
87c95b3cef add anti002 to game specific settings.
fixed codedump i made in customoptionbrowsers
2009-06-25 13:43:48 +00:00
thedarkness1981
236e54ca01 added CheatMenu Button (Ocarina Image) into GameSettings, new path option for txt cheat files and of course the CheatMenu.
Actually there is only one comment line supported.
For a small collection of txt cheat files look under downloads ;).
2009-06-24 07:33:31 +00:00
ardi@ist-einmalig.de
d73fac1add change the handling of language-files. now use GNU gettext.(i hope, i have no file forgotten) 2009-06-23 18:59:28 +00:00
dimok321
cdc9f7afbd *Fixed mess up with lustars merge.
*Added Playcounter Reset to GameSettings (545 fixed the PlayCounter not GameCounter :P)
*Added global PlayCounter reset function (its not used yet)
*Probably fixed the issue some HDDs had ("No partition found")
*Probably fixed cursor disappearing after downloading update
2009-06-20 08:19:01 +00:00
lustar.mii
92441e56b2 2009-06-20 00:32:10 +00:00
dimok321
c80332eff3 *Added Anti 002 Fix to GlobalSettings which was made by WiiPower (Thanks)
NOTE: This fix is for games like Ghostbusters which don't work under IOS249 Rev10. With this fix on, this games work on Rev10 and you don't need to switch the cIOS all the time to play those games. For this option it is necessary that you turn ERROR 002 FIX ON.
2009-06-19 20:20:03 +00:00
dimok321
1ab0f813e2 *Added Block IOS Reload option to GameSettings (which was in our Loader all the time since i implemented 222 and wasn't used lol)
NOTE: This Block IOS Reload option enables games to work that don't usually work due to IOS Reloads. This option works ONLY if you boot your Loader in 222 and boot the game in 222/223)
2009-06-18 16:09:45 +00:00
giantpune
2a35194fba Added sitting for the screensaver. new images from the steering wheel. 2009-06-18 08:37:24 +00:00
giantpune
ed5370945d uncommented some code i forgot about. 2009-06-18 07:12:27 +00:00
ardi@ist-einmalig.de
f31c19b989 * remove all onlinefix stuff and replaced with a permanentfix (without IOS-reload) 2009-06-17 19:24:27 +00:00
giantpune
db9df14d66 made a function to delete game statistics & favorite choice.
Removed game settings and game statistics when a game is deleted from the drive.
2009-06-17 06:07:43 +00:00
giantpune
a0c87cc1ff added custom path for replacement dol.
added a few entries into language.h & cpp
made  title tooltips on the gamewall transparent.
made a readmii file.
2009-06-16 13:42:52 +00:00
dimok321
22ca798b5e *Added Alternate DOL support which is used to boot games that don't work due to IOS Reloads like Mortal Kombat
NOTE: There is a GameSettings you need to turn ON to load Alternate DOLs. The alternate DOL has to be called 6 IDs .dol for example RHDP8P.dol and has to be in the root of the SD. Giantpune will add custom path support i dont have time for it.
2009-06-16 11:29:07 +00:00
dimok321
8750eb2851 *Fixed some BUGs 2009-06-14 20:43:58 +00:00
dimok321
3cf77ae5f3 *Added Global Error 002 fix settings
*Added PatchCountryStrings to GameSettings
*Changed ParentalControl displayed as "words" and added one more level
2009-06-14 18:42:26 +00:00
lustar.mii
51afe469cc Because Action needs a big A, added Capitalization to the Genre on Game Info Page. Title language should refresh properly when the config for a game was deleted using the Settings menu (to delete the config, use the "default" option, without saving) 2009-06-14 11:47:21 +00:00
dimok321
71e9fe1169 *Forgot to remove a thing and change browser value 2009-06-14 10:42:39 +00:00
dimok321
4ca4ab1061 *Fixed some issues
*Added 16:9 forwarder
*Changed video mode change behaviour
*Added new GameSetting "Online fix"

NOTE: Online fix is ONLY needed if you initialize network inside the loader and start an Online Game and ONLY if your boot cios is the same as GameSettings IOS (which is default). That Game would need an IOS Reload before start to be able to play it online BUT this IOS Reload mostly causes Blackscreens. I made this option so you dont have to avoid initializing network. If you have different boot IOS than gamesettings IOS this fix doesnt matter too.
2009-06-14 10:08:41 +00:00
lustar.mii
1efc9d1f89 Several small fixes + enabled displaying titles from database in main list and game info screen. The titles now change to the language that is set in the Game Info settings and individual game settings will override it. All titles default to English if the preferred language is not available for a game. 2009-06-14 03:42:46 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00