Commit Graph

250 Commits

Author SHA1 Message Date
Muzzarino
dd7a7b480d
Update coverflow.cpp 2019-07-03 03:00:18 -07:00
Muzzarino
110becb641
Update coverflow.cpp 2019-06-14 19:15:04 -07:00
Fledge68
7bf04b023d - set wiiflow to default to using cIOS. if you want to use IOS58 go to startup settings and set force load cios to 'no'.
- #92 doubled the length of char wfcTitle[] to 128 for long plugin rom titles. fixes possible rom covers not showing do to their title being longer than 64.
- #93 added .gcm as a extension for gamecube ISO's.
- fixed hiding homebrew icon via homebrew settings option.
2019-04-29 08:14:54 -05:00
Fledge68
a4968a91ac - now platform ini is loaded on wiiflow start. instead of constantly loading and unloading it. platform ini is now used for gameinfo, coverflows, blank cover titles, and more.
- fixed some missing cleanup when leaving wiiflow. in particular the pointer textures and closing the language ini.
- new way to handle the custom blank covers by Abz. blank covers now must go in wiiflow/boxcovers/blank_covers folder and must be named after their platform name via platform ini. they can also now be png or jpg.
2019-04-08 11:10:30 -05:00
Fledge68
b7f4675c62 - additional fixes for last commit 2019-03-27 18:29:34 -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
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
0151146562 - minor coverflow code change. 2019-02-26 15:49:47 -06:00
Fledge68
f9f23f9048 - now when changing coverflow layout with '1' and '2' the current cover stays as the current cover. 2019-02-18 14:40:07 -06:00
Fledge68
0e58df8918 - some more fanart code cleanup 2019-02-17 15:35:36 -06:00
Fledge68
26a978736c - now if using homebrew plugin you can use favorites and categories. normal homebrew does not. 2019-02-11 14:55:44 -06:00
Fledge68
2babb6d017 - fix for [MAIN/NOTICE] [MAIN/MUSIC] [MAIN/LETTER] not using the theme's font. 2019-01-30 16:37:36 -06:00
Fledge68
21b6bec670 - fixed wfl_as_wiiflow using stub bin to return to wiiflow after launching gc, homebrew, or plugins.
- fixed wfl_as_wiiflow splash image to display its image not the image for wiiflow lite.
- fixed wfl_as_wiiflow name display on 'home menu'. now displays as WiiFlow WFL.
2019-01-16 12:54:51 -06:00
Fledge68
3c888b4612 - fixed an issue with reload cache and the new plugin gameinfo database stuff. recreating the game list for wii/gc games would crash on getting the title of the game from wiitdb.xml because of a new check to see if the game is a plugin game.
- fixed the plugin game info overlays position.
- added spaces between multiple genres for plugin game info.
2019-01-14 10:28:31 -06:00
Fledge68
13585275ed - made some changes to the plugin rom info display.
- changed the font smaller.
- added developer:, publisher:, genre:, etc... before each item.
- made the rom info scroll-able if by any chance it doesn't all fit on the screen.
- made some adjustments to position of the images and fixed a little issue with setting the image texture position.
- need to fix the overlays for handheld consoles but personally i would rather just have bigger images and remove the overlays.
2019-01-10 17:13:13 -06:00
benoa
09525023a2 Add Plugins databases 2018-12-30 23:00:51 +01: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
39308a921e -back to ppc r30 and libogc 1.8.19 - dosbox wii plugin doesn't like ppc r33 and libogc 1.8.21 2018-11-25 17:37:55 -06:00
Fledge68
f3e39a4fb9 -now compiled with ppc r33 and libogc 1.8.21
-time issues appear to be fixed. thanks wintermute and endrift!
2018-11-14 18:45:46 -06:00
Fledge68
7c4eb065b2 -cleaned up cover loader a little. 2018-11-13 16:08:25 -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
796a8d78f7 - added pages 7 thru 11 to main settings. for a total of 19 more settings you can now set without having to manually edit the ini file.
- removed the setting data_on_usb. now your dev:/wiiflow folder must be on the same device/partition as the apps folder. which i'm 99.9% sure most users do.
- added sd_only setting. no need to set it unless for some reason it gets set to true and you have usb hdd you want to use.
2018-10-31 14:51:15 -05:00
Fledge68
d03c014f43 - cleaned up fanart code. 2018-10-26 15:30:29 -05:00
Fledge68
2daed253a4 - expanded fanart path chars from 64 to 164. should help with long rom names. thanks wiimpathy.
- made the following fanart changes:
*fanart still auto displays
*only fanart shows. no cover and no game title and no buttons (play, back, favs, etc.)
*to stop and exit fanart press 'a' while pointer hand is on screen. if pointer hand is not on screen pressing 'a' launches game. pressing 'b' exits game selected screen and returns to normal coverflow. d-pad right and left still go to next or previous game.
*fanart can either play once or loop.
when play once is done it automatically clears fanart and returns to cover view.
with looping it will restart the fanart. looping is good for slideshows of game images.
​
looping and play once is determined by the setting "show_cover_after_animation". if set to no then looping is enabled. set to yes for only once.
2018-10-24 17:05:02 -05:00
Fledge68
f1398ea406 - made fanart to work with plugins.
plugin fanart goes in wiiflow/fanart/{coverfolder}/{gametitle}

