Commit Graph

415 Commits

Author SHA1 Message Date
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
fledge68
f6a2783d43 - the source select menu buttons should no longer be hard coded for those that are wanting to edit themes 2012-05-23 00:34:36 +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
fix94.1
bd40c72b13 -fixed double gamecube games created 2012-05-22 18:06:43 +00:00
fledge68
1b33874ca5 - added precautions to hopefully keep weird characters and names out of categories.ini when using plugins/emuflow 2012-05-22 15:38:39 +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
e7e0e02dcd -fixed reading scummvm games from sd card 2012-05-21 20:03:28 +00:00
fledge68
451569c31f - fix for emuflow now it should show up right and be able to adjust it 2012-05-21 19:17:33 +00:00
fix94.1
e3e04bd584 -now also reading all subdirectories for emulator coverflow
-corrected small debug print mistake
-set down mem1 usage a little bit
-enabled randomize_music by default
2012-05-21 12:42:10 +00:00
fix94.1
84cf561172 -added subdirectory reading for music files, means you now
finally can have your albums in the music folder organized ;)
2012-05-20 20:05:16 +00:00
fix94.1
8ad310f4dc -moved screen clearing to a safer place, should have tested it
harder before commiting :P
2012-05-20 17:09:26 +00:00
fix94.1
4c4224c49d -added display clearing before showing wait message 2012-05-20 16:55:50 +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
bdfe989462 -fixed missing background music yet again
@all other devs:
Next time you add a new thing to menu.hpp see if it breaks
background music first, thanks :P
2012-05-19 21:55:58 +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
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
322099c826 -moved mem2 init to the beginning of wiiflow booting
-allocating dml config in mem1 since we write it to mem1 anyways,
no need to unneeded move stuff from one mem to the other
2012-05-18 20:13:26 +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
fledge68
db42694703 - added option to select preferred emuflow mode for plugins via source select menu
- added options to move and hide buttons on source select menu
- use the new startup_menu.ini found here http://www.mediafire.com/?v262b5ulxigdaum
- more info will be on gbatemp
2012-05-18 16:02:36 +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
8ff7da8df5 -we may should set black before clearing the framebuffer, looks
ugly otherwise :P
2012-05-17 16:29:53 +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
199db7cfaa -added new translatable string, dl25, for french
-updated english.ini
2012-05-17 14:04:17 +00:00
yardape8000
7c4bb1fa04 Update english.ini
Stop 0 size covers from being created
2012-05-17 13:26:02 +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
0a90ae532e -hopefully fixed a random codedump
-if emu save partition is set to -1, it will use sd card by default
2012-05-17 00:43:42 +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
8ca6d767bc -normally svn selects all changed files automatically, oh well... 2012-05-16 16:39:51 +00:00
fix94.1
110a626ddc -right, I need to mark new files to commit, svn doesnt do that
automatically...
2012-05-16 16:27:38 +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
fledge68
678dc5ac0d - fix for categories crashing in emuflow 2012-05-16 11:48:27 +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
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
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
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
fc9aed8352 -removed three redundant lines and added information that our
new wii light file is already modified
2012-05-14 04:55:48 +00:00
overjoy.psm
6d80081c04 *ISFS_Initialize() should still be called after we reload to cIOS (2nd time fix) 2012-05-14 02:21:03 +00:00
fix94.1
4c300161e1 -replaced wiilight by something better from libprojectM because
its open source and we can modify it as we want, that should fix
the problem that the wii light sometimes did not disable properly ;)
2012-05-13 18:56:34 +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
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
fix94.1
b8fd3e623d -added new options for plugin inis, "displayname", if you
set it in for example the fceugx.ini to "nes" it will display
"nes" instead of "fceugx" in plugins menu
2012-05-11 18:46:43 +00:00
fix94.1
f83670be3d -fixed coverflow being too slow in PAL50 video mode
-commented out a problematic line in code
2012-05-11 15:14:57 +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
fix94.1
9fc255f0a8 -compressed udraw.png and udrawR.png
-added Yardape8000 to the thanks list for adding cool things
to wiiflow :)
2012-05-11 11:44:02 +00:00
yardape8000
32cd3b0cd2 Allow wifi-gecko to work close to game launch 2012-05-11 03:37:56 +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
yardape8000
84fc87bea9 Moved _initAsyncNetwork so it starts when the program starts. This way wifi-gecko is connected earlier and you can see the initialization messages.
Moved the following settings to [DEBUG] section, so people know they have nothing to do with normal wiiflow operation.
 sd_write_log
 wifi_gecko
 wifi_gecko_ip
 wifi_gecko_port
