Commit Graph

239 Commits

Author SHA1 Message Date
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
89404ce0e2 -added new DIOS-MIOS widescreen patch
-updated english.ini
-updated german.ini
2012-07-22 18:39:34 +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
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
c52009ea57 -lalala (fixed homebrew dol loading) 2012-07-19 22:31:25 +00:00
fix94.1
321a398151 -added new option in DML section in wiiflow.ini, dm_r2.1+,
enabled by default, with the option enabled it will use cfg version
2 for dm 2.1 or higher, if disabled it uses cfg version 1. It will
be ignored if dml_r52+ is set to no since that uses the old boot.bin
method then
2012-07-19 20:47:49 +00:00
fix94.1
817a2b42d4 -fixed bug in homebrew/plugin booting (plugins most
likely blackscreen in older revs)
-moved devolution loader (should fix ingame graphical errors)
2012-07-19 18:19:28 +00:00
fix94.1
4e9f70490c -temporary disable gecko output before booting a wii game
(hopefully fixes random blackscreens)
2012-07-18 20:08:53 +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
b484a8cb17 -fixed gamecube video mode "game" 2012-07-15 13:18:01 +00:00
fix94.1
d0ed0821f3 -added per game option to choose if you want to boot a gamecube
game via DIOS-MIOS or Devolution, if you set it to Default it
will boot ISOs via Devolution and FST extracted via DIOS-MIOS
-updated english.ini
-updated german.ini
2012-07-14 22:44:57 +00:00
fix94.1
6840e3d9dc -fixed bug about booting gamecube discs 2012-07-14 16:55:14 +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
fix94.1
5a5fab8579 -added devolution memory card emulator as game option (disabled
by default)
2012-07-13 20:00:54 +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
077bc500d1 -cant think today zzz... 2012-07-12 16:49:46 +00:00
fix94.1
b4dbfeaa1d -we should read in the loader.bin before closing the devices :P 2012-07-12 16:02:51 +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
8aa08dee60 -added devolution support, simply grab the devolution source
and place the loader.bin into your wiiflow data folder, wiiflow
will automatically find the binary and use devolution to boot
the gamecube game (only works with iso files, games extracted
with gcreex doesnt work)
2012-07-12 13:21:14 +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
ee49554a49 -disabled force video mode in dios mios (lite) for now, added
bool to set it back if wanted
2012-07-11 13:10:52 +00:00
fix94.1
6e1d34c879 -using O2 instead of O3 (everything makes problems in wiiflow
doesnt it?)
-made the same changes for return to in wii games
2012-07-10 21:33:21 +00:00
fix94.1
c81d95b502 -fixed return to wiiflow on emu nand games 2012-07-10 21:24:38 +00:00
fix94.1
a9a184c84a -switched back and play button in fullscreen banner
and set both a bit down
-changed a few little things about freetypegx unload
-since I dont care about size anymore the libs are now 
in its original size again, makes wiiflow bigger but better
to handle
2012-07-10 16:38:21 +00:00
fix94.1
7b4d983f87 -added option to disable banner in game settings,
banner_in_settings in wiiflow.ini
2012-07-10 12:02:06 +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
cc7c5a9917 -changed homebrew loading yet again, not as safe as previous
way but maybe working better for bigger homebrew
2012-07-10 00:18:37 +00:00
fix94.1
5a2efc4e3b -changed a few things about booting homebrew, hopefully it boots
everything correctly again now
2012-07-09 22:46:11 +00:00
fix94.1
e28b91f536 -dont deinit isfs for homebrew programs which are for some reason
unable to init it again :P
2012-07-09 21:16:07 +00:00
fix94.1
07fbb21f3b -if in game settings, dont display game banner with the full
brightness, otherwise its not easy to read the settings for some
games
2012-07-09 20:06:53 +00:00
fledge68
c99e1c0e6c -fix to make the banner re-open when coming back from game categories (b on star) 2012-07-09 12:15:40 +00:00
fix94.1
47892032f5 -fixed booting emu nand games 2012-07-08 14:56:07 +00:00
fix94.1
3f6e4beffe -fixed retail and backup wii disc reading and playing 2012-07-08 14:44:21 +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
fd30f2aa74 -set entry point back to 0x80B00000 (overjoy, why you changed that?)
-changed some small things about the menu class opening
-forgot to deinit ISFS on sys exit, may it created some problems
-closing wiimote inputs before reloading IOS
2012-07-07 19:09:56 +00:00
fedeanto11
46e807cb91 * Made menu errors translatable (thanks Overjoy)
* Now if you click B on ExitTo menu it will go back to Home menu and not coverflow
* If parental lock is on, ExitTo will just exit and not show ExitTo menu anymore
* Now with home in ExitTo you can exit too
* Added/Deleted some sentences
* Updated english and italian translation
2012-07-06 22:38:21 +00:00
fix94.1
558abcd0fb -fixed codedumps and wrong cached banners if games are switched
too fast, that may slow downs game switching but makes it way
more secure
2012-07-06 16:48:01 +00:00
fix94.1
5254ace17c 2012-07-06 00:36:45 +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
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
fledge68
e321fc0304 - now turning off banner when going to game info and cat screens 2012-07-05 12:35:22 +00:00
fix94.1
1be7b9d82e -when entering per game settings and banner is playing, it zooms
in the banner automatically
2012-07-04 23:49:50 +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
87c10f744c -replaced clicking on back with clicking on the banner
directly to toogle size
2012-07-04 19:45:53 +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
365884d556 -removed a few things from banner code which we dont use
-added setting to wiiflow.ini to toogle banner view per
coverflow view
-moved icons down a bit in game view
2012-07-04 11:56:02 +00:00
fix94.1
8fec6f98ce -added new buttons for fullscreen banner view, also if in fullscreen
banner view the background screen is black now
2012-07-03 22:08:51 +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
0713061840 -if AUTO is selected for IOS selection, it either uses IOS56 or
IOS57 as base, because the other d2x cIOS bases got problems
to work properly with wiiflow
2012-07-01 21:25:32 +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
d5c940c39b -added DIOS-MIOS support (untested) 2012-06-23 18:54:18 +00:00
fix94.1
cabfc9b51d -fixed usb to sd copier (damn stupid issue, I hate those small things) 2012-06-18 17:51:24 +00:00
fix94.1
1bcd0ce2c0 -added a few missing +1 in name generation, may produced some "//"
in generated plugin cover paths
2012-06-17 11:23:55 +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
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
bd7d0a5374 -fixed exit wiiflow freeze 2012-06-13 21:16:36 +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
f006d37200 -set down cover loader priority
-small code cleanup, removed unneeded things
2012-06-01 06:43:37 +00:00
fix94.1
97f6d84ff8 -fixed problem of not reloading covers, only after moving
it around a bit (issue 51)
-removed some completely useless call of stop cover loader
-added proper debug prints to see when cover loader is changed
2012-06-01 05:34:52 +00:00
fix94.1
1a713f7b3e -we should only display gametdb information if we are not
in emulator and not in homebrew coverflow (issue 52)
-set all wii magic numbers to our global variable
2012-05-27 21:14:40 +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
b26e0e286e -removed ios reload block disable (useless)
-removed mem cleanup for now
-fixed ocarina codes
2012-05-24 15:55:32 +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
b47b04629f -created my own homebrew channel stub alternative, now homebrew
returns to wiiflow using the wiiflow loader channel if enabled,
added option to disable this too, return_to_wiiflow in HOMEBREW
section in wiiflow.ini
-added possibility to start movies via MplayerCE, use this ini:
http://dl.dropbox.com/u/25620767/mplayerce.ini
2012-05-23 16:27:55 +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
8643cdfa5a -made homebrew booting more safe, shouldnt blackscreen
or codedump anymore
2012-05-19 16:06:06 +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
f8a214fb3d -moved a few things to mem1, seems like we have enough space
left for that still ;)
-fixed that fatal memory bug, now memory usage looks correct :)
2012-05-18 18:13:49 +00:00
fix94.1
3fc680087f lalala 2012-05-18 16:59:46 +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
9d4a234b01 -fixed case-sensitive OS compiling errors (thanks david.racine.1)
-updated danish.ini (thanks nibb)
-updated dutch.ini (thanks Etheboss)
-updated french.ini (thanks Jiiwah)
-updated spanish.ini (thanks Galen)
-updated german.ini
2012-05-17 20:48:43 +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
eaa74bb49e -removed MEM2 cleanup, and set up MEM1 cleanup higher
-fixed a bug in IOS reload which might result in blackscreen
2012-05-15 22:07:45 +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
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
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
fix94.1
5a817f0ce7 -writing DML options now safe into memory, no way that there
an error can occur anymore
2012-05-08 20:38:50 +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