Commit Graph

389 Commits

Author SHA1 Message Date
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
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
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
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
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
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
58ceb5c8bb *Oops forgot to remove these two before committing 2009-07-12 14:04:46 +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
thedarkness1981
85a7bc723c forgot move some files 2009-07-12 13:18:43 +00:00
thedarkness1981
c5b6d02cb6 Wad stuff in it´s own directory 2009-07-11 15:33:57 +00:00
thedarkness1981
8d541f801a Downloads the english cover/disc images if the one for your country isn´t found 2009-07-11 15:00:37 +00:00
giantpune
99e133a8e1 fixed code dump in gamewall.
added delete after update wad in installed
put more garbage in the readmii
2009-07-11 14:12:02 +00:00
thedarkness1981
e7b7663ed3 fix for issue 687 2009-07-11 12:26:36 +00:00
giantpune
37c620db90 forgot to upload these files with the last stuff. 2009-07-11 07:21:38 +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
giantpune
5d6a361d03 prompt to install game if a disc is inserted 2009-07-07 13:47:37 +00:00
giantpune
9b713cee7c changed progress window to not use settile but instead use setskew. this way we are drawing 1 progressbar image every loop but stretched instead of 100 little images each loop.
put in prompt if you say to show favorites and you don't have any selected.
2009-07-07 11:06:51 +00:00
dimok321
bc2b263a96 *Forgot to remove something which broke 222/223 support 2009-07-06 07:18:54 +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
8c28cab3cb *small compile fix 2009-07-05 20:28:10 +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
dimok321
a8cde60913 *A few cleanups 2009-07-05 06:39:56 +00:00
thedarkness1981
d9bbb3b662 *Support for wiitdb.com added
*Downloads the images depending from which country the game is 
There are still missing images so please everyone who wants to help please add them on www.wiitdb.com. ;)
2009-07-03 21:30:24 +00:00
thedarkness1981
4c684e5969 Cheattitle scrolls now and some other small stuff 2009-07-03 14:59:32 +00:00
giantpune
8c076a8eb9 changed fatmounter.c by taking out all the stuff to detect the first FAT partition. Because it is now included in libfat. This file is in our downloads section for people that want it. If you compile a dol/ elf without it, it will have issues seeing FAT usb partitions. 2009-07-02 22:04:47 +00:00
rameonweb
29f9832467 cleanup and changed some graphics.
added the new easy installer on download section (fix some stuff and disabled the wiitdb download section because the new server send back a timeout.)
2009-07-02 17:02:34 +00:00
giantpune
98979c62be fix the copy/paste oversight i made. this probably fixes the cover mix up. 2009-07-01 18:19:35 +00:00
giantpune
cebc980f63 save the # of rows that are shown in the grid with the settings. fixed a little memory hole in the gamewall while i was in there.
added checks for all the servers to verify what they are giving us.  also added more bad image sizes to the list.
it is all commented out now.  uncomment all the new stuff it the download function to use it.
2009-07-01 02:05:50 +00:00
giantpune
baffea9810 added i warning for loading gct files over 255 lines. it works in theory, but i didn't test it at all.
added another server to the cover host lists
2009-06-30 22:05:40 +00:00
giantpune
92ae470725 added 2 more servers to get images from. they are cycled to spread the load. if an image is missing on one, we try the others.
changed a bit the way that the screensaver is called
2009-06-29 19:15:11 +00:00
giantpune
a741b58732 changed the address we get covers from. this doesnt mean open season to DL 50000000 covers or else we will be in the same boat we were in people. 2009-06-28 21:56:38 +00:00
ardi@ist-einmalig.de
c4fde86562 * expand escaped chars in language-files 2009-06-26 15:20:18 +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
2f3c679f0f change to menu=MENU_CHECK after alt dol fails. this takes longer but is needed for crappy drives that don't work right with the regular init function. 2009-06-25 22:07:13 +00:00
giantpune
68a24d0784 fix broken alt dol loading stuff. 2009-06-25 21:15:57 +00:00
giantpune
d87fdb5df8 2009-06-25 20:35:15 +00:00
giantpune
77103f3af8 fix a syntax booboo which kept games from starting 2009-06-25 19:01:33 +00:00
giantpune
b88018fff4 made a prompt to call you an idiot if you tell it to load an alt dol that is not in the dol path. 2009-06-25 18:15:58 +00:00
giantpune
6e969da66a add trig1(buttononlyTrigger) to menu_disclist and use it to initiate cover downloads. (tested and working ) now you can press 1 from any game browser and DL covers.
put more stuff from the cheat page into the translatable category.
2009-06-25 16:41:02 +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
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
giantpune
8b83f89c9c put in support for little not-so-widescreen TVs on gamewall. Didn't have one to test it on but it probably works. 2009-06-25 07:06:55 +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
lustar.mii
38c978c042 Temporary fix for alternative dol not working for some people. No need to update if the previous revision worked for you. 2009-06-21 09:01:24 +00:00
dimok321
e228da697f *Fixed for some HDDs GameList/Windows not loading. 2009-06-20 11:11:07 +00:00
giantpune
63a5de42ca Made 002fix automatic when anti-002 is turned on. Didn't test it at all. If it breaks games it can be reverted.
Made tooltip transparency in the theme file.  use tooltipAlpha = ###.   default is 255 (max).
2009-06-20 10:10:40 +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
0258de337e *This should fix the GameCounter problem probably. 2009-06-19 23:20:18 +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
mauricewoelk
383aaa45e5 *added a little screensaver which depends on the wiimote timeout (for now set to 300 seconds)
*added 2 functions (by dimok) to wpad.c: bool IsWpadConnected();
void WPad_SetIdleTime(u32 seconds);
2009-06-18 07:36:23 +00:00
giantpune
ed5370945d uncommented some code i forgot about. 2009-06-18 07:12:27 +00:00
dimok321
0d0d54ea66 *Fixed GameSettings not being saved right
*Moved the WC24 Shutdown to networkop.cpp
2009-06-17 20:44:00 +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
dimok321
1079b110a7 *Fixed Alternate DOL not working (since 529) 2009-06-17 11:10:25 +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
dimok321
044185abe2 *Fixed GameSettings not loading some options 2009-06-16 18:12:47 +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
de071197b0 *the files werent deleted 2009-06-16 08:29:22 +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
thedarkness1981
ca3ab2f042 Finally added the GCT Class ;) (Comments in TXT files are not supported for now) 2009-06-15 17:10:16 +00:00
dimok321
35e2fbe238 *Added missing "Child" language
*Fixed "Eject Error"
2009-06-15 16:31:56 +00:00