Commit Graph

159 Commits

Author SHA1 Message Date
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
2f4c8fb0fd -cleanup stuff
-fixed rebooting wiiflow with holding down b and pressing home twice
2012-10-21 15:28:00 +00:00
fix94.1
74b362e766 -changed this and that, some cleanups, some more corrections
about memory stuff
2012-10-15 19:16:14 +00:00
fix94.1
17b9e10a16 -FINALLY rewrote the game list creator code, the new one is faster
and smaller, I cant promise its bugfree though :P
-fixed wiiflow autoboot feature (for programs like crap)
2012-10-03 21:34:37 +00:00
fix94.1
3420882624 -general code cleanup 2012-09-22 13:47:52 +00:00
fix94.1
acb1e5a651 -added message about current song playing on song start/change,
it will fly in for 3 seconds and then fly out again
2012-09-16 13:41:31 +00:00
fix94.1
6e9b705ce2 -fixed possible codedump
-updated german.ini
2012-09-16 09:55:32 +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
fledge68
49ada11bb9 -Fixed homebrew mode saving current item
-Fixed favorites_on_startup.  renamed it save_favorites_mode. defaults to off. set to yes and wiiflow will remember if favorites was on or off for each view/mode. Still can be set on page 4 of config menu.
-Fixed favorites and parental lock for plugins.  Parental lock might come in handy for movies. 
-And restored save for categories_v4.ini on exit of wiiflow
2012-09-11 12:01:07 +00:00
overjoy.psm
37787dbcd9 NAND Emulation:
- Fixed Nand Emulation from SD-card.
- Fixed "CheckSave" functions.
- Fixed feature to flash a save file from emulated NAND back to real NAND.
- Some minor code cleanups and bug fixes.

neek2o: (neek2o r93+ only)
- Fixed return to channel function for titles on emulated NAND
- Added an option in wiiflow.ini: launchwiiflow in "NEEK2O" domain
  If this option is set to "no" the "exit to" option in home menu 
  will launch neek2o SM instead of the "DWFA" channel.
- If the return to channel option is set.. neek2o will return to 
  that specific title if that title exists on the emulated nand, even
  if the title was launched from real NAND.
