Commit Graph

511 Commits

Author SHA1 Message Date
dimok321
e1ed5629b8 *Forgot one thing 2009-07-25 07:13:33 +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
ardi@ist-einmalig.de
9b051ac7d7 little fix 2009-07-24 16:23:00 +00:00
ardi@ist-einmalig.de
f3296b3570 * insert last SVN-Rev (#define SVN_REV) also in use of TortoiseSVN
* all files that refere SVN_REV are automatically recompile
2009-07-24 16:16:31 +00:00
rameonweb
a66f10db11 -changed the icons for the game info (colors for requied and optional)
-updated the PEGI icons
2009-07-24 13:56:55 +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
lustar.mii
f52b0c71a9 Added check to prevent the full wiitdb.zip from being loaded. If you have the file but don't see any info use the Update All feature or the custom URL from the .txt file mentioned previously. 2009-07-22 15:09:11 +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
satellic
b73cca828a Updating some language files
Add Polish lang
2009-07-21 20:57:59 +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
dimok321
8fd2bbdb01 *Cleanups to the Homebrew XML stuff
*Added HomebrewXML class
2009-07-20 18:53:28 +00:00
giantpune
a02013f03f put in a possible "fix" for the disappearing cursors that some people are getting. when menu_disclist is called the cursors are deleted and recreated. so at least if they do go away, this may make them come back.
make the homebrew menu read the XML data from meta.xml file.  put this data on the homebrew buttons and prompt.  there is 4 structs created globally that hold the XML daa.  i tried to make them pointers but i got errors so i'll leave it like this and let dimok fix it :P
2009-07-20 14:20:27 +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
rameonweb
9f89e0d0bd *update the easy installer (add the new lang files czech and hungarian)
* add a HBC browser button icon to google (NOTE: some coder have to add this i havent the coder skillz ;-) )
2009-07-19 23:26:47 +00:00
dimok321
47201c807a *Changes in the Banner Class. Now loading the TPL files into memory and display from there. 2009-07-19 17:48:15 +00:00
giantpune
3d090a8bab made a new prompt to show all the HBC info. it isn't used yet but its there.
added more alt dol #s to the list.
2009-07-19 14:57:33 +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
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
satellic
621e32c9be Little fix to tr"Txtcheatcodespathchanged"
update dutch & italian language files
2009-07-19 00:41:20 +00:00
satellic
32761a8086 Updated languagefiles:
Danish, dutch, french, italian, norwegian, portugese_pt, russian, spanish, swedish, tchinese.
Added: czech, hungarian

Sorry for wrong files on r614, the defective files were corrected now & tested on compiling.

english.lang is now coded in utf8, some translators surely used it for the new translations and that generated errors at the time of special characters
2009-07-18 15:21:32 +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
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
a3455cb30e fixed alt dol from disc not working for most games 2009-07-17 17:07:08 +00:00
lustar.mii
31f3793e63 2009-07-17 14:02:40 +00:00
lustar.mii
e5efd8f221 When updating, the downloaded wiitdb.zip will now only contain the game descriptions for the language the Wii is configured to. 2009-07-17 13:00:56 +00:00
dimok321
d17df2be50 *Reverting language files because they are in a wrong format.
NOTE: Our new uploader probably used word or some crap like this to edit the files which messed up with the " sign or sometimes even forgot, making the source not compilable.
2009-07-17 12:02:21 +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
satellic
e91ee15ba8 update recent tchinese language file based on r611 2009-07-17 01:48:12 +00:00
satellic
9c9e21272d Updated languagefiles:
Danish, dutch, french, italian, norwegian, portugese_pt, russian, spanish, swedish, tchinese.
Added: czech, hungarian
2009-07-17 01:20:28 +00:00
satellic
f3d9591a3b 2009-07-16 20:53:15 +00:00
thedarkness1981
612e099480 2009-07-16 11:40:58 +00:00
giantpune
3281d68a07 issues 708 and 710.
I didn't check, but they should be fixed with this.
2009-07-16 09:36:55 +00:00
giantpune
9a77dbd9e6 fixed bug that caused the xml to not be downloaded on some wiis.
Added option to download txtcode if none is found.  The error checking for this is really weak so you might get a "file not found" page saved as a cheat text.  But its bettor than nothing.
2009-07-16 08:29:01 +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
giantpune
32fb5f2aaa Forgot to take this stuff out before I committed last time. 2009-07-15 22:21:23 +00:00
giantpune
4a49894fc9 Fixed the alt dol from disc loading the wrong file. Made the discbrowse() function not show files that don't end in ".dol". There still is a bug limiting the display of the dol name after it is loaded to 3 chars but it loads fine even if the name isn't displayed right. 2009-07-15 22:13:19 +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
5945ca4fc9 fix issue 694 2009-07-15 05:18:33 +00:00
giantpune
6c8953531a File a little syntax error. 2009-07-15 04:36:08 +00:00
thedarkness1981
e9ba1a1a0e fixed Ocarina issue 689 2009-07-15 02:01:10 +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
thedarkness1981
6937ff5a51 Moved Banner stuff in own directory and added extraction 2009-07-14 14:28:17 +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
thedarkness1981
3906d0fe32 Added Menu_DrawTPL and Menu_DrawTPLMem
and Banner Class (WIP)
2009-07-13 00:57:30 +00:00
thedarkness1981
d8bad4932f 2009-07-13 00:42:28 +00:00
thedarkness1981
fae66e538d 2009-07-13 00:40:25 +00:00