Commit Graph

137 Commits

Author SHA1 Message Date
satellic
892fe2a975 * Latest languages files updated
* Add translations wich was forgotten in source
2009-08-21 16:18:28 +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
satellic
ac175e1d07 tr() was taken off from main.cpp (translations from this file not loaded)
Language files updated
2009-08-06 11:09:20 +00:00
lustar.mii
5ef0f1afe5 Added line breaks to synopsis (A) on game info page (2). 2009-08-05 05:45:17 +00:00
satellic
7158965f7f * Latest languages files updated
* Add some translations wich was forgotten in source
2009-08-04 14:30:26 +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
satellic
8fd2e72177 Corrected german.lang, because it caused an error on compliling r696.
Add 'Homebrew Channel" in translation files
2009-08-02 02:02:47 +00:00
giantpune
267edd1bd4 add filter to hide channels that are installed on the SD card for 4.0 and 4.1. for this to work, the SD card with the channel installed on it must be in the Wii. 2009-08-01 19:14:33 +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
d17ebb37b4 add subfolder create before trying to save the wad (fixes that code dump)
changes to wad install() and the  screen that call it to make the installing faster
2009-08-01 01:05:02 +00:00
giantpune
8e42f68cae changed the entrypoint in the makefile, yet again. In testing, this fixed the bug which caused some to get code dump when launching a game.
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
2009-07-31 05:22:33 +00:00
dimok321
45f2cb9704 *Added Grayscalefunction to the GuiImage Class
*Added svnrev.c to ignore list to avoid conflicts
2009-07-30 20:35:39 +00:00
satellic
50589df300 all languagefiles cleaned & update latest
"An Error accured" changed to "An Error occured"
2009-07-30 19:27: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
024bdee994 Language files updated
Little fixs
2009-07-30 04:04:48 +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
d5ba67e305 made function to update language files.
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.
2009-07-29 17:18:04 +00:00
giantpune
0a95d75237 updated some images and deleted some old ones
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
2009-07-29 02:48:28 +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
8ed332bde7 fix the screensaver coming on when you press power on the wiimote... again.
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
2009-07-28 17:22:03 +00:00
giantpune
c743cea589 put menu=MenuDiscList after using the network in MenuDiscList to correct the bug in the list view.
change wifiBtn and channelBtn images and add IP address tooltip to the wifiBtn

*rockout with your cock out*
2009-07-28 14:55:48 +00:00
giantpune
4515becd30 pimped out the wad uninstall function with spinners and dvd players and big speakers.
made wad/dol filter for the socket receiving stuff.
2009-07-28 11:04:15 +00:00
satellic
772a60131d · Update latest language files
· 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.
2009-07-28 01:12:24 +00:00
giantpune
1094b5224e 2009-07-27 23:45:49 +00:00
dimok321
cc590e1ac8 *Reverted the svnrev.sh and Makefile because shell needs ../ and needs to be under the else state next to DEPENDS for the command to work.
*Uploaded the svnrev.c back online. It can stay on SVN there is nothing wrong with it :P.
2009-07-26 20:58:43 +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
dimok321
4dc92996b5 *Changed to write directly into svnrev.c and get the value from there except of having two new files to get the SVN_REV 2009-07-25 07:09:52 +00:00
dimok321
9b8f289ca3 *Added Filebrowser from libwiigui 1.03 (modified a bit). It will be used by giantpune later. Right now its not used.
*Created a function to get SVN_REV to avoid long compiling times when small changes are done in the source.
2009-07-24 20:34:55 +00:00
dimok321
8fd2bbdb01 *Cleanups to the Homebrew XML stuff
*Added HomebrewXML class
2009-07-20 18:53:28 +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
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
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
1d48d64f72 Change the URL for WiiTDB.zip. Now it only gets XML data for games on your drive rather than getting info for all 1500+ games every time. It is getting them based on the first 4 chars of the ID and there is a 2000 char limit on the URL set by lustar's over protective girlfriend so that translates to a 393 game limit on the XML downloaded from within the app. In case you didn't know, the xml is updated when you either update the full channel or "update all" with the dol.
also fixed one of the code dumps from the gameinfo page.
2009-07-15 00:57:37 +00:00
giantpune
57f0ce0ed4 Added functions/vars to GuiText to allow showing & hiding rows when it is wrapped.
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.
2009-07-13 11:19:31 +00:00
dimok321
8620ab0702 *Forgot about FlipX control when added the Carousel stuff. This should fix the wrong navigation. 2009-07-12 15:17:23 +00:00
dimok321
50231648ca *Made a Buffer Thread for the Carousell to load covers. Now there is no GameLimit anymore, no long loading time and no such memory usuage by it.
*Removed the temporary AltDol Fix
2009-07-12 14:02:48 +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
giantpune
9b46eb613a apply flipX settings to gamewall and carousel, fix screensaver bug to keep it from coming on when it is turned off. added support for updating full channel. in order to make the full channel updatable, comment/remove "#define NOTFULLCHANNEL" from promptwindow.h. also there must be a wad to update to (saved as a txt file) on the update server. for some reason the ticket was corrupted when it was stored as a wad.
also there are 6 compile warnings from the conversion of wad.c to .cpp but everything still works and installs fine.
2009-07-11 05:55:29 +00:00
dimok321
a38c04d73a *Updated to new libogc (you need to update libogc files to be able to compile)
*Added Metaphrasis to the source instead of having it as lib
2009-07-08 21:25:35 +00:00
dimok321
79a7fd9017 *Changed whole GameInstall ProgressWindow behaviour
This should fix the weird freezes and crashes while
 installing. The ProgressWindow is now in its own thread
 and updates the values fast again.