2012-09-09 22:38:42 +00:00
fix94.1
4e345b651f -cleaned up that exit to code 2012-09-09 18:35:15 +00:00
fledge68
b6b22aae27 - re-added b_on_mode to source menu option. 2012-09-02 13:12:37 +00:00
fledge68
c70e2f5c84 - removed b on mode and b on home buttons to source menu. b on mode still switches from real nand to emu nand and back 2012-09-01 14:27:49 +00:00
fledge68
f90a4eedd7 - Categories update.
- now you can have as many categories as you want.
- copied the idea of selected, hidden, and required categories from USB Loader GX. Thanks Cyan. Checkmark = selected, X = Hidden, and + = Required.  
- redid categories.ini layout and renamed it categories_v4.ini so you can copy and paste settings from the old one to the new one. Each view (USB,DML,EMU,NAND,HOMEBREW) has it's own numcategories, category names, and category settings. All games are now seperated based on the view. Don't forget to add 1 to numcategories for the show All mode.
- Replaced All checkbox with CLEAR button which clears all checkboxes so no category is selected and all games will be shown.
- Added features to the Game Selected Categories Menu.  Now the title is the title of the current game. You can now press plus(+) and minus(-) on wiimote to go to the next or previous games without going back to previous screen making it easier to setup categories for your games.
- note: all changes will not be saved in categories_v4.ini unless you exit wiiflow or launch a game.
2012-08-31 17:51:49 +00:00
fix94.1
9a1f56de1d -fixed copy gamecube games from sd to usb, to use that feature you need to have DIOS-MIOS Lite installed and either dont have Devolution installed or set the game loader explicit to DIOS-MIOS
-fixed banner was not automatically hiding in gametdb, delete game question, copy game from usb to sd question, trailer and favourites settings
-cleaned up some stuff again
2012-08-26 15:20:51 +00:00
fix94.1
75ff081c0c -fixed wiimote doesnt properly resync on entering emu nand
-fixed installing gamecube disc 2 with wiiflow installer
-fixed exit to neek2o for people who got their nand in a folder
-some general cleanup and speedup
2012-08-26 12:05:04 +00:00
fix94.1
99a2f9faad -corrected a few wrong things from r673
-use the devolution sample loader device mount way to read the iso
(may fixes bugs in booting devolution)
2012-08-24 13:50:17 +00:00
fix94.1
4664af265f -made exit to neek2o more safe to use (codedumps should be gone) 2012-08-22 19:09:21 +00:00
fledge68
a31fb36a37 - Finally fixed 'b' to source menu the correct way. now just press 'b' and release. Thanks Maxternal. No need to hold it or point at anything. But don't worry b on mode and home buttons are still there but there's really no need for them now. 2012-08-21 14:30:42 +00:00
fledge68
85ff18bd8d - Now we can hold 'b' for source menu even if wiimote gestures is enabled. Which means we should be able to remove 'b' on home button and 'b' on mode button. 2012-08-17 14:42:37 +00:00
fledge68
30af787956 - fixed holding 'b' for source menu. Now if you hold 'b' and press the d-pad, plus, or minus buttons the source menu won't show up until you release the 'b' button and hold it again with out pressing any other wiimote buttons. 2012-08-17 14:16:58 +00:00
fix94.1
5cef9d88e6 -fixed the background music issue FINALLY the correct way, found
the core of the problem :D
-made background music code easier and smaller, cleaned it up
2012-08-15 22:33:54 +00:00
fix94.1
af8c83dd7c -fixed wiiflow reboot crashes after new theme selection
-may fixed some boot problems of games, channels, homebrew, etc
2012-08-13 16:30:34 +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
fledge68
c5a19ee450 -cleaned up startup code for main menu.
-fixed spelling mistakes in menu_cftheme.
2012-08-06 16:46:16 +00:00
fix94.1
971b5bdb52 -improved jpg support, now the cover width and height dont need
to be divisible with 4 anymore, you can use what you want
-moved sound buffers back in mem2, idk but for wiiflow it gives
a better result
-added mem2 memalign placeholder for new memory manager (after
a week still everything but finished)
-updated other small things, cleaned up source structure a bit
2012-08-05 13:48:15 +00:00
fix94.1
a36fab3cdd Making things ready for official wiiflow svn ;)
-made wait animation faster
-removed a few unneeded lines in the wait message code
-fixed booting wii games from disc
-fixed possible bug in wii game launching in general
-gecko output again on wii game booting
-converted alot of spaces to tabs, fitting the general wiiflow
coding style
-general cleaning up things
2012-07-25 22:12:17 +00:00
fix94.1
e8c66b7278 -added jpg file support for game covers and themes, if no .png
is found, it will just replace the filename extension with .jpg
and try it again, the jpg file width and height need to be
divisable with 4, otherwise wiiflow will just ignore the cover
2012-07-22 22:10:17 +00:00
fix94.1
6ae58ae3de -added back basic hermes and wanin cIOS support, you can now load
wii games with them again and you also should be able to boot
wiiflow using another ios than d2x
2012-07-16 14:05:57 +00:00
fix94.1
0857cdde64 -switched to more compatible neek check
-lets disable nand emu if we exit wiiflow
-also disable nand emu if nand emu is disabled (d'oh!)
-removed unneeded debug prints in neek mode
2012-07-15 17:35:37 +00:00
fix94.1
d46f534c36 -fixed some kinda stupid neek bug
-if NTSC-J gamecube game is detected, use another memory card
file for devolution memory card emulator
2012-07-15 12:43:45 +00:00
fix94.1
742477d0cf -if in neek mode dont use nand emulator at all and also dont
shutdown devices on game boot
2012-07-15 00:05:23 +00:00
fix94.1
aeafda53a0 -if devolution bin is found and diosmios is not installed
display gamecube coverflow button still
-added possibility to set diosmios video patching way,
video_setting in wiiflow.ini [DML] section, if set to 0
it will disable all video settings of diosmios, if set to 1
it will use the auto setting (default) and if set to 2 it
will force the video mode
2012-07-12 15:53:04 +00:00
fix94.1
3aa8dde58d -set optimize level of wiiflow from min size to max speed,
sure the dol is bigger but therefore wiiflow is more stable
-fixed exit to doesnt work with parental lock enabled
2012-07-10 15:41:34 +00:00
fix94.1
1ad14ce248 -fixed possible bug in memory allocation (thanks megazig for
hints how to debug better)
-made the global cleanup less unstable
-fixed IOS Reload on game loading codedump
-fixed bug in network init
2012-07-08 13:35:59 +00:00
fix94.1
990479f308 -fixed codedump on wiiflow exit for some people 2012-07-07 13:42:21 +00:00
fedeanto11
f3e90060e2 * Added ExitTo menu, to open it just click on Exit To in Home menu
* Added giantpune and Wii Banner Player Project to credits
* Updated italian, german and spanish translations
2012-07-05 19:57:28 +00:00
fix94.1
e62dcd8a09 -hopefully fixed bg music the last time 2012-07-05 14:27:05 +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
fix94.1
5654d1cd45 -fixed wiimote_gestures 2012-06-21 19:06:29 +00:00
fix94.1
927fec478d -added home menu, it will open if you press the home button/icon,
currently you can access the settings from it, see the about screen,
update wiiflow, reload cache and exit wiiflow (to exit wiiflow you
can also just press home/start button again in this menu)
-removed reload cache with b button on settings icon
-removed update button from about menu
-updated english help file and english.ini
-updated german.ini
2012-06-21 17:28:46 +00:00
fledge68
f6cba49acc -added b_on_mode_to_source option to wiiflow.ini. If set to yes pressing 'b' on mode/view icon will take you to the source menu. 2012-06-21 15:22:17 +00:00
fix94.1
7847704025 -fixed emu nand was not enabled in all cases now, also removed
unneeded debug messages and only enable/disable emu if needed
2012-06-21 14:53:20 +00:00
fix94.1
adbca1113b -if wiimote_gestures is enabled in wiiflow.ini, then the source
menu is opened with pressing b on home icon again
-updated english help file as well for it
2012-06-21 13:23:12 +00:00
fix94.1
149b4fb685 -if you hold the b button for 3 seconds, it will now open up
the source menu
-removed pressing b button on home icon to open source menu
2012-06-21 12:25:47 +00:00
fix94.1
d12e9e84d6 -horribly cleaned up and simplified the whole game list loading
code and process, should be faster now, also the list cache should
take less space now
-using "types" instead of magic word now for internal detection, 
faster and easier to handle
-prepared wiiflows code for custom coverflow which can have all
types together (nothing added yet)
2012-06-16 17:03:23 +00:00
fledge68
21938074f3 - Launch Source menu by pressing 'B' on home/exit icon.
'A' on home/exit icon restored to exit wiiflow
updated help file to show changes
changed Source menu button images size to 120 x 90. no need to redo current images they look fine stretched a little.
2012-06-11 12:28:37 +00:00
overjoy.psm
102157431e * Removed limitations for MEM1 usage
* Moved lots of stuff from MEM1 to MEM2
* Made it possible to select partition for nand emulation (first time config)
* On clean install it will find valid emu nands if they are present in the default folder
* Fixed GameTDB for nand emulation
* Broke background music
* Probably even more
2012-06-07 00:34:47 +00:00
fix94.1
550b6867d0 -display source menu instead of exit wiiflow when pressing
on home icon (untested)
2012-06-01 15:04:03 +00:00
fix94.1
08c4942b77 -we should hide the button still if we have games displayed :P 2012-05-25 22:13:43 +00:00
fix94.1
1bd07dc6dc -fixed bin and iso files not displayed in emulator coverflow
-removed hide settings button if no game found to reload cache
2012-05-25 22:05:38 +00:00
fix94.1
13183666d9 -lalala 2012-05-25 19:48:35 +00:00
fix94.1
67b7d853e9 -changed small gui message
-updated french.ini (thanks Jiiwah)
-updated english.ini
-updated german.ini
2012-05-25 14:54:59 +00:00
fledge68
e93bb49651 - changed source select menu to use images for buttons.
download this rar  http://www.mediafire.com/?2y3cwxakb92napo and put the folder inside in your wiiflow folder. It contains a text file with setup instructions.
2012-05-25 14:21:43 +00:00
fix94.1
bcf1fd48f1 -return to system menu should be a bit more safe now :P 2012-05-22 20:08:56 +00:00
fledge68
bc03c566f2 oops forgot to remove commented lines 2012-05-22 14:18:25 +00:00
fledge68
7c62ef2252 adjusted d-pad mode - now if you select the view you're already on it will show homebrew view 2012-05-22 14:15:34 +00:00
fix94.1
71064e3f77 -forgot to clear gecko sd file buffer on exit, could make problems
-moved this stupid now hide wait message debug print to less annoying
place
-wiiflow wants the dsp shutdown back, so I'll leave it in
-we shouldnt try to alloc mem1 after running apploader, just some
good advice before booting a game, should prevent codedumps
-sd file buffer can be mem1 too, we have enough left
-set mem2 usage to 49mb, thats everything we get anyways
-banner sounds should load faster now, also banner sound
in emulator coverflow when switching game should work again
-forcing check wait thread now on boot, not that the thread
is still working without noticing ;)
2012-05-19 12:29:24 +00:00
fix94.1
0fc21f82a3 -big code cleanup, removed all those SAFE_ and SMART_
thingys and replaced it with their proper calls
-fixed some big memory bugs, downloading much covers shouldn't
be a problem anymore, also memory management should work better
-fixed typo in debug print on game boot, also changed some
things in apploader, making it ready to remove linker script
properly, still in but I hope not for long ;)
-modified wiiflow startup and init order a bit
2012-05-13 15:13:33 +00:00
fledge68
a9622f1516 - added optional startup select source menu. Just set startup_menu=yes under [GENERAL] in wiiflow.ini. Access it at anytime by pressing '+' while pointing at the view switch icon. 2012-05-11 14:17:39 +00:00
overjoy.psm
26a1ca085c Fixed NAND emulation stuff:
*Fixed NAND emulation itself
*Fixed creation of nandpath and title.tmd for some games
*Fixed extraction of game saves for some games
*Cleaned up some code for NAND emulation
*Cleaned up some more unused stuff

