Commit Graph

56 Commits

Author SHA1 Message Date
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
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
71784050cc - modified comments in game info for plugin rom. easier to understand now. 2019-07-10 07:19:39 -05: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
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
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
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
fbe1de2f4a - minor changes to the 'get rom info' code, but it still works the same. 2019-02-08 16:01:29 -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
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
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
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
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
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
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
a639690822 - removed current IOS/cIOS info from Help Guide. Now only shows when viewing Credits.
- added a space after every comma for displaying genres on Game Info Menu.  before = action,adventure. now = action, adventure. to me it looks nicer.
- replaced info/help button on main screen with homebrew view button.  removed homebrew view button from the choice of views.
- moved info/help button to Home Menu replacing Settings Button which we didn't need two of.
- homebrew/apps view has its own view now. pressing 'A' automatically launches the app, no need for a selected menu to launch app.
- when returning from a launched app wiiflow now displays the Wii game view. before it would go to homebrew view.
- still need to add a config menu for apps view so we can change the partition, smallbox, reload cache, and adjust coverflow.
2016-06-06 13:52:57 +00:00
fix94.1
959d71c186 -exported most images, the homebrew booter and the external booter out of the dol so we gain memory, it now will be used from your sd/usb directly, to now use your compiled wiiflow you need to copy the boot.dol AND folders from the folder "out" into your apps/wiiflow directory 2013-11-19 15:27:52 +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
7477d127f0 -added user theme labels for menu_wad, menu_config_coverbnr and menu_home
-allowing the title when you go into the game info to get to a second line
-removed a redundant line from menu_nandemu
2013-08-11 21:44:29 +00:00
fix94.1
58b1bdae87 -updated the default theme pngs and removed old stuff (thanks Ayatus)
-fixed the font bug if wiiflow finds a font of the same size it would ignore spacing and weight differences
-gave the file explorer the ability to bootup gc/wii iso/wbfs files
-you can now scroll through the explorer pages with +/- too
2013-06-29 14:48:02 +00:00
fix94.1
1a2f1aa028 -some more cleanup and hopefully fix of that strange codedump in
plugin coverflow
2012-12-28 14:19:40 +00:00
fix94.1
4cb521304f -cleaned up some more shit, should give us more free mem and speed
-maybe fixed that strange wii button power off codedump
2012-12-27 20:22:40 +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
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
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
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
f82408249c -fixed too short help and synopsis (issue 146)
-cleaned up and speeded up some stuff
2012-11-01 16:39:42 +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
fedeanto11
c5dbc32d10 *Made "No Gameinfo" translatable -> gameinfo6
*Update FreetypeGX with I4 optimizations(thx Dimok), also cleaned it up
2012-09-05 15:51:09 +00:00
fix94.1
2b32db857a -removed alot of unneeded cIOS checks, saving the info about our
currently loaded cIOS instead
-fixed bug of missing remount if no games are found with enabled
NAND emulation which made wiiflow hang
-added information for neek2o
-removed ios reload on boot when wiiflow is in neek2o mode
-made NAND file extraction MEM2 only
-fixed two not free'd memory allocations which could fill the
memory with unused stuff
2012-08-11 12:27:38 +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
Jiiwah
e6522473d2 - Change of effects and dimensions for some labels and buttons to match better with default theme
- Change DEFAULT to default in menu.cpp
- Updated french.ini
2012-07-28 22:38:46 +00:00
fix94.1
e78f710d1b -updated freetype configuration, now the fonts should look
like with the old versions again
-made a few default theme pics to jpg, you wont even notice a
difference, just in size :P
2012-07-23 13:41:13 +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
fledge68
eaec483ce6 - minor cosmetic changes.
added Miigotu's game info synopsis and about fix.
added Miigotu's multichoice buttons fix - now button font size can be different than label font size.
changed game info genre to display the whole genre.
changed theme choice button to not display in uppercase.
2012-06-27 12:31:48 +00:00
yardape8000
2f97266e88 Added an Age Lock to the parental control menu.
You can select an age from 2-19, where any game rated above is not displayed.  It uses the age from the region of the game.  19 is all games. 2 is basically none, because the rating systems start at 3.  This operates independently from the current per game lock, so you can still use both.  Meaning both conditions have to allow the game, before it will display.

You can override the rating by creating an age_lock.ini file.  Just add the id under the domain heading and set it to an age.  To set Call of Duty: Black Ops to an age of 5 you would enter this:
[GAMES]
SC7E52=5

There is also an age_lock_default in the wiiflow.ini file under [GENERAL].  This will allow you to specify a default rating for games with no rating info.
2012-05-14 05:37:10 +00:00
yardape8000
04c4025766 Added GRB ratings. 2012-05-13 15:36:43 +00:00
fix94.1
6abfa87e0e -replaced all safe_vectors by regular vectors, there is no
need of it anymore, also removed miigotus wrapper
2012-05-06 12:03:43 +00:00
fix94.1
4df672d357 -removed alot of unneeded .c_str()
-replaced alot of sfmt with fmt
-replaced a few sprintf with snprintf
2012-05-04 12:30:43 +00:00
yardape8000
40f3a44fef - Add uDraw icons to game info screen
- Clear old game info so it does not show for games without any gameTDB info.
- Only allow Update to show if not in parental lock mode.
2012-05-03 01:34:56 +00:00
fix94.1
5e18be6598 -added wiimote image for 6 player games 2012-03-03 14:32:14 +00:00
fix94.1
358c3fa298 -updated wiiflow to use new libwiiuse only 2012-02-20 18:04:40 +00:00
overjoy.psm
128254c489 * Fixed label "Genre" in game info. It should now always the show right genre (issue 10) 2012-02-13 00:22:56 +00:00