Commit Graph

79 Commits

Author SHA1 Message Date
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
fix94.1
f57507c4f3 -general code cleanup
-added crc32 buffer and limited checked filesize to 1gb
2012-11-18 13:40:26 +00:00
fix94.1
f61d9dac0c -lets give the game sound thread its own stack again to hopefully
fix that strange missing pointer problem
-fixed detection of devolution r168 or newer
-cleaned up the devolution code and added a few debug prints
2012-11-17 17:30:24 +00:00
fix94.1
f41e01ff87 -fixed some stupid default font bug (it was extracted twice lol)
-added new option, "force_cios_rev" (default 0 (=disabled)), if you 
set it to for example "force_cios_rev=250", then wiiflow will 
use IOS250 for the AUTO setting, for reload when using 
"force_cios_load" and when switching to emu nand in IOS58 mode
-added more detailed debug prints and on screen information about 
the currently loaded cIOS
-minor cleanup in nand get file and external booter
2012-11-12 20:12:00 +00:00
fix94.1
b2fdc18998 -some cleanup stuff
-added alpha channel handling to covers up to 640x480
(homebrew icons should look fine now)
2012-11-11 18:28:03 +00:00
fix94.1
9665ea5dc7 -huge code cleanup
-fixed some fatal theme memory management bugs
-fixed some cover loading memory management bugs
-speed up thp trailer playback
2012-11-03 19:16:03 +00:00
fix94.1
74b362e766 -changed this and that, some cleanups, some more corrections
about memory stuff
2012-10-15 19:16:14 +00:00
fix94.1
17b9e10a16 -FINALLY rewrote the game list creator code, the new one is faster
and smaller, I cant promise its bugfree though :P
-fixed wiiflow autoboot feature (for programs like crap)
2012-10-03 21:34:37 +00:00
fix94.1
46b386112e -fixed game boots if you just press a and the pointer is off screen
(issue 125)
-set the button type to s16 (now its correct :P)
-corrected some possible bugs with the button gui management
2012-09-13 14:54:17 +00:00
fix94.1
4e345b651f -cleaned up that exit to code 2012-09-09 18:35:15 +00:00
fix94.1
971b5bdb52 -improved jpg support, now the cover width and height dont need
to be divisible with 4 anymore, you can use what you want
-moved sound buffers back in mem2, idk but for wiiflow it gives
a better result
-added mem2 memalign placeholder for new memory manager (after
a week still everything but finished)
-updated other small things, cleaned up source structure a bit
2012-08-05 13:48:15 +00:00
fix94.1
88955e9461 -changed the memory management yet again, now just use the mem
which has enough space left instead of fixed memory in most parts
-fixed alot of things about banner playing, now shouldnt randomly
codedump anymore or things like this, also some banner sounds
which did not play before should work fine now
-removed unused code and added better debug prints
-using some fixed voice for game banner and not always a new one
per banner
-fixed DIOS-MIOS cheats for sure now :P
-fixed possible memory allocation bug in wbfs alloc (thanks to
cfg-loader)
-removed MEM2_memalign since it did not work correctly
-fixed a few wrong memset sizes
2012-07-27 17:26:49 +00:00
fix94.1
1ad14ce248 -fixed possible bug in memory allocation (thanks megazig for
hints how to debug better)
-made the global cleanup less unstable
-fixed IOS Reload on game loading codedump
-fixed bug in network init
2012-07-08 13:35:59 +00:00
fix94.1
7c78369dcf -replaced all button types from u32 to u16 (takes half the space),
we dont need so much space since we dont even have so much buttons
2012-07-05 13:15:23 +00:00
fix94.1
1bcd0ce2c0 -added a few missing +1 in name generation, may produced some "//"
in generated plugin cover paths
2012-06-17 11:23:55 +00:00
fix94.1
a87244c93a -fixed possible codedump in cover downloader
-added debug prints to see if crc32 is correctly cached
2012-06-17 11:12:07 +00:00
fix94.1
8f16156768 -added plugin crc32 caching, a file called "plugin_crc32.ini"
will be created in your wiiflow/settings folder, as soon as the
crc32 is generated it will be saved in this file and simply
used the next time you download a cover. You also could generate
the checksums on pc and then add it to this file, that may be faster
than letting wiiflow generate it
2012-06-17 11:01:43 +00:00