Commit Graph

136 Commits

Author SHA1 Message Date
fix94.1
a8ba1f8e49 -fixed memory leak in download manager
-keep AHBPROT patched out on channel load
-only if no cIOS is found boot a real nand channel with a normal IOS
2012-12-09 20:21:47 +00:00
fix94.1
e564058569 -use regular ios if booting channels from real nand
(fixes wiiu wii mode and maybe original nintendo channels)
2012-12-08 21:16:05 +00:00
fix94.1
c19f116046 -cleaned up debug message system
-improved wifi gecko (now buffers messages, more stable etc)
2012-12-08 16:17:35 +00:00
fix94.1
470e40a9e6 -using isfs patches of postloader because they are open source
and work just fine with the wiiu wii mode compared to the old one
2012-12-08 00:25:07 +00:00
fix94.1
5028f33930 -added homebrew channel 1.1.1 support
-fixed the exit to option usage in the global settings
2012-12-07 22:40:16 +00:00
fix94.1
f41e01ff87 -fixed some stupid default font bug (it was extracted twice lol)
-added new option, "force_cios_rev" (default 0 (=disabled)), if you 
set it to for example "force_cios_rev=250", then wiiflow will 
use IOS250 for the AUTO setting, for reload when using 
"force_cios_load" and when switching to emu nand in IOS58 mode
-added more detailed debug prints and on screen information about 
the currently loaded cIOS
-minor cleanup in nand get file and external booter
2012-11-12 20:12:00 +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
600437dedf -some more cleanup of things
-added support for wiiflow internal boot method in neek2o,
so you can use cheats, debugger etc if you boot channels in neek2o
(doesnt work if you are in real nand and just select boot neek)
2012-10-20 13:24:30 +00:00
fix94.1
3f55f129a6 -fixed fucked up channel view
-fixed using .wip codes in wii games
-cleaned up this and that
-more compatible way of fixing 002 error (thanks uLoader)
2012-10-19 22:01:30 +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
8f79a359ea -fixed regular neek2o usage (untested) 2012-10-15 05:12:18 +00:00
fix94.1
8cc82998ac -experiment tinyload failed, back to my libogc booter
(however, I'll keep using that awesome loading bar of it lol)
-fixed this strange click sound on game boot
2012-10-14 17:18:13 +00:00
fix94.1
bb1774e2c3 -highly beta, unfinished experiments with tinyload as wii game
booter, dont even think about it to report bugs with it
2012-10-12 22:25:22 +00:00
fix94.1
07bcbe3c1f -removed those warning so nobody gets annoyed by them 2012-10-07 20:10:30 +00:00
fix94.1
85da1d31d9 -changed that list code yet again a bit, possibly fixed a
slowdown in reload cache
2012-10-07 19:59:50 +00:00
fix94.1
cbdd8d7ec8 -added some security checks to list generator
(should fix wbfs partitions)
-removed some other unneeded stuff
-fixed some wrong code in return to
2012-10-04 15:16:04 +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
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
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
0b4ae96eb6 -set version number to Beta 4.0.1
-fixed return to wiiflow in ios reloading wii games
2012-08-27 18:20:31 +00:00
fix94.1
338f552d02 -fixed nand extractor 2012-08-26 12:40:34 +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
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
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
6963b0c637 -set the wait message priority to the highest, that should remove
the problem of the lagging wait message (since the wait message
doesnt take much wii power wiiflows speed should be the same)
-set down wait message stack and also removed the reallocation of
the stack again and again on every display of it
-added security check that the wait message thread is finished 
before removing the thread (should prevent freezes)
-removed a few more unneeded lines of code
2012-08-15 17:43:10 +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
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
e55ab171c6 -stupid svn missed a file :P 2012-07-26 22:15:50 +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
f9a38eff01 -removed a few unneeded emu nand lines
-added option to enable overwrite miis and system config on emu
nand with the ones from real nand (disabled by default)
2012-07-22 19:18:00 +00:00
fix94.1
3ade778445 -fixed bug in setting video mode 2012-07-19 20:23:57 +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
1b7d76177e -fixed wii game just froze on reloading ios
-fixed emu nand codedump on ios reload as well
2012-07-10 11:25:27 +00:00
fix94.1
24899a421a -added proper banner caching using the wiiflow/cache folder, that
means we can properly see if cached or custom banner is loaded
-corrected bug which didnt copy back the banner md5 before writing
banner cache, means all cached banners dont have the security check
anymore
2012-07-05 16:18:23 +00:00
fix94.1
1ce0749a7f -added back banner security checks for regular game banners, only
cached/custom banners wont be checked
2012-07-04 23:31:38 +00:00
fix94.1
dbd6bee944 -added banner caching (always enabled like cover cache) 2012-07-04 18:58:31 +00:00
fix94.1
7f6394fa36 -added custom banner support, to use just place *.bnr files
which either got the ID3 or the ID6 as name into wiiflow/banners
-removed security check for banners since some custom banners are
poorly made and not 100% valid
-on game switching just display blackscreen instead of the old
banner in the time of switching
2012-07-04 13:45:39 +00:00
fix94.1
706e18c6c0 -internal wii game and channel banner playback, still work in
progress, thanks alot to dimok and the whole usb loader gx team 
for help and the code for it!
To zoom the banner to fullscreen click the back button, to zoom out
the back button again, known bugs:
-some games fuck up the textures of buttons (e.g. wii play motion)
-if no wii game or channel was selected and you try to launch a game
or exit wiiflow it will most likely codedump
2012-07-03 16:26:49 +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
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
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
bd7d0a5374 -fixed exit wiiflow freeze 2012-06-13 21:16:36 +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
fix94.1
e233a56d2f -removed two redundant methods
-wbfs stuff is mem1 overjoy as we said :P
2012-06-07 05:14:51 +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
overjoy.psm
d6389153bf *Fixed launching channels on emulated nand
*Nand emulation will also work if emulated nand is on the same partition as the wiiflow executable
2012-05-23 22:09:11 +00:00
fix94.1
0c32d1b0c1 -fixed BASIC(!) channel launching, currently only booting
channels from real nand works here, also return to wiiflow
seems to be broken, but its a start
2012-05-20 12:34:48 +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
7e453d5b97 -all free should be safe now :P 2012-05-13 17:25:26 +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
overjoy.psm
bce19e488e *Removed a stupid piece of code 2012-05-13 00:38:56 +00:00
overjoy.psm
05a95db4db *Reverted something that was introduced in r341. Nand emulation should now work again. 2012-05-12 23:49:00 +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
overjoy.psm
40266a8909 *Saves flashed back to real NAND will now be unescaped the D2X cIOS way
NOTE: Wiiflow can not flash game saves back if illegal FAT characters are escaped out in a different way D2X does. Game saves extracted with Wiiflow are safe to flash back!
2012-05-11 00:07:44 +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
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
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
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
overjoy.psm
3153ef3d2e Build for main svn r428
* Added nanddumper functions (Nand dumper not enabled yet)

* Added an extended check for new installed games which is enabled by default
Since the check takes some time you can bypass the check by setting: 'extended_list_check' in GENERAL section of wiiflow.ini to 'no'
Todo: Add an extended check for removed games

* Fixed a bug ISFS_Initialize() was called before reloading to cIOS

* Fixed long wait time when installing a Wii game @ 100%
2012-04-05 11:00:05 +00:00
overjoy.psm
64773f440c * Some changes and fixes for temp region nand emulation feature 2012-03-17 22:30:16 +00:00
overjoy.psm
a6709f71cf * setting.txt and SYSCONF for temp region nand emulation are now readed from nand (not written to)
* It will now create the path to setting.txt and SYSCONF if they don't exist
* It will now create setting.txt and SYSCONF if they don't exist
2012-03-14 21:09:29 +00:00
overjoy.psm
99f3e035c4 * Added new nand emulation feature:
With this feature it's possible to temp change the region of your Wii console. This makes it possible to play those one region only games that wouldn't play on other region consoles. 

Some games that work now are for example:

The Amazing Race (didn't play on PAL consoles)
Hollywood Squares (didn't play on PAL consoles)
Arthur and the Revenge of Maltazard (didn't play on NTSC consoles)

The feature is now working for Wii games if FULL nand emulation is enabled. The Regionswitch only emulation mode is written for and will only work with a yet unreleased feature of davebaol's d2x cIOS

* Updated english.ini
* Updated dutch.ini

Other languages have to change also again :P
2012-03-12 23:57:59 +00:00
fix94.1
b686ac1540 -added per game option for NMM (not enough space for
a global option, so if set to default it will use the
setting from wiiflow.ini called dml_nmm in DML section,
0 means disabled, 1 means enabled and 2 means debug)
-nand emu is now for sure compatible with d2x v9+ :P
-updated english.ini
-updated frensh.ini (thanks Jiiwah), italian.ini (thanks
xFede) and japanese.ini (thanks hosigumayuugi)
(3 language updates don't contain new NMM options)
2012-03-12 16:14:56 +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
fix94.1
9fcc0f4d35 -changed gamercard section, will now write dutag and
wiinertag in ini by default, other tags can be added in 
the same naming scheme
-fixed and added some debug prints
2012-02-18 13:51:55 +00:00
fedeanto11
28b476f8f9 * Fixed a typo -> "Sytem Menu" 2012-02-11 21:28:53 +00:00
fix94.1
47aea503fa -reverted change of r94 for now, we don't wanna break other games ;) 2012-02-05 19:20:24 +00:00
fix94.1
787e753f58 -fixed tintin (temporary with calling "nop\n" after every command) 2012-02-05 18:58:15 +00:00
fix94.1
dae85e4128 -added missing "nop\n" thanks to dimok, and that:
-fixed we dare
-fixed driver san francisco
2012-02-05 18:38:57 +00:00
fix94.1
9f1aa93598 -small disc and channel boot changes 2012-02-05 18:13:04 +00:00
fedeanto11
5cfe1c11b5 * Added alternative cover download if original is not on server ( a option for choose original/alternative will be better though )
* Added some missing frees
* Other littles changes
2012-02-03 22:38:00 +00:00
fix94.1
c921214cc4 -added force aspect ratio patch from usb loader gx (thanks dimok for permission) 2012-01-27 13:59:36 +00:00
fix94.1
aa5c1acba5 -added option to disable IOS reload block for wii games and channels 2012-01-27 11:43:31 +00:00
fix94.1
90d2cb2452 -fixed channel launching bug introduced in r19 2012-01-25 20:41:44 +00:00
fix94.1
063fab9774 -fixed herpderp error 2012-01-23 22:01:23 +00:00
fedeanto11
7d07abdb16 - Fixed a screen issue in menu_about
- Now wiiflow download "US" covers correctly
- A lot of little changes and code clean up (like update GameTDB -> dimok )
2012-01-23 21:09:03 +00:00
fix94.1
82d67b6413 mirrored wiiflow r417 2012-01-21 20:57:41 +00:00