replace {coverfolder} with the coverfolder= that's set in the plugin's ini file.
replace {gametitle} with title of the rom file without the extension.

the fanart ini file must match the {gametitle} you used for the folder.
2018-10-17 09:00:01 -05:00
Fledge68
66b34244fb -restored fanart. but still need to make it work with plugins. 2018-10-15 18:43:49 -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
4af2936db7 -added sort by button numbers for sourceflow. hold 'b' and press '+' to change from alpha to by button numbers and back. 2018-10-01 06:48:52 -05:00
fledge68
30048fbd4e -fixed to compile with ppc r32 and libogc 1.8.20
-had to remove wii drive light flashing during wait animation. even though i added NULL to nanosleep() it caused wiiflow lite to freeze right when the wait animation was to start. when i removed it everything works fine. besides the wii u doesn't have a disc slot light.
-note - strangely going from ppc r30 to r32 wiiflow lite boot.dol grew about 24k. also somehow ext_booter.bin is now marked as changed but i don't know what's different.
2018-08-06 23:28:06 +00:00
fledge68
c13a061359 -added libwiidrc so now wiiflow lite can be injected in a wii u wiivc game and will run with the gamepad.
-other minor changes and notes added
2018-08-01 12:27:12 +00:00
fledge68
e4d9b2e0d1 -reverted changes of r1156. readded libwupc. 2018-07-26 22:24:00 +00:00
fledge68
580f98fac5 -Removed LibWUPC now that Libogc supports WiiU Pro controller. 2018-07-16 14:14:38 +00:00
fledge68
2133c1d89a -now cache covers also cache's banners for wii and channel games. 2018-07-16 13:08:45 +00:00
fledge68
66c17c023c -removed sd only arg and replaced it with eisteinx2's code to detect sd only. with slight change because mountall() is called in other places.
-fixed font glyph x spacing so letters like W no longer bleed into or look like they connect to the next letter. also fixes letters like j's. thanks to usbloader gx freetypegx code.
-changed some font sizing. but had to make button fonts in bold. if not bold then sometime's the text would fade out and be hard to read. something to do with the wiiflow button images being transparent. has no effect on non transparent buttons like carbonik abz theme.
-fixed wfl so time and date in games is correct. thanks aphirst!
-now unloading theme.ini from mem after all buttons and labels are created. this is possible since coverflow.ini is now seperate from theme.ini.
- other minor code changes and rem's put in for easier code decyphering.
2018-07-09 14:53:35 +00:00
fledge68
4a566375e0 -added flash screen image to appear before wiiflow wait animation. i hope the image isn't too big to cause problems with wfl.
-added 'noflash' arg for meta.xml if you don't want the flash screen image to appear. and no i can't make it load a image from a folder. it must be compiled in the code.
-added 'sdonly' arg for meta.xml for those of you that have everything on SD and hate the 20 second wait for wiiflow to search for usb devices. thanks einsteinx2!
-added meta.xml args support. meaning when a homebrew boot.dol or elf is launched the meta.xml (if exist) will be read for arguments and those args sent when the app is launched. this fixes the issue of custom wait images when changing themes.
-added spanish translation file 'spanish.ini'. thanks to ravmn for sending it to me!
-other minor changes, mainly remarks added for myself.
2018-06-27 12:47:03 +00:00
fledge68
1e57a1c9e6 -added meta.xml args for custom wait message images. waitdir= for full path to folder containing the images. and waitloop if you want the images to play and repeat otherwise the images move forward and backward.
-added widescreen fix just for wait images. may attempt more as time goes by.
-fixed a small thing i forgot in the last commit for cache covers.
2018-06-13 15:36:58 +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
493e4dc8a9 -fixed issue with emu nand path string.
-recoded cheats download. it should work but geckocodes.org now uses some browser check which prevents downloads on wii. either manually download via pc or get abz's master pack which contains a lot of cheats.
-added comments and minor changes to wait message code.
2018-06-06 21:56:21 +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
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
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
3bdc947c7b neek2o changes:
- re made it possible to use SD emunands with sNeek2o r96.
- added vwii r96 beta 9.6 support. wiiflow lite will now look for vwiikernal.bin and emunands must be in a subfolder of vwiinands on USB only.
- when exiting a emunand game using neek2o if on wii it will use the back2nand channel to return you to wii system menu or if on wiiu it will return you to wiiu system channel because returning to the vwii system menu isn't possible.
- when using wiiflow lite and exit to neek2o it will just launch neek2o system menu. from there you can launch wiiflow or wiiflow lite (if installed on emunand) to use cheats on a emunand game. otherwise cheats do not work when using neek2o to launch a game.

