Commit Graph

155 Commits

Author SHA1 Message Date
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
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
fledge68
d896cb7436 - categories menu 'B' back button fix 2012-05-04 19:31:05 +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
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
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
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
fix94.1
afc24fa9c5 -100% better looking auto IOS selection code, also fixed
a small bug in it which might cause some error in wiiflow
2012-05-02 17:09:22 +00:00
fix94.1
eb0b3e68de -added force progressive patch to dml games, just set
the game to PAL480p/NTSC480p to enable it, only works
with dml v1.3 or newer.
2012-05-02 16:08:22 +00:00
fix94.1
2d6a737bc6 -re-added cover loading in game view
-increased priority of game banner sound thread to prevent
crashing
2012-04-27 19:05:38 +00:00
fix94.1
fc266e0fe1 -made launching retail gamecube discs possible with
next dml versions (thanks crediar)
2012-04-26 17:35:13 +00:00
fix94.1
37b6ebbc26 -added new option for plugins, "ReturnLoader", if
enabled it will use the WiiFlowLoader.dol
(http://www.mediafire.com/?lcvlra9vco8a91j)
in the plugins dir to return to wiiflow 
(needed for some emus)
2012-04-14 19:43:37 +00:00
fix94.1
3967b7b3c8 -fixed bug that emulators didnt return to wiiflow 2012-04-13 10:32:32 +00:00
fix94.1
b2cef2a34e -added scummvm ini parser, that means if scummvm plugin
detected, wiiflow will scan the scummvm.ini for games
2012-04-11 22:01:41 +00:00
fix94.1
fc1c81d601 -added possibility to use own banner sounds for plugins, the
names just need to be added to the ini, see for example here:
http://www.mediafire.com/?o1oxfw8c7icp753
2012-04-10 17:12:38 +00:00
fix94.1
72a7106fad -added dynamic emulator plugin support, wiiflow will now read the emulator
dol name, rom path and everything else needed from a ini in the wiiflow/plugins
folder, see http://www.mediafire.com/?kj6dalp2ly3y35j for the currently 4
emulator mod inis.
2012-04-09 23:19:08 +00:00
fix94.1
f4fd3598d0 -fixed small boot error for emulators 2012-04-08 21:07:36 +00:00
fix94.1
3092a1aa2a -added basic emulator support into a new coverflow view, "EMULATOR", you can disable it via wiiflow.ini see
"http://gbatemp.net/topic/204106-wiiflow-an-open-source-gui-usb-loader/page__view__findpost__p__4176145"
for the nes, snes and gb,gbc and gba emulator mod needed for it. The games are read from the default
path of the emulators, that would be "fceugx/roms" for nes for example. To display the games, place the
emulator dol from the link above into wiiflow/plugins.
-using miigotus way for homebrew and emulator coverflow now, thanks for that, makes things shorter
2012-04-08 15:54:34 +00:00
fledge68
c97818c8aa - Categories Update. re-added numcategories so you can have less than 20 categories if you want. re-added categories per view (usb, dml,channels, brew,etc..). added press 'B' on fav icon on game selected screen to go directly to game categories just like pressing 'B' on fav icon on main menu. moved 'All' button to lower left. replaced on and off buttons with check boxes - don't worry I already compressed them and they only add 4k to WiiFlow. And a few other minor changes. 2012-04-08 14:48:50 +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
fix94.1
3b105916a6 -set DML to not touch video mode again since its not needed
-only set progressive flag for DML if component cable found and
480p is enabled or if video mode set to force progressive
2012-03-30 12:53:10 +00:00
fix94.1
aaad7c07ef No new rev from someone else the last days I see, I thought
in the time I wasnt at home some other person commits something ;)
However I'm back so lets get back to work
-added a few DML video modes, PAL60, NTSC480p, PAL480p, work with
DML r52+
-updated english.ini
-updated german.ini
2012-03-25 19:52:35 +00:00
fix94.1
8b7cf87550 -lets keep sd card inited on gamecube disc launch, not that
we have NMM installed and then cant use it because of stopped sd ;)
-changed gc launch a little bit, now also saves playcount of
gamecube disc and uses same video and language options 
for gamecube discs as for dml
2012-03-19 18:08:48 +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
overjoy.psm
64773f440c * Some changes and fixes for temp region nand emulation feature 2012-03-17 22:30:16 +00:00
fix94.1
21e3012ca1 -added per game option to set no dvd patch, because not
all games work fine with it in the current state
-fixed problem that nmm sometimes was always enabled
-updated english.ini
-updated german.ini
2012-03-17 16:52:17 +00:00
fix94.1
b4557e9f45 -only do something with the disc drive on DML game launch
if the no disc patch is disabled
2012-03-17 14:47:08 +00:00
fix94.1
29ae0f2718 -changed DML game launching, it's a bit faster now 2012-03-17 13:56:49 +00:00
fix94.1
88aea82b45 -added new option in DML section in wiiflow.ini,
no_disc_patch, its enabled by default, that means
you don't need to have a disc inserted anymore when
playing gamecube games (requires dml r55 or later to work)
(per game option will follow)
2012-03-16 21:36:49 +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
c87c2f8048 -we should only use cheats in dml if we have set
cheats to enabled ;)
2012-03-11 19:59:15 +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
7b85928088 -stopping gamecube game sound before launching it
to save a bit time and may prevent stupid not stopping
loading times
2012-03-11 16:04:33 +00:00
fix94.1
592e22951f -if a gamecube game is found in the wbfs folder,
it will be displayed in regular wii coverflow and
it's also possible to launch it as in dml coverflow
2012-03-10 22:07:06 +00:00
fix94.1
b256cd9214 -added possibility to cheat in gc games when using DML
older than r52 (it will always copy the gct file into
the gc game folder on sd for this, and the dml version
must be compiled to use cheats)
2012-03-10 21:00:58 +00:00
fix94.1
9d128ce879 -if debugger Gecko is selected in gc game settings,
DML debug mode will be enabled
-added ini option to enable NMM for DML (option
per game and global in wiiflow will follow later)
2012-03-10 20:31:45 +00:00
fix94.1
64f796494d -if cheat gct file is on usb and trying to launch a
gc game with this gct file it auto copy the file into 
the games folder of this game on sd card
2012-03-10 19:47:34 +00:00
fix94.1
c1bfa9195b -fixed incorrect url which was displayed if no cheat
file found
-added possibility to cheat in gamecube games, currently
wiiflow gct cheats folder needs to be on sd card for this,
otherwise DML cant find them
2012-03-10 19:02:59 +00:00
fix94.1
7633ac55c2 -now no boot.bin needs to be created to launch a gamecube
game (better for the sd card), requires DML r52 or newer 
to work properly
-added new option in [DML] section, "dml_r52+", you
can set it to no if have a older DML version or want
to use the old boot.bin method instead to launch a gc game
2012-03-10 16:54:57 +00:00
fix94.1
e57c20e5d9 -changed a few things about addition from r183 again,
now it should work better, please also make sure you
delete the wiiflow/cache folder before trying this rev.
2012-03-08 12:25:39 +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
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
2247728e6a -changed a few things about wait message and
game sound thread checks, hopefully fixes a
few random freezes or not stopping loading
2012-03-06 13:53:25 +00:00
fix94.1
d0840c4ecb -added another case to see if usb game is
already installed on sd
-fixed some really stupid error from previous
rev which said game is not on sd card
(I should always test before commit...)
2012-03-05 10:01:07 +00:00
fix94.1
83b8c5dcf7 -added DML global options to set language and
video mode for all games, per game is still
possible to set
-updated english.ini with new strings
2012-03-04 21:33:14 +00:00
fix94.1
fcf9d344f7 -updated dml usb to sd installer, should
be faster now thanks to threaded copy by
stfour, also fixed codedumps when copying
from ntfs to sd, everything should work now
2012-03-03 17:16:11 +00:00
fix94.1
152bde2c36 -size calculation of gamecube dumper should be
more accurate now
-changed another path limit from 64 to 1024,
to prevent errors when trying to install gamecube
games from usb to sd with long name
2012-03-01 19:36:17 +00:00
fledge68
151eca94a2 - last theme layout fix that I missed way back in r101 2012-03-01 16:13:24 +00:00
fix94.1
fa1852bfa9 -if gamecube game is found on sd card and you
launch it from usb, it will automatically launch
it on sd card without copying it again
2012-02-28 20:45:47 +00:00
fix94.1
f82fdc0e50 -updated english.ini for translators
-fixed really stupid error which broke gc
disc dumping, also modified it a bit again
-cleaned up the copy menu a bit
2012-02-28 18:44:41 +00:00
fix94.1
f1d0386b3c -DML view now can see games on usb too
-added possibility to copy gamecube games from
usb to sd card, after copy process game will be 
started (copy takes 5-10 minutes) (issue 12)
-added possibility to install gamecube games
to usb fat partitions
-fixed game name not displayed in delete game dialog
-changed naming scheme of partition name in top-right
corner in coverflow, now looks like DML [USB1], name
depends on view
2012-02-27 16:05:10 +00:00
fix94.1
714047d220 -added better check if DML game is already
installed
-added possibility to delete DML game
2012-02-25 22:34:52 +00:00
fix94.1
91f65acfdd -stopping dvd motor before launching dml
(makes sure dml doesnt init drive on launch)
2012-02-19 13:00:40 +00:00
fix94.1
1ed15e5e30 -fixed wrong banner sound playing for sure now :P (issue 7)
-updated french.ini
2012-02-18 23:04:15 +00:00
fix94.1
ab07319073 -added two missing sd card inits in DML (fixed saving) and
in nand emu (fixes launching from sd card) (thanks CaseyOmah
for the information)
-added small welcome message in debug output ;)
2012-02-18 15:29:22 +00:00
fix94.1
2a0a2a3303 -fixed crash in channel view introduced in r134 2012-02-17 23:14:00 +00:00
fix94.1
bb9dbea535 -fixed covers were not refreshing bug introduced in r134
(issue 7 is back again, I was sure it worked)
2012-02-17 22:46:36 +00:00
fix94.1
7905a0a9b0 -fixed freeze when switching through game views
-fixed wrong banner sound played (issue 7)
2012-02-17 21:40:38 +00:00
fix94.1
81e0009e67 -added gamecube game sound (playing gc startup sound)
-updated spanish.ini
2012-02-17 14:45:59 +00:00
fix94.1
7575c33e07 -fixed wii game launching from sd card (excite truck doesnt work from sd) 2012-02-16 17:51:49 +00:00
fix94.1
3718e76bdc -added possibility to add gamecube games to gamertag
-gamecube launch cleanup
2012-02-11 13:05:18 +00:00
fledge68
431c84f75c -various menu and font fixes
-fixed TITLEFONT display
-fixed TEXTFONT display
-fixed various button animations and sizes
2012-02-10 18:45:42 +00:00
fix94.1
8cd027b036 -using wii language translations for gamecube language options 2012-02-02 22:37:21 +00:00
fix94.1
27d47ee337 -added option to set DML game lanugage, gamecube games will now use the language of the wii 2012-02-02 22:22:46 +00:00
fix94.1
468f678ac2 -sync with wiiflow r418 2012-02-01 22:26:51 +00:00
fix94.1
1a306fb2ed -only opening game info menu if gametdb is present 2012-02-01 17:52:01 +00:00
overjoy.psm
2505616944 * (Hopefully) fixed crash in WaitMessage
* (Hopefully) fixed Fanart issues
* Added a way to show mem through gecko
2012-01-30 14:29:40 +00:00
fix94.1
9daaa1365c -fixed gamecube boot from disc introduced in r36 2012-01-29 21:40:28 +00:00
fix94.1
8e5e204100 -fixed herpderp mistake in individual save emulation setting 2012-01-29 19:53:36 +00:00
fix94.1
cd9678052d -added global save emulation/nand emulation mode (very dirty, completely untested and not finished :P) 2012-01-29 19:28:31 +00:00
overjoy.psm
74450fba18 * Added a simpel check to find out if installed MIOS is unpatched, cMIOS or DML and it should be able to recognize most of them.
* DML Coverview is now disabled  if the MIOS found isn't recognized as DML
* DML game subfolder naming convention may now change to 'Game Name' for example. No need to keep this as GameID anymore
* Current_item config option is now saved while launching DML GC games
* Playcount & Lastplayed options are now saved for DML GC games
2012-01-28 08:40:19 +00:00
fix94.1
95a49ea97c -set "partition" option for emu nand to 0 (SD) by default to prevent crashes 2012-01-27 22:28:47 +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
overjoy.psm
6e4f75359b * Fixed cache (again)
* Fixed GameTDB 
* Fixed cover colors the right way
* Added GameTDB support to Gamecube game headers
* Fixed a bug were gameconfig in COVERFLOW_USB only showed 1 config page after gameconfig in COVERFLOW_DML was entered
* Fixed text label for Video modus in DML gameconfig
* Some other minor bug fixes, cleanups and changes to gain more stability

NOTE: However FIX94 reverted some changes they shouldn't make you can see most changes I made for now are minor changes. I'll have to check more, but so far great job guys!
2012-01-25 00:11:28 +00:00
fix94.1
a01941ff5e -Savegame Emulation can now be set to Default, Partial and Full for each game in the game settings
-Temporary hiding the USB Saves Emulation option from global settings (will remove it later on)
2012-01-23 21:15:14 +00:00
fix94.1
311ab42ed4 -Cleaned up GC and DML booting process
-Setting GC retail disc audio streaming properly now (no need for two drive inits)
2012-01-23 15:57:30 +00:00
entropy
c1605da6bf Restore code to hide game adult toggle and game settings button while parental controls enabled 2012-01-22 22:31:58 +00:00
fix94.1
181459a870 -added VERY rough solution for retail gamecube games with audio streaming, dvd drive will init twice 2012-01-22 22:03:30 +00:00
fix94.1
8d432c1dc5 -slightly changed GC disc and DML launching, gc retail discs with audio streaming doesn't work for some reason, trying to find out why 2012-01-22 12:47:55 +00:00