Commit Graph

98 Commits

Author SHA1 Message Date
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
65a0d1bc59 - minor coding changes for creating game lists. nothing new for end users. 2019-08-24 17:21:06 -05:00
Fledge68
1ce95b7ba3 - skip 'samples' folder which is sometimes in roms folder. this prevents the samples zip from being added to the roms list. 2019-07-24 12:47:02 -05: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
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
f11ccb2611 -fixed sourceflow to include the last source button
-fixed background song title display which decided not to work right anymore for some strange reason.
2018-09-03 16:58:31 -05:00
fledge68
db2abf7669 -fixed sd only the correct way. now it really does work.
-shrunk the list cache code.
2018-07-15 20:23:32 +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
9e85032382 * decided to officially commit my recent update patches *
- fixed gc ciso games to show and launch via WFL. thanks CokeCookie for getting me to fix it. note banners do not show for ciso games unless you use a custom gc banner.
- added (for wii u vwii) to be able to select Wii U channel as the exit to choice either via main cfg pg 4 exit to option or home menu>exit to menu and select wii u menu. 
- removed priiloader and bootmii as exit to options when on wii u vwii
- added random select game option. manually edit wiiflow_lite.ini and under [GENERAL] set "random_select" to yes then while in wiiflow lite main screen hold B and press '-' to have WFL random select a game instead of random boot a game.
- removed region change from savenand emulation types. why? because according to overjoy's commit he said it didn't work yet. it was for a future version of d2x cios when davebaol added it to d2x cios. i looked at all the d2x cios commits from that date to present and didn't see that it was ever added. if i'm wrong someone let me know and i will add it back into wfl.
- made some small bootup changes in case of errors on bootup.
- made some changes to the way wiiflow lite handles emunand switching and other minor emunand code editing.
2017-09-21 22:03:41 +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
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
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
fix94.1
bca5b4dc8e -fixed neek mode wii game loading
-fixed emu nand game loading if the external booter is on the same partition as the emu nand
2013-12-24 15:35:59 +00:00
fledge68
dabf2018d3 -added custom titles support for plugin roms. most useful for mame wii and final burn alpha. In custom_titles.ini add [MAGIC#] of plugin and then put title=new_title without extensions. example:
[4D414D57]
bankp=Bank Panic
blktiger=Black Tiger
btime=Burger Time
bublbobl=Bubble Bobble
digdug=Dig Dug
digdug2=Dig Dug 2
dkong=Donkey Kong
dkong3=Donkey Kong 3
dkongjr=Donkey Kong Jr
duckhunt=Duck Hunt
elevator=Elevator Action
excitebk=Excite Bike
2013-10-02 17:33:16 +00:00
fix94.1
7024dbd621 -fixed disc 2 gc games cant be hidden (untested) 2013-03-27 22:46:18 +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
0129ca9053 -changed the coverflow cover loader, now it should not run
out of memory anymore, but therefore some coverflow views will
may take longer to load covers
-made that cover case color check easier and faster
2013-01-13 15:45:05 +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
c08a0710ce -cleaned up gametdb code
-fixed gametdb memory management, now you can reload cache as
often as you want, read synopsis as often as you want without
wiiflow codedumping or freezing anymore after a few
2012-11-03 23:38:39 +00:00
fix94.1
2f4c8fb0fd -cleanup stuff
-fixed rebooting wiiflow with holding down b and pressing home twice
2012-10-21 15:28:00 +00:00
fix94.1
09e5f05eda -fixed some fucked up display names in plugin coverflow 2012-10-20 21:38:45 +00:00
fix94.1
3f55f129a6 -fixed fucked up channel view
-fixed using .wip codes in wii games
-cleaned up this and that
-more compatible way of fixing 002 error (thanks uLoader)
2012-10-19 22:01:30 +00:00
fix94.1
d61801fd3e -more work on the new wii game loader, hopefully you can use
cheats, save emu, nsmbw + pop patch, wanin cios and hermes cios,
and return to wiiflow again (works here with d2x again)
-fixed some important stuff in wiiflow itself, less corruption
of the dol and more static stuff to get it back to stability
2012-10-13 16:57:03 +00:00
fix94.1
3d2363bd78 -set main dol optimize level back to -O2
-set optimize level of booter from -Os to -O1
-added back name addition for gamecube game disc 2
-made gprintf, fmt and sfmt a bit more safe
-removed unneeded char for list check, just wastes memory
2012-10-10 14:03:04 +00:00
fix94.1
fb7cdc4d75 -changed optimize level from -O2 to -O1 to fix some broken PNG
images
-changed list stuff a bit again, it'll take more mem now but
therefore it shouldnt slowdown when having alot of folders
@devs
-added crc32buffer, if you wanna know if the content is OK just
crc32 it :P
2012-10-08 12:44:31 +00:00
fix94.1
85da1d31d9 -changed that list code yet again a bit, possibly fixed a
slowdown in reload cache
2012-10-07 19:59:50 +00:00
fix94.1
b2fa9f672f -nearly rewrote that list code again lol, should be even faster
and smaller now
2012-10-06 16:38:21 +00:00
fix94.1
cbdd8d7ec8 -added some security checks to list generator
(should fix wbfs partitions)
-removed some other unneeded stuff
-fixed some wrong code in return to
2012-10-04 15:16:04 +00:00
fix94.1
4d4e987286 -made game list even more efficient and smaller again
-fixed finding gamecube fst extracted games
-fixed possible plugin display bug
2012-10-04 11:37:53 +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
f6e7fd2332 -updated cache system for plugins, it now wont use folder names
for the db files but its plugin magic to prevent double entries
because of same paths for alternative plugins
-removed some annoying debug prints yet again
2012-10-02 19:26:50 +00:00
fix94.1
dd50c080a2 Changed plugin argument system, now you can decide everything,
all previous INIs cant boot any games until you add those lines:
For fceugx, genplusgx, wii64, snes9xgx, vbagx and wiimednafen add:
"arguments={device}:/{path}|{name}|{loader}"
For mplayerce and not64 (havent tested yet) add:
"arguments={device}:/{path}/{name}"
And for scummvm add:
"arguments={name}"
You can also remove the "ReturnLoader" line from the INIs.
Any magicword for scummvm and mplayerce is accepted now, just
make sure in scummvm the "romdir" is still "scummvm.ini".
2012-10-01 19:55:55 +00:00
fix94.1
550ac3356b -made sfmt, wfmt and gprintf faster and more simple
-set down wiiflows entry point from 0x80A00000 to 0x8062000
(saves ALOT of MEM1 for lists etc, so wiiflow should be able to read
in alot of more games in for example plugin coverflow)
-recompiled libjpeg
-removed alot of annoying debug prints
-made the trailer code faster
2012-09-23 12:10:25 +00:00
fix94.1
3420882624 -general code cleanup 2012-09-22 13:47:52 +00:00
overjoy.psm
f9040335a7 Because support for Wiiflow is currently only available in uneek2o and uneek2o is only able to use emulated nand dumps from the first partition on the USB-device the neek2o options are disabled now if a nand dump from another partition or SD-card is used. 2012-09-10 20:23:30 +00:00
overjoy.psm
37787dbcd9 NAND Emulation:
- Fixed Nand Emulation from SD-card.
- Fixed "CheckSave" functions.
- Fixed feature to flash a save file from emulated NAND back to real NAND.
- Some minor code cleanups and bug fixes.

neek2o: (neek2o r93+ only)
- Fixed return to channel function for titles on emulated NAND
- Added an option in wiiflow.ini: launchwiiflow in "NEEK2O" domain
  If this option is set to "no" the "exit to" option in home menu 
  will launch neek2o SM instead of the "DWFA" channel.
- If the return to channel option is set.. neek2o will return to 
  that specific title if that title exists on the emulated nand, even
  if the title was launched from real NAND.
2012-09-09 22:38:42 +00:00
fix94.1
eba8ab8398 -added new option to wiiflow.ini, "skip_list_check", if you enable
it wiiflow will not check for new games on boot, that will speed up
bootup amazingly for people with alot of wii games (disabled by def)
-disabled extended list check by default
2012-08-22 05:21:15 +00:00
fix94.1
3c4bdd228e sorry for r666 but it was too funny :P
-fixed deleting gamecube games
-fixed wiiflow displaying broken gamecube iso files and then
crash on selection
2012-08-20 19:15:52 +00:00
fix94.1
39e8ceb842 -removed a few unneeded lines of code 2012-08-16 14:09:02 +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
a36fab3cdd Making things ready for official wiiflow svn ;)
-made wait animation faster
-removed a few unneeded lines in the wait message code
-fixed booting wii games from disc
-fixed possible bug in wii game launching in general
-gecko output again on wii game booting
-converted alot of spaces to tabs, fitting the general wiiflow
coding style
-general cleaning up things
2012-07-25 22:12:17 +00:00
fix94.1
5254ace17c 2012-07-06 00:36:45 +00:00
fix94.1
18373f9f3d -more powerful detection if gamecube game is installed on
sd card by reading the sd card directory (bit slower though)
-made list cache a bit smaller again by using more general
settings, dont forget to reload list cache
2012-06-17 10:22:00 +00:00
fix94.1
d12e9e84d6 -horribly cleaned up and simplified the whole game list loading
code and process, should be faster now, also the list cache should
take less space now
-using "types" instead of magic word now for internal detection, 
faster and easier to handle
-prepared wiiflows code for custom coverflow which can have all
types together (nothing added yet)
2012-06-16 17:03:23 +00:00