Commit Graph

40 Commits

Author SHA1 Message Date
wiidev
1129a26b44 Update wolfSSL and networking code
Uses MEM2 for downloads, improves timeout handling and adds proxy support.
2020-11-08 21:29:44 +00:00
wiidev
cd187f4983 Add TLS support 2019-11-11 18:02:12 +00:00
Cyan
b0352c301e sync to sourceforge r1266
* Added 2 new Nintendont settings (CC Rumble and IPL choices). (Greywolf)
* Updated all the sources to compile with devkitPPC r28 and r29-1. (Greywolf)
* Fixed loading banners from EmuNAND with a long path. (Greywolf)
* Updated Libcustomfat to 1.1.1 + Ustealth. (Greywolf, Cyan)
* Added support for Open source HBC TitleID.
2017-12-14 15:26:57 +01:00
dimok789
070b77548a OK since the Wii System Menu Player is released now as I already mentioned the source for the loader will also be put on SVN again. Now that i am done with merging here is the MOD17 source.
Changelog since last revision:
- add banner/icon animation support for wii games / channels / gamecube
- add custom banner for gamecube which loads the gamecube internal opening.bnr information (it is much better than the generic one of the system menu) (big thanks to diddy from the wiithemeteam for creating the brlyt/brlan for the banner)
- add gamecube banner of system menu (not used right now since it sucks)
- add banner grid of the system menu (resources loaded from nand) (with button highliter)
- add big banner frame window of the system menu (resources loaded from nand). the banner window has buttons "Settings" and "Start" by default. if parental control is enabled the "Settings" button is replaced by "Back"
- add play count text to the banner frame window (can be disabled as up until now in the gui settings)
- add zoom in/out/scroll animations to banner grid and change into big frame window
- add loading gc banners from ISO and DVD
- add loading wii banners from DVD discs even if the game is not installed
- add favorite level setting to the game settings since it is no longer on the banner frame window
- add new settings section for banner settings
- add option to choose between disc window and banner window
- added back ehci module to support 2 usb drives and re-enabled the option
- add option for 2 usb drives for d2x cIOS as well (will be supported in the future, not yet)
- exchanged "GC Games" and "EmuNand Channels" on the game selection screen (more space for translators)
- add and fixed gui numpad for entering numbers of any kind
- add setting for tooltip delay time
- fix reload of cover image on game list when only 1 item is left after a change (e.g. sort)
- add use of old build in font for credits window because it doesnt look good with the system menu one
- fixed effect bug when scrolling buttons in the settings and the wiimote is over button 1
- fixed bug where entering -1 (Use global) for cIOS was not possible in game settings
- many source cleanups
- add bnr chace setting
- add DML configuration from the loader
- removed creation of temporary "boot.bin" file
- DML custom game paths.
  Additionally i added support for following forms of paths:
  1. configpath/gamepath/game.iso
  2. configpath/gamepath/game.gcm
  3. configpath/gamepath/GAMEID6.iso
  4. configpath/gamepath/GAMEID6.gcm
  Where gamepath can be anything you want inside the configure path in the custom path settings.
  I don't know if GCM files are allowed by DML but i just added support for it just in case.
  Changing path to USB is not blocked currently but games won't run from USB just keep that in mind.
  The "copy to SD before start" feature is not added yet. Listing the games should work though
- DML cheats now work the same way as for wii, gct goes to "Cheatcode Path" as GAMEID.gct (same as on wii)
- several DML internal configs are added as per game/global settings
- added load of last cheat configuration from GCT files
- added init of network into background thread so it is cancelable and has a timeout
- added gc games copy from USB to SD on demand with choice menu to delete SD games to make space, SD games path can be chosen seperately from main gc path.
  all dupicate sd games are prefered then the main path to allow direct boot of games that are already on sd. main path can be on USB or anywhere else.
- added gc disc dump functionality with multidisc, compress and align support (thanks to FIX94 and Overjoy for their disc dump source on which this is based)
- added selection menu for gc multidisc which game to install
- fixed loading game ID when it can't be read from path for GC games and with that loading the titles from GameTDB for them
- lots of string handling improvements (thanks to gerbilsoft for his patch)
- added gamecube banner cache loading (only loading) if available with GAMEID6.bnr or ID3.bnr in the banner cache path. wii games/channels also accept now ID3.bnr.
- added several progress bar cancel buttons on some missing progress windows
- improved calculation of progress speed. now it is always the last 15 secs average instead of overall progress speed.
- added pulsing new icon on banner grid layout for new games
- added resize of widescreen screenshots to 768 width
- added mii extract on save game extract if the file does not yet exists
- added mii extractor and SYSCONF extractor that always extracts and overwrites old files
- changed wifi gecko to UDP socket
- support for DML v1.2+

