Commit Graph

191 Commits

Author SHA1 Message Date
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
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
9f7ef01f79 * Make remove Wii games safe again for ppl that don't have their games in subfolders
* Close disc after installing a game
2012-05-04 08:04:23 +00:00
fix94.1
7e4ca9a773 -reverted overjoys change about gc audio streaming because
it broke it
@overjoy:
I tested the place where it was well enough, I tried to move
it but you can't, you need to set it directly if you want or not,
install plain mios v10 and you'll see there is no other way
2012-05-04 05:09:40 +00:00
overjoy.psm
0e4ab68f4a * Fixed game installer for Wii games in issue: 48
* Fixed game installer for Wii games on partitions with sector size other than 512
* Fixed removing Wii games (issue: 41)
* Cleaned up some useless stuff
2012-05-04 03:10:17 +00:00
fix94.1
eaf62500a9 -FINALLY added wii game launching support for 3TB HDDs 2012-04-27 22:55:17 +00:00
fix94.1
889a42adee -updated wiiflow code for new libogc git
-added proper pal 480p patch in DML games, if you
want to use new DML v1.0, set your games to either PAL 480p
for PAL games or NTSC 480p for NTSC games, also in the 
wiiflow.ini make sure you set dmlr52+ to no in wiiflow.ini
2012-04-21 20:32:31 +00:00
fix94.1
4b70662739 -added 3 missing \n in debug prints (not interesting for
people who dont debug wiiflow :P)
-updated danish.ini (thanks nibb)
-updated french.ini (thanks Jiiwah)
2012-04-03 15:23:29 +00:00
fix94.1
137256fc70 -changed and cleaned up GC disc booting, should be faster
now
-updated german.ini
-updated italian.ini (thanks xFede)
2012-03-18 13:29:17 +00:00
fix94.1
02c58ebe04 -fixed broken gamecube disc dumper and made single disc
games installable again too
2012-03-17 22:32:53 +00:00
overjoy.psm
7dec8ecf26 *Added support for GC Multi Game DVD's to GC Ex Dumper 2012-03-09 18:15:07 +00:00
overjoy.psm
bf39d8e26a * The second disc of a Gamecube game that comes with two discs is now marked as "disc 2" in coverflow
* The GC Ex Dumper will now wait after the first read error so the user can eject the disc to clean it
* Added a check to the GC Ex Dumper that sees if the disc is ejected by accident
* Fixed free block/size calculation for GC Ex Dumper
* Fixed some thread messages
* Again some code cleanup and minor fixes
* Updated dutch.ini
* Updated english.ini

NOTE: The GC Ex dumper will only wait after the first read error. If the disc still contains errors after it's cleaned the dumper will stop the process or continue and lose the unreadable data in "skip on error" mode
2012-03-09 02:47:41 +00:00
fix94.1
63dbed3f68 -changed a few things about the addition in r183 again, if
you want to have the gamecube games in the usb folder
"ngc" you now also just need to set the ini to "ngc",
no need for "%s:/ngc" anymore (thanks r-win for few tips)
2012-03-07 21:03:27 +00:00
overjoy.psm
5ff5952db3 GC Ex Dumper:
* Fixed progress bar for games that come with 2 discs
* Dumper now uses a much smaller buffer when "skip on error" mode is on
* Added __WaitForDisc function to cleanup a lot of code
* Cleaned up some more
2012-03-07 02:05:57 +00:00
fix94.1
9472bd3d59 -added possibility to use another folder for
gamecube games on usb, its a new config entry
in DML section, dir_usb_games, default is the
"games" folder. If you want for example "ngc",
change the value to "%s:/ngc". (issue 19)
2012-03-06 21:04:23 +00:00
fix94.1
b23d86b5bc -added more accurate progress bar for copy
gc game from usb to sd
-made the gc disc installer progress bar more
accurate too ;)
-deleting a gamecube game will now delete all
files found in the directory, more accurate lol
2012-03-05 09:48:13 +00:00
fix94.1
5aef0bed27 -set compressed dump and write ex files to yes
by default
-updated and cleaned up gamecube disc dumper, in
compressed mode it now shows the percentage of how
much wrote in size instead of the files wrote, this
avoids confusion why it freeze at some % and is more
accurate
2012-03-04 13:22:36 +00:00