Commit Graph

95 Commits

Author SHA1 Message Date
wiidev
4d6f75112b Improved file formatting 2020-04-12 20:25:10 +01:00
wiidev
a85d33ffd7 Use the memory manager for downloads 2020-04-12 19:39:10 +01:00
wiidev
0c8477548c Prevent crash caused by debug logging & gamercards 2020-04-12 19:33:31 +01:00
Fledge68
ee14187e2d - fixed missing cache covers for real nand channels if you add covers manually and do reload cache. Thanks blackb0x!
- fixed crash when pressing 1/x or 2/y buttons (change coverflow layout) when no covers are loaded.
- fixed hiding the wait loading animation when using source menu on start.
- fixed exiting source menu on start via B button so covers show properly.
- fixed using homebrew icon.png's with transparency as covers for smallbox by restoring some old code I didn't understand. But ... sometimes the icon.png textures (.wfc) are saved as empty black boxes.
- if you get an empty black box for your homebrew cover image you can select the cover and click the 'X' delete icon. it will not delete your homebrew app but will instead delete the cover texture file (.wfc). Then you can do reload cache and hopefully your cover will be fixed.
- tried fixing cacheing covers after downloading them. works sometimes. It's a low free mem2 error if using rhapsodii shima theme and having a lot of games. if covers do not appear after downloading then i suggest rebooting wiiflow and doing reload cache first thing or switch to wiiflow's default theme and then download the covers and then switch back to rhapsodii shima theme.
2020-04-08 12:06:21 -05:00
Fledge68
19c11f1c85 - reverted change in 5.4.1 that made video output a little blurry.
- reverted change in 5.4.0 that may be the reason some users have issues loading games from sd card. especially on vWii.
- changed wiinertag to riitag and cleaned up code for it. More info here - https://gbatemp.net/threads/riitag-gamertag-for-wii-replacement-for-wiinnertag-and-dutag.559500/
- removed dutag
- changed optimmization from from -os to -o2 to hopefully compile better.
- other minor code cleanup.
2020-03-19 17:38:32 -05:00
Fledge68
0d59191da9 - added 'use plugin database titles" option to pg 13 of main settings. defaults to YES. set to NO if you do not want to use titles from the plugin database files. All cached lists will be deleted to be remade with the new titles.
- added 'covers box mode' option to pg 13 of main settings. defaults to ON. set to OFF if you want to use only flat covers. does not apply to sourceflow, homebrew flow, and plugins with box mode set.
- fixed text size of category names on right half of categories menu. They were too small. strangely no one noticed or reported it.
- cleaned up create game list code a little.
- upped to beta 15.
2019-11-27 07:28:54 -06:00
wiidev
cc715cf04a Add TLS support 2019-10-24 23:26:17 +01: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
4ee62e9adb - removed 'init network' from startup settings.
- moved 'mount sd only' to startup settings.
- added reboot when 'sd only' is changed.
- added GC banner sound options by einsteinx2 to page 11 of main config.
- changed and added a few gecko prints
2018-12-24 07:42:31 -06:00
Fledge68
477a9c4dd4 - fix for issue #49. wii flat front covers downloaded are stretched over front and back of box because of typo by me that saved them in the box covers folder instead of the front covers folder. 2018-12-18 16:43:36 -06:00
Fledge68
43e2dd50e4 - cleaned up cover and banner download coding. 2018-12-12 18:03:33 -06:00
Fledge68
b44c415602 - fix message typo for banners downloading. 2018-12-11 15:38:44 -06:00
Fledge68
8c3ab3b337 - fix minor mistake in last commit. 2018-12-11 15:35:03 -06:00
Fledge68
d08c4d4348 - added global GC custom banners download to downloads menu. 2018-12-11 15:24:32 -06:00
Fledge68
cef988d763 - sourceflow small_covers can now go in a subfolder with the same name as the theme. which makes them change when the theme is changed.
- added notification messages when you delete a cover or banner on manager cover banner menu.
- download cover menu changes: title is now 'Downloads'. removed 'missing' button and changed 'all' to 'download' because there was no difference between all and missing. it always downloads missing covers. in the future i plan to add custom banners download which will download all missing custom GC banners.
2018-11-23 15:31:04 -06:00
Fledge68
354bddc664 - fixed issue #21 downloading covers, gametdb.zip, banners, and cheatfiles. now pausing bg music while downloading to prevent music thread from interfering with the internet network connection. also now clearing downloaded data from memory when done with it. code was missing to free the mem when done which caused out of memory issues of course. my fault i didn't see it till now.
- fixed issue #23 the progress bar and percentage when downloading covers.
- fixed issue #26 reload cache when using wii, gc, and channels plugins in plugin view.
2018-11-19 12:14:40 -06:00
Fledge68
c8d5b12a12 -moved #define APP_WIIFLOW from sys.h to defines.h
-fix for issue #6 - now setting 'return to' to 'disable' will properly disable it.
-fixed a few strncpy's to make sure the last char is '/0'. to prevent any string overflow even though it shouldn't happen.
-other code cleanup
2018-11-12 14:38:37 -06:00
Fledge68
c3f3cfaa96 -removed svn script. will have to manually update it from now on. 2018-08-08 18:41:33 -05:00
fledge68
93769c1ef4 -fixed downloading custom banners. thanks Larsenv for the new banner repository and the link! i didn't notice it was banners before and now its banner.
http://banner.rc24.xyz/{gameid}.bnr
edit wiiflow_lite.ini under [GENERAL] - either delete this line custom_banner_url=
or change it to custom_banner_url=http://banner.rc24.xyz/{gameid}.bnr
2018-07-15 22:56:31 +00:00
fledge68
6782d87f3a -added ability to cache covers. just select your source then go to home menu and click cache covers. it will go thru your current game list and convert the covers to wfc cache files. needed mainly for if you add a bunch of roms and cover pngs for a plugin. or if you for some reason need to remake the wfc files for all your wii or gc games. note using wiimpathy's wfc conv 0.1 on your pc is still a faster option. 2018-06-12 21:27:52 +00:00
fledge68
52ea6f6b99 -fixed downloading covers. it works for me although occasionally stalls during downloading a cover. it could be my home network dropping the connection. Also i didn't try downloading more than 4 covers.
-fixed downloading wiitdb.zip.
-downloading banners should work but no one has them hosted anywhere. larsenv has them hosted on github but its https which doesn't work. it must be http.
-downloading cheats broken still.
2018-06-06 11:32:45 +00:00
fledge68
113c7e015e -updated to compile with devkitPPC r30 and the latest libogc which i think is 1.8.19.
-downloading covers is still broken.
2018-05-29 09:59:57 +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
7d30c948b6 - Added 3 new Plugins. Wii, Channels, and Gamecube.
- Wiiflow will automatically detect these and add the respective game lists to the plugin game list just like combined view via the source menu.
- these plugins can be selected via the 'plugin select menu' in 'main settings' or via a source btn on the 'source menu'.
- with these plugins the 'plugin select menu' can act like another source menu and they can easily be combined with all the other plugins of your choice.
2016-05-18 23:15:19 +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
7bad8c3fd3 * Added Abz's 1076 mod patch with code cleanup by me. His patch includes:
- private server
- sicksaxis to be able to a ps3 controller in wiiflow
- support for the latest nintendont with argsboot
- other minor changes that i may or may not change soon.
- credit to Abz, Airline38, and anyone else who helped with coding.
2016-04-02 15:46:06 +00:00
fix94.1
18bab7faf5 -made most thread stacks static, that should increase speed and stability
-moved some memory positions so we have 45mb mem2 compared to 44mb mem2 previously
-slighly increased some timeouts and memory sizes for security
2014-03-17 17:38:32 +00:00
fix94.1
c8ccf82c24 -updated the default theme completely, all button animations, positions and designs are reworked by mamule, big thanks for all of it!
-added a new label, EXPLORER/SELECTED_FOLDER_BG to give the path text a background
2013-11-04 19:46:23 +00:00
fix94.1
a780efc0cd -added more security checks and mechanisms to wiiflow to increase stability 2013-09-24 15:21:31 +00:00
fledge68
2873de8f91 -added user labels to download settings menu
-added sourceflow
-added new source menu config menu access it via startup settings menu. Use it to enable source menu, sourceflow, source menu/flow on startup, multisource (source menu only), smallbox for sourceflow, and clear sourceflow cache.