NOTE:
Banner animation support requires AHBPROT flag to be enabled. If you use old HBC you should use our forwarder or update the HBC otherwise you wont have that support.

I am hoping that now the themers and the translators can catch up with their stuff for the next upcomming official release.
2012-05-06 10:59:58 +00:00
dimok321
973d8b2005 *Fixed compile error
*Converted every 4 spaces to a tab to make the source consistent on those
2011-07-25 22:28:22 +00:00
dimok321
de2fbe11fa *Added NAND Emulation for d2x v4+ cIOS ONLY. You can emulate partial (mainly titles path (including gamesaves and does not include Miis)) or full nand emulation. The Nand path can be chosen (should not be the same drive as game drive and must be a FAT/FAT32 partition (e.g. sd:/nand/). Just put your NAND FS in that path.
IF YOU USE RETURN TO OPTION THEN THE UNEO TITLE MUST BE ON EMU NAND AS WELL FOR PARTIAL AND FULL EMULATION.

*Added back our old font as fallback font in case the wii system font can't be loaded. Also the use of the Wii System Font can be disabled in the settings (don't forget to set font scale back to 1.0 for old font)
2011-07-24 16:32:09 +00:00
dimok321
cf21f13f39 *Fixed use of mem2 memory. When MEM1 run out it freezes in libogc :\. Preventing it from running out completely now. (Thanks to NJ7 for all the tests he ran)
*Improved memory usage on category xml creation. Thanks to NJ7 for all the tests he ran here too)
*Changed TinXML to not throw an exception on every allocation fail but to return a 0 pointer
*Fixed crash with categories and disabled "Titles from WiiTDB"
*Compilation fix (forgot to remove some xml.h)
*little fix in themes xml downloader (thx dj_skual)
2011-06-26 21:38:05 +00:00
dimok321
53574d6bc5 *threw out mxml because it is pissed on every little crap that is wrong in the xml and stops parsing the whole xml. Changed everything to use official TinyXML now (nice C++ classes). A lot of problems with categories and probably Wiinnertag now should be solved.
*fixed Theme Downloader to actually list the themes (wonder why no one reported that its broken)
*fixed freeze on 0 games and gameGrid
*added a "Sneek Video Patch" mode. According to WiiPower it can come in handy for some games. (Thanks to WiiPower)
*made showing categories on game details screen limited by the space available
*removed alt dol prompt on "default" setting for d2x users
*Added a Block SD Reload option
2011-06-25 19:50:57 +00:00
dimok321
a3495651f0 *Added support for starting .wbfs game files from fat32/ntfs partitions on a sector size > 512 (tested with 4096)
*modified libcustomfat and ntfs fragment fetch function to support >512 bytes per sector
*Added new ehcmodule (thanks rodries)
*Added real support of using both ports simultaniously without shutting down the other (thanks rodries for the ehcmodule works on this). There is no longer the limitation that the settings have to be on SD card for this. (ONLY HERMES CIOS)
*Moved a few settings to Feature Settings and added a new Hard Drive Settings
*Changed Wiinnertag path to only point to the path and not to the file. You must correct the path manually in custom path settings or reset you configs for this change or Winnertag won't work!!
*Removed a few compile warnings for devkitPPC R23
2011-06-22 17:57:37 +00:00
dimok321
052c6d4591 RC1 upload:
*update of ehcmodules for Hermes IOS supporting now more drives (thanks rodries again)
*added ignore case sensitivity on NTFS (hopefully it works as good as it sounds)
*fixed homebrew receiving in homebrew launcher via network
*changed video switching code to the one from Wiiflow
*allow ',' as floating point '.'
*Fix of reloading titles after wiitdb update
*reset all other button clicks on carousel when two or more buttons are clicked at once
*a few code optimizations
*fixed compile bug on OSX (Issue 1844 and Issue 1132)
*language files updated
2011-03-14 21:19:21 +00:00
dimok321
0cca811b34 *Added return grid rows after closing a search to the amount of which one has before doing search
*Fixed weird last random character at game info text 
*Reload background/cursor/... on theme apply after download 
*Added connection check function for URLs (like a PING)
*Added timeout on trying to connect to the theme download hoster
*Fixed redundant characters on search bar when both upper and lower case exist in a search
2011-01-25 20:19:15 +00:00
dimok321
34692131a2 Alright guys, after 3-4 Month of cleaning up the source, it's finally here:
USB Loader GX v2.0