*Added Speed to InstallProgressWindow
 Lets see who got the fastest WiiDiskDrive :P (i got up to 5.8MB/s)
2009-07-05 20:22:29 +00:00
giantpune
eea639c177 remove "test" tooltip from gamewall
fix TXTcheatpath not being saved

made prompt and call you an idiot if you try to load in image that has bad dimensions.

added stuff from the cheat menu to be translatable 

maybe fixed an issue with cheatcode names being too long and running on/off out of site

un comment sam & max fix.  we were under the impression that it only worked from disc but somebody said that it is working from USB also with ios rev 10 or 13a.  i have left out the ios checks to see if it works with any ios and also it is only on if the game ID matches one of the two listed on wiiboxart.com for this game.

drink a beer
2009-06-25 12:47:09 +00:00
lustar.mii
92441e56b2 2009-06-20 00:32:10 +00:00
lustar.mii
0fdf3a252e All language files should now be encoded in UTF-8, unicode fix option was removed, fixed slowdown for large fonts loaded from SD, small changes in game info page, merged XML database changes to trunk (see log for rev536). 2009-06-19 23:13:10 +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
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
00d8692ebe *Moved gct.cpp and gct.h to branches since its not used and seems somehow to cause troubles (it shouldnt be but somehow it does -_-)
*Changed subfoldercreation function
2009-06-16 08:28:50 +00:00
dimok321
fc76b6a9c6 *Changes to the OGG thread handling
*Changed the Updater source in some ways and added an own thread for it for later AutoUpdate feature (when gamestarting problem after networkinit is fixed)
2009-06-13 21:10:37 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00
dimok321
940fa4b441 *Reverted cyrex changes to the settings
*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
2009-06-12 20:11:59 +00:00
dimok321
d8298a73d9 *Added IOS223 support
NOTE: If your loader is rebooting when you try to start a game its because you initialized Network! Right now initializing the network by trying to update or trying to download covers/discimages the Loader has Issues with booting games. Try booting games directly without initializing the Network.
2009-06-12 11:50:14 +00:00
dimok321
bc3d173ef4 *Added support for NEW Hermes cIOS (It still might have some bugs so please report them to me)
NOTE: When you change Global cIOS boot you need to restart for it to take effect.

NOTE2: Best way of launching games (most compatibility) is avoiding an IOS Reload by not initializing the network and not have different boot IOS than the one set in GameSettings.

