Commit Graph

99 Commits

Author SHA1 Message Date
Fledge68
02f1d4ba8d - small changes for source menu/flow 2019-11-20 12:45:17 -06:00
Fledge68
e68197246c - added 'back_tier' as a source menu button option. in case you would like to show a up or back arrow to return to previous tier.
- changed 'source menu on start' to always start on base tier.
2019-11-11 09:59:43 -06:00
Fledge68
b2635620ce - added source menu ini option to set flow layout number. under [general] add flow=#. this also applies to tiers.
- added clearing source tiers and tier current button numbers whenever a new theme is chosen.
2019-11-03 17:49:19 -06:00
Fledge68
5066724506 - removed the 'all plugins' option from source menu. no one used it and if you do need all plugins just use the 'Select Plugin' Menu. 2019-10-21 13:29:55 -05:00
Fledge68
8d7d6b1e3d - removed source menu multi source. with the new tiers and autoboot and other stuff it became too hard and complicated to code for source menu multi source. if you still want multi source use the 'Select Plugin' menu and add the wii, gc, channels, and homebrew plugins. 2019-10-21 13:25:35 -05:00
Fledge68
c33e07076d - code cleanup so custom banners and snapshots and game info snapshots all work nicely with each other.
- fixed source menu/flow to remember tier filenames and the last selected button from each tier. tier names and button numbers are saved in wiiflow_lite.ini under [SOURCEFLOW] so when you return to wiiflow everything will be as it was when you left.
2019-10-16 18:22:40 -05:00
Fledge68
d4579b57c3 - fix for saving current coverflow layout number when source button has multiple magic numbers.
- minor fix for last commit.
2019-09-09 15:17:52 -05:00
Fledge68
85020b1f03 - code cleanup for themeName. 2019-07-24 12:35:51 -05:00
Fledge68
4b26013ac8 - sourceflow tiers: changed back a tier from '-' button to 'b' button. 'b' button is no longer used to exit or cancel a sourceflow tier but is still allowed during the base sourceflow. 2019-05-19 15:33:21 -05:00
Fledge68
e246276188 - missed one in last commit 2019-04-10 06:29:25 -05:00
Fledge68
e53bb43cb9 - saving sourceflow tiers flow's to wiiflow lite ini under [SOURCEFLOW] now instead of the source menu/tier ini. 2019-04-10 06:16:32 -05:00
Fledge68
71555c7c14 - update for custom backgrounds. no longer add background= to source menu buttons. place backgrounds in wiiflow/backgrounds or wiiflow/backgrounds/{theme_name}. name them the same as the platform names under [PLUGINS] in platform ini. match case size. they can be png or jpg. 2019-04-09 10:39:03 -05:00
Fledge68
27102f4f6f - fix for issue #85 2019-04-08 12:54:26 -05:00
Fledge68
90fd389aac - improved cover loader by adding 3 tries to load the covers. 2nd and third tries are there just to get any missing covers that didn't load the first time.
- homebrew list is now cached again. if you add or delete an app you must do a reload cache.
- if you use the custom blank covers by Abz they now need to go in wiiflow/boxcovers/blank_covers folder.
- homebrew covers must go in wiiflow/boxcovers/homebrew for full covers or wiiflow/covers/homebrew for 2d front covers.
- now using a cache subfolder named homebrew for homebrew covers wfc files. to keep them separate from the game ID games.
- sourceflow now does cache covers the first time and any time you load a new tier. if the covers are already cached then you will only see the progress bar for a split second.
- other minor changes.
- one problem. when using small_box for homebrew covers it will use the apps icon.png and if it has transparency it will look like crap.
2019-03-27 11:45:43 -05:00
Fledge68
f581b3f193 - added using platform ini to get the proper coverflow from the current coverflow ini. requires the updated platform ini and an updated coverflow ini.
- removed the hard coded sideflow and shortflow.
- fixed using custom backgrounds whenever returning back to the game selected screen.
- added custom background cleanup to free the memory used by them.
2019-03-18 13:39:28 -05:00
Fledge68
5dc8212037 - replaced homebrew button on main screen with categories button. new images thanks to Hakaisha. no more 'B' on favorites star.
- replaced adult only button on game selected screen with categories button.
- homebrew button is now restored as one of the quick launch buttons or accessible via source menu or plugin select menu.cpp
- adult only option now replaces the categories option of the game settings menu page 1 line 1.
- locking wiiflow no longer blocks homebrew access. you must use the adult only option for each homebrew app to block kids from accessing it.
- other minor code changes and fixes.
2019-03-04 14:29:46 -06:00
Fledge68
ce60043630 - backgrounds for sourceflow tiers and selected sources are now working properly.
- added option to use theme subfolders for the backgrounds. put a folder named the theme in the backgrounds folders and put your images in it. these backgrounds will only load if using that theme.
2019-02-04 12:08:18 -06:00
Fledge68
dc679ccced - added optional custom coverflow background via source menu button. add 'background=img_name.png or .jpg to any source menu button. put the background images in wiiflow/backgrounds. 2019-01-22 18:18:13 -06:00
Fledge68
47e0b9a6e0 - fixes for issues #54, #55, #56, #57 2019-01-09 06:28:59 -06:00
Fledge68
baf4855a5e - cleaned up title and text handling for menu's.
- cleaned up code for individual plugin game sounds.
2018-12-27 18:47:00 -06:00
Fledge68
3d774c105c - fixed issues #37 and #38 to prevent a crash if you don't have a source_menu.init
- now each plugin can remember the last game selected unless you select multiple plugins at once.
2018-12-01 18:39:33 -06:00
Fledge68
2594e9505c -added one more missing compiler directive from last commit.
-fix to keep blank source menu buttons from being added to source_menu.ini
2018-11-05 05:46:35 -06:00
Fledge68
de02d03e03 - moved sourceflow flow=x to go under [GENERAL] of each source menu ini. 2018-10-15 12:23:02 -05:00
Fledge68
0d213f9b0e -added the ability for users to set the default/global gamecube settings for devo emu memcard, nintendont emu memcard, and nintendont wii u widescreen. under main settings pg 3 gc default settings. this means users will no longer have to manually edit wiiflow lite ini in a text editor for those settings. 2018-10-15 09:23:34 -05:00
Fledge68
972cbc218c -added option to change sourceflow background with every new tier. add the following two lines to your source menu ini's:
[GENERAL]
background=filename.png (or .jpg)