2012-05-10 22:20:18 +00:00
yardape8000
b56b9662c3 Modified wifi_gecko to use UDP instead of TCP.
Added WifiGeckoReader to the tools directory.  It is a windows program used to read the gecko debug messages over a wifi connection.
Thanks r-win & Dimok
2012-05-10 01:35:21 +00:00
fix94.1
a9bd69d7c7 -fixed changing themes for sure now 2012-05-09 18:47:25 +00:00
fix94.1
081c8c316f -changed small thing about video cleanup, may fixes codedump
on switching themes
2012-05-09 17:50:44 +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
7c1093a2b2 And the rest that should have been committed with r323 ;) 2012-05-08 01:05:33 +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
615000728d -finally removed this ugly __real_memalign from the video.cpp,
looks better now :P
2012-05-07 19:57:37 +00:00
fix94.1
73e34da188 -removed our linker script and changed a few things
about memory usage, please test if everything works fine,
if memory still allocates fine and if memory usage is the
same, if not we can revert it
2012-05-07 19:45:25 +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
70955117f9 -fixed missing translatable words in menu_categories and
menu_nandemu
-fixed more spelling mistakes in menu_nandemu, menu_config
and menu_config_game
-updated english.ini
-updated german.ini
2012-05-06 13:55:56 +00:00
fix94.1
be5195aa96 -set up limits of fmt to prevent some missing words
-corrected a few spelling mistakes in menu_nandemu
-removed unneeded std:: from menu and menu_game
2012-05-06 12:59:09 +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
fix94.1
14aa9863af -fixed background music (zomg the first menu which is not
defined in the menu.hpp itself)
2012-05-05 21:36:30 +00:00
fix94.1
88c4eed3c3 -added plugin selection menu in global settings, if in
plugin coverflow it will replace the nand emu button,
in this memu you can select which plugin should be displayed,
it will work no matter which sort is set, you can select more
than one emulator at the time of course
KNOWN ISSUE:
-background music is missing
2012-05-05 20:07:54 +00:00
fix94.1
60e103b1bf -set up cover size limit to 1090 pixel instead of 1024 2012-05-05 10:46:01 +00:00
fledge68
d896cb7436 - categories menu 'B' back button fix 2012-05-04 19:31:05 +00:00
fix94.1
20c2e948e7 -changed plugin code, also fixed a bug in it 2012-05-04 18:05:41 +00:00
fix94.1
d2b6a29018 -something went wrong with the hq cover thing, now its
tested and working :P
2012-05-04 14:24:29 +00:00
fix94.1
f6830b5a2f -fixed problem that covers were not loading properly with
only a few games in a coverflow view
-added new option to wiiflow.ini GENERAL section,
"cover_use_hq", if you set it to yes all your covers
will be displayed in HQ again, but will also slowdown
the loading and wiiflow in general
2012-05-04 14:08:44 +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
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
1e0cc275d8 -changed small thing about the help file reading
-WOW r300 already
2012-05-04 05:19:52 +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
yardape8000
bb285e4188 - Merged common menu code
- The main settings menu will now only update the coverflow if needed.  This means pages 3-6 will return instantly.

- fixed typo in NAND saves text (exCisting).  You may have to delete or fix "cfgne26" in your english language file to see the change.
2012-05-04 03:46:18 +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
de0306c275 -replaced 3 snprintf in code with strncpy, saves a little
bit time maybe, main reason is that its a more proper way ;)
2012-05-03 18:54:16 +00:00
yardape8000
f3ee24fe65 Merged common game and channel IOS loading code. 2012-05-03 04:55:09 +00:00
yardape8000
cac7aa5fa5 Added Help file to the about info.
Max length is 4095
wiiflow/help/{language}.txt
defaults to:
wiiflow/help/english.txt

A basic help file is included.  It does not contain all info yet.
2012-05-03 02:47:36 +00:00
yardape8000
40f3a44fef - Add uDraw icons to game info screen
- Clear old game info so it does not show for games without any gameTDB info.
- Only allow Update to show if not in parental lock mode.
2012-05-03 01:34:56 +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