Commit Graph

264 Commits

Author SHA1 Message Date
wiidev
1ce62ffb75 Optimize images 2020-04-12 19:35:57 +01:00
wiidev
9ad0c6da08 Support paletted images 2020-04-12 19:34:05 +01:00
Fledge68
ee14187e2d - fixed missing cache covers for real nand channels if you add covers manually and do reload cache. Thanks blackb0x!
- fixed crash when pressing 1/x or 2/y buttons (change coverflow layout) when no covers are loaded.
- fixed hiding the wait loading animation when using source menu on start.
- fixed exiting source menu on start via B button so covers show properly.
- fixed using homebrew icon.png's with transparency as covers for smallbox by restoring some old code I didn't understand. But ... sometimes the icon.png textures (.wfc) are saved as empty black boxes.
- if you get an empty black box for your homebrew cover image you can select the cover and click the 'X' delete icon. it will not delete your homebrew app but will instead delete the cover texture file (.wfc). Then you can do reload cache and hopefully your cover will be fixed.
- tried fixing cacheing covers after downloading them. works sometimes. It's a low free mem2 error if using rhapsodii shima theme and having a lot of games. if covers do not appear after downloading then i suggest rebooting wiiflow and doing reload cache first thing or switch to wiiflow's default theme and then download the covers and then switch back to rhapsodii shima theme.
2020-04-08 12:06:21 -05:00
Fledge68
19c11f1c85 - reverted change in 5.4.1 that made video output a little blurry.
- reverted change in 5.4.0 that may be the reason some users have issues loading games from sd card. especially on vWii.
- changed wiinertag to riitag and cleaned up code for it. More info here - https://gbatemp.net/threads/riitag-gamertag-for-wii-replacement-for-wiinnertag-and-dutag.559500/
- removed dutag
- changed optimmization from from -os to -o2 to hopefully compile better.
- other minor code cleanup.
2020-03-19 17:38:32 -05:00
Fledge68
53a06c0f8d - fixed cacheing scummvm covers
- fixed setting scummvm cover's color via plugin
- now scummvm list is cached like all the other lists. but still does not use custom titles or titles from the plugins data xml.
- fixed the random bug where covers sometimes were not cached.
- fixed minor memory leaks via gametdb.cpp
- fixed an issue with using custom backgrounds via source menu.
- added the ability to move to next and previous game while on game info menu by using the controllers '+' and '-' buttons
- added the ability to launch a game directly from the game info menu by pressing 'A' on the controller.
- added the abilty to launch super smash bros melee via nintendont slippi. manually edit wiiflow_lite.ini by adding use_slippi=yes under [GAMECUBE]. google nintendont slippi and slippi project to learn about it.
- upped to version 5.4.1
2020-02-02 14:25:05 -06:00
Fledge68
1a4a5e0e93 - Set to v5.4.0 2019-12-25 10:05:32 -06:00
Fledge68
df81ad9f22 - fixed GetTitle for plugins to get title in current language if available otherwise default to english.
- also cleaned up GameTDB.cpp
2019-11-18 09:27:21 -06:00
Fledge68
d22b1e26a7 - fix to keep check boxes selected when not using the pointer. 2019-10-21 17:44:34 -05:00
Fledge68
8bfe832e61 - removed some unused coverflow stuff. no longer needed. 2019-10-20 16:06:19 -05:00
Fledge68
8202b28a1a - fix hide animation of game snapshots and main screen favorites star. 2019-10-19 18:45:51 -05:00
Fledge68
c33e07076d - code cleanup so custom banners and snapshots and game info snapshots all work nicely with each other.
- fixed source menu/flow to remember tier filenames and the last selected button from each tier. tier names and button numbers are saved in wiiflow_lite.ini under [SOURCEFLOW] so when you return to wiiflow everything will be as it was when you left.
2019-10-16 18:22:40 -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
8a01942785
Merge pull request #105 from Muzzarino/patch-1
Update coverflow.cpp
2019-07-08 09:06:14 -05:00
Muzzarino
dd7a7b480d
Update coverflow.cpp 2019-07-03 03:00:18 -07:00
Fledge68
07326391df - minor fixes to coverflow. 2019-06-20 14:41:18 -05: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