Commit Graph

155 Commits

Author SHA1 Message Date
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
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
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
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
a8cde60913 *A few cleanups 2009-07-05 06:39:56 +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
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
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
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
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
giantpune
f3443c0ae8 added tooltips to gamegrid with game titles 2009-06-15 13:25:47 +00:00
giantpune
6d082b7c66 Fixed a codedump caused by not having any games and playing around in the gamewall. 2009-06-13 06:49:09 +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
giantpune
2ee3521ff5 little changes. 2009-06-13 01:10:00 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00
giantpune
d31a034d18 fixed some code dumps from the coverwall and the xml stuff. 2009-06-11 08:13:08 +00:00
giantpune
e18b154156 little fix. i took out a variable in the last version that is needed to move the covers right. oops.
Also, use flat 2d covers,  the fake 3d ones look like shit on this.  and if you have your wii in 4/3 mode it wont show anything (i don't think it will.  i didn't test it).
2009-06-10 10:10:25 +00:00
giantpune
ad05aa93c1 Changed the game grid just a little bit. Press up/down to change the number of rows. if you have less that 42 or 16 games it wont let you use 3 or 2 rows respectively. ( at least that was the plan. it may not work that way.)
also made functions to skew buttons and images used for this.
2009-06-10 10:05:43 +00:00
DRayX7
c257e1d378 *Fixed some bugs in the game browser and game carousel
*Added a few new files for later use
2009-06-08 16:26:04 +00:00
dimok321
6cf6de3e70 *Made scrolling with D-PAD while pointing at a list browser possible.
*UpdatePath and titles.txt Path are now changable again (forgot to add them before)
*Added forgot UnicodeFix Option
2009-06-07 16:16:18 +00:00
dimok321
b758bef4e1 *Fixed GameSize not showing on install
*Fixed missplacing WiiMotePointer
*Added some missing languagevariables
2009-06-07 11:03:39 +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
1e665874ba *Fixed codedumps at startup 2009-06-05 15:43:32 +00:00
hungyip
3887824fde Optimized and Refactored some codes. Did not do any test on it so it might break the settings feature. Please report on issues if any settings feature is broken 2009-06-04 01:04:23 +00:00
ardi@ist-einmalig.de
904fda37d4 NOTE: this commit requires "make clean" and the new libfat (see Downloads libfat-01-06-2009)
* clean up the wild mounts and unmounts (this and the new libfat fix the download-bug)
* reorganize shutdowns and reboots use now the functions Sys_Reboot(), Sys_Shutdown(), Sys_ShutdownToIdel(), Sys_ShutdownToStandby() and Sys_BackToLoader()
  this functions stops the GUI-Thread, Shutdowns the Audio, Video, WPad and unmounts the SD and USB
2009-06-01 15:50:18 +00:00
dimok321
976ea2041c *Changed the code for CreditsWindow
*Added ButtonsHold and ButtonsPressed functions
*Some cleanups
2009-06-01 13:35:43 +00:00
mauricewoelk
24d98683b3 just some small fixes
*added RemoveSoundClick to guibutton prototype
*removed the click sound from Wii/Home button
*applied widescreen fix to arrow buttons in caroselle and grid
2009-06-01 12:15:27 +00:00
dimok321
f2822719b1 *Fixed settings codedumps and other codedumps with carousel and grid (oh boy we had so many memory mess up stuff) 2009-06-01 08:45:51 +00:00
giantpune
99cd6f420e added clock_color, settingstext_color, gamegrid_coords, and gamecarousel_coords. settings color affects every customoptionbrowser text. gamegrid and gamecarousel coords are 4 variables. the first 2 are x/y. the second really just mover the arrows in relation to the gameboxes for now. 2009-06-01 03:49:50 +00:00
dimok321
550b792db9 *Some more memory clear before gamestart 2009-05-31 22:44:40 +00:00
dimok321
1ffee5a484 *Found and fixed bug with Memory for Carousel (also was one in Grid)
*Added Carousel back in
*Changed UMS Heapsize which increases compatibility for some HDD Devices with cIOS38 Rev12

