Commit Graph

74 Commits

Author SHA1 Message Date
lustar.mii
c1f16850f9 When wiitdb.zip is updated the file is now checked and titles/infos are reloaded. Made browser theme friendly (changes by virale in issue 905). Fixed alt-dol for SSX Blur (issue 865, thanks LoudBob11). Australian covers may be able to be downloaded now. 2009-09-07 01:47:13 +00:00
lustar.mii
b4f6c1373e 2009-08-29 01:02:29 +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
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
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
giantpune
fab8e625ad Change our meta.xml so it fix on the homebrew prompt better.
raise the coder to char[100] because we have a shitload of names on there

add param int t=0 to the get entries function to force getting all games and ignore settings and parental control

fix bug that code dumped if you didn't have the database.txt for the channel names
2009-07-27 09:43:48 +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
7681565421 Made a function to save the URL for WiiTDB.zip in a txt file on the update path. This is for people that don't have WiFi or neighbors with WiFi or can't take their Wii to TacoBell or Starbucks who has free WiFi. The text on the bottom of the gameinfo window tells how to use it. And if the function completed, the text tells exactly where the URL was saved. For those really stupid people, the text also tells them to copy/paste this URL into a web browser to get the zip file they need. 2009-07-22 06:56:50 +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
giantpune
73d8ded0e5 fixed a bug or 2 in the synopsis being displayed incompletely.
added a few more game IDs & alt dols to the list of knowns
2009-07-19 06:09:34 +00:00
giantpune
18489a8858 load xml at startup and keep it in memory instead of each time the game info is called. it adds 1 second to my startup time with 100+ games. just testing to see if breaks anything doing it like this now that the xml is much smaller. 2009-07-18 11:04:13 +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
d202fc34a6 Probably fixed the code dump from pressing down during the synopsis and it doesn't fill the page. 2009-07-17 06:42:01 +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
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
lustar.mii
92441e56b2 2009-06-20 00:32:10 +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
lustar.mii
9a4fd8e680 split Genre display on several lines on the Game Info page. 2009-06-14 09:33:55 +00:00
lustar.mii
6396c7099f Fixed the reason for the fix I broke in my last batch of fixes. 2009-06-14 04:59:32 +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
giantpune
2874d9672c Took out debug TXT that I left in the coverwall. fixed some stuff in the gameinfo window. 2009-06-13 06:32:02 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00