Commit Graph

224 Commits

Author SHA1 Message Date
Fledge68
f3bc0d7ce5 - now if favorites or categories are on when you launch a game they will be on upon returning to wiiflow. 2019-10-09 18:00:54 -05:00
Fledge68
b7024400cd - added frames for mini banner and snapshot image. wiiflow uses a blank texture so they are invisible but theme makers can now use [GAME/SNAP_FRAME] and [GAME/BANNER_FRAME] to add a frame texture. [GAME/USER4] is no longer used as a banner frame.
x, y, and width, height values suggestions for 8 pixel wide frame. if its thicker or thinner you will need to adjust.
banner = 377, 23, 262, 151
snapshot = 377, 23, 262, 186 ( a little taller )
2019-10-09 15:12:42 -05:00
Fledge68
1384e475b0 - snapshots are now centered to fit inside the mini banner frame if theme available. plugin snapshot changes:
[GAME/SNAP] is the snapshot. width and height are just random numbers. wiiflow sets those. and the texture is of course set by wiiflow. the x and y are the upper left and the only thing to worry about.

[GAME/OVERLAY] is the snapshot overlay for handhelds. same info as [GAME/SNAP]

[GAME/SNAP_BG] is used for 2 things.
1. the dimensions of the window inside the frame. (x,y,width,height) used so wiiflow can center the snapshot.
2. the texture of the window inside the frame. wiiflow has it set to a transparent image. but you can make and use a solid colored image if you like.

the frame is still [GAME/USER4]
2019-10-07 12:15:41 -05:00
Fledge68
9d3c65cf9d - added snapshot display for current game. snapshot is displayed where the mini banner normally shows. use wiimpathy's database files and images for the snapshots. note: the width and height is 25% smaller than the one shown in the game info menu. 2019-09-30 11:07:04 -05:00
Fledge68
7eeaf4e053 - added extremes 480p pixel patch via leseratte's usbloader gx code. only for wii games. there is a global default setting in main settings pg 13
and each game has a setting on page 5 that can be default, off, or on.
2019-09-23 09:20:22 -05:00
Fledge68
6e5c168185 - fix for last commit. using GetTitle instead of GetName. 2019-09-12 16:49:58 -05:00
Fledge68
13e65956fe - Plugin game list generator now gets rom title and ID from wiimpathy's plugins database files. a 'reload cache' will need to be done for each plugin source so the title and ID can be added to the current cached list. custom titles still work and will override plugin database files. titles are based on custom titles file then plugins database file and finally the rom filename. if the ID is not found in the plugins database files it will have an ID of 'PLUGIN' and no game info will be displayed on the game info screen.
arcade rom clones are not included in the plugins database files to keep the files short. Any arcade rom clones you have will either not be found or will aquire the same ID and title as the parent rom when the CRC of the clone rom is included in the parent roms list of CRC's. you will need to manually edit both the CRC list file and xml database file to include the rom info on any clone you have in order for them to display the correct title and game info. i would think only a small handfull of your roms would be clones.

reload cache may take longer now to create the cached list. I found zipped roms for snes, nes, and others are no problem because even if the filename can't be found the crc does not need to be calculated. it is merely taken from the zip file which already holds the crc. on the other hand, half of my gba roms are unzipped with a gba extension. so my gba list takes 10 seconds or so to make because the crc of the unzipped roms does need to be calculated. mame roms use the filename but if it's a clone then it will calculate the crc of the rom zip file. thus any clones will slow things down unless you add them to the database files mentioned above. I imagine megaCD and PS1 cd games will be slow to reload cache. but at least you only need to do it once or whenever you add or delete a game.

