Commit Graph

583 Commits

Author SHA1 Message Date
giantpune
5c26c4082a fix the broken "remember last game" stuff when leaving menu_disclist
loop
2009-12-12 02:12:10 +00:00
giantpune
99af0f8574 forgot a line 2009-12-11 23:09:10 +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
a0067589bf *change cheats to use the global buffer
*change make:all to not complain about bash
2009-12-11 00:14:55 +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
b10ba0fd42 *shame on me again* 2009-12-10 21:38:03 +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
efcc00b66b * Added WII_Initialize call to IOS_ReloadIOSsafe to prevent DSI exception when calling WII_LaunchTitle
* Fixed check for valid cioses
* Removed gprintf from MEM2
2009-12-05 08:06:05 +00:00
e.bovendeur
ab25485614 Fixed the build in Linux (Prompts instead of prompts). How many times am I gonna fall into that trap? :P 2009-12-04 22:39:29 +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
d14bebd159 fix code dump when using hairless mode and FAT32 2009-12-03 06:13:23 +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
e.bovendeur
cfb6ee9538 Possible fix for issue 1127 2009-11-23 21:06:01 +00:00
lustar.mii
c97c887775 For people who use two partitions (FAT32 and WBFS), wiitdb.zip won't be overwritten anymore when they update. The file is now loaded and saved as wiitdb_(partition).zip, so you can switch partitions and keep titles/infos. If wiitdb_(partition).zip is not found it loads wiitdb.zip. When exiting settings, the partition is now reloaded only when needed. WiiTDB update should work again for people who own more than 240 games. Fixed a rare crash that could be issue 1083. 2009-11-22 16:42:53 +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
e.bovendeur
6e8489e335 Small changes to make compiling of the channel easier and quicker:
- Type "make" to make the normal dol
- Type "make channel" to make the channel dol
This will only force networkops.cpp and PromptWindows.cpp to recompile, instead of changing the PromptWindows.h file and force a recompile on almost everything.
2009-11-18 09:01:14 +00:00
satellic
448703a177 * Language files update 2009-11-18 02:22:50 +00:00
e.bovendeur
8b3754ef3f - Changed svnrev.sh script to autoupdate meta.xml
- Fixed the build for the full channel build
- Reverted the default cios change
- Changed the error002 to default Anti (this only affects new users)
2009-11-17 22:57:41 +00:00
ardi@ist-einmalig.de
75ba6a0fd8 fixed looped bannersound 2009-11-16 22:46:57 +00:00
ardi@ist-einmalig.de
072638fddf use the LoopFlag from Bannersound to automatic loop the sound if is needed 2009-11-16 22:43:46 +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
satellic
ef43c3d0a2 * Language files update
* Fix as asked on issue 1089
2009-11-12 15:29:12 +00:00
ardi@ist-einmalig.de
be9d29773f changed the GuiElement Lock-Stuff
The libogc limits the MUTEX up to a count of 64.
Therefore we use "only one" global Mutex for all Elements.
This has to follow tath a lock hinder each thread 
tath which tries access to any other element

Also the new Lock-Stuff uses one global mutex. 
But this mutex is locked for the smallest time as 
possible (Only in the lock- and unlock-process). 
The threads are no longer hindered unnecessarily each other.

This speeds up the gui
2009-11-10 22:03:52 +00:00
satellic
79b3c8c5dd * Language files update 2009-11-10 19:46:26 +00:00
dimok321
ef956c430a *little fix to ignore case sensitivity on searching files on the WiiDisc (Thanks to LoudBob11 for pointing it out)
*Added new options for BannerSounds (You can loop them, make it be quite after once played or play the BGM again)

NOTE: Changed the way how to disable BannerSounds. If you make Volume to 0 than the loading of the BannerSounds is disabled now.
2009-11-10 18:43:56 +00:00
e.bovendeur
781d204691 Fixing the build, please mind the casing of the directories, since the build server is a Linux machine\! 2009-11-10 05:08:33 +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
satellic
b081dd8a41 * Language files update & doubloons removed 2009-11-09 01:43:13 +00:00
dimok321
ab82b0b40d *Added BannerSound playback to GameWindowPrompt, playing the gamesounds back (Thanks to Hibernatus for his decoding and uncompressing functions)
NOTE: Added option to enable/disable the BannerSounds and a volume option for it. Note that volume 0 is not the same as disabled. On volume 0 the sounds are still loaded. More options probably going to come.
2009-11-08 20:13:57 +00:00
mauricewoelk
9bdda687ed - minor edits on images.
- btw. i'm not dead... just fucking busy :P
- p.s. ffs!!!! don't touch my graphics !!! friggin pixelated shit in there -.-
2009-11-06 12:53:08 +00:00
dimok321
d3d2055583 *Changed to download files under their real filename
*Small change to the download request function, added filename reading
2009-11-02 22:15:28 +00:00
ardi@ist-einmalig.de
12e42498dc * remove my old (and buggy) ramdisc (libFAT-Wrapper) with my new
real dynamic ramdisk (currently unused)
* added Make.config
2009-10-31 23:23:27 +00:00
satellic
5ac0aa0df8 * Small fix as asked on issue 1055 (Thx Old8oy)
* Languagefiles update
2009-10-30 01:32:01 +00:00
dimok321
7cb357abb2 *Little bug fix. Images were saved as .png when they are .jpg. Delete your cached tmp images of the themes to not have doubles. 2009-10-24 22:12:25 +00:00
ardi@ist-einmalig.de
a8936b0054 * little stuff in FreeTypeGX
* changes is setting-dialogs
  - Update the Gui-Texts only if is needed
  - alls stuff for an option in one code-block
    this makes it easier to add, move or remove an option