and place your background images in wiiflow/source_menu/backgrounds
2018-10-12 17:16:52 -05:00
Fledge68
10f3429b29 -added the ability to go back a source menu/flow tier by pressing minus controller button and plus controller button to go back to base tier. 2018-10-08 13:21:56 -05:00
Fledge68
1f463f9f50 -now compiling with devkitppc r30 and libogc 1.8.19. this fixes the time() issues that occurred with r31 and r32 and libogc 1.8.20. 2018-10-08 06:29:08 -05:00
Fledge68
d8964cf185 -fixed some minor issues with pressing B for source menu/flow.
-fixed some minor issues with showing homebrew flow and exiting back to sourceflow or previous flow.
2018-10-03 12:51:57 -05:00
Fledge68
af509ace56 -fix for last commit. strange const char *fn = m_cfg.getString().c_str(); didnt work. had to change to strings. 2018-10-01 18:59:13 -05:00
Fledge68
365eb5a217 -added flow=x for new_source sourceflow buttons. set x to the number of the flow layout you want to use. if the line is not added then we just use sourceflows last_cf_mode. 2018-10-01 16:01:43 -05:00
Fledge68
ecd02f27f4 - added sub/tier source menu's. put all source menu ini's in dev:/wiiflow/source_menu. the first one must be named source_menu.ini. the others can be whatever you want. to access another source menu ini create a source button with source=new_source and set magic=filename.ini replacing filename with the one you want. 2018-09-26 12:48:54 -05:00
Fledge68
0c0fb2c3c5 Revert "-added the option to use virtual subfolders (or tiers) to the source menu. works in sourceflow and regular source menu. if you wish to do this you need to edit your source_menu.ini and do the following."
This reverts commit 8825a7b2e7.
2018-09-26 10:28:01 -05:00
Fledge68
8825a7b2e7 -added the option to use virtual subfolders (or tiers) to the source menu. works in sourceflow and regular source menu. if you wish to do this you need to edit your source_menu.ini and do the following.
add src_folder=x to each button. x is the number of the virtual folder this button belongs in. 0 is obviously the base folder.