NOTE3: Know issue: IOS249 boots slower now at the starts. IOS222 boots fast as always.
2009-06-11 23:02:05 +00:00
giantpune
d31a034d18 fixed some code dumps from the coverwall and the xml stuff. 2009-06-11 08:13:08 +00:00
dimok321
ad2eb5c182 *Fixed USB ReInit
*Moved SD Card Button a bit to the left.
2009-06-10 08:58:35 +00:00
giantpune
62fa4e4285 Added support to read game information from xml. The first draft of the xml is in the downloads section of googlecode. Put the file (still zipped) in your titles.txt path. then highlite a game and press 2 to view stuff about the game. If a synopsis exists for that game in the file, you can see it by pressing a. Currently only 1 game has a synopsis.
There are lots of fields that are wrong/missing on the xml but don't tell us about it.  Somebody else (Lustar) will be in charge of keeping up with it.
2009-06-09 05:20:49 +00:00
giantpune
4ea4576e02 fix bug in game carousel. 2009-06-06 18:10:20 +00:00
dimok321
32144f46f9 *Whole new GlobalSettingsMenu arrangement (thx to dj_skull for his idea and plan (issue 433))
*Lots of small fixes
*Added Error002fix selection in GameSettings

**NOTE 1: You might want to delete your Configfiles before using this new Rev.

**NOTE 2: Known issue with Settings is that WiiMotePointer is sometimes being displaced. I am searching for the reason right now.
2009-06-06 17:26:52 +00:00
dimok321
c2a20e4c83 *Found and fixed bug in the CleanUpTest source
*Merging CleanUp source into main.

NOTE: You might not want to update right away because there might still be some issues. New issue reports to this are of course welcome ;).
2009-06-04 22:13:39 +00:00
dimok321
b4a7b23680 *little fix 2009-06-01 17:50:42 +00:00
dimok321
e8de174866 *Fixed gamebrowser wrong DPAD behaviour after switching from Carousell
*Fixed browsers not getting darker when going into HOME Menu
*Removed MP3 Menu
*Added Patch Country Strings (thanks to WiiPower and SoftChip Team)
Note: "This is an option for import games only. If you have problems with that try this option. Mostly japanese users need that.

*some other small fixes

**Note 2: Right now the loader is having some issue with IOS Reload. If you initialized network and try to run a game and its not working its due to that bug. I am trying to find why it isnt working right now. FreetypGX is making codedumps on there sometimes (ardi look into it you missed something).

** Also there is a new libogc in our download in which there are new libfat and libogc files. If you had issues with SD they might now be fixed, so try it out.
2009-05-30 16:58:34 +00:00
dimok321
c4e10a5cb3 *Fixed isses 384, 387, 391 (maybe more not sure)
*Temporary fix for GameSettings not saved (hopefully now working for all)
2009-05-29 22:14:19 +00:00
giantpune
b81c8af3e9 added language definitions for some new update windows. added 2 new constructors for buttons so is takes 1 line of code to make a button and not 7. switched most of menu.cpp to the new buttons. remove the "exit to loader" btn if not launched from HBC. 2009-05-28 16:30:01 +00:00
dimok321
f793af2d39 *Added Update Button to the Settings which can Update to newer Revs (only seen when in UnlockMode)
**Big Thanks to CorneliousJD for Hosting the DOLs)**

