Commit Graph

88 Commits

Author SHA1 Message Date
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
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