add source=folder when you want a button to open a new virtual folder and folder=x to specify which new folder to open. in folders 1 and above you will need to make a back or up button to go back to the previous folder.
2018-09-17 09:30:03 -05:00
fledge68
469c549940 -added sidecovers and shortcovers magic number wild cards (xx).
sidecovers = 513053xx
shortcovers = 51304dxx
the last 2 chars (xx) can be any hex char (0 - f). this is mainly for the quakegx mod plugin but can be used for other plugins that might need side or short covers provided they aren't already in use.
2018-05-30 12:48:42 +00:00
fledge68
8fe2349084 -fixed flow lists game titles so all titles show and are alphabatized. a strange issue that appeared last commit.
-now if you select a single source button that has multiple magic numbers it will remember the flow layout you selected.
-attempted to fix cover downloading since last commit. now covers should download but when you go back to main screen with coverflow wfl crashes. but restarts in 10 seconds with the covers ready. if anyone can fix this please let me know.
2018-05-16 23:33:56 +00:00
fledge68
d94c66d773 -now compiled with devkitpro ppc r29-1 and libogc 1.8.17
-updated libcustomfat and libvorbis thanks to GreyWolf
-updated libturbojpeg thanks to Fix94
-fixed cheat menu so cheat names with apostrophe's display properly
2018-05-08 13:49:43 +00:00
fledge68
7ef28f87f0 -fixed changing gamecube games directory and path.
-changed selecting nands type. now only use one source button or the channels.ini plugin for nand channels. goto config settings pg3 to change the nand type - real, emu, or both. this setting will stay that way till you change it. if using old source buttons they will both function the same. 
-added homebrew plugin ini. so now theres wii, gamecube, channels, and homebrew plugin ini files to put in wiiflow/plugins folder and then you can use the plugin select menu as a source menu. you can also add their magic numbers to source buttons and combine them with plugins.
-added support for quakegx mod plugin by oibaff6 and args support added by wiimpathy.
2018-04-30 22:31:29 +00:00
fledge68
17fa36e898 -fixed displaying errors on source menu
-removed vipatch, country patch, private server and cheats defaults from wiiflow.ini. no need for default/global setting for those options. they all default to off internally in wiiflow.
-now on file explorer menu pressing home btn returns you to device select so you don't have to keep backing up to get back to devices.
-fixed a few minor problems with game configs, especially gc games. now all game config options should work properly.
-now using bitwise operators and expressions on m_current_view to control which sources are selected.  no more source= under each domain. just sources= under GENERAL.
-replaced ocarina option from main settings pg3 with channels type option. no need for a global/default ocarina setting. channels type allows you to select real, emu, or both channels types for channels coverflow. which means no more pressing B on config icon to cycle thru the choices.
-fixed a minor bug when downloading covers
-changed newid.ini to use only one domain name "[NEWID]". this fixes a possible problem when downloading covers and using newid.ini and multisource.
-added install wad option to nand emulation settings menu. I know you can do it via file explorer but this makes it easier for newbies to find. plus you can select which nand to install to.
-fixed extract game saves.
-fixed extract nand and install GC game by stopping music and controller input while doing these functions.
-Install wii game is broke. added a error msg stating this and keeping users from using it. funny the code is almost identical to usbloader gx which works and wiiflow doesn't.
-now showing all btns on game selected screen. if wiiflow is locked a error msg appears stating this.
-changed makeDir to make the whole path not just one folder. thanks to usbloader gx code.
-added .ciso extension to gamecube list maker so you can use them with nintendont.
2016-12-01 00:05:39 +00:00
fledge68
630594d976 -updated NIN_CFG_VERSION to 7 for Nintendont argsboot and added triforce arcade option to game settings menu. tested and working.
-fixed wii u widescreen option in game config menu. should properly work now. thanks pBullet!
-added a fix for coverflow titles display when coverflow has 3 or more rows. for some reason 3 or more rows caused the title to display improperly.
-removed **disabled** message from source menu. no need for it - was a stupid idea. if you don't want it to display then remove it from your source menu or don't add it. when a view is disabled in wiiflow_lite.ini then only that view icon is disabled from showing on the main menu screen.
-removed titles.ini which wasn't really used except for displaying the return to channel in settings. I googled it and nothing really showed up. it seemed to be the same as custom_titles.ini - it seemed useless.
-removed cacheing sourceflow list. the list is never big enuff to worry about cacheing. plus if you add or remove source btns you won't have to reload cache for the changes to take effect.
-removed max_source_btns from wiiflow_lite.ini - added code to get highest source menu btn so now source menu can have as many buttons as you like.  
-removed Manage Languages Menu - restored option to just change wiiflow language. no need for downloading languages and the google link didn't work anyway. when i make a pack all the languages will be included.
-added flat cover options for sourceflow and homebrew view. can be turned on/off via their config menu's accessed via 'HOME' btn.
-added config menu for homebrew view - press 'HOME' btn while in homebrew view to access it. config menu options are -  switch apps partition, adjust coverflow, smallbox on/off, and flat covers on/off.
-updated config menu for source menu/flow. options include - sourceflow on/off, adjust coverflow, smallbox on/off, flat covers on/off, and for source menu only - multisource on/off.
-added coverflow layouts/versions for individual plugins - which means each plugin can have its own coverflow layout without affecting the others.
-set HQ cover to default to ON
-made it so coverflow doesn't reload every time you access another menu or change favorites or whatever.
-added error messages to game and app launching if any of the bin files needed for launching are missing. previously whenever these errors occurred wiiflow would just exit without the user knowing why. Now the error message should display before exit so the user has an idea what went wrong. had to move cleanup() back some for the errors to show. hopefully that doesn't cause out of mem issues for users with large game collections.
-added error messages to game config menu. now all config options will show but if you can't use it then a error shows telling you. such as 'use neek2o' will be available but if you set it to on and neek2o isn't installed then an error message shows. added error msgs for extracting and flashing saves too.
-added show_mem=yes/no option to wiiflow_lite.ini under [DEBUG]. manually edit wiiflow_lite.ini to turn it on/off. if set to 'yes' wiiflow will show how much free mem is available on screen. no need to compile wiiflow for this option anymore.
-cleaned up some of the boot up code.
-starting a random game - just hold 'B' and press '-'.  no longer press'B' on config or question mark icon and no need to allow it in wiiflow_lite.ini
2016-11-07 15:06:00 +00:00
fledge68
db8a2b137c -updating wiiflow lite to beta 4.3.0
-fixed using categories to hide GC disc 2's. Apparently this has never really worked right for some time or ever.
-fixed deleting the cached cover texture file for plugin games. Delete cover for plugins only deletes the cached texture file (.wfc)
-fixed favorites and adultonly (parental lock) for plugin games. Apparently I may have broke this a few revisions back.
-favorites and adultonly for plugin games now have their own domains in gamecfg1- [FAVORITES_PLUGINS] and [ADULTONLY_PLUGINS]. just makes it more organized.
-only wii, GC, channels are added to [PLAYCOUNT] and [LAST_PLAYED] in gamecfg1.
-now loading gamecfg1 at startup and leaving it loaded till exit. no more loading it and unloading all the time.
-fixed scrolling for game_info synopsis, credits, and help text.
-made source menu buttons wider for wiiflow default. old 80x80, now 100x80. looks better.
-display music info now defaults to off
-screensaver_disabled now defaults to yes
-show GC view button is now on by default no matter what. the only way it is disabled is if you edit wiiflow.ini manually. this is how all the view buttons work.
-removed hiding homebrew button but if wiiflow locked it won't work or in sourceflow it won't show.
-dump_list is now under [GENERAL] instead of each view. Also only works for Wii, GC, and channels.
-sorting only works for Wii, GC, and Channels now. disabled for sourceflow, plugins, homebrew, and combined view.
-now if no games are found a message is shown with the current path so you can see where wiiflow is looking. (except for plugins)
-removed auto create emuNAND for emuNAND view if gamelist is empty. just go to settings>NAND settings if you want to extract or disable it.
-now when no games are found all buttons at bottom are still accessible allowing you to change the view or go to settings and change current partition or path and even extract your NAND to create a EmuNAND. Or go to Home Menu and Install a Wii or GC game.
-removed auto extract NAND to emuNAND when launching a Wii game with EmuNAND save. Now a message is diplayed saying 'emuNAND for saves not found - using real NAND'.
-made the speed at which cover titles fade in/out almost instantly.
-removed update button from Home Menu. online update code is still there but not used and probably won't be used any more as there just isn't a need for it now.
-removed ftp button from Home Menu and all code for the FTP server. I just use WiiXplorer's FTP server. it seems to work better for me.
-disabled keep USB Alive thread for now. i think there's a possibilty it might be the cause of my SD/USB files getting corrupted.
-removed Btn B and - combo to switch partitions.  didn't seem useful anymore.
-redid nand emulation settings menu. looks like this now:
		pg1
		Select EmuNAND
		EmuNAND Enulation
		Select SaveNAND
		SaveNAND Emulation

		pg2
		Extract Saves All
		Missing
		Extract NAND
		Select Saves Partition