To use sourceflow you will need to add title= to each source btn in source_menu.ini.  Give each btn a title for coverflow to use.  sourceflow will use the normal source menu icons or you can add the following folders to your source menu folder - full_covers, front_covers, and small_covers. the first 2 are obvious, the last one is for smallbox if you don't want to use the source menu btn images.

the clear sourceflow cache function is similar to reload cache. use it if you make changes to your covers or your covers aren't displaying correctly.

any questions just ask on gba or irc.
2013-09-12 13:04:50 +00:00
fix94.1
4d03e0e2dc -modified the ftp server so it runs in a separate thread, meaning it can now run in the background
-added autostart ftp server to the startup settings
-added a new section, the [FTP] one to the wiiflow.ini, containing settings like autostart, password, port and allow active mode transfers
-updated english.ini
2013-09-05 23:52:21 +00:00
fix94.1
d31d8e3329 -added a FTP server to wiiflow, you can find it in the home screen, for now it havent got any port selection (always port 21) or username/password need (you can login with whatever you want), the wii ip is displayed after it could startup the server 2013-09-04 16:53:55 +00:00
fledge68
c1ac964fe0 - Added success or failed messages to download of game banner downloading.
- and fixed deletion of banner.
2013-08-22 18:55:08 +00:00
fix94.1
a4b1a5293e -updated the default images and the image compression tools (thanks ayatus)
-fixed the language download crash when trying to download the languages a second time
-added a back button to the language manager
-updated german.ini
2013-08-09 14:52:17 +00:00
fix94.1
51625a7507 -added a completely new menu to wiiflow, the language mange menu, now you can directly download and select the latest languages from the open-wiiflow-mod svn via wiiflows gui
-updated english.ini
2013-08-08 18:21:11 +00:00
fix94.1
791a2dc41b -using the file read/write functions more often
-placed both file explorer and source menu into the home menu
2013-06-30 18:40:49 +00:00
fix94.1
8a56deebfc -set http://dl.dropboxusercontent.com/u/101209384/{gameid}.bnr
to the default custom banner url
-updated the wiimote icons (thx mamule and Ayatus for the awsome pngs)
2013-06-27 17:55:42 +00:00
fix94.1
e066537d9b -added beta custom banner download, you need to set "custom_banner_url"
in the GENERAL section in your wiiflow.ini, do it like
custom_banner_url=http://www.example.com/{gameid}.bnr
{gameid} gets replaced automatically by the game id6/id3
2013-06-27 17:14:11 +00:00
fledge68
d5b16e66da Now you can combine views using the source menu. The source menu now works in two ways. First, the old point and click with 'A' to select a single source. And now, Second, choose the sources you want to see with the 'B' button. They'll click from off to on and back. when done selecting click on the back button or press 'Home'.
Note: The All Plugins source option has been removed and choosing either nand button on mutiple selection loads the nand you last used (real or emu)