wiimpathy's database files use the no intro naming convention. i'm not crazy about it because it moves any leading 'the' to the end preceded by a comma. in this case i use custom titles ini to put the title the way i want.
2019-09-11 15:57:16 -05:00
Fledge68
d4579b57c3 - fix for saving current coverflow layout number when source button has multiple magic numbers.
- minor fix for last commit.
2019-09-09 15:17:52 -05:00
Fledge68
65a0d1bc59 - minor coding changes for creating game lists. nothing new for end users. 2019-08-24 17:21:06 -05:00
Fledge68
6152edff6c - mapped classic controller + and - buttons to work like wiimote + and - instead of using the classic controller L and R buttons. makes more sense to me.
- cleaned up homebrew launcher code a little.
2019-08-15 16:01:49 -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
85020b1f03 - code cleanup for themeName. 2019-07-24 12:35:51 -05:00
Fledge68
a0cbc70f7a - added backgrounds dir to wiiflow_lite.ini
- other code cleanup for dirs
2019-07-24 11:23:05 -05:00
Fledge68
3af4cef548 - fixed box mode for plugins. now each plugin can have box mode on (1), off (0), or default (-1). default is the GENERAL box mode setting in wfl ini. if the boxmode= line is missing from plugin it will use the default. 2019-07-10 09:24:44 -05:00
Fledge68
07326391df - minor fixes to coverflow. 2019-06-20 14:41:18 -05:00
Fledge68
c8e517d9aa - fix for flat covers when using homebrew plugin 2019-05-29 14:07:18 -05:00
Fledge68
656e162cf1 - minor code cleanup. 2019-05-28 16:34:32 -05:00
Fledge68
5fb7a5af5e - more minor code cleanup for game boot 2019-05-27 11:04:46 -05:00
Fledge68
703abe8577 - moved game boot code from menu_game to its own menu_game_boot file. makes it easier to find the game boot code. 2019-05-27 09:26:41 -05:00
Fledge68
4b26013ac8 - sourceflow tiers: changed back a tier from '-' button to 'b' button. 'b' button is no longer used to exit or cancel a sourceflow tier but is still allowed during the base sourceflow. 2019-05-19 15:33:21 -05:00
Fledge68
2424525a79 - on Home Menu only show Select Plugin button if parental lock is on. 2019-05-15 12:19:07 -05:00
Fledge68
29b8dccb52 - fix for issue #101. goes to show not very many people use categories. or if they do they never report the problem. 2019-05-15 10:22:05 -05:00
Fledge68
1f7e19cfa1 This reverts commit 1fcf25a397. 2019-05-15 10:16:53 -05:00
Fledge68
1fcf25a397 - fix to prevent SD Only to auto switch to on if you temporarily disconnect your USB drive. meaning SD only will stay off.
- also sd only fix for users with old versions of wfl switching to newer version that includes sd only.
2019-05-15 10:10:21 -05:00
Fledge68
eb8a80f657 - fix to prevent SD Only to auto switch to on if you temporarily disconnect your USB drive. meaning SD only will stay off.
- also sd only fix for users with old versions of wfl switching to newer version that includes sd only.
2019-05-15 09:55:45 -05:00
Fledge68
76b4308e01 - Added shutdown to idle standby option on page 12 of main settings. Set to yes for idle standby (yellow light). wii u users leave off. 2019-05-06 13:53:33 -05:00
Fledge68
0787670dea - added options to copy real nand config and miis to emunand on page 3 of emu nand settings. if set to 'on' then when you launch a emu nand game sysconfig and/or miis from real nand will be copied to emu nand before launching the game. this solves issue #90 to keep your controllers synced in emu nand mode. 2019-05-06 09:13:18 -05:00
Fledge68
8b92b14656 - minor fix for last commit. 2019-04-29 08:26:06 -05:00
Fledge68
d991834789 - fix game info plugin databases for systems that share the same database files by adding [COMBINED] into platform ini which will associate the platform name with the database name. for example: genesis=megadrive, famicom=nes. you must have the updated platform ini for this commit to work. 2019-04-10 06:51:06 -05:00
Fledge68
e246276188 - missed one in last commit 2019-04-10 06:29:25 -05:00
Fledge68
e53bb43cb9 - saving sourceflow tiers flow's to wiiflow lite ini under [SOURCEFLOW] now instead of the source menu/tier ini. 2019-04-10 06:16:32 -05:00
Fledge68
71555c7c14 - update for custom backgrounds. no longer add background= to source menu buttons. place backgrounds in wiiflow/backgrounds or wiiflow/backgrounds/{theme_name}. name them the same as the platform names under [PLUGINS] in platform ini. match case size. they can be png or jpg. 2019-04-09 10:39:03 -05:00
Fledge68
6236d9b93e - now you can use subfolders to organize your wiiflow/plugins folder. make sure to adjust dolfile and bannersound paths if need be. 2019-04-08 13:19:14 -05:00
Fledge68
3d63886818 - now scummvm ini doesn't have to be in wiiflow/plugins. it can be in wiiflow/plugins/scummvm or apps/scummvm. 2019-04-08 13:13:34 -05:00
Fledge68
27102f4f6f - fix for issue #85 2019-04-08 12:54:26 -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
b829137794 - added get crc for dosbox conf files. thanks wiimpathy! 2019-03-29 15:26:22 -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
f581b3f193 - added using platform ini to get the proper coverflow from the current coverflow ini. requires the updated platform ini and an updated coverflow ini.
- removed the hard coded sideflow and shortflow.
- fixed using custom backgrounds whenever returning back to the game selected screen.
- added custom background cleanup to free the memory used by them.
2019-03-18 13:39:28 -05:00
Fledge68
8a4662bb2f - fix for custom background images when returning from game info menu. 2019-03-09 18:06:14 -06:00
Fledge68
e1880e9fd4 - added 'Lock coverflow layouts' option to page 12 of main settings. set to yes this will disable the 1 and 2 buttons to keep users from switching flow layouts. 2019-03-06 12:52:12 -06:00
Fledge68
cba6c0bcd6 - moved source menu settings to page 12 of main settings. no more pressing 'home' while viewing the source menu/flow. 2019-03-06 07:30:56 -06: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
6cb6c64f77 - added scummvm games to the rom info menu. but only via their title (not crc). Thanks to Wiimpathy!
note you will need v2 of his wiiflow database zip file.
2019-02-26 16:01:14 -06:00
Fledge68
0151146562 - minor coverflow code change. 2019-02-26 15:49:47 -06:00
Fledge68
5407cfdf87 - added a fix for plugin rom game info when using a multi platform plugin, ie. genplusgx, wiimednafen, vbagx. if a multi platform plugin is detected then we get the rom's filename extension and use it to determine the platform. if its a zip file we get the filename from inside the zip file. this fix requires an updated platform ini which will be supplied with wfl v5.2.0 2019-02-25 06:09:46 -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
09e793655d - code patch to make sure -0.00 shows as 0.00 for values on adjust coverflow menu.
- moved parameter selection from middle top to next line on left to keep from mixing with coverflow title.
2019-02-15 19:07:46 -06:00
Fledge68
97952d901e - fix classic controller left stick by removing old wiiuse libs from portlibs and use newer libs in libogc. also adjusted lstick and ristick values in btnmap.h 2019-02-13 11:22:08 -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
b7120bbcd8 - fixed Select Plugin menu when using nand and emunand plugins.
- fixed right side text size for Select Plugin menu.
2019-02-07 18:54:32 -06:00
Fledge68
7924720c1e - added option to use multiple homebrew plugins each with it's own romdir=. first six characters of magic# must be 484252. the last to can be random. 2019-02-07 18:34:30 -06:00
Fledge68
ce60043630 - backgrounds for sourceflow tiers and selected sources are now working properly.
- added option to use theme subfolders for the backgrounds. put a folder named the theme in the backgrounds folders and put your images in it. these backgrounds will only load if using that theme.
2019-02-04 12:08:18 -06:00
Fledge68
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
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
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
2280abdd29 - fix game/banner sound sometimes memory leak. now properly clearing game/banner sound from memory.
- fix for gc banner sound options previously added to page 11
2018-12-26 14:24:01 -06:00
Fledge68
ab4c6a3ceb - now using font.ttf in imgs folder as wiiflow lite font. hoping it looks better than the wii default font. 2018-12-26 12:07:16 -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
5391a576c0 - update version to 5.1.0 2018-12-17 13:46:56 -06:00
Fledge68
5c0590db56 - minor text changes for cover and banner downloading. 2018-12-12 18:16:42 -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
8d0436c177 - now when wiiflow's language is changed it will auto reload cache so game titles will also be changed. 2018-12-09 15:16:54 -06:00
Fledge68
3d774c105c - fixed issues #37 and #38 to prevent a crash if you don't have a source_menu.init
- now each plugin can remember the last game selected unless you select multiple plugins at once.
2018-12-01 18:39:33 -06:00
Fledge68
bfdde07fc1 - fixed progress bar for cache covers. 2018-11-27 18:08:23 -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
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
46b4a4743c - now at v5.0.1 2018-11-16 15:43:13 -06:00
Fledge68
6dca85ef85 -fix for issue #18 plugin view will properly remember last game played when using wii, gc, and channel plugins.
-fix for issue #17 default theme name no longer all caps.
-fix for issue #16 channels type setting default text fixed.
-fix for issue #15, #14, #13 - all settings are fixed to show yes, no , on, off correctly
-fixed unused parameter warning in sys.c when compiling
2018-11-16 15:38:48 -06:00
Fledge68
ca7a6598fe -missed a few %08lx. got them all now 2018-11-15 09:45:04 -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
e133c49836 -since wiiflow (lite) can no longer work in neek2o mode i cleaned up the code for exit to Neek2o on the exit to menu.cpp
-also cleaned up the code for setting the current emu nand path.
2018-11-09 16:09:07 -06:00
Fledge68
056aa2735b -fix wii games default partition for first boot of wiiflow (lite). so if you have sd and usb on first boot it is set to the one with a wbfs folder or wbfs file system. 2018-11-06 16:13:06 -06:00
Fledge68
01e7899c69 -now at major version 5
-removed svn revision number. no longer needed.
2018-11-05 14:29:31 -06:00
Fledge68
bc19bb6c34 -added auto cache covers and banners when you start wiiflow for the very first time or do a reload cache. don't worry it doesn't delete all your cached covers and recreate them. it only makes them if they don't already exist which would be new games you may have added. 2018-11-05 13:57:01 -06:00
Fledge68
2594e9505c -added one more missing compiler directive from last commit.
-fix to keep blank source menu buttons from being added to source_menu.ini
2018-11-05 05:46:35 -06:00
Fledge68
c48ea85348 -added ability for music plugin to play playlist files (.pls or .m3u)
edit your music plugin ini. change the filetypes line to include .pls for example:
filetypes=.mp3|.ogg|.pls|.m3u
2018-11-03 10:03:58 -05: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
b93ace2b6b -added optional gamesound for each plugin rom/game. they must be mp3, wav, or ogg. put them in wiiflow/gamesounds/{coverfolder} with same name as the game including the extension. example:
sd:/wiiflow/gamesounds/snes9x/donkey kong country.zip.mp3
2018-10-17 13:01:54 -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
de02d03e03 - moved sourceflow flow=x to go under [GENERAL] of each source menu ini. 2018-10-15 12:23:02 -05:00
Fledge68
1067ec3095 - changed wiiflow lite splash image from purple to blue. thanks wesmods! 2018-10-15 11:59:07 -05:00
Fledge68
0d213f9b0e -added the ability for users to set the default/global gamecube settings for devo emu memcard, nintendont emu memcard, and nintendont wii u widescreen. under main settings pg 3 gc default settings. this means users will no longer have to manually edit wiiflow lite ini in a text editor for those settings. 2018-10-15 09:23:34 -05:00
Fledge68
972cbc218c -added option to change sourceflow background with every new tier. add the following two lines to your source menu ini's:
[GENERAL]
background=filename.png (or .jpg)

and place your background images in wiiflow/source_menu/backgrounds
2018-10-12 17:16:52 -05:00
Fledge68
10f3429b29 -added the ability to go back a source menu/flow tier by pressing minus controller button and plus controller button to go back to base tier. 2018-10-08 13:21:56 -05:00
Fledge68
1f463f9f50 -now compiling with devkitppc r30 and libogc 1.8.19. this fixes the time() issues that occurred with r31 and r32 and libogc 1.8.20. 2018-10-08 06:29:08 -05:00
Fledge68
d8964cf185 -fixed some minor issues with pressing B for source menu/flow.
-fixed some minor issues with showing homebrew flow and exiting back to sourceflow or previous flow.
2018-10-03 12:51:57 -05:00