**NOTE: If anyone encounters any HDD detection problems which start from this rev on, make an issue and we can revert that thing.
2009-05-31 21:40:22 +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
DRayX7
95c7c51355 *Forgot to uncomment a few lines I commented out for testing 2009-05-30 03:07:34 +00:00
DRayX7
52a1eed0b0 *Added the carousel to the GUI.
*Fixed a bunch of bugs in the carousel.
*Changed the filenames for the carousel images to the spelling used everywhere else.
2009-05-30 03:02:41 +00:00
ardi@ist-einmalig.de
a5ec5c9d63 *add scrolling Text to the GuiCostomOptionBrowser (now shown full Paths)
*add GuiText::SetTextf(format, ...); Set formatet text like printf
2009-05-29 13:20:28 +00:00
DRayX7
cf1a8fb5a0 **Changes
*Fixed effect GOROUND so that it doesn't cause alignment issues anymore (the format for this effect is very different than it originally was, if you plan on using it for something, look at the documentation in gui.h.
*Major revamp of gui_gamecarousel (everything is awesome and perfect, except it still can't launch games, and thus it is still not in the gui).

**gui_gamecarousel Notes:
*You can use the same technique as last time to test the carousel (except I recommend adding startat and offset to the line since I added support for it).
*I realized not everyone will agree for my choice of curvature and spacing for the games on the carousel, so I made them variable.  At the top of gui_gamecarousel.cpp are a bunch of definitions that set up these values.
*SCALE determines the size of the game boxes.
*DEG_OFFSET is the number of degrees between the boxes (remember, changing the RADIUS will affect the linear distance each degree represents).
*RADIUS determines the curvature of the arc (higher radius makes it less curved).
*IN_SPEED determines the speed at which the boxes come in (higher number makes it faster).
*SHFIT_SPEED determines the speed at which the boxes move when you turn the carousel.
*PAGESIZE determines how many boxes are drawn (remember, the number of visible boxes is determined by DEG_OFFSET and RADIUS, with the default values you can see 7).
*Everything eles (the animations, position of the movement buttons, etc.) is automatically determined from these values (my 8th grade math teacher was right, trig isn't totally worthless), so you shouldn't need to change anything at all, except the aforementioned values (or the b0rken game launching code).
*If you find a set of values you think looks better than mine, post a picture and the list of values in an issue or on IRC.
*These will probably become theamable at some point, but I figure we should get this added to the gui first (I was hoping to do it tonight, but some stuff came up, and I need to go to bed).

Wow I write really long commit notes.
2009-05-29 05:27:29 +00:00
giantpune
1faa39a755 fix issue 370, issue 376, issue 374, issue 372, and issue 358. created a new function to remove soundover from buttons. 2009-05-28 23:18:37 +00:00
giantpune
518858a351 changed the keyboard to use the new button constructors. fixed bug in one of the button over image. commented and documented the new button shit. 2009-05-28 22:23:20 +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
ardi@ist-einmalig.de
45ae32f0cd commit my stuff again and fix it (no more codedumps on the Download) 2009-05-28 15:36:45 +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
DRayX7
aaa2a3f25f **Changes
*Modified EFFECT_GOROUND so that it takes a center of rotation, angles work properly, and things don't move back.
*Updated the gui_gamecarousel files so that they are functional, shouldn't have any more code dumps, and use the EFFECT_GOROUND.
*The carousel button doesn't do anything anymore (since GOROUND was changed so much)

**Notes
*The easiest way test the carousel is to change guiGameGrid to guiGameCarousel in source/menu.cpp.
*If you compile with no modifications, the only noticeable difference is that the carousel button does nothing.

**Known Bugs in gui_gamecarousel
*The images dont line up horizontally (when shifting left they go too far left, and the same for shifting right). I think there is a rounding bug somewhere in GOROUND (I already fixed several).
*Cant hold down left and right to scroll yet
*Launching a game only works if the pointer is over two boxes
*If an image is growing when the carousel is turned, that button disapears
*If an image is grown when the carousel is turned, it wont shrink back
2009-05-28 01:46:05 +00:00
dimok321
94a8ccc7c1 *Added simultanious angle change to EFFECT_GOROUND (to test click on carousellbtn) 2009-05-27 17:16:36 +00:00
DRayX7
78a9822e1a *Added very basic gui_gamecarousel files based on punes code. This esentially dosen't work at all yet, but I thought I would put them up since I'm going to bed soon. 2009-05-27 08:51:39 +00:00
dimok321
73dada56a8 *Changed the EFFECT_GOROUND (press carousel button to test it) 2009-05-27 08:41:05 +00:00
DRayX7
cbaf4d6832 *Fixed an issue with the gamebrowser 2009-05-27 00:45:00 +00:00
dimok321
899502b766 *Fixed some Themeprompts problems thx to julienstephan
*Added new effects (EFFECT_PULSE, EFFECT_GOROUND and EFFECT_ROCK_VERTICLE)
2009-05-26 22:48:20 +00:00
ardi@ist-einmalig.de
516baef59f * some bugfixes in FreeTypeGX (no springing text by scrolling)
* add 4 FTGX_ALIGN_... Modes
* scrolling now pixel by pixel (softscrolling)
2009-05-26 21:54:30 +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
c6fdedb008 *Added wiilight settings to turn on/off and install only (issue 211)
*Added DefaultSettings Button and a DefaultGameSettings Button.
*Fixed OGG Menu to not codedump on path change and auto add '/' if not entered like on paths
*Some small fixes
2009-05-23 22:23:24 +00:00
ardi@ist-einmalig.de
5cf5cd6ae7 * added two new wrapmodes for gui_text "DOTTED" & "SCROLL"
- DOTTED: cuts the text and appends "..."
  - SCROLL: scrolls the text
* added dotted/scrolled text for gamebrowser, gamepromt and so on (more will come later)
* remove CFG.maxcharacters and THEME.maxcharacters (no more needed)
2009-05-22 22:36:55 +00:00
DRayX7
1bb2aa7f85 Forgot something in last rev. 2009-05-22 18:31:51 +00:00
DRayX7
d21fcfac8e *Fixed the code dump from r389 2009-05-22 18:22:23 +00:00
DRayX7
306644b518 *Fixed code dumps related to showing only favorites
*Fixed having no games installed and removed the old workaround
2009-05-21 23:32:32 +00:00
ardi@ist-einmalig.de
93aadca881 fix underscore bug and remove old workarounds 2009-05-21 23:12:00 +00:00
DRayX7
59905d623d *Better fix for zero entries (fixes teh problem instead of avoiding it)
*Moved a button
2009-05-21 18:26:01 +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
DRayX7
e6daf212bd * Added a button to game prompts to make a game a favorite.
* Game prompt now displays how many times a game has been played. (cap of 255 will be fixed)
* Added buton on main window to view only favorited games. (Known Bug: If this button is pressed with no favorite games, the loader will crash)
2009-05-21 08:56:23 +00:00
ardi@ist-einmalig.de
e42e38eca2 change Disk-Shadow (looks better) 2009-05-20 21:58:59 +00:00
ardi@ist-einmalig.de
52fbd15569 * add a nice effect for the GamePromt. To aktivate set in Setup: Flip-X=DiskFlip
* remove the Disk-Shadow from dialogue_box_startgame.png (themers will scream). The Shadow now drawing from Loader
* little changes for Widescreen-prompt-fix
2009-05-20 20:09:57 +00:00
dimok321
d7350ff386 *Little fixes.
*Language files.
2009-05-20 08:03:22 +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
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
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
dimok321
4581890650 *Fixed install bug when 0 Games are on the HDD 2009-05-15 20:35:08 +00:00
giantpune
e843d9a3be apply underscore fix to gamelist and game prompt. Fix bugs in mp3 player. 2009-05-13 19:03:21 +00:00
giantpune
9ee6729e7f fix underscore bug in keyboard and mp3 list. 2009-05-13 18:14:45 +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
557f82d138 Added function to remove GuiTrigger (dimok). played with the settings tabs and triggers. 2009-05-13 06:48:30 +00:00
giantpune
fe926e0eb4 Made theme setting to define max characters for game list. Use "maxcharacters = ##" in theme.txt. Default is 36. This does not affect for the title appears anywhere but the game list. 2009-05-13 05:41:49 +00:00
giantpune
4093776c3b Change the scrollbar behavior based on the pagesize in theme. 2009-05-12 07:02:17 +00:00
thedarkness1981
d3d8b79873 fixed issue255 2009-05-11 23:57:43 +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
ardi@ist-einmalig.de
fc20580add Fixed thi Install-Bug ... i think 2009-05-11 18:45:33 +00:00
rameonweb
319c82e588 *change the keyboard graphics for more wii-ish look
*delete keyboard_mediumkey_over.png and keyboard_largekey_over.png
2009-05-11 16:30:14 +00:00
giantpune
2a2eeeebbc Fixed the scrollbar better with the cursor when dragging it. Tested fine with 30, 60, 150, and 200 in the gamelist. 2009-05-11 11:39:21 +00:00
ardi@ist-einmalig.de
d71d7775b4 disabled mutex/lock because of problems with FW 4.0 2009-05-08 21:02:41 +00:00
dimok321
728f0ab124 *Reverted to the Widescreen size of Rev295 (this looks better) 2009-05-08 18:17:26 +00:00
ardi@ist-einmalig.de
339ea60337 remove old ToolTip-Code 2009-05-08 14:23:05 +00:00
ardi@ist-einmalig.de
6e3f50efeb new Tooltip-Handling, change Widescreen-sizing to mathematically correct value (0.75 alias 1.333), new Clock-Font 2009-05-07 22:46:54 +00:00
ardi@ist-einmalig.de
1768998644 Added mutex/mutexlock to synchronize the GuiThreads and the MainThread, again clockfont edited (bearing of "1") 2009-05-06 22:36:28 +00:00
giantpune
1de9437e61 added option to toggle the widescreen fix for prompts/buttons. 2009-05-06 11:09:32 +00:00
hungyip
c7ffd0ad09 Added pagesize option (number of entries displayed in the gamelist) 2009-05-06 04:52:44 +00:00
ardi@ist-einmalig.de
28c51cd5e8 2009-05-05 18:17:59 +00:00
dimok321
7ed41e0491 *Added tooltip to scrollbararrows and Tabs in settings. 2009-05-05 17:24:19 +00:00
giantpune
8edbd2e1b1 Align keyboard with background better 2009-05-05 09:06:11 +00:00
giantpune
20cb3c9e93 Hopefully fixed erratic click detection in settings. 2009-05-05 08:04:07 +00:00
hungyip
ce921b5bb9 1. Added custom images for game setting screen (you could use a different background for game settings now. You need to have gamesettings_background.png and bg_options_gamesettings.png
2. Added custom game list color (gametext_color = r, g, b)
2009-05-05 02:56:01 +00:00
thedarkness1981
4db969442c Fixed CreditWíndow, changed sdcard logo size 2009-05-05 01:35:41 +00:00