usbloadergx/source/cheats/gct.h

82 lines
2.4 KiB
C
Raw Permalink Normal View History

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 12:59:58 +02:00
/****************************************************************************
* Copyright (C) 2009 nIxx
* Copyright (C) 2012 Dimok
*
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 12:59:58 +02:00
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
****************************************************************************/
2009-07-31 14:45:14 +02:00
#ifndef _GCT_H
#define _GCT_H
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 12:59:58 +02:00
#include <string>
#include <vector>
2009-07-31 14:45:14 +02:00
using namespace std;
//!Handles Ocarina TXT Cheatfiles
class GCTCheats
{
private:
string sGameID;
string sGameTitle;
USB Loader GX v3.0: Released on 2012 05 12 ATTENTION: USB Loader GX Version 3.0 introduces a new auto-update mechanism which is not compatible with old versions. (The old host is offline) If you are still using an old version of USB Loader GX, you need to update manually. Download the latest version or use our easy installer for Windows available on our website. http://code.google.com/p/usbloader-gui/downloads/list You can also check how to install or update manually here: http://code.google.com/p/usbloader-gui/wiki/Installation We are sorry for the inconvenience. New: - Added a new Layout: Channel grid mode! Channel grid displays games as channels and plays banner animations like the real Wii System Menu. Channel grid mode and banner animation requires AHBPROT flags to load resource files directly from your Wii. If you use an old HBC you should use our latest forwarder or update the HBC otherwise you wont have that support. - Added Channel launching from Emulated NAND. (big thanks to TriiForce guys and Miigotu) - Added GameCube games launching from SD Card through Dios Mios Lite (DML). (thanks to G0dLiKe, crediar, all DML devs and FIX94) Check DML website here http://code.google.com/p/dios-mios-lite-source-project/ - Added direct install/uninstall of WAD files to the Emulated NAND Channel path in the features settings menu. - Added a new icon in the toolbar to select the origin of the titles: Wii games, Channels from Wii, Channels from EmuNand, GameCube games. - Added the possibility to boot USB Loader GX without an HDD connected (It will fall back to "Channel from Wii" title's origin). - Added an option to choose which Game Window mode to use between the old "Rotating Disc" or the new "Banner Animation". - Added the favorite level setting to the game settings since it is no longer displayed when using "Banner Animation" game window mode. - Added an option to adjust the screen size for overscan TVs (Use negative values to shrink the display). - Added display of game's size from Wii disc games on the game window prompt (Rotating disc mode only). - Added a button in the search window to switch between "Beginning" and "Content" search methods. - Added auto-complete function to the search window. - Added a new GUI numpad for entering numbers. - Added setting for tooltip delay time. - Added resize of widescreen screenshots to 768px width. - Added cover download for the currently inserted disc. - Added delete of full cover on art work uninstall and game uninstall. - Added a parental control option to block priiloader override on return to system menu. - Added a prompt asking for downloading new language files when trying to update and no language files exist yet. - Added translation parsing for rating descriptors and for genres from wiitdb.xml. Requires a one time update of wiitdb.xml for cache rebuild. - Added a new option to force reading the game's titles from disc header. - Added renaming of internal TitleID of all HBC versions to JODI for GameTDB to find it. - Added a cheat update button to re-download the cheat text file. - Added a cancel button to several progress bar windows: Game installation, NAND extraction, etc. - Added separate path and setting for Emulated NAND Saves and Emulated NAND Channels. - Added per game NAND emulation path setting. - Added Mii extractor and SYSCONF file extractor to Emulated NAND. It always overwrites old files. - Added automatic Mii extraction on save game extract if the Mii file does not exist yet on Emulated NAND. - Added keep of AHBPROT flag on IOS Reload. Homebrews booted now have AHBPROT. (thanks to davebaol) - Added a new feature to force aspect ratio on games/channels. (thanks to giantpune for help with disassembler) - Added Zelda Skyward Sword Alternative dol offset (PAL and NTSC-U) for automatic dol selection. - Added detection of enabled cheat codes from an already created .gct file. - Added support for 2 USB drives for d2x cIOS (Requires d2x v9+). Changes: - Removed buggy focus system completely and added support to control screen pointer with analog sticks from respective controllers if the wiimote is not pointing to the screen. Compatible with Nunchuk, Classic Controller and GameCube controller. A speed factor is available in the GUI settings. - Restructured game's settings for different types of games (Wii/GC/Channels). - Added auto position of progress window messages in vertical direction depending of how many are used at the same time. - If "Titles from GameTDB" is not enabled the title will be read from the folder name if possible or from the game disc header. Title caching can still be used and is recommended in that case. - Settings title, keyboard text and key color can be changed by themes now. - Added optional background image for list/carousel/grid layouts (unused by default theme). - Use of old built-in font for credits window because it doesn't look good with the system menu one. - Removed the need of a cIOS to launch the loader (if anyone uses it with IOS58 for whatever reason). - Improved detection of game partition when starting the loader without configs (fresh start). - Isfs is now initiated once and deinitiated when cleaning up only, instead of the whole init/deinit every single access. - Updated file system libraries. - Removed pngu which is not needed, changed screenshot function to use libgd instead - added init of network into background thread so it is cancelable and has a timeout - changed wifi gecko to UDP socket - Converted all ogg sounds from 44.1 khz to 48 khz. - Optimized use of memory: Sizes over 30kb go to mem2 now first till it runs out ; Avoid use of mem2 area used on IOS_Reload (first 2 mb) ; Change font character texture to I4 which uses half as much memory (less cache memory). - Changed update function to get the files from googlecode website, since old update host website isn't accessible anymore. Fixes: - Fixed small scrollbar bug when having only 1 item. - Fixed reloading of cover image on game list when only 1 item is left after a change (e.g. filtering). - Improved calculation of progress speed. Now it is always the last 15 secs average instead of overall progress speed. - Fixed "new" game showing even with a parental control setting. - Fixed removing of unused cached titles on wiitdb load. - Fixed ocarina codes when using more than 255 codes (brawl+) (untested). - Fixed bug where entering "-1" (Use global) for cIOS was not possible in game settings. - Fixed playback of some BNS banner sounds. - Fixed reloading into another IOS before launch of game. - Removed buggy lz77 implementation and use the one known working. - Fixed launching of dollz compressed dol files. (thanks FIX94) - Fixed reading game's titles from disc header on fat32/ntfs/ext. - Fixed crash on missing <app> tag on meta.xml files. - Forwarder: Fixed crash on drives with physical sector size > 512 bytes. - Forwarder: Fixed endless waiting for slow HDD. (thanks to FIX94) - Forwarder: Added missing ext2 unmount. (thanks to FIX94) - Supports new WiiMotion+ controllers by using latest libraries. - Lots of string handling improvements (thanks to gerbilsoft for his patch) New Channel Grid Mode specific features: - New settings section for all banner's settings. - Use of BNR (banner animation) cache setting to load banners and icon's animation faster. (Enabled by default. Takes ~35MB/100 Banners) Wii games/Channels also accept ID3.bnr for custom-made multi-region banners. - BNR cache path setting. - Pulsing "new" icon on banner grid layout for new games. - Centering and size setting for banner's animation resources. - Channel's zooming speed setting. - Page's scrolling speed setting. New GameCube specific features: - Supports Dios Mios Lite (DML) v1.2+ - Uses of a custom banner for GameCube games which loads the game's internal opening.bnr informations (big thanks to diddy from the wiithemeteam for creating the brlyt/brlan for the banner). - DML settings editable from the loader (global and per game settings). - Supported formats for gamecubes are ISO/GCM and GCRegEx. - Custom game paths. The following paths are accepted: 1. configpath/ID6/ 2. configpath/ID6_Title/ 3. configpath/Title [ID6]/ 4. configpath/gamepath/ (slow loading speed) Accepted game's filenames: title.iso, title.gcm, GAMEID6.iso, GAMEID6.gcm - DML cheats now work the same way as for other Wii games, gct goes to "GCT Cheatcode Path" as GAMEID.gct - GameCube games copy from USB to SD on demand with choice menu to delete SD games to make space, If you want to use this feature then set the "Main GC path" to USB and the "SD GameCube path" to SD card. If duplicated games are detected on SD and USB, the games on SD will be prioritized. - Added GameCube disc dump functionality with multi-disc menu game selection, compress and align support (thanks to FIX94 and Overjoy for their disc dump sources on which this is based). - Use of the BNR cache path to load ID6.bnr or ID3.bnr if available for custom-made banners. (Loading only) - Video mode option to force interlace mode on GameCube. - Fixed force prog mode on DML 1.4
2012-05-12 11:10:37 +02:00
struct CheatEntry
{
string sCheatName;
string sCheatComment;
vector<unsigned int> sCheats;
};
vector<CheatEntry> cheatList;
public:
//!Constructor
GCTCheats(void);
//!Destructor
~GCTCheats(void);
//!Open txt file with cheats
//!\param filename name of TXT file
//!\return error code
int openTxtfile(const char * filename);
//!Creates GCT file
//!\param nr[] array of selected Cheat Numbers
//!\param cnt size of array
//!\param filename name of GCT file
//!\return error code
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 12:59:58 +02:00
int createGCT(const vector<int> &vCheats, const char * filename);
//!Gets Count cheats
//!\return Count cheats
USB Loader GX v3.0: Released on 2012 05 12 ATTENTION: USB Loader GX Version 3.0 introduces a new auto-update mechanism which is not compatible with old versions. (The old host is offline) If you are still using an old version of USB Loader GX, you need to update manually. Download the latest version or use our easy installer for Windows available on our website. http://code.google.com/p/usbloader-gui/downloads/list You can also check how to install or update manually here: http://code.google.com/p/usbloader-gui/wiki/Installation We are sorry for the inconvenience. New: - Added a new Layout: Channel grid mode! Channel grid displays games as channels and plays banner animations like the real Wii System Menu. Channel grid mode and banner animation requires AHBPROT flags to load resource files directly from your Wii. If you use an old HBC you should use our latest forwarder or update the HBC otherwise you wont have that support. - Added Channel launching from Emulated NAND. (big thanks to TriiForce guys and Miigotu) - Added GameCube games launching from SD Card through Dios Mios Lite (DML). (thanks to G0dLiKe, crediar, all DML devs and FIX94) Check DML website here http://code.google.com/p/dios-mios-lite-source-project/ - Added direct install/uninstall of WAD files to the Emulated NAND Channel path in the features settings menu. - Added a new icon in the toolbar to select the origin of the titles: Wii games, Channels from Wii, Channels from EmuNand, GameCube games. - Added the possibility to boot USB Loader GX without an HDD connected (It will fall back to "Channel from Wii" title's origin). - Added an option to choose which Game Window mode to use between the old "Rotating Disc" or the new "Banner Animation". - Added the favorite level setting to the game settings since it is no longer displayed when using "Banner Animation" game window mode. - Added an option to adjust the screen size for overscan TVs (Use negative values to shrink the display). - Added display of game's size from Wii disc games on the game window prompt (Rotating disc mode only). - Added a button in the search window to switch between "Beginning" and "Content" search methods. - Added auto-complete function to the search window. - Added a new GUI numpad for entering numbers. - Added setting for tooltip delay time. - Added resize of widescreen screenshots to 768px width. - Added cover download for the currently inserted disc. - Added delete of full cover on art work uninstall and game uninstall. - Added a parental control option to block priiloader override on return to system menu. - Added a prompt asking for downloading new language files when trying to update and no language files exist yet. - Added translation parsing for rating descriptors and for genres from wiitdb.xml. Requires a one time update of wiitdb.xml for cache rebuild. - Added a new option to force reading the game's titles from disc header. - Added renaming of internal TitleID of all HBC versions to JODI for GameTDB to find it. - Added a cheat update button to re-download the cheat text file. - Added a cancel button to several progress bar windows: Game installation, NAND extraction, etc. - Added separate path and setting for Emulated NAND Saves and Emulated NAND Channels. - Added per game NAND emulation path setting. - Added Mii extractor and SYSCONF file extractor to Emulated NAND. It always overwrites old files. - Added automatic Mii extraction on save game extract if the Mii file does not exist yet on Emulated NAND. - Added keep of AHBPROT flag on IOS Reload. Homebrews booted now have AHBPROT. (thanks to davebaol) - Added a new feature to force aspect ratio on games/channels. (thanks to giantpune for help with disassembler) - Added Zelda Skyward Sword Alternative dol offset (PAL and NTSC-U) for automatic dol selection. - Added detection of enabled cheat codes from an already created .gct file. - Added support for 2 USB drives for d2x cIOS (Requires d2x v9+). Changes: - Removed buggy focus system completely and added support to control screen pointer with analog sticks from respective controllers if the wiimote is not pointing to the screen. Compatible with Nunchuk, Classic Controller and GameCube controller. A speed factor is available in the GUI settings. - Restructured game's settings for different types of games (Wii/GC/Channels). - Added auto position of progress window messages in vertical direction depending of how many are used at the same time. - If "Titles from GameTDB" is not enabled the title will be read from the folder name if possible or from the game disc header. Title caching can still be used and is recommended in that case. - Settings title, keyboard text and key color can be changed by themes now. - Added optional background image for list/carousel/grid layouts (unused by default theme). - Use of old built-in font for credits window because it doesn't look good with the system menu one. - Removed the need of a cIOS to launch the loader (if anyone uses it with IOS58 for whatever reason). - Improved detection of game partition when starting the loader without configs (fresh start). - Isfs is now initiated once and deinitiated when cleaning up only, instead of the whole init/deinit every single access. - Updated file system libraries. - Removed pngu which is not needed, changed screenshot function to use libgd instead - added init of network into background thread so it is cancelable and has a timeout - changed wifi gecko to UDP socket - Converted all ogg sounds from 44.1 khz to 48 khz. - Optimized use of memory: Sizes over 30kb go to mem2 now first till it runs out ; Avoid use of mem2 area used on IOS_Reload (first 2 mb) ; Change font character texture to I4 which uses half as much memory (less cache memory). - Changed update function to get the files from googlecode website, since old update host website isn't accessible anymore. Fixes: - Fixed small scrollbar bug when having only 1 item. - Fixed reloading of cover image on game list when only 1 item is left after a change (e.g. filtering). - Improved calculation of progress speed. Now it is always the last 15 secs average instead of overall progress speed. - Fixed "new" game showing even with a parental control setting. - Fixed removing of unused cached titles on wiitdb load. - Fixed ocarina codes when using more than 255 codes (brawl+) (untested). - Fixed bug where entering "-1" (Use global) for cIOS was not possible in game settings. - Fixed playback of some BNS banner sounds. - Fixed reloading into another IOS before launch of game. - Removed buggy lz77 implementation and use the one known working. - Fixed launching of dollz compressed dol files. (thanks FIX94) - Fixed reading game's titles from disc header on fat32/ntfs/ext. - Fixed crash on missing <app> tag on meta.xml files. - Forwarder: Fixed crash on drives with physical sector size > 512 bytes. - Forwarder: Fixed endless waiting for slow HDD. (thanks to FIX94) - Forwarder: Added missing ext2 unmount. (thanks to FIX94) - Supports new WiiMotion+ controllers by using latest libraries. - Lots of string handling improvements (thanks to gerbilsoft for his patch) New Channel Grid Mode specific features: - New settings section for all banner's settings. - Use of BNR (banner animation) cache setting to load banners and icon's animation faster. (Enabled by default. Takes ~35MB/100 Banners) Wii games/Channels also accept ID3.bnr for custom-made multi-region banners. - BNR cache path setting. - Pulsing "new" icon on banner grid layout for new games. - Centering and size setting for banner's animation resources. - Channel's zooming speed setting. - Page's scrolling speed setting. New GameCube specific features: - Supports Dios Mios Lite (DML) v1.2+ - Uses of a custom banner for GameCube games which loads the game's internal opening.bnr informations (big thanks to diddy from the wiithemeteam for creating the brlyt/brlan for the banner). - DML settings editable from the loader (global and per game settings). - Supported formats for gamecubes are ISO/GCM and GCRegEx. - Custom game paths. The following paths are accepted: 1. configpath/ID6/ 2. configpath/ID6_Title/ 3. configpath/Title [ID6]/ 4. configpath/gamepath/ (slow loading speed) Accepted game's filenames: title.iso, title.gcm, GAMEID6.iso, GAMEID6.gcm - DML cheats now work the same way as for other Wii games, gct goes to "GCT Cheatcode Path" as GAMEID.gct - GameCube games copy from USB to SD on demand with choice menu to delete SD games to make space, If you want to use this feature then set the "Main GC path" to USB and the "SD GameCube path" to SD card. If duplicated games are detected on SD and USB, the games on SD will be prioritized. - Added GameCube disc dump functionality with multi-disc menu game selection, compress and align support (thanks to FIX94 and Overjoy for their disc dump sources on which this is based). - Use of the BNR cache path to load ID6.bnr or ID3.bnr if available for custom-made banners. (Loading only) - Video mode option to force interlace mode on GameCube. - Fixed force prog mode on DML 1.4
2012-05-12 11:10:37 +02:00
int getCnt() const { return cheatList.size(); }
//!Gets Game Name
//!\return Game Name
string getGameName(void);
//!Gets GameID
//!\return GameID
string getGameID(void);
//!Gets cheat data
//!\return cheat data
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 12:59:58 +02:00
vector<unsigned int> getCheat(int nr);
//!Gets Cheat Name
//!\return Cheat Name
string getCheatName(int nr);
//!Gets Cheat Comment
//!\return Cheat Comment
USB Loader GX v3.0: Released on 2012 05 12 ATTENTION: USB Loader GX Version 3.0 introduces a new auto-update mechanism which is not compatible with old versions. (The old host is offline) If you are still using an old version of USB Loader GX, you need to update manually. Download the latest version or use our easy installer for Windows available on our website. http://code.google.com/p/usbloader-gui/downloads/list You can also check how to install or update manually here: http://code.google.com/p/usbloader-gui/wiki/Installation We are sorry for the inconvenience. New: - Added a new Layout: Channel grid mode! Channel grid displays games as channels and plays banner animations like the real Wii System Menu. Channel grid mode and banner animation requires AHBPROT flags to load resource files directly from your Wii. If you use an old HBC you should use our latest forwarder or update the HBC otherwise you wont have that support. - Added Channel launching from Emulated NAND. (big thanks to TriiForce guys and Miigotu) - Added GameCube games launching from SD Card through Dios Mios Lite (DML). (thanks to G0dLiKe, crediar, all DML devs and FIX94) Check DML website here http://code.google.com/p/dios-mios-lite-source-project/ - Added direct install/uninstall of WAD files to the Emulated NAND Channel path in the features settings menu. - Added a new icon in the toolbar to select the origin of the titles: Wii games, Channels from Wii, Channels from EmuNand, GameCube games. - Added the possibility to boot USB Loader GX without an HDD connected (It will fall back to "Channel from Wii" title's origin). - Added an option to choose which Game Window mode to use between the old "Rotating Disc" or the new "Banner Animation". - Added the favorite level setting to the game settings since it is no longer displayed when using "Banner Animation" game window mode. - Added an option to adjust the screen size for overscan TVs (Use negative values to shrink the display). - Added display of game's size from Wii disc games on the game window prompt (Rotating disc mode only). - Added a button in the search window to switch between "Beginning" and "Content" search methods. - Added auto-complete function to the search window. - Added a new GUI numpad for entering numbers. - Added setting for tooltip delay time. - Added resize of widescreen screenshots to 768px width. - Added cover download for the currently inserted disc. - Added delete of full cover on art work uninstall and game uninstall. - Added a parental control option to block priiloader override on return to system menu. - Added a prompt asking for downloading new language files when trying to update and no language files exist yet. - Added translation parsing for rating descriptors and for genres from wiitdb.xml. Requires a one time update of wiitdb.xml for cache rebuild. - Added a new option to force reading the game's titles from disc header. - Added renaming of internal TitleID of all HBC versions to JODI for GameTDB to find it. - Added a cheat update button to re-download the cheat text file. - Added a cancel button to several progress bar windows: Game installation, NAND extraction, etc. - Added separate path and setting for Emulated NAND Saves and Emulated NAND Channels. - Added per game NAND emulation path setting. - Added Mii extractor and SYSCONF file extractor to Emulated NAND. It always overwrites old files. - Added automatic Mii extraction on save game extract if the Mii file does not exist yet on Emulated NAND. - Added keep of AHBPROT flag on IOS Reload. Homebrews booted now have AHBPROT. (thanks to davebaol) - Added a new feature to force aspect ratio on games/channels. (thanks to giantpune for help with disassembler) - Added Zelda Skyward Sword Alternative dol offset (PAL and NTSC-U) for automatic dol selection. - Added detection of enabled cheat codes from an already created .gct file. - Added support for 2 USB drives for d2x cIOS (Requires d2x v9+). Changes: - Removed buggy focus system completely and added support to control screen pointer with analog sticks from respective controllers if the wiimote is not pointing to the screen. Compatible with Nunchuk, Classic Controller and GameCube controller. A speed factor is available in the GUI settings. - Restructured game's settings for different types of games (Wii/GC/Channels). - Added auto position of progress window messages in vertical direction depending of how many are used at the same time. - If "Titles from GameTDB" is not enabled the title will be read from the folder name if possible or from the game disc header. Title caching can still be used and is recommended in that case. - Settings title, keyboard text and key color can be changed by themes now. - Added optional background image for list/carousel/grid layouts (unused by default theme). - Use of old built-in font for credits window because it doesn't look good with the system menu one. - Removed the need of a cIOS to launch the loader (if anyone uses it with IOS58 for whatever reason). - Improved detection of game partition when starting the loader without configs (fresh start). - Isfs is now initiated once and deinitiated when cleaning up only, instead of the whole init/deinit every single access. - Updated file system libraries. - Removed pngu which is not needed, changed screenshot function to use libgd instead - added init of network into background thread so it is cancelable and has a timeout - changed wifi gecko to UDP socket - Converted all ogg sounds from 44.1 khz to 48 khz. - Optimized use of memory: Sizes over 30kb go to mem2 now first till it runs out ; Avoid use of mem2 area used on IOS_Reload (first 2 mb) ; Change font character texture to I4 which uses half as much memory (less cache memory). - Changed update function to get the files from googlecode website, since old update host website isn't accessible anymore. Fixes: - Fixed small scrollbar bug when having only 1 item. - Fixed reloading of cover image on game list when only 1 item is left after a change (e.g. filtering). - Improved calculation of progress speed. Now it is always the last 15 secs average instead of overall progress speed. - Fixed "new" game showing even with a parental control setting. - Fixed removing of unused cached titles on wiitdb load. - Fixed ocarina codes when using more than 255 codes (brawl+) (untested). - Fixed bug where entering "-1" (Use global) for cIOS was not possible in game settings. - Fixed playback of some BNS banner sounds. - Fixed reloading into another IOS before launch of game. - Removed buggy lz77 implementation and use the one known working. - Fixed launching of dollz compressed dol files. (thanks FIX94) - Fixed reading game's titles from disc header on fat32/ntfs/ext. - Fixed crash on missing <app> tag on meta.xml files. - Forwarder: Fixed crash on drives with physical sector size > 512 bytes. - Forwarder: Fixed endless waiting for slow HDD. (thanks to FIX94) - Forwarder: Added missing ext2 unmount. (thanks to FIX94) - Supports new WiiMotion+ controllers by using latest libraries. - Lots of string handling improvements (thanks to gerbilsoft for his patch) New Channel Grid Mode specific features: - New settings section for all banner's settings. - Use of BNR (banner animation) cache setting to load banners and icon's animation faster. (Enabled by default. Takes ~35MB/100 Banners) Wii games/Channels also accept ID3.bnr for custom-made multi-region banners. - BNR cache path setting. - Pulsing "new" icon on banner grid layout for new games. - Centering and size setting for banner's animation resources. - Channel's zooming speed setting. - Page's scrolling speed setting. New GameCube specific features: - Supports Dios Mios Lite (DML) v1.2+ - Uses of a custom banner for GameCube games which loads the game's internal opening.bnr informations (big thanks to diddy from the wiithemeteam for creating the brlyt/brlan for the banner). - DML settings editable from the loader (global and per game settings). - Supported formats for gamecubes are ISO/GCM and GCRegEx. - Custom game paths. The following paths are accepted: 1. configpath/ID6/ 2. configpath/ID6_Title/ 3. configpath/Title [ID6]/ 4. configpath/gamepath/ (slow loading speed) Accepted game's filenames: title.iso, title.gcm, GAMEID6.iso, GAMEID6.gcm - DML cheats now work the same way as for other Wii games, gct goes to "GCT Cheatcode Path" as GAMEID.gct - GameCube games copy from USB to SD on demand with choice menu to delete SD games to make space, If you want to use this feature then set the "Main GC path" to USB and the "SD GameCube path" to SD card. If duplicated games are detected on SD and USB, the games on SD will be prioritized. - Added GameCube disc dump functionality with multi-disc menu game selection, compress and align support (thanks to FIX94 and Overjoy for their disc dump sources on which this is based). - Use of the BNR cache path to load ID6.bnr or ID3.bnr if available for custom-made banners. (Loading only) - Video mode option to force interlace mode on GameCube. - Fixed force prog mode on DML 1.4
2012-05-12 11:10:37 +02:00
string getCheatComment(int nr);
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 12:59:58 +02:00
//!Clear all loaded cheats
void Clear(void);
//!Check if string is a code
//!\return true/false
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 12:59:58 +02:00
bool IsCode(const char *s);
//!Check if cheat is included in GCT buffer
bool IsCheatIncluded(int iCheat, const unsigned char *gctBuf, unsigned int gctSize);
2009-07-31 14:45:14 +02:00
};
#endif /* _GCT_H */