*Reverted ardi's stuff which made codedumps on the Download (sorry ardi commit it again when its fixed)
2009-05-28 12:12:52 +00:00
dimok321
1c0ecfd589 *Fixes for Grid (not yet completly done) 2009-05-25 17:59:28 +00:00
dimok321
305dc85fc3 *Some fixes and cleanups for the GRID (still has a lot of issues dont make new issues about it. going to go on fixing later) 2009-05-25 13:31:48 +00:00
giantpune
e60695332e added grid display (still has mucho buggos so don't make issues of them) added azerty keyboard and other small stuff. 2009-05-25 12:10:34 +00:00
dimok321
061a1629e1 *New languagefiles.
*Replaced the Closebutton.
2009-05-22 19:36:34 +00:00
dimok321
4cb00becda *Fix of favorite crash with zero entries.
*Added some missing languages.
2009-05-21 18:13:37 +00:00
dimok321
f08ed3d245 *Fixed options clicking problem (didnt work sometimes)
*Added dummy star pngs which will be replaced later
*New languagefile
*Changed the cfg to treat all the files as Textfiles and not as binary.
2009-05-21 14:05:30 +00:00
giantpune
4a0c038708 Fix no SD bug and other stuff 2009-05-20 22:30:47 +00:00
dimok321
71c288f0a2 *Added new custom backgroundmusic Menu (the music has to be in OGG Format. if you remove the path to the music the standard of the GUi is loaded right now)
*Added languagefiles again
*Added some new Languagevariables which will be added to wiki tommorow
2009-05-20 00:03:43 +00:00
dimok321
5011115304 *Updated to the newest libogc. If you want to compile download newest devkit 1.5.0 and extract the new libogc from our download section into that folder. 2009-05-19 00:46:14 +00:00
dimok321
2ad2c5d1b8 *Added German languagefile (final v1 by Amarabha)
*Fixed Creditscrash (noticed that giantpune can't count lol)
*Fixed European Keyboard missplaced
*Pimped the Home Menu (sound and stuff and a lot of fixes)
*Fixed last compile warning thx to DRayX7
*Added S.Chinese Unicode Fix thx to pc9528
2009-05-18 20:00:29 +00:00
giantpune
2bd2382a64 2009-05-18 09:33:23 +00:00
dimok321
05f7dcb368 *Added Unicode fix (thx to CDGod) (Chinese fix.) You might need another font for it. We won't include the Unicode font since its too big.
*Added some new Language Variables (check out Wiki)
*Added Languages to SVN
*Added titles.txt path changeable
*Changed CONFIGFILENAMES to GXGlobal.cfg, GXGameSettings.cfg and GXtheme.cfg !!!

Finnish (final v2 by JussiPik)
Dutch (final v2 by kedest, Adr990)
Spanish (final v1 tlozano)
French (final v1 by Amour)
T.Chinese (final v1 by kyogc)
2009-05-17 08:40:47 +00:00
giantpune
f975fff261 added DVORAK and QWERTZ keyboards. QWERTZ has alt keys to produce enough accents for everybody to be happy. 2009-05-17 04:02:52 +00:00
giantpune
5a535a61a6 Added support for language files. Still as some bugs and maybe a few typos. DON"T MAKE ISSUES OUT OF THEM. 2009-05-16 15:38:52 +00:00
giantpune
0a11579c18 put some buttons for mp3 menu 2009-05-13 16:54:50 +00:00
dimok321
bcff8dfd58 *Added MP3 functions and MP3 Menu
DON'T USE IT ITS STILL BUGGY. DON'T MAKE ISSUES ABOUT IT.
2009-05-13 15:56:16 +00:00
giantpune
5d973af02f Changed prototype for OnScreenKeyboard. It now accepts minimum entry length to keep people from removing any part of "SD:/" and crashing when trying to download. Also added clear button to delete all text back to the set minimum. 2009-05-11 23:26:39 +00:00
giantpune
5f5f2040aa Set up 3rd tab in settings screen for any other settings. Added new images for tabs.(NeoRame). Did some housekeeping with the code. 2009-05-11 19:55:14 +00:00
dimok321
7e02aeb63f *Moved everything from config.txt to global_settings.cfg
*Added cover/discimage/theme path edit through global settings
*Changed if no password is set, you are always godmode (even after reloading GUI). If you have password set: the unlock is only till you leave.
2009-05-09 22:37:14 +00:00
giantpune
b5c3dbaa44 Messed with behavior of progress bars/ prompts some more. 2009-05-07 01:03:18 +00:00
giantpune
3bd5652da2 Create options to quick boot GAME(skip game prompt), and invert the left/right direction in game prompt (switch previous/next) 2009-05-05 06:24:23 +00:00
giantpune
23715cdbd8 change wbackground to align with buttons. remove settings and buttons while using the keyboard from the settings menu. set up page tabs in settings menu. if we decide to keep it, more time can be spent on the graphics. 2009-05-05 00:11:00 +00:00
dimok321
c152f5c3d4 *Added Standard IOS option to global settings. This decides with what IOS the Loader is gonna boot next. 2009-05-03 18:53:31 +00:00