banner changes:
- now when moving from banner to banner the background music will not play and you will not see coverflow (for a second) when using full screen banners.
- now on game selected categories menu the banner will change when you change games using '+' or '-' buttons
- added custom banners for plugin games. no longer using trialer thp videos as banners for plugin games. put your custom banners in the custom banner folder plus the plugin cover folder and name them the same as the rom with extension plus .bnr just like how you do for the covers. to make a plugin game banner i suggest downloading one of abdallahterro's custom gamecube dios mios booter channels and use customizemii to change the images (and sound if you want). make sure the images match exactly the size of the one's already there. when changes are done extract the banner and rename it and put it in the proper folder as previously mentioned.

other changes:
- trailer videos still work even for plugin games. again for plugins rename the thp and ogg file to match the rom plus extension and .thp or .ogg. on game selected screen press '-' to start or quit a trailer video if one is available. pressing 'B' or 'Home' will quit the video and return you to the main screen.
- when flipping a cover none of the buttons are available and the mini banner is not shown until you press 'B' to de flip the cover to normal front view.
- fixed game info menu - in case a custom channel is selected and is not included in gametdb it will display a message 'no game info' instead of random stuff from the last game viewed. tested on wiiflow lite forwarder channel.
- now stopping sounds and music early when exiting wiiflow to prevent music from stuttering when exiting.
- other minor coding changes.
2017-05-15 17:50:24 +00:00
fledge68
b782337d27 - updated version to v4.4.0 r1130 final.
- added HBC 1.1.3 new ID OHBC. this allows wiiflow to use exit to HBC if you have the new one.
- switched HBC_JODI and HBC_HAXX to the correct DEFINE. they were switched wrong but it didn't seem to really have any affect.
- re added the Aspect Ratio option for Emu NAND games. seems it was set to only show for a wii game but now it will show for both wii and nand game. default is your consoles default. so for example if your console is 16:9 and your game doesn't look right try force 4:3.
- re organized the game settings menu to get all game setting options to show. this will make themes not display properly. themes will need to be edited.
- added gc default settings menu accessed via main settings pg3. pg3 no longer requires you to be in gc view to see them now. wish i had more time to add more default settings.
- addded partition settings menu in place of the single partiton selection on pg1. this means you don't have to select the source view first.
- fixed switching from full covers to smallbox covers in sourceflow and brewflow.
- updated the Help Guide to any new button controls (English only).
- updated the xml file.
- other minor theme and code cleanup
2016-12-14 18:47:13 +00:00
fledge68
f51510762e - removed fanart
- fixed playing/zooming plugin game movies (hopefully, i don't have any .thp files to test it)
2016-12-05 14:12:23 +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
f72def02ba - finally seem to have fixed the random messed up cover!
- fixed the hover over sound for the main settings button. you may not have noticed but sometimes it didn't make that sound. now it does all the time.
- adjusted the game info synopsis scrolling and line height so the text isn't all smashed together vertically.
2016-07-21 23:40:12 +00:00
fledge68
5cefb92df7 - changed flipping the selected cover. press 'A' to flip it and 'B' to flip it back. This fixes the problem of the cover not always flipping back.
- fixed a small problem from last commit where sourceflow would use sideflow or shortflow after selecting one of those plugins. now it uses the correct flow.
- made flows appear faster after selecting a source.
2016-06-22 19:34:58 +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
a2b7953b55 - fix to keep the background music going on the game selected screen. if game/banner sound only plays once (not looping) the background music will play again.
- added flipped cover zoom and movement. so now when you flip a cover you can zoom in and out with '+' and '-' to read and see the back cover better.  Use the control pad to move it if you need to. only works with pressing the buttons not holding them down.
- added option to delete a cached cover (.wfc file) for plugins. in case for some reason you have a strange looking cover while viewing plugin covers just select the cover and then click on delete - it won't delete the game or cover png, just the covers wfc file in the cache. then when you go back it should be recreated. for other covers you can just delete and redownload via the settings menu.
2016-06-09 23:02:40 +00:00