Commit Graph

292 Commits

Author SHA1 Message Date
dimok321
6850d68074 *Fixed crash on NTFS (wrong memory free functions were used)
*Added proper deinitialize of usb before starting game / exiting app. This is supposed to fix Blackops multiplayer mode (Did not test it. I don't have that game.)
*Added Wii message board update (Playlog) (thanks to dkosmari for a starting point). This feature can be enabled/disabled in the global settings. Default is ON.
*Removed unused sources.
2010-12-27 09:44:27 +00:00
dimok321
d62e41d601 *Removed ntfs/fat source and added them as custom libs (makes them easier to update later)
*Added sources of the custom libs to the branches
*Fixed crash when switching from list layout to grid/carousel layout
*Removed 1:1 copy option because its meaningless and almost the same as installing all partitions
*Fixed install partition selection. This option needs a reset. Go to settings and reselect your option for this.
*Fixed schinese and tchinese language modes (filename bugs. has to be schinese.lang and tchinese.lang like on SVN)
*Fixed bug in sound buffer circle
*Fixed incorrect behaviour of x-flip when selecting system like (thx Cyan for the patch)
*Accept ios revision 65535 for Waninkokos IOSes (thx to PPSainity for pointing it out)
*Merged the new theming style branch into trunk. Just as a reminder: ALL old themes will not work until the themers did port it to the new style!
*Removed old theme style completely

Theme example:
The example file of the theme is the Default.them file. It can be found in the SVN trunk.

Change in loading of themes:
When selecting a theme now a list of all .them files in a folder is displayed. The image folder of that theme has to be in the same folder as the .them file. The image path is defined in the head of the .them file in the line with "Image-Folder: Example\n".
2010-12-26 17:02:14 +00:00
dimok321
2adc6cc995 *Completely rewrote the asynchron GuiImageData class (problems from switch Carousel<->Grid layour should be fixed now)
*Fixed bug mounting a wbfs partition which was formatted from an ext partition
*Rewrote the parental control feature. Removed loading pin or settings from the Wii Settings. Parental control is now completely managed in the loader from the settings selected and the password set.
*Saving password in config file is now encrypted
*Added loop to wait for usb when reloading the cIOS before game start


The parental control feature is filtering games like following when usb loader is locked:
level 0 (everyone 0+)		> shows only games with lvl 0
level 1 (childs 7+)		> shows games with lvl 0, 1
level 2 (teens 12+)		> shows games with lvl 0, 1, 2
level 3 (mature 16+)		> shows games with lvl 0, 1, 2, 3
level 4 (adults only 18+)	> shows all games (lvl 0, 1, 2, 3, 4)

level 4 is default when creating new configs
2010-12-19 18:20:33 +00:00
dimok321
f7c1e9958d *Fixed crash on "pick alternative dol from list"
*added a temporary workaround for selecting favorites when no favorites were setup for grid and carousel layout because of some serious problem in there which i have to look for later.
*Reworked complete cover/discart download function (seems a lot faster to me now)
*Fixed problem with switching games in game prompt and then going to the game settings. Was always the first selected games settings.
*Fixed crash when clicking the DVD icon
*Fixed save of lock/unlock state in parental control
*Fixed install menu messup (not return to right menus)
*Removed unnecessary save of settings on every mode switch
*Several cleanups and fixes
*Removed mountMethod 3
2010-12-17 17:50:44 +00:00
dimok321
18a26d7e1a *Fixed booting games for huge ext2/3/4 drives
*Rewrote complete main menu function
*Moved ext2/3/4 disc cache to mem2 as on FAT/NTFS (added ext2 as custom lib due to that)
*Added missing header files from R1011 for ext support
*Fixed crash on Numpad when pressing a button
*Fixed boot of WiiMC
*Changed SVN line ending to LF (Unix style)
2010-12-12 16:31:13 +00:00
dimok321
2213b45351 For all the Linux lovers:
*Added support for EXT2/EXT3/EXT4 file systems:
   You can boot games from this file systems too now. Works the same way as FAT32/NTFS.
   Just put your games into drive:/wbfs/ with the known supported folder names.
2010-12-09 20:57:35 +00:00
dimok321
71c47c23bb *Fixed support for drives >= 1TB size (and probably some others as well)
*Reworked the USB handle read/write functions
*Fixed crash on deleting games
*Updated NTFS3G of libntfs to Version 2010.10.02
2010-12-05 19:09:32 +00:00
dimok321
777e0394d0 *Fixed crash when trying to set alternate dol from game disc in game settings 2010-12-04 07:36:23 +00:00
dimok321
45e15bdb0b *Corrected game settings ios display
*Fixed loading languages
*Fixed wiitdb download
*Changed sorting/favorite stuff. You can now have favorite mode and abc/playcount/ranking sorts as well
*Change to not allow FAT32/NTFS partitions with Waninkokos cIOS Rev < 18
*Fixed settings path to default to the boot device
*Set default cIOS to 222 now if no config exists.
*Removed support for Hermes v2 and v3 (only v4+ is supported now)
*Fixed game settings saving
*Maybe more i don't remember
2010-11-07 20:31:45 +00:00
dimok321
64744ce20d *Fixed booting games from FAT/NTFS (thx r-win)
*Fixed Toy Story 3 boot bug
*Changed IOS limits. Now allowing all IOSs from 200-255 to support more Waninkoko cIOS slots. You will get a warning if you don't have an IOS installed and try to choose it.
2010-11-07 12:16:34 +00:00
dimok321
33ce3e48ab *Lot's of cleanup and file/function movement.
*Homebrew boot changed a bit (cleanup)
*A lot more stuff i can't remember anymore
2010-11-06 15:30:14 +00:00
dimok321
bed86339f7 *homebrew xml fix
*replaced all OptionsLists with the one from WiiXplorer
*some other crap i don't remember
2010-10-31 09:30:53 +00:00
dimok321
2570d6dae8 *Fixed crash on start i made in last rev by mistake
*Changed boot process to wait for USB in GUI mode.
*Changed headless ID stuff (actually was in last rev)
*Added a GameTitles class for WiiTDB titles and fixed parental control (probably crashed before)
*Removed cfg.c completely now. Nothing left in it.
*Moved per game lock feature from game statistics to the individual game settings. It is not a game statistic ;).
2010-10-28 09:00:52 +00:00
dimok321
6baa46b1e6 *Clean up in partition mount/format process
*Clean up in game boot process
2010-10-27 19:50:48 +00:00
dimok321
78ff6447a4 *Enums cleanup 2010-10-27 14:45:27 +00:00
dimok321
71d537c1a7 *Compile warnings fixed for devkitPPC R22
*Changed usb fat partition mount/unmount a bit
*Added wifi printf for quick debugging purpose only (not used currently).
2010-10-24 19:08:03 +00:00
dimok321
dbe694cedf *Update to new libfat
*Rearranged the libs location a bit
2010-10-01 18:53:38 +00:00
dimok321
a4f3d16a56 *Added support for all the currently new IOS stuff. Stole a few modules/plugins from WiiFlow here :P. (Tested Hermes 222 v5.1 base 38 and Waninkoko 249 base 57)
*Added support for older Hermes IOS too (rev 2 and rev 3)
*Changed Alternative Dol Browser to get the filelist (fst) with functions from libwbfs (like banner sounds) instead of from an emulated disk. This should fix all the weird crashes with it.
2010-10-01 15:01:19 +00:00
giantpune
444d2dbe79 *removed all the switches at the end of menu.cpp
* removed duplicate 002 parameter in constructors
* pass setting parameter directly to the patching functions instead of making another variable just for this
* probably broke something
2010-09-30 05:45:21 +00:00
giantpune
74fa0a40be * turn off some debug output
* change returnTo patch a bit.  now it can be run on dol sections instead of the whole thing at once.
* apply the patch for alt dols
* only apply patches to main.dol if we aren't booting an alt dol
2010-09-30 04:24:17 +00:00
dimok321
ac56e5ec10 *Bit code clean up in the fat mounter - no change here
*Changed the image resource manager to only be used for images from memory (embedded images) and not those from a device. It used the same cover/disc image for multiple game.
2010-09-29 17:47:51 +00:00
dimok321
71a95a57d7 *Cleaned up USB storage control
- Using mem2 memory from our mem2 manager now
   - Fixed potential memory overwrite
   - Removed unneeded or unused functions