* customoptionbrowser-stuff
2009-10-24 22:03:12 +00:00
satellic
54c3afe760 * Languages files update
* Add one translation wich was forgotten in source
* Themable screensaver activated, image size as gxlogo.png, but named "screensaver.png" in the theme folder.
* Others little fixs
2009-10-22 14:45:07 +00:00
dimok321
7524f86827 *Removed Referer for small files because it seemed to slow down the download. 2009-10-22 11:51:12 +00:00
dimok321
ed2ac8f085 *Created a Theme Downloader with preview, downloading themes from http://wii.spiffy360.com/ (Thanks for hosting them)
NOTE: The images used right now for the theme loader are made out of our old images and if someone can make some new ones go ahead. The themes are downloaded to the path you can set up. The downloaded preview images are cached at "<set up theme downloadpath>/tmp/". The widescreenfix isn't implemented there yet because images will probably be changed.

*Started 3rd SettingsPage

*Added JPEG Loading GuiImageData function and 4x4RGBA converter by r-win from WiiXplorer

*Added ZipFile Class from WiiXplorer

*Added StringToMD5 and MD5ToString to MD5 functions and made it undependable of platform
2009-10-21 19:32:46 +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
6d1178c26d optimized the font stuff 2009-10-19 23:09:27 +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
giantpune
9f66829728 re-fixify the gamegrid theme shit. *note* please update any themes to use the separate entries for the toolbar buttons for each view. (gamegrid_dvd_blablabla, gamecarousel_dvd_blablabla, etc). one of these days the workaround for older themes will be gone and those themes will not look right. 2009-10-19 05:00:47 +00:00
lustar.mii
08ce514727 Added a macron in case any particular title happens to require it. The network init prompt won't show up at all when network has already been initialized. Ocarina should work for people that still had the problem with recent revisions (it fixed it for me, but only when using SD, not SDHC). 2009-10-18 21:23:54 +00:00
dimok321
06e5f81c3a *more fixes
*quick and ugly widescreen text fix which needs to be changed later
2009-10-18 08:38:41 +00:00
dimok321
0c7ac826c3 Optimization Changes Part 2:
A few corrections to the changes in part 1:
*clock fix
*progressbar fix for language update
*GX DrawDone() changed
2009-10-17 22:50:42 +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
satellic
1411b42132 * Languagefiles update
* "for" has changed for "for Ocarina", to be adapted to some languages translations
2009-10-17 17:13:51 +00:00
dimok321
a2bb760f3d 2009-10-17 07:30:54 +00:00
dimok321
8c6dfb7ec6 *Fix for Grayscale function to instantly draw gray. (thanks to Tantric for the info) 2009-10-17 07:24:14 +00:00
giantpune
55ddcb5d30 fix another memory issue. probably fixed issue 1013 and other similar ocarina issues.
little change to what happens when installing a disc
2009-10-16 21:56:32 +00:00
giantpune
9c7207aa79 patch up memory leaks.
issues 1022, 1023, and 1024
2009-10-16 20:08:44 +00:00
lustar.mii
981ae17a80 2009-10-16 06:29:48 +00:00
e.bovendeur
363f2e40d4 Fixed issue with game installations 2009-10-16 04:18:00 +00:00
ardi@ist-einmalig.de
7ddd8aee25 fix missing utf-8 support with devkitPPC r18 2009-10-15 14:13:13 +00:00
ardi@ist-einmalig.de
d7401a77cf fix codedump when pressing button "2" and no game is selected 2009-10-15 12:41:32 +00:00
satellic
539b3e48b5 * Languagefiles update
* "retired" words deleted in credits and arrangements
2009-10-15 05:52:33 +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
ardi@ist-einmalig.de
fc8f4c2c7a * For Themes - added alternate coordinates for widescreen-mode.
- Differ the coordinates between 16:9 and 4:3, 
    can add a setting with a "w" as prefix 
    (e.g. sdcard_coord = 163,395 for 4:3 
     and wsdcard_coord = 170,395 for 16:9).
    Isn't setted "w???._coord", the "normal"-coordinate
    is used for both modes.
* added a new constructor for GuiImageData
  currebtly the constructor is unused, i will use later
