Commit Graph

207 Commits

Author SHA1 Message Date
fix94.1
f527735c54 -added music resume after ios reload/enabling nand emulator 2012-09-15 21:20:22 +00:00
fix94.1
d7e5460f31 -added thread for IOS58 mode which reads a random sector from the
usb hdd every second if the hdd is more than 20 seconds idle to
keep it alive, it gets resetted as soon as wiiflow does some action
with it
2012-09-11 17:09:14 +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
fix94.1
13e2493b19 -if wii gets turned off do a full shutdown and ignore standby 2012-09-08 16:55:04 +00:00
fix94.1
e229aca6a5 -WIP moved code to load channels into external game booter 2012-09-07 20:10:04 +00:00
fix94.1
794fc9cca6 -added temporary reload to cIOS for game install and emu nand mode
when in IOS58 mode
-corrected a bug that the usb hdd does not get hooked up properly
after IOS reload
-small cleanup
2012-09-05 15:52:32 +00:00
fix94.1
5b955bbeed -fixed possible bug on usb remount if IOS got changed
-proper shutdown of devices on wiiflow end (boot game, exit to, etc)
2012-09-02 11:51:26 +00:00
fix94.1
65abbfbb4b -auto reload to cIOS on disc game boot for backup disc support
-cleaned up this and that
2012-09-01 09:34:18 +00:00
fix94.1
db0ca2e965 -added support for 3 more 2 disc gamecube games for installing
(thanks etheboss)
2012-08-31 19:25:49 +00:00
fix94.1
f1b6ce3b8a -fixed theme reloading sometimes didnt work properly
-fixed return from plugins, homebrew or devolution killed wiiflows
proper nand management
-fixed devolution boot with ios249
2012-08-26 16:23:35 +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
a3bf8fff5a -fixed booting IOS reloading games properly
-fixed booting channels from wiiflow neek mode
2012-08-25 22:09:11 +00:00
fix94.1
90b4b24c2e -fixed booting wii games from sd card
-fixed booting devolution without AHBPROT patched out
-cleaned up some stuff
2012-08-25 15:10:57 +00:00
fix94.1
526d94a360 -added new option in wiiflow.ini, "force_cios_load", if it is
enabled wiiflow will always reload to the cIOS even if a normal
IOS with AHBPROT is found (disabled by default)
-enabled skip_list_check by default
-cleaned up a bit
2012-08-24 18:01:40 +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
6723f00181 -WIP stuff, dont report bugs please with this rev :P
-if a IOS is found which got the AHBPROT patched out, wiiflow will
run on it (for example if you boot wiiflow via HBC, it will boot
with IOS58 instead of 249)
-on game boot or on entering emu nand, wiiflow automatically reloads
IOS if necessary
-added check to only reload IOS if its really a different one
-removed SD card gecko log buffer allocation, using some 
buffer in dol directly (should allow longer logging, untested)
-set wiiflow optimize level back to -O2
2012-08-23 22:29:15 +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
fix94.1
6639e1977c -added re-enabling mem2 protection after patching out AHBPROT 2012-08-22 15:29:42 +00:00
fix94.1
14d4efe478 -added magic patcher of gx (thanks giantpune) this should make it
possible to always have full NAND access no matter which IOS is
loaded currently
-fixed the sometimes again flashing wait message on game boot
-added some proper ISFS init and deinit methods with debug prints
2012-08-21 16:33:44 +00:00
fix94.1
e441320b8d -fixed installing gamecube games with a disc two
-fixed booting wii games in neek mode (thanks skidau for finding the problem)
2012-08-19 14:06:09 +00:00
fix94.1
219c29acbe -fixed bug wiiflow retries to install a gamecube game which is already installed without possibility to stop it
-disable full screen banner in plugin and homebrew coverflow (issue 110)
2012-08-19 10:07:51 +00:00
fix94.1
7a1b39ee1b -fixed wiiflow crash on installing gamecube games with ":" in name (issue 98) 2012-08-19 09:45:57 +00:00
fix94.1
09fb55ae74 -reloading IOS to IOS58 before booting homebrew/devolution
-added AHBPROT patch before reloading to IOS58 (thanks postloader)
2012-08-18 13:38:25 +00:00
fix94.1
088ae57074 -fixed wii game installer 2012-08-17 15:48:11 +00:00
fix94.1
0e5a5b4abd -fixed banners random crashes and codedumps
-WIP commit for wii game/channel booting, now uses a internal
extra dol file to boot wii games and channels, that should be a
better way to fix game and channel booting
2012-08-12 21:26:24 +00:00
fix94.1
f44356b0c3 -fixed neek2o mode (oops) 2012-08-11 12:43:27 +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
5cd988fe23 -fixed banner keeps playing on delete game (issue 117)
-small changes on wii game booting
2012-08-10 13:47:05 +00:00
fix94.1
9f9c455aa9 -added some trick to get all wii games to work without booting
problems or blackscreens (test it please)
-changed play button in full screen banner back to the right side
(jiiwah, why you changed that? It's right in the system menu)
2012-08-09 19:50:59 +00:00
fix94.1
4932949a3a -fixed booting wii games from disc
-moved a few debug prints, also added disc id check for wii games
playing from a wbfs partition (before it just checked on fat32,
ntfs and ext2 if the readed in disc is correctly opened from cIOS)
-made ogg lib using MEM2 only (as we did in the previous update
with the sound buffers)
2012-08-05 16:10:32 +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
88955e9461 -changed the memory management yet again, now just use the mem
which has enough space left instead of fixed memory in most parts
-fixed alot of things about banner playing, now shouldnt randomly
codedump anymore or things like this, also some banner sounds
which did not play before should work fine now
-removed unused code and added better debug prints
-using some fixed voice for game banner and not always a new one
per banner
-fixed DIOS-MIOS cheats for sure now :P
-fixed possible memory allocation bug in wbfs alloc (thanks to
cfg-loader)
-removed MEM2_memalign since it did not work correctly
-fixed a few wrong memset sizes
2012-07-27 17:26:49 +00:00
fix94.1
4e81ca8651 -removed unneeded device mounting on wii and channel booting
(should fix games like black ops)
-fixed booting wii games from sd card
2012-07-26 00:00:49 +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
6cb919c7ae -writing priiloader magic word into new memory region as well now
for priiloader 0.8 beta 4
2012-07-23 15:29:26 +00:00
overjoy.psm
55e174b512 - ISO's for GC games that come with 2 disc are now dumped in 1 folder
- If a 2 disc GC game is launched with Devolution, tell Devolution the location of the 2nd disc*

* Use Wiiflow's game installer to backup your GC game

- Made check for Devolution more safe
- Added some neek2o magic (neek2o r90+ required*):
* Added an exit option to neek2o
* Added an option in gameconfig menu to launch vc/ww titles from wiiflow nand emulation in neek2o instead of cIOS
2012-07-22 18:02:56 +00:00
fix94.1
0b1562fcdf -dont use frag list on wbfs partitions, they are not needed
-fixed booting games from wbfs via waninkoko cIOS r17 or older
-fixed partition handle wbfs detection
2012-07-20 21:18:29 +00:00
fix94.1
8d099e9041 -added back debug HDD size/sector info (more fancy this time :P)
-added debug SD information if found or not and if in __io_wiisd
mode (for dolphin-emu, neek, hermes ios)
-added automatically test if __io_wiisd mode works (no need to
overwrite things anymore to test that)
-added more intelligent IOS check (stub check, version check)
-removed unneeded cIOS information in neek mode
2012-07-20 20:12:25 +00:00
fix94.1
7aac10d1ec -using force cIOS detection again, should fix problems with some
fucked up cIOS maps
-changed the AUTO IOS selection again, if the game doesnt need
IOS57 it will just use the currently loaded cIOS instead of a
IOS56 based one
2012-07-20 12:30:18 +00:00
fix94.1
3ade778445 -fixed bug in setting video mode 2012-07-19 20:23:57 +00:00
fix94.1
f45e70c7d3 -changed a few things about isfs and usb, also removed
the disable mem2 wrap
2012-07-18 16:43:28 +00:00
fix94.1
5640028b17 -lets use the old gui_sound.cpp, because we shouldnt force set
the memory we use for them, not that we get problems
-added debug prints about how much mem left before and after
cleanup
-updated devicehandler, partition handler and usb code to the 
latest usb loader gx one, should give more compatility and
port 1 support (not enabled yet)
2012-07-18 14:09:28 +00:00
fix94.1
c3c02ac862 -shutdown IOS subsystems as we do in wii games and channels also
if we boot homebrew and devolution
-fixed stupid bug which may made a problem with devolution (thanks
stfour for finding it)
-dont init mload on waninkokos cIOS which is older than r18
2012-07-17 11:30:08 +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
944f784c0a -added simple dolphin-emu compatility, simply comment in the
#define DOLPHIN in the defines.h and compile
2012-07-14 16:19:41 +00:00
overjoy.psm
cd156d17b7 WIP commit: Added support for neek2o (rev 88 and up) 2012-07-13 13:16:13 +00:00
fix94.1
ac3816d7e9 -only enable gc streaming if we actually boot a disc
-moved ios reload block call directly behind return to channel call
2012-07-12 00:34:32 +00:00
fix94.1
5254ace17c 2012-07-06 00:36:45 +00:00
fix94.1
e3b66dc340 -added new pal video mode to patch for pal2ntsc patch which
hopefully makes it working better
2012-07-01 21:33:35 +00:00
fix94.1
d0b57d4161 -changed video mode options, now should be more clear
what they do ;)
-fixed bug of game crashing when selecting progressive
as video mode (issue 94)
-updated german.ini
-updated english.ini
-updated theme default.ini
note: if you have the problem of overlapping options, then
its most likely a outdated default.ini, try updating to this
one and see if the problem is fixed
2012-06-28 13:05:31 +00:00
fix94.1
ed5b21d418 -give JoostinOnline the feeling of being some good coder AKA
make him stop complaining about some uneeded changes :P
2012-06-20 16:45:25 +00:00
fix94.1
18373f9f3d -more powerful detection if gamecube game is installed on
sd card by reading the sd card directory (bit slower though)
-made list cache a bit smaller again by using more general
settings, dont forget to reload list cache
2012-06-17 10:22:00 +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
fix94.1
c088fd969b -lets use the video patching of r239 again, hopefully it works
yet again
2012-06-15 14:27:18 +00:00
fix94.1
5457c30a83 -homebrew coverflow view now uses folder names instead of
small and uppercase IDs for cover name and cache (issue 72)
2012-06-14 20:59:18 +00:00
fix94.1
ec69ecb55f -lets use libogc svn r4902 again, sure the new libogc got some
nice additions but its just too unstable for wiiflow
2012-06-14 15:27:57 +00:00
fix94.1
c9310a652d -corrected pal50 video mode too small 2012-06-13 21:56:53 +00:00
fix94.1
bd7d0a5374 -fixed exit wiiflow freeze 2012-06-13 21:16:36 +00:00
fix94.1
e4bb926948 -should have fixed all video problems now, using custom video
files based on libogc svn r4902 instead of the current libogc
ones, using the best of both :P
2012-06-13 20:30:35 +00:00
fix94.1
2782a51ce0 -hopefully fixed strange white lines in picture 2012-06-09 14:33:22 +00:00
fix94.1
8e4bc53c21 -moved some things because of possible graphical problems 2012-06-09 11:06:47 +00:00
fix94.1
0f2ca0c34a -plugin games now also can stay zipped for cover downloading,
crc will be read from the zip header, still 7z needs to be
extracted
2012-06-08 21:25:54 +00:00
fix94.1
c9932a1b28 -code cleanup, removed six (!) unneeded source files
-added in the framebuffer cleanup again, why it was taken out
overjoy?
2012-06-07 18:18:21 +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
05e8e8f12c -added some missing free line, may fixes some problems 2012-05-31 11:02:23 +00:00
fix94.1
04a2542ed6 -re-added video setup after configure 2012-05-30 14:06:17 +00:00
fix94.1
bf26e129d9 -added check for homebrew if the wiiflow loader channel is
installed, if not just return to system menu
-removed return_to_wiiflow from wiiflow.ini, not needed anymore
2012-05-27 16:37:52 +00:00
fix94.1
6a64e8cb86 -added possibility to delete files in emulator coverflow
-using global variables for magic words now
2012-05-24 18:48:26 +00:00
fix94.1
4d1f861381 -fixed ios reloading games 2012-05-24 16:48:24 +00:00
fix94.1
b0e0b005b3 -little modification on video cleanup (we dont need to wait
for vsync if we set black anyways :P)
-added WII_Initialize(); before sys_exit and dml boot,
without we may get a blackscreen
2012-05-19 12:58:43 +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
55f8c0bf95 -fixed greenscreen, moved mem2 init back (no idea what the problem
there was)
-fixed random game flickering on return to wiiflow, doesnt work
for everyone still ;)
-removed dsp deinit, dont see a reason for that anymore
2012-05-18 22:22:05 +00:00
fix94.1
f29a014ac0 -cleaned up mem allocs a bit, also corrected wrong display of
usable size in mem1 region, also fixed a fatal bug in it,
some bug is still in it...
2012-05-18 16:55:04 +00:00
fix94.1
eb2a6158bb -limiting mem1 usage (we dont have that much in mem1 so 11mb
approx are enough) also readded memory cleanup before booting
a wii game to make sure games work
-added some small check to see if path is valid, sometimes
it codedumped on game path check
2012-05-18 14:10:37 +00:00
fix94.1
1b2842931f -clearing framebuffer before displaying image, should prevent
from strange startups
-replaced a few not needed definitions in code
2012-05-17 16:21:16 +00:00
fix94.1
f98ca361e8 -moved down frag list to mem1 and also use mem1 memalign as it
is properly needed
2012-05-17 14:39:27 +00:00
fix94.1
f94e65a54d -proper cleanup of video now, no more greenscreens should come
on game booting
-moved partition read buffer on game boot to mem1, faster
2012-05-17 12:47:27 +00:00
fix94.1
907c68f074 -more memory clearing up, may fixed a bug in wait messages 2012-05-16 21:52:14 +00:00
fix94.1
7714c6e6d8 -changed quite alot of things in apploader (thanks to GX again,
before the NSMBW and Prince of Persia patch did nothing at all)
-fixed typo in wip debug print (before it didnt work at all so
nobody noticed)
2012-05-16 19:29:53 +00:00
fix94.1
bdab5cf650 -whoops removed some pretty important line :P
-using low mem setup of GX, because it got more expainations
what is what and works fine so why now ;)
-allocating memory to find partition dynamically now to prevent
the function from overwriting something maybe in wiiflow
-moved cheat file loading to mem2, because we cant just allocate
the memory *somewhere* as it was before
-categories should be found faster now (thanks yardape8000 for tip)
-we dont need to debug print if we set gecko debugging on or not :P
2012-05-16 16:21:03 +00:00
fix94.1
1b0f97393f -cleaned up booter code 2012-05-16 15:27:14 +00:00
fix94.1
1f5d72f2a4 -fixed missing background music
-back to the entry point we had before
-set up cache to 32 again, seems to make wiiflow faster
-changed few things about memory management again
-made a few free safe again in code
2012-05-16 14:48:01 +00:00
fix94.1
fb7e26b7cf -ok I revert the thing about protection, we dont have proper mem1
things even anymore so its useless :P
2012-05-15 22:34:57 +00:00
fix94.1
c00b684c99 -readded protection of mem region for apploader, should be more
safe now and prolly work even better, hopefully as good as with 
the linker script :P
-readded dsp shudown, some games want to have it so the get it
2012-05-15 22:29:28 +00:00
fix94.1
08a298b0b7 -using cfg-loader entry point now, its a bit lower ;)
-clearing screen properly now, no green screens or things like this
-added a few more low mem settings, fixed a missing flush in set
video mode (thanks dimok)
-partially clearing mem1 too now, using the code of cfg-loader for that
(thanks)
-using asm volatile instead of __asm__ to really call what we want
(thanks dimok for explaination)
-deiniting usb device properly
-shutting down system properly now on game boot, games should boot
more often now, its still not fully fixed
2012-05-15 21:33:53 +00:00
fix94.1
a728a96480 -fixed really cruel bug in memory clearing which cleared nothing
at all :P
-(hopefully) fixed game launching properly
2012-05-15 16:08:15 +00:00
fix94.1
5716a3a225 -removed linker script yet again, hopefully properly this time :P
-modified the wii game launching to work without the linker script
2012-05-14 17:46:56 +00:00
fix94.1
7e453d5b97 -all free should be safe now :P 2012-05-13 17:25:26 +00:00
yardape8000
04c4025766 Added GRB ratings. 2012-05-13 15:36:43 +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
fix94.1
49a31c4f25 -cleaned up code more, set clear priority to alloc in which
memory region
2012-05-12 21:08:43 +00:00
yardape8000
d669a1a17e Fixed "Set USB failed: -6" dug.
Fixed bug where user selected IOS is never actually used, because the configuration file was unloaded before it gets there.