The categories_v4.ini had to also be slightly modified to work with this. It will now contain a single 'GENERAL' section which contains the number of categories and the name of each.  A suggestion, I would use the first 20 for bostonbc's genres and ratings and the next ten or so for movie types(mplayerce) and the next ten or so for misc.

When using more than one source the partition selection and emu nand settings in config are disabled for now.

The source button on the main screen still works the same including the d-pad option.

Most of the credit for this goes to Fix94 for setting wiiflow up for this a long time ago.  I just took the 80% of work he'd already did and finished by getting it to work with the source menu.  Note there may be some issues.
2013-01-15 13:54:33 +00:00
fix94.1
4dbef7ab4d -fixed savegame emu bug from r818
-more and longer wifi gecko messages
2012-12-22 20:57:23 +00:00
fix94.1
f6d08052d2 -unfinished modified code for nand emulation, you can now enter the
nand emu view without loading into some cios, only if you boot a game
it will need to reload it (dont even think about it to report bugs yet)
2012-12-22 16:47:02 +00:00
fix94.1
9c4626ab77 -added a new settings page to select if you want to force load
a cios and which cios you want to force load (0 means the default)
-hopefully fixed most network init problems when doing a ios reload
-updated english ini
2012-12-21 19:51:22 +00:00
fix94.1
a8ba1f8e49 -fixed memory leak in download manager
-keep AHBPROT patched out on channel load
-only if no cIOS is found boot a real nand channel with a normal IOS
2012-12-09 20:21:47 +00:00
fix94.1
c19f116046 -cleaned up debug message system
-improved wifi gecko (now buffers messages, more stable etc)
2012-12-08 16:17:35 +00:00