2009-10-12 15:39:59 +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
ardi@ist-einmalig.de
7be002023b makes grayed sorticons again customable
if no custom gray-icon in the theme-folder the grayed icon will build from the normal (ungrayed) icon with Dimok's SetGrayscale() function
2009-10-10 22:38:27 +00:00
lustar.mii
f4758ca9c4 Fixed WiiTDB update for people who own more than 240 games. The custom URL now uses the full game ID to account for the recent proliferation of game IDs. Changed user agent so that the loader identifies itself as "USBLoaderGX (revision number)". Canceling the txt/csv export prompt will now close it without saving any file. Possible fix for issue 991 (endless rumble when changing theme path). 2009-10-09 06:13:08 +00:00
ardi@ist-einmalig.de
f270f828da fix tooltips in GameCarousel (Issue 988) 2009-10-08 16:29:58 +00:00
satellic
da4b3665da * Languagefiles update
* meta.xml updated
* readmii.txt updated to v2 (Thx tj_cool)
2009-10-07 15:41:35 +00:00
ardi@ist-einmalig.de
505e4cd09c - fix tooltips in GameCarousel
- change gui_keyboard stuff
- change filebrowser stuff
2009-10-05 10:53:19 +00:00
giantpune
6cf4b4ce10 fix a bug in saving cvs file 2009-10-04 11:16:30 +00:00
lustar.mii
51459465bc Added more alt-dol selection prompts for known games that require different settings to access all the content.
All options pages now contain the correct number of lines, which together with another adjustment should fix scrollbar alignment (issue 971).
Added missing scrollbar on custom paths page.
dimok fixed the file browser bug that prevented going back to the parent folder if the current folder was empty (issue 836).
Fixed parental control keyboard bug introduced in r750 (issue 976).
The free space text is now in correct order when the GUI is set to Japanese.
2009-10-04 09:48:03 +00:00
e.bovendeur
dd77cce0d1 Fixed bugs with sending zip files:
* Directory creaton failed
  * Forgot to reload the homebrew browser
  * Removed a bunch of printf statements
2009-10-02 06:55:40 +00:00
e.bovendeur
448e3b4aab Changed gameprompt window for a retail disc to show the Gametitle instead of the game id. 2009-10-01 20:58:34 +00:00
satellic
ee7afe4f48 * Languagefiles update & 2 removed doubloons 2009-10-01 14:27:31 +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
lustar.mii
c797c3fa13 Fixed "back" button for game info page (issue 976, introduced in r750) 2009-10-01 05:13:01 +00:00
satellic
1126739522 * Languagefiles update
* Arrangements english words & langfiles
* All langfiles cleaned
2009-10-01 03:55:07 +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
572bae91d6 strncpy guarantees not tath the result will be null-terminated.
replaced all strncpy with strlcpy if its necessary
2009-09-28 16:05:11 +00:00
ardi@ist-einmalig.de
75beee7328 Satellic's changes reversed
N O T E:
--------
- The old coords for the "sort & search" buttons
  are obsolete and will be removed in future
- the gamelist, gamegrid and the gamecarousel have your
  own coords (named the old coords with a prefix "gamelist_",
  "gamegrid_" and "gamecarousel_")
- the search-button is e.g. themable over the new setting 
  "gamelist_search_coords=x,y", "gamegrid_search_coords=x,y"
  and "gamecarousel_search_coords=x,y". 
- a workaround, for old themes, sets (by using the old coords) 
  all buttons as previously, apart from favorite button. 
  The new search button is placed at the position from the
  favorite button and the favorite button is placed to the left
  side of the search button. That is necessary for old themes
  to insert the search button between favorite and abc button.
  This workaround will be removed in future
- for new themes must use the new coords.
- Themes for old and new loader can use both coords 
  (the important thing is that the old coords stands 
   before the new coords in the GXtheme.cfg)
2009-09-28 15:06:17 +00:00
satellic
3046b2b660 * Languagefiles update
* Bugfix coords "sort & search" buttons themable
2009-09-28 03:09:37 +00:00
ardi@ist-einmalig.de
818ce60796 little bugfix 2009-09-27 23:27:14 +00:00
ardi@ist-einmalig.de
99f6bcc3a4 remove the unused searchBar.png stuff 2009-09-27 19:45:12 +00:00
ardi@ist-einmalig.de
ec01eba085 * add forgotten pictures
* the cross-button in SearchWindow now closes the Window
2009-09-27 19:04:36 +00:00
ardi@ist-einmalig.de
16b4e62c51 2009-09-27 18:19:53 +00:00
lustar.mii
6a6f02ecf8 2009-09-26 17:15:09 +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
0f4073b3f5 add more quotes in the csv file to get rid of the errors when opening in M$ excel 2009-09-22 15:21:47 +00:00
lustar.mii
76179fcea2 2009-09-20 17:43:18 +00:00
lustar.mii
0ade8d3cf4 2009-09-20 05:18:06 +00:00