A few cosmetic changes along on this rev:
*Removed unused resources
*Fix a compile warning
*Fixed crash on formatting drive to WBFS
*A few source/function movement from one file to another 
*Renamed global game settings to "Loader Settings"
2011-01-09 10:45:29 +00:00
dimok321
3f03d92295 *Reworked all update functions
*Fixed endless loop when disc button was selected
*Fixed crash on exit
*Fixed discart download to not download custom/originals if set so in the settings
*Hopefully fixed discart download problem
*Reworked DirList class
2010-12-18 13:20:45 +00:00
dimok321
449eae85bf *Added network shutdown before launching games.
*Fixed playing games online (WC24) with that
2010-12-05 19:24:32 +00:00
dimok321
500dc4020f *Reworked the whole WiiTDB.xml parsing. This is now done with mxml due to a lack of memory the file is now streamed. Now the full wiitdb.xml file with all languages is always used. The update of WiiTDB is also changed. It is now only updated if the version of the wiitdb.xml file does not match the version of the online file.
*WiiTDB now falls back to english if the locale language is not found for Titles/Synopsis
*Some clean up and memory leak fixes in game info prompt and adjusted the info get to the new WiiTDB reading method.
*Added a few new useful functions from WiiXplorer (DownloadToFileWithProgress, ShowError,...)
*Disabled the console output after the GUI is started up. The info is only output to gecko in GUI mode now.
2010-12-03 18:38:57 +00:00
eraserxl
772859ecbc * Unified formating of source files. 2010-09-24 00:48:03 +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
giantpune
9e79c9d99b * remove little unused code
* code cleanup
2010-09-18 23:16:05 +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
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
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
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
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
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
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
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
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
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
giantpune
4515becd30 pimped out the wad uninstall function with spinners and dvd players and big speakers.
made wad/dol filter for the socket receiving stuff.
2009-07-28 11:04:15 +00:00
giantpune
c6fd33eeb1 change the per game settings around a bit.
made the channel browser read database.txt.  The text should be in the config path (because i couldn't think of a better place for it).  And the format for the txt is the first 3 chars of the 4 char ID, then any 1 character, then the name (read up to 51 chars.
eg.
ULN USB Loader GX Full Channel
HAX Homebrew Channel
HAT Nintendo Channel

The database for ATD mod follows this format, so its a great place to start.  If people are going to be passing around a database, it would be wise to keep custom channels off this, as my WADD that says WadManager is not the same as somebody else's WADQ which could be a self destruct or something.

Commented out the code that loads titles.txt.  It was reported that this file is keeping WiiSportsResort from loading on some Wiis.  And it isn't needed anymore since there is the xml file with all the names in it.  I left the code in though in case somebody thinks that it is actually useful.

Added 1 more game to the list of known alt dols.
2009-07-27 01:15:16 +00:00
dimok321
4dc92996b5 *Changed to write directly into svnrev.c and get the value from there except of having two new files to get the SVN_REV 2009-07-25 07:09:52 +00:00
dimok321
9b8f289ca3 *Added Filebrowser from libwiigui 1.03 (modified a bit). It will be used by giantpune later. Right now its not used.
*Created a function to get SVN_REV to avoid long compiling times when small changes are done in the source.
2009-07-24 20:34:55 +00:00
ardi@ist-einmalig.de
f3296b3570 * insert last SVN-Rev (#define SVN_REV) also in use of TortoiseSVN
* all files that refere SVN_REV are automatically recompile
2009-07-24 16:16:31 +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
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
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
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
dimok321
0d0d54ea66 *Fixed GameSettings not being saved right
*Moved the WC24 Shutdown to networkop.cpp
2009-06-17 20:44:00 +00:00