Commit Graph

222 Commits

Author SHA1 Message Date
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
dimok321
1e1d808db7 Removed punes cursing crap from Prompts. 2009-07-29 15:38: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
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
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
giantpune
84e3d18533 Fix the bug where you see settings for the wrong game if you switch games during the game prompt. 2009-07-27 01:52:31 +00:00
giantpune
19067967bc change the onscreen keyboard to filebrowser for custom paths
no button to create a new file and a little bug with the scrolling, but better than typing stuff in.

added channel launcher.  currently doesnt show the actual name, only the u32 and ID.  also, it is only showing 0x00010001 channels, so no Mii, weather, or other crappy channels,  just the good stuff.

fixed bug that showed the MacOS hidden files as extra homebrew entries.
2009-07-25 09:39:01 +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
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
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
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
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
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
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
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
thedarkness1981
e9ba1a1a0e fixed Ocarina issue 689 2009-07-15 02:01:10 +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
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
thedarkness1981
c5b6d02cb6 Wad stuff in it´s own directory 2009-07-11 15:33:57 +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
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
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
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
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
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
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
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
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