Todo: 

*Cleanup NAND emulation code much more 
*Move the last used function in savefile.c to a better place
*Add extraction and flash options to game config menu
2012-05-08 00:59:53 +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
fledge68
31caf39cd2 - re-enabled '1' and '2' buttons for emuflow and brewflow
- updated default.ini to include layouts for emuflow and brewflow
2012-05-04 13:29:08 +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
overjoy.psm
1cb8a493d9 * Enabled nand extract features for full nand and game saves
* Made nand emulation kind of noob prove
* Wiiflow will search for a valid FAT32 partition if nand emu is enabled, but no partition is selected
* Wiiflow will now offer to extract the nand if nand emu is enabled, and no nand for nand emulation is available
* Wiiflow will now offer to extract a game save if nand emulation is enabled, a save is found on real nand and no save is found on emu nand.cpp
* Illegal chars for FAT are now escaped the 'd2x' way in the nand file extractor

TODO:

* Add nand extract functions to game config menu's
* Add feature to flash a save back to real nand
2012-05-02 23:08:11 +00:00
fix94.1
f75ac72826 -reverted changes of r282 again since categories working
now with emulator coverflow
2012-05-01 12:32:14 +00:00
fledge68
f062eff356 - fixed categories page button
- changed d-pad left from homebrew to emu
- disabled categories for emu mode for now to keep categories.ini from getting messed up
2012-04-30 12:38:35 +00:00
fix94.1
61d8ae8c69 -added sort by plugin magic, just press b and plus to
change until you come to by plugin magic, then it should
be sorted by emulator if in emulator coverflow
2012-04-29 20:24:40 +00:00
fix94.1
c68873071d -fixed really stupid bug which didnt enabled nand emu
if pressed b on the emulator coverflow icon
2012-04-29 12:51:16 +00:00
fledge68
565ffb0b86 - Added ability to modify emuflow and brewflow under 'Adjust Coverflow' using Mugoto's code.
- Have disabled '1' & '2' mode switching while in emu mode and homebrew mode so emuflow and brewflow have only one mode and coverflow has 15 still. 
I'll leave it up to Fix94 how many modes he wants each view to have. Fix94 you may want to tweak and fine tune this - it's just a temp solution for now.
2012-04-15 13:47:42 +00:00
fix94.1
09a929a85c -made return to wiiflow from emulator faster and safer, no more codedumps
should come anymore
2012-04-08 22:05:37 +00:00
fix94.1
3092a1aa2a -added basic emulator support into a new coverflow view, "EMULATOR", you can disable it via wiiflow.ini see
"http://gbatemp.net/topic/204106-wiiflow-an-open-source-gui-usb-loader/page__view__findpost__p__4176145"
for the nes, snes and gb,gbc and gba emulator mod needed for it. The games are read from the default
path of the emulators, that would be "fceugx/roms" for nes for example. To display the games, place the
emulator dol from the link above into wiiflow/plugins.
-using miigotus way for homebrew and emulator coverflow now, thanks for that, makes things shorter
2012-04-08 15:54:34 +00:00
fledge68
c97818c8aa - Categories Update. re-added numcategories so you can have less than 20 categories if you want. re-added categories per view (usb, dml,channels, brew,etc..). added press 'B' on fav icon on game selected screen to go directly to game categories just like pressing 'B' on fav icon on main menu. moved 'All' button to lower left. replaced on and off buttons with check boxes - don't worry I already compressed them and they only add 4k to WiiFlow. And a few other minor changes. 2012-04-08 14:48:50 +00:00
fledge68
8d11ae4c1d -added new b_lr_mode option in wiiflow.ini under [GENERAL] for B+L/R.
yes = B+L/R change pages & +/- change songs
no(default) = B+L/R change songs & +/- change pages
2012-03-19 13:14:49 +00:00
entropy
524aee0893 Fix Issue 27: "When in 'channel view' and wiiflow is locked the wrong
icon is displayed".  Thanks for the report.
2012-03-18 23:50:04 +00:00
fix94.1
f10550a11d -only enabling nand emu if we really need it
-cleaned up and corrected dml launch code, cheats
now should work fine in all cases in gamecube games
2012-03-11 19:47:24 +00:00
fledge68
1fb7628da7 -fix for issue 21. simply swapped + and - with B+L/R. Now + and - change song and B+L/R search by page 2012-03-05 17:46:16 +00:00
fledge68
ef879da2d1 -fix for r162 d-pad view switching. Works fine for me but if anyone still has problems just go back to the r121 way. 2012-03-01 13:33:32 +00:00
fix94.1
489a2138e6 -changes about r162, the idea was good but
reloading view even if its loaded is ok, not
that it breaks things like moving around for me
-increased gamecube dumper read buffer to 1mb like
cleanrip has, thanks emu_kidid for confirming its 
faster :)
2012-02-29 14:07:18 +00:00
fledge68
5b203f8252 -small fixes for using d-pad to switch views. Game covers no longer move when changing view and view only loads if its enabled and different than current view. 2012-02-28 17:52:59 +00:00
fix94.1
f1d0386b3c -DML view now can see games on usb too
-added possibility to copy gamecube games from
usb to sd card, after copy process game will be 
started (copy takes 5-10 minutes) (issue 12)
-added possibility to install gamecube games
to usb fat partitions
-fixed game name not displayed in delete game dialog
-changed naming scheme of partition name in top-right
corner in coverflow, now looks like DML [USB1], name
depends on view
2012-02-27 16:05:10 +00:00
fledge68
3c9e16c35e -parental lock fixes 2012-02-18 04:59:01 +00:00
fix94.1
12ac3405ac -using the dpad_mode without pressing A, just select switch symbol
and press the direction on dpad
2012-02-15 17:57:34 +00:00
fix94.1
fe107171e9 -we should use holding down dpad instead of pressing for a better timing ;) 2012-02-14 20:20:38 +00:00
fix94.1
afa67f66b7 -added new option in [GENERAL] dpad_mode to enable coverflow
switching with holding UP for USB, LEFT for homebrew, RIGHT 
for channels and DOWN for DML, if no button is pressed or the
option is not set, it will just use the default coverflow switching
2012-02-14 15:02:51 +00:00
fix94.1
abd7956bb8 -changed switch order to wii -> gc > channels > homebrew (issue 13) 2012-02-13 17:09:26 +00:00
fledge68
431c84f75c -various menu and font fixes
-fixed TITLEFONT display
-fixed TEXTFONT display
-fixed various button animations and sizes
2012-02-10 18:45:42 +00:00
fix94.1
b8208dfb9f -added fledge68 to thanks list, his changes:
-fixed last theme layout not showing correctly
-fixed display color in menu_wbfs for themes
-fixed synopsis only displays right the first time
2012-02-04 21:45:51 +00:00
overjoy.psm
28d10bbcdc * Fixed cache updates for each view when the language is changed 2012-02-03 03:00:13 +00:00
fix94.1
468f678ac2 -sync with wiiflow r418 2012-02-01 22:26:51 +00:00
fix94.1
86ebc3d4f3 -added option to disable channel coverflow mode (hidechannel) in GENERAL section in ini 2012-02-01 20:44:40 +00:00
fix94.1
1a306fb2ed -only opening game info menu if gametdb is present 2012-02-01 17:52:01 +00:00
overjoy.psm
739d7892b3 * Pressing 'B' on 'config button' will now force a cache update for current view
* Added missing break;'s in UpdateCache function (menu.cpp)
* Added missing stuff for DML update
2012-01-31 23:44:54 +00:00
overjoy.psm
2505616944 * (Hopefully) fixed crash in WaitMessage
* (Hopefully) fixed Fanart issues
* Added a way to show mem through gecko
2012-01-30 14:29:40 +00:00
entropy
85854d0bf2 More cache overrides at startup, plus related debugging gprintfs 2012-01-29 23:11:43 +00:00
fix94.1
2f4d8129aa -reverted language detection for gametdb from r42 2012-01-29 20:59:25 +00:00
fix94.1
b38b0ae5a7 -added a "selected" png for homebrew
-compressed pngs even more and also added tools and a batch file to "resources" folder
2012-01-29 12:30:04 +00:00
entropy
1583e55de6 Add option "update_cache" in GENERAL section, to force cache update at startup 2012-01-29 04:25:45 +00:00
fix94.1
713d8f5616 -(hopefully) fixed wrong titles displayed when updating gametdb which sometimes happens
-changed language detection for gametdb (still not complete)
2012-01-28 22:50:00 +00:00
overjoy.psm
a9486b79bf * Moved check for DML to top of the initialization to ensure the check is done on real nand 2012-01-28 20:09:34 +00:00