2010-09-28 20:55:42 +00:00
dimok321
defd5f940b *Addition per Game Lock Feature (Issue 1694) - Patch supplied by pjigar 2010-09-28 18:58:56 +00:00
dimok321
48a40172d0 *Moved GameStatistics (FavoriteRank/PlayCount) out of cfg.c and into an own class. All settings are now separated. Old rankings and playcounts will be reseted due to a new format.
*Fixed loading of game settings
*Moved NTFS cache to mem2 as well
2010-09-25 08:51:44 +00:00
dimok321
e44e3c817c *Seperated game settings from cfg.c into it's own class. Some stuff might be broken and need adjustments. 2010-09-24 21:22:01 +00:00
dimok321
a5a0289f9f *optimization up to -O4
*removed all compile warnings on that level
2010-09-24 15:54:06 +00:00
dimok321
5bf2c813b6 *let's get rid of last compile warning 2010-09-24 15:08:03 +00:00
eraserxl
772859ecbc * Unified formating of source files. 2010-09-24 00:48:03 +00:00
eraserxl
05825a3231 * Fixed routine for slow USB devices.
* Minor refactoring of Ios loading algorithm.
2010-09-23 23:47:51 +00:00
giantpune
4e78cbb37d * fix widescreen setting 2010-09-20 03:03:38 +00:00
dimok321
f3ef9104b1 *Whole lot of cleanup in the cfg.c
*Moved all related global settings to a settings class. one for themes and individual games will follow. Probably broke some settings or theme loading, we can deal with that later and fix when someone discovers bugs.
2010-09-19 20:25:12 +00:00
dimok321
9594155a8d *Enabled NTFS writing
*Fixed favorite sorting
2010-09-19 15:12:16 +00:00
giantpune
6012536f67 oops 2010-09-19 13:21:36 +00:00
giantpune
dd4704cce3 * brought back the return-to patch complete with settings and shit to click on
* in the global settings you can select any 0x10001 title that is actually installed in the nand.  in the game settings, you can decide whether or not to use the global setting for that 1 game.
2010-09-19 10:53:24 +00:00
giantpune
344a81962f * fix WCharSortCallback() ( fixes game filter ) 2010-09-19 01:16:04 +00:00
giantpune
9e79c9d99b * remove little unused code
* code cleanup
2010-09-18 23:16:05 +00:00
giantpune
e1a36e8988 * move title stuff into a class
* only get the list of shit installed on the wii 1 time and use that list globally for stuff like checking if something is installed, getting channel names, getting title versions
* remove unused files
* probably fuckup svn merge
2010-09-18 23:04:39 +00:00
dimok321
1902318e4e *Cleaned up the game list get and filter process for all filter modes and made a class out of that. Noticable speed up in all loading gamelist processes with that. Bye bye shitty getentries.cpp. 2010-09-18 11:46:25 +00:00
dimok321
044c48a1bc *Added loop for WBFS init back in
*Replaced all text related stuff with the ones from WiiXplorer (FreeTypeGX/GuiText/...). Some alignments might need be adjusted or maxWidth in pixel of some text parts. Also the text scrolling needs to be adjusted.
2010-09-17 15:15:21 +00:00
dimok321
a5ca9235ca *Added PoP Patch to apply automatically. The internal patch is not applied if you have a .wip file for PoP. So the .wip patches override the internal patch.
*Cleanup inside the apploader
2010-05-30 14:18:25 +00:00
dimok321
095d09eb93 *Disabled NTFS write because the installer is still unstable and made NTFS mount read only
*Changed cache size for mounts higher again which speeds up everything especially from SD
*Fixed bug when loading OCARINA+Alternative DOL. (Wasn't booting at all)
2010-05-30 06:49:23 +00:00
dimok321
f0ca11506b *WIP Patch fix. WIP patches should work now. Tested and confirmed for PoP.
WIP Patches will be only accepted in the following format (let's not invent thousands of different formats):
In 3x 4 bytes columns separated by a space (no ":" allowed)
offset | original address | overwrite address 

Example for PoP:
007AAC6A 7A6B6F6A 6F6A7A6B
007AAC75 7C7A6939 69397C7A
...

The original address is compared before patching and is not patched if it doesn't match. You can see the confirmation or fail of a patch on the Gecko Output.

*A few fix ups in different places
2010-05-29 15:43:19 +00:00
r-win
8a4e192022 - Reverted to 921
- Removed no disc in drive patch
- DoGameHooks should be called always
2010-05-29 07:38:54 +00:00
giantpune
1beb161406 fix for "return to" logic.
look for the first of ULNR or UNEO
if neither are found, look for the first of JODI or HAXX
if none of the 4 are found, return without patching anything
2010-04-11 02:59:34 +00:00
giantpune
2af7d13868 comments, debug stuff, and compile warnings.
no functional changes
2010-04-11 02:27:25 +00:00
giantpune
0e5d1d182f change main.dol patches around a bit 2010-04-10 23:44:10 +00:00
e.bovendeur
0e1ed4a3b3 - Fixed Hermes rev5 issues (I think :))
- Added support for ciosx (yes, including FAT/NTFS) (As always, say thanks to oggzee for this)
- Fixed bug with game specific settings (which *could* end up using other settings than you expected)
- Removed fat_ffs for now (save game emulation might conflict with FAT/NTFS support, we have to test this)
- Maybe more, but I forgot them, I think
2010-04-10 09:15:22 +00:00
dimok321
52a44ef10f *Added back license that was removed by mistake
*Fixed bug i added right before commit for Brawl+
*Some compile warnings removed
2010-02-27 20:08:47 +00:00
dimok321
eb052a0fe9 forgot something 2010-02-27 18:54:42 +00:00
dimok321
714aafa267 *Added WiiPowers Brawl+ stuff (Thanks WiiPower) 2010-02-27 18:18:01 +00:00
dimok321
e4b48d2712 *Another fix for ntfs write 2010-02-25 14:55:42 +00:00
dimok321
0908027ad8 *Fix for ntfs writing
*Cache size reduced which results in a bit slower writing but is more stable
*Fix for the gameinstaller ProgressWindow
*Added NTFS unmount on exit

WARNING:
The USBLoaderGX installer seems to be broken in some places. There are sometimes random freezes or crashes even on fat32. Those arent bad on a fat32 filesystem but can damage the whole partition on ntfs. Using the installer on ntfs is still very risky. You have been warned!
2010-02-25 12:08:03 +00:00
e.bovendeur
ce5930f297 * Added Hermes rev5 support! (issue 1438)
* Updated to Hermes usb storage code
* Fixed some bugs in ntfs while writing timestamps, resulting in different hashes (dimok)
* Fixed codedump when switching partitions (issue 1454)
* Fixed graphical glitch on 4:3 screens, where the prefetch cover was visible in the coverwall
* Fixed a bug with installing games, due to the switch to C++ (dimok)
2010-02-22 21:29:47 +00:00
satellic
275aee0dab * Language files update 2010-02-16 20:21:47 +00:00
giantpune
b193141eb6 tidy up some debug stuff. 2010-02-15 02:45:18 +00:00
e.bovendeur
e8f5ab07bd * Changed WBFS stuff to C++ classes
* Fixed bug in http.c (where realloc *might* choose another address, thanks Dr. Clipper)
* Added support to /wbfs/Game Title [GAMEID].wbfs files (thanks oggzee)
* Fixed bug in cfg_cleanup when switching partitions
* Added BGM class again (for playing background music, requested by dimok)
* Added settings for background music again
* Fixed bug in MEM2 class (returning an invalid handle when no memory could be allocated, thanks to dimok)
* Updated DIP module to OpenDIP (report bugs with this one if you've found them, but report them here: http://github.com/spacemanspiff/odip-plugin)
* Added initial code for cios 222 rev5 (THIS DOES NOT WORK YET! DON'T FILE BUGS ON THIS ONE!)
* Added fatffs module by Hermes and Waninkoko (THIS DOES NOT WORK YET! DON'T FILE BUGS ON THIS ONE!)
* Fixed bug in Settings, which resulted in a crash when the partition was changed.
* Added caching for gamelist entries, so switching between different screens/sort options/display modes should be faster
* Changed defines in ehc_module, in order to prevent clashes with new defines in rev5
2010-02-14 23:22:52 +00:00
giantpune
bf03e49dc6 undo the code formatting. somehow it got screwed up 2010-02-09 10:59:55 +00:00
giantpune
f988afc60d code formatting. absolutely no functional changes. there is no point to update to this. just making the code easier to read. 2010-02-09 06:33:18 +00:00
giantpune
aeb7aff9ea *re-eveluate partition size after installing games and such (from r-win) 2010-02-01 11:22:48 +00:00
e.bovendeur
57ecea56e9 * Added NTFS write support! (Thanks dimok, for fixing the bugs)
* Added additional folder layout on FAT/NTFS (GAMEID_Text or Text [GAMEID])
2010-01-31 23:14:14 +00:00
dimok321
3f9cdb5468 *Revert to R883 and only keeping the new game directory layouts commited by r-win
*Moved R896 to the branch
2010-01-19 10:48:50 +00:00
e.bovendeur
5e9a56ffb7 Added more game directory layouts: (by oggzee)
/wbfs/TITLE_[GAMEID]/GAMEID.wbfs
/wbfs/TITLE [GAMEID]/GAMEID.wbfs
/wbfs/TITLE[GAMEID]/GAMEID.wbfs
When loading games from FAT or NTFS
2010-01-10 09:16:47 +00:00
dimok321
604ecb7b79 *Some fixes for those who were having troubles with the new revs 2010-01-07 08:35:11 +00:00
dimok321
15bcbfa482 *Finished the background initialization thread for devices started by giantpune and merged it into trunk. Now you can startup the loader without a HDD. Also you can put in your device after startup and it will be recognized. Hot swapping not yet added (as in remove and than stick it in).
You will see the list of available channels on your system if you start without a HDD or if your HDD is slow and is being recognized late. The list of games is than reloading as soon as it is recognized.
*Hot swapping of the SD card was implemented into background thread (by giantpune)
*Made lots of cleanups and some fixes
*Format menu was moved to settings page 3 (only on godmode accessable)
*Added ScreenShot and Reset/Shutdown call to background thread. Removed the not needed ones. Now you can call for Screenshot/Reset/Shutdown anywhere in the loader (after gui is started).
2010-01-06 23:07:35 +00:00
e.bovendeur
ffb017b6bc Fixed installing games to FAT partitions. 2010-01-04 14:11:02 +00:00
giantpune
b5653edcf4 *fix bug in partition detection (at least for my HDD)
USB must deinit the device before re initting it or else it returns 0
games and what not.

*add filter to skip __CFG_ in teh gamelist (i was told this is the ID6
for hermes' settings)
2009-12-30 09:52:24 +00:00
giantpune
999e8c1817 *add a little debug text after the GUI if loaded from HBC to help track
down the ocarina issues

*take the IOS reload out of the slow usb loop

*use patchhook.S from new geckoOS.  this doesnt mean all the new geckoOS
stuff will work, its just the S file
2009-12-24 08:33:53 +00:00
e.bovendeur
5b6a6e98df Fixed issue 1242: Ocarina doesn't work any more 2009-12-20 20:28:30 +00:00
e.bovendeur
dc34b25542 Fixed online gaming. Removed some warnings when compiling with R19 2009-12-20 18:28:30 +00:00
giantpune
cb628348d6 *fix possible buffer overflow in GCT code array
*fix the gamelist from starting with 1 game on the list
*added fucntion for making screenshots and put it in a few loops. 
triggers are GC(Z), CC(left-Z), nunchuk(Z).  no comfirmation is given
except over usb gecko.  but files are saved in <boot device>/config/
USBLoader_GX_screenshot<date><time>.png
*took out some annoying prompts from the bannersound functions because
they were really annoying
2009-12-20 04:26:30 +00:00
e.bovendeur
3aa838dec9 * Added initial NTFS support
* Added load system based on fragments

This commit is made possible for Oggzee and his great work on supporting other filesystems!
2009-12-19 14:05:31 +00:00
e.bovendeur
f19285cd0d * Fixed issue 1169
* Implemented WIP patches
* Updated language files
* Possible fix for Peppa Pig (untested, issue 1212)
* Updated Wii parental controls to work nicelly with USB GX Parental Controls
2009-12-15 06:04:14 +00:00
giantpune
8732c83f11 *probably fix the bug that caused WiiTDB.zip to not update the full
gamelist.
*rearrange the Gui_Numpad so it doesnt look like a 4yr old made it :)
*remove redundant setPostion and setAlignment in Gui_Numpad
*remove old comments
2009-12-11 23:07:27 +00:00
giantpune
f364aaa964 remove more SD and USB shutdown and startup, which broke cheating when
using alt dol from sd/usb
2009-12-11 06:31:05 +00:00
giantpune
f6ad587532 *change "or" to "and" for the IOS check
*rearrange some sd and usb init to keep from re-init the thing 20 times
*execute some of the main dol patches that are the same size in the same
loop so we dont keep looping the same data a bunch if we dont need to
(hopefully this doesnt break anything)
*sprinkle some more gpringf() around
2009-12-10 23:05:32 +00:00
e.bovendeur
441a203678 * Added BETA upgrades option (to download the latest revisions from google code)
* Added Wii Parental Control support
* Added gui numpad
* Changed GuiText to support password character
* Added lock/unlock icon in the titlebar (to unlock Parental Control)
* Added new wbfs_fat from Oggzee (further speed improvement)
2009-12-10 20:27:36 +00:00
e.bovendeur
2543c555a4 Lots of changes in this revision:
* Added MEM2 support by Hibern
* Better partition support (by oggzee)
* Support for subdirectories in FAT32 (by oggzee)
* Added support for cios 223 and 250
* Added BCA support (go to Settings->Custom Paths) to change the path of the BCA files (by Hermes)
* Fixed issue with hairless mode
* Fixed issue with IOS_ReloadIOSsafe (by giantpune)
* Added setting to save games in a subdirectory
* Fixed slow startup when loading from FAT (WiiTDB required!)
* Changed handling of new titles a bit (speed improvement)

Known issue:
* FAT rename and re-id broken again due to subdirectory support (yes, I'm lazy)
2009-12-04 15:05:20 +00:00
giantpune
55a401e4a5 lots of changes here
changed gprintf() to use crediar's method because it is smaller and works just the same.

allow r-win's debug printf() stuff to be sent to the gecko to reduce redundant stuff there 

issue 1073.  headless mode - allow game to be booted via argv[1].

took out all the params from the exitprompt since they aren't used.

took out all the #ifdef stuff for building for a wii.  obviously this wont run on a gamecube so it isn't needed.

added a way to check what version of a IOS is installed before trying to boot into it.  added IOS_ReloadIOSsafe(). this should stop idiots with the 4.2 stubs from bitching about why stuff doesn't work.

use that check so you only see the "222v4 is needed" prompt in the settings if you don't already have that installed.

fix issue 1039. (must still be compiled without NO_DEBUG defined because technically WiiRD is a debugger)
2009-12-03 01:06:09 +00:00
dimok321
b70af2d71d *Fixed InstallProgress to show size and speed again
*Added intern GameTitle rename for .wbfs files on FAT32
*Added intern GameID change for .wbfs files on FAT32
2009-11-22 14:09:08 +00:00
e.bovendeur
68aeb7aafd * Added a visual mark for new installed games. The first time this revision is started no games will be marked!
* Added a configuration setting to turn this feature off (there you go, pune)
* Changed svnrev.sh, to also update the release date of the meta.xml file, and to set the revision to current + 1
2009-11-21 22:59:57 +00:00
e.bovendeur
31717f020b Added new ehcmodule to support 4 GB WBFS files by oggzee. 2009-11-19 20:16:30 +00:00
dimok321
626c79ea2d *Added the custom libfat source to our source so you don't need to replace the original one in libogc
*Added NewSuperMarioBrosPatch for NTSC Version
2009-11-15 21:30:44 +00:00
e.bovendeur
a09abe355f * Added FAT support (Issue 1054)
* Fixed issue 1058
* Menus splitted to several smaller files, to reduce compile time

This version has FAT support. You can change the used partition in the game load options. Default WBFS will be used, if found. Otherwise the first FAT partition with games will be used. FAT will only work when using Hermes cios (222/223)!!!
2009-11-15 19:52:58 +00:00
ardi@ist-einmalig.de
a0182d0c4c * GuiSound stuff rewritten it makes modular
* ogg decoder added (old oggplayer removed)
  * mp3 decoder added (mp3's cane use as backgroundsounds)
  * WAVE decoder added (but only uncompressed WAVE's)
  * AIFF decoder added (only uncrompressed)
  * BNS decoder added
    all soundformats can use as backgroundsounds
    dimoks GameSound class removed it is replaced with the new GuiSound stuff

* Many small fixes and other changes
2009-11-09 23:03:13 +00:00
dimok321
bf6b329822 *Added WiiPowers New Super Mario Patch. (Thanks WiiPower) 2009-11-09 21:49:28 +00:00
giantpune
b753af6d4d sprinkled gprintf() throughout the source some more.
added functions to mess with the "return to" stub.  everything should be working right, but if i messed up, it may cause you not to be able to exit the program (it could just keep restarting itself).  now when booting homebrew, they should exit back to this program if you have a channel installed as UNEO or ULNR.  priority is given to UNEO if both are present.
2009-10-20 23:00:19 +00:00
giantpune
6a378e3523 added basic functions for outputting debug info to USB gecko 2009-10-20 11:46:55 +00:00
ardi@ist-einmalig.de
31cd4d03e2 revert dimok's stuff, because it makes too many trubble 2009-10-19 20:34:54 +00:00
dimok321
3c6bf6523b Optimization Changes Part 1:
*Lots of changes in the TextDrawing stuff and FreeTypeGX to speed up the drawing
*Mostly optimization work which is not completely done yet, but mainly it is.
*You might not want to update to this revision right away there still might be bugs which are needed to be fixed. This is a version for everyone to test and report bugs caused by the changes.
*Vanishing WiiMotePointer should be fixed for the Settings/GameSettings probably (though it might still occur i am not sure if i didn't forget anything, there is just too much to change :P.
2009-10-17 20:48:52 +00:00
giantpune
9c7207aa79 patch up memory leaks.
issues 1022, 1023, and 1024
2009-10-16 20:08:44 +00:00
e.bovendeur
363f2e40d4 Fixed issue with game installations 2009-10-16 04:18:00 +00:00
giantpune
7b0af4f19d fix compile warnings from devkit r18 2009-10-14 21:59:13 +00:00
ardi@ist-einmalig.de
cec8a231e7 * add missing includes
* fix a to small array
2009-10-14 17:20:24 +00:00
e.bovendeur
a976c4e530 * Added SDHC support (issue 672)
* Added support for larget WBFS drives, as found by Wiimm (http://gbatemp.net/index.php?showtopic=185428).
2009-10-13 21:19:23 +00:00
e.bovendeur
62163b6512 * Changed the favorite icon to 5 stars, which can be used as a ranking system. The more stars are selected, the higher the game will show up in the favorites list. Games without stars are not shown in the favorite list.
* Changed credit screen.
2009-10-13 10:47:56 +00:00
e.bovendeur
812c37bf4a Fix for games which need a disc in the drive to play (like MP3 and De Blob). 2009-10-12 05:28:11 +00:00
giantpune
a65c8f88ba little fixes 2009-10-01 10:35:40 +00:00
giantpune
aa936a5c43 fix a little bug
add function to create gameList based on installed channels.  not used yet.
2009-10-01 09:17:55 +00:00
giantpune
3b4613249b support exiting to both tid for hbc. when you press exit to homebrew channel (and was not started from homebrew channel so he can't use the stub) he will look for HAXX and JODI and boot the first one he sees. 2009-09-30 23:32:59 +00:00
e.bovendeur
1cc7d3acd6 * Added initial support for the new wiiload (compressed protocol), uncompressed protocol is also supported
* Added initial (untested!) support for the zip file format, which is supported by the HBC
* Began working on compressed wad files. Uncompressing fails for now, so uploading WAD files should be done with the previous version of Wiiload.
* Fixed issue 902 (hence the large commit).
2009-09-30 23:10:58 +00:00
lustar.mii
b83a379014 The mload/ehcmodule update is now complete, thanks to dimok. You need to update Hermes cIOS 222/223 to v4 if you use it because it works the same as in uloader, only v4 is supported.
You may have to delete your main configuration file before updating if you had v3 installed. For some games, you will have to use 222 instead of 223 (RB instruments, GH 5) if you had 222 v3.
If you think you need an external ehcmodule.elf, you can put it in SD:/apps/usbloader_gx/ and it will be loaded.

Fixed crash when setting a custom path using the folder button (issue 864).
Fixed black screen when starting the loader from HBC a long time after powering the Wii and the HDD went to sleep (tested on a WD 2,5") (possible fix for issue 881).
2009-09-30 03:57:15 +00:00
giantpune
2b47c635ed Autohook games with VI hooktype when a USB gecko is detected in slot 2 so WiiRD works without having to turn on ocarina.
*may lead to false positives for some GC memory cards in slot 2, but the only side effect would be hooking the game when it wasn't wanted to be hooked*

fix i bug created by svn merging
Call to start BC for GC is still present 2x.  I left one so if the first doesn't work, it can be removed and the second will be used.
2009-09-29 08:47:07 +00:00
giantpune
4d6e0fe412 Free up ~24KB for every 150 games installed.
Add button to mount DVD drive.  Not completely tested, but somewhat.
*Tested and working*
retail Wii DVD
Wii backup
Wii backup w/ alt dol (redsteel)
Wii backup w/ alt dol & ocarina (redsteel)
Wii backup w/ alt dol & WiiRD 
Retail & Backup forcing video modes
Saving individual settings for games on DVD (only Wii as BC is loaded before any settings would be used)
Display disc images for DVD games
Loading GC games retail & backup (w/ working MIOS patch installed)  
I did change some stuff after testing GC so it might be broken.

Theme stuff for the button is not tested and I'm not quite up to speed with ardi's changes to the theme stuff so it might not work.

Changed images are not compressed or optimized.
2009-09-29 08:09:09 +00:00
ardi@ist-einmalig.de
b7a96f77f8 little fix for the search stuff 2009-09-28 19:01:10 +00:00
ardi@ist-einmalig.de
16b4e62c51 2009-09-27 18:19:53 +00:00
lustar.mii
77685f2ea4 Ocarina situation may have improved (issue 827). FIFA 08 should work (issue 943). Updated dip_plugin/mload. Fixed title list after saving .txt/.csv (issue 961), changed known alt dol for Boogie. 2009-09-26 07:14:12 +00:00
giantpune
1fe96748b7 Made game ID text into a button to change the ID for custom games based off a retail disc (Guitar Hero baby!).
*NOTE*
it is possible to change any game ID to more or less than 6 characters, but since most of the functions use header->id[0] through [5], more will be useless and less may result in code dumps.

it is not advised to change the ID for games that are not custom, as the cover and wiitdb data will not be available for made up ID

it is possible to have multiple games with the same ID on the wbfs partition, but when any of them are clicked, the wii will perform the selected action (play, delete, etc) on the first one it finds.
2009-09-02 08:03:51 +00:00
lustar.mii
6a789e8b78 Changed database/artwork code for Portuguese from PO to PT. Fixed issue 871 (theme for game info page). 2009-08-28 15:52:53 +00:00
dimok321
80c580edb7 *Added UpdatePrompt before LoaderUpdatePrompt to make it possible to update Languagefiles/WiiTDB without waiting for new Rev
*Fixed a little compile warning i added
*Fixed crash on UpdateLanguage()
2009-08-09 08:07:27 +00:00
dimok321
a815b61add *Change to DiscBrowse. Changed the memalign in it, which makes it freeze/crash a lot less than before. Thanks to WiiPower for sharing this. 2009-08-03 18:55:55 +00:00
dimok321
de01dd2a18 *Small fix. The Menu i did didnt show up lol.
*Small change in the sh file because there was an error on linux while compiling.
2009-07-31 21:16:02 +00:00
dimok321
06889b794a *Moved file receiving over TCP to TitleBrowser (Channel Browser)
*Fixed the receiving of the wads. Now receiving directly to a device (Big files work now too (with sendelf they do, do not know about wiiload))

*Fixed to show the incoming IP and not the IP of the Wii

*Made changes on bootup. Now there is a small BootUp Screen for the slow HDD people. Waiting for 30Secs for their HDD.
2009-07-31 20:15:55 +00:00
thedarkness1981
6e3bc5607e 2009-07-31 12:45:14 +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
dimok321
1b9a56b877 *Added button to update/download all language files in the Language selection. The files are downloaded into the setuped path for languages.
*Added URL_List class that gets all Links of an http url.

*Made HomebrewList class dynamic allocated like the URL_List class too now. This saves lots of unused memory.

*Small cleanups

NOTE: Punes made an update too (i didnt know he was doing it). We decided to have both in because of:

Punes update updates only the files that are available on the SD/USB and only when you are doing a complete update.

My update is downloading ALL files from the SVN Link (getting the whole list). These is mainly for people that are getting started or those who want to update the whole LanguageList
2009-07-29 20:32:14 +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
a3455cb30e fixed alt dol from disc not working for most games 2009-07-17 17:07:08 +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
6937ff5a51 Moved Banner stuff in own directory and added extraction 2009-07-14 14:28:17 +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
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
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
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
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
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
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
1079b110a7 *Fixed Alternate DOL not working (since 529) 2009-06-17 11:10:25 +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
35e2fbe238 *Added missing "Child" language
*Fixed "Eject Error"
2009-06-15 16:31:56 +00:00
dimok321
c6badb92de *Fixed Ocarina giving blackscreen
*Changed some stuff to the Apploader
2009-06-14 12:59:38 +00:00
dimok321
71e9fe1169 *Forgot to remove a thing and change browser value 2009-06-14 10:42:39 +00:00
dimok321
4ca4ab1061 *Fixed some issues
*Added 16:9 forwarder
*Changed video mode change behaviour
*Added new GameSetting "Online fix"

NOTE: Online fix is ONLY needed if you initialize network inside the loader and start an Online Game and ONLY if your boot cios is the same as GameSettings IOS (which is default). That Game would need an IOS Reload before start to be able to play it online BUT this IOS Reload mostly causes Blackscreens. I made this option so you dont have to avoid initializing network. If you have different boot IOS than gamesettings IOS this fix doesnt matter too.
2009-06-14 10:08:41 +00:00
dimok321
bc8084fe75 *Forgot something 2009-06-13 23:47:38 +00:00
dimok321
587fdbbae2 *Reverting some stuff to the OLD way before new IOS222
Now if you use 249 there is no change to R492 before 222.    
  So if you still get blackscreens it wasnt caused by that.
2009-06-13 23:39:42 +00:00
ardi@ist-einmalig.de
fd4b98714f * little changes
* remove using of rev.txt
2009-06-13 12:56:24 +00:00
dimok321
33eaefe81e *Small changes 2009-06-13 09:51:01 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00