Fixed NAND paths being created with double "/"s.  No real effect because they seem to be automatically reduced to a single "/"

Minor wifi-gecko changes to keep it alive close to the game launch.
2012-05-12 17:14:25 +00:00
fix94.1
1a0908497a -code cleanup and correction, should print more debug messages
than before if problems occur
-replaced most malloc by MEM2_alloc, as well as free and SAFE_FREE
replaced by MEM2_free
2012-05-12 16:03:14 +00:00
yardape8000
32cd3b0cd2 Allow wifi-gecko to work close to game launch 2012-05-11 03:37:56 +00:00
overjoy.psm
f3ae92cbc7 *Added feature to flash game saves on emu NAND back to real NAND
*Added button to extract save from NAND to game config menu
*Added button to flash save to NAND to game config menu
*Fixed some buttons in game config menu
*Cleaned some unused code
*Moved some code to better places
2012-05-10 23:38:34 +00:00
overjoy.psm
7c1093a2b2 And the rest that should have been committed with r323 ;) 2012-05-08 01:05:33 +00:00
fix94.1
16125c94e6 -because some people started whining about the fact the last
change returns to health screen instead of system menu I changed
that now just for them
2012-05-06 18:35:39 +00:00
fix94.1
867ab43530 -fixed broken return to system menu (thanks libogc for such
a huge failcommand)
2012-05-06 16:32:07 +00:00