-no longer blocking Select Plugin menu and View icons when using source menu combined view
-now Select Plugins Menu is like switching to plugin view but you get to choose the plugins first
-now [PLUGIN] partition= is the default partition for all plugins. to change individual plugins add 'romPartition=x' to the plugin ini. x is the partition number 0 thru 8 with SD being 0. this is how my usbloadergx plugin mod works.
2016-10-04 23:44:13 +00:00
fledge68
ce0108939d - Now disabling Plugin Select menu if you're using the source menu/flow. (no need for both)
- Now disabling View Select icon/button on main screen if you are using Source Menu with multi source select. (easier to handle this way)
- Fixed Source Menu multi select. Now using 'A' button instead of '+' button to select sources. '+' and '-' can now be used to change pages just like all other menus. Added Clear button to clear all source buttons.  If none selected defaults to Wii.  After making selections use Back button or 'B' to go back.
- Added the ability to select both NAND and EmuNAND Channels at the same time. Three options to do this.
1. Use Source Menu multi select.
2. Switch to Channels View then press 'B' while pointing at Settings icon on main screen. If you keep pressing 'B' it will cycle you thru NAND, EmuNAND, and Both.
3. Use the Plugin Select menu with the new emuchannels.ini plugin and the channels.ini plugin to select one or both. (in plugin view of course)
- Other code cleanup and minor changes here and there to make things work with being able to select both real nand and emu nand together.
- Still have a few things to change but this should be fine for now.
2016-06-20 21:03:40 +00:00
fledge68
6b1aab7c2d - PHASE 2 (finally!)
- New Coverflow theme format. no more emuflow, coverflow, brewflow. now we have coverflow, shortflow, sideflow, and smallflow.
- coverflow is the normal coverflow.
- shortflow is automatically used for plugins if all selected plugins require a short CD style cover such as GB, GBC, GBA, and playstation. if there's more let me know and i can add them.
- sideflow is automatically used for plugins if all selected plugins require a cover on its side such as SNES and Nintendo 64.
- smallflow is used if smallbox is set for homebrew and sourceflow.
- no more need for emuflow= with a source btn in the source menu. it is done automatically now using the plugins magic#
- each flow has its own number of modes/layouts. so now coveflow can have 8, smallfow 1, sideflow, 6, and shortflow 4 or whatever you want.
- adjust coverflow works with no problems. just choose the view first before entering the adjust coverflow menu.
- other minor code changes here and there.
- remember themes are now in themes_lite and the coverflow part is seperated and put in the coverflows folder with the same name as the theme or you can use a default coverflow named default.ini for all themes.
2016-05-11 17:58:36 +00:00
fledge68
0c5f06972c PHASE 1
-split coverflow config from theme config files.
-renamed theme folder to themes_lite folder because of the new format and to avoid conflict with wiiflow.
-made coverflows folder in themes_lite folder to hold the coverflow config files.
-coverflow configs must be named the same as the theme configs or you can make one default coverflow config (named default.ini) in the coverflows folder. Then if wiiflow can't find matching coverflow config it will use the default coverflow config.
-to create coverflow configs open a theme.ini file in a text editor (Notepad+) and search for brewflow and then copy from there to the end, create a new text file and paste, make sure the first line is empty, and save the file named exactly like your theme.ini and in the folder dev:/wiiflow/themes_lite/coverflows/
-why did i do this? 1. when you use wiiflow setting 'adjust coverflow' and save it will only save the coverflow part and not mess up your structure of your theme.ini. 2. because now with the default.ini coverflow you can have one set of coverflow layouts for all the themes.
-note: this is Phase 1. Phase 2 and 3 coming. :)
2016-04-30 14:19:30 +00:00
fledge68
d390563d5a -removed source menu settings from startup settings.
-access source menu setting via home button when viewing source menu or sourceflow.
-source menu is now automatically enabled if a source_menu.ini is found.
-removed five source view icons if no source_menu.ini found.
-other minor source menu code cleanup
2016-04-26 00:43:09 +00:00
fledge68
a66723807e - CHANNNEL_DOMAIN disable is now CHANNEL_DOMAIN emu_nand (=yes or no) because that's what it's used for.
- GENERAL hidechannels is now CHANNEL_DOMAIN disable because that's what it is for all the other domains. makes sense to me. :P
- GAMECUBE_DOMAIN always_show_button is now GAMECUBE_DOMAIN disable to match all the other domains.
- so now 'disable' for each domain means show or don't show that view except wii of course.
2016-04-05 22:42:32 +00:00
fledge68
070612c161 -moved create sourceflow list to listgenerator and rewrote the code a little to include a sourceflow.db list cache file. may speed up loading sourceflow. 2016-04-03 01:12:11 +00:00
fledge68
abcd42885b -cleaned up code from last commit
-cleaned up and rewrote some of the startup code.
-Note: This is cleanest and smoothest i've seen wiiflow run. I haven't even noticed any messed up covers.
2016-04-03 01:03:39 +00:00
fledge68
8678a77eb0 -changed the way wiiflow makes a plugin gamelist. on startup if plugin view is enabled wiiflow gets and counts every plugin ini instead of doing it every time we load plugin view. might speed up loding plugin view but adds time to wiiflow boot up.
-other minor code changes.
2016-04-03 00:51:40 +00:00
fledge68
45b39c2be0 -Made a BOLD move and removed all DML and NMM stuff. To play GameCube games you must use Devolution or Nintendont. To play GameCube Disc you must use Nintendont. The only advantage to DML was the screenshot feature and cheats work better. If you really want to use DML then use Dios Mios Booter or USBLoader GX like I will.
-Readded the code to paths to be able to change the path where Wii and GC games are kept. But they really should just be kept in dev:/wbfs and dev:/games.
-wiiflow_lite.ini changes under [GAMECUBE] are:
removed video_setting= - was used to tell wiiflow when using DML or Nintendont to set cfg args for video mode. not needed anymore.
dir_usb_games= - is now - gc_games_dir= with default of %s:/games similar to wii_games_dir
dm_widescreen= - is now - widescreen=
screenshot= is removed. was used for DML
wiiu_widescreen= is added. but only used if on a Wii U
-gameconfig2.ini changes as well.
-NMM and DML is still used in theme ini files. may change in a commit soon but that means all themes have to be modified, a big pain in the butt.
-language and help files will need to be updated to remove all DML and NMM crap.
-and default names of images for some icons and btns need to be changed but for now left them as they are.
-other minor changes. Most of it untested so I hope it all works, if not then repair commits will follow.
2016-04-03 00:31:02 +00:00
fledge68
86d768c829 -changed name to WiiFlow Lite
-renamed some coverflows and domains for easier code reading. making things more uniform.
2016-04-02 16:00:47 +00:00