Commit Graph

192 Commits

Author SHA1 Message Date
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
fix94.1
5843737575 -recompiled a few libs with devkitppc r25
-fixed dumping gamecube games to ntfs, general
dumping progress is maybe a bit slower now on
all partition types (using fwrite instead of
fseek now, seems like libntfs dont like fseek)
2012-03-03 21:52:07 +00:00
fix94.1
f557b7241e -fixed codedump when trying to install or copy
gamecube games to partitions without games folder
on it, dumping to ntfs was not broken it just havent
created the folder properly :)
2012-03-02 17:45:08 +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
fix94.1
8a475cc7d3 -we shouldnt limit path length to 64, using
the max fat path is better and fixes some
codedumps when installing games with longer name
2012-02-29 18:11:35 +00:00
overjoy.psm
c8ca36600d Again some dumper changes:
* It's now possible to dump games that come with 2 discs
* Added messenger callback to interact with the thread message

Todo:

* Cleanup the code
2012-02-29 00:19:50 +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
5e3df23f76 -cleaned up and optimized gamecube disc
installer, maybe it's a bit faster now ;)
I want to thank stfour for his fileOps
which was added in r160, it makes a very
good job, without it copy game from usb to 
sd would have taken longer to add for me :)
2012-02-28 15:06:01 +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
fa7da0a437 -updated gamecube game installer,
images now got the same md5 as the one
compressed with discex, compresion
without force 32k align works fine too now
2012-02-26 15:03:54 +00:00
fix94.1
cb478c4dd3 -updated gamecube dumper again, enabled
32k align by default now, compression without 
32k still doesnt work properly
-fixed stupid bug which may deletes all your
games when deleting one game (thanks Miigotu)
-reverted video change of r154 for now
2012-02-25 18:27:11 +00:00
fix94.1
925900a393 -fixed gamercards for sure now
-updated gamecube installer, compression+32k align works fine, just 
compression still doesnt work properly with audio streaming games
2012-02-24 21:08:24 +00:00
fix94.1
358c3fa298 -updated wiiflow to use new libwiiuse only 2012-02-20 18:04:40 +00:00
overjoy.psm
af589b404e * Updated DML Ex Gamecube disc dumper:
- Added retry on read errors
  - Added skipping on read errors 
  - Added pos to compress data
  - Added pos to align all files by 32k
  - Dumper will now only dump game.iso on default
  - Now using drivebay led to show disc reading activity
  - Now checking if game already exists before dumping it

Configuration of the dumper:

Set the following vars in wiiflow.ini (domain: DML) to config the dumper:

- skip_on_error=yes/no to enable/disable error skipping (default = no)
- compressed_dump=yes/no to enable/disable compressed dumping (default = no)
- write_ex_files=yes/no write ex files yes/no (default = no)
- align_files=yes/no to align all by 32k yes/no (default = no)
- num_retries=# were # = the amount of read retries the dumper should perform before it marks the block as bad on read errors
2012-02-20 08:26:50 +00:00
overjoy.psm
d611849d6f * Added DML Ex GC disc dumper. This makes it possible to install GC discs and dump them straight into DML Ex format
* Fixed gc_discHdr struct
* Updated aiff decoder to dimok's code (Thnx)

Todo for GC disc dumper:
* Add retry on read error
* Add skip on read error pos
* Add some more checks
2012-02-17 02:35:42 +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
1277fd0c6e -fixed sd cards doesn't work in wii games (issue 11) 2012-02-13 15:40:10 +00:00
fix94.1
af090d536b -fixed small comment typo in disc.c
-reverted xFede's unneeded copy-paste from gx !which was even
not documented! from last rev r108
@xFede:
I said you to leave it as it is, really don't do that again
or I'll be angry, thanks.
2012-02-11 22:12:58 +00:00
fedeanto11
28b476f8f9 * Fixed a typo -> "Sytem Menu" 2012-02-11 21:28:53 +00:00
fix94.1
1caf757ef9 -added new default option for exit to which just boots the system menu
without the priiloader magic word for system menu set to use priiloader 
default option
2012-02-11 12:03:46 +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
9f1aa93598 -small disc and channel boot changes 2012-02-05 18:13:04 +00:00
entropy
4d95af1ab3 Allow installation of games with titles containing illegal filename characters 2012-02-05 06:38:10 +00:00
overjoy.psm
e90613f368 * Fixed a nice bug: If a game gets removed and is splitted it now also removes the wbf1, wbf2.... files and the folder.
* If a game gets removed it will remove the cover(s) with it
2012-02-05 00:07:07 +00:00
fix94.1
39f7818869 -changed wiimote init again, now initing it on the very beginning (lets hope it helps some people) 2012-02-04 17:31:13 +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
e8ee7548a6 -fixed network init issue for (hopefully) everyone 2012-02-02 11:18:09 +00:00
fix94.1
24cd976235 -changed wiimote init code again to hopefully fix the init problem for everyone 2012-01-30 16:55:27 +00:00
entropy
626fbfddeb Make debug message explicit about enabling or disabling IOS reload block 2012-01-29 22:57:14 +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
cc76da97e1 -fixed nand emulation partition set for d2x v8 properly now
-wasted 3 hours finding this stupid bug
2012-01-27 19:38:52 +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
08d5f5cd1f -reverted some of xfede's changes to make it compiling again until he fixes everything
-cleaned up a bit
2012-01-23 21:46:37 +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
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
fix94.1
a68c99e09b -moved IOS reload call for d2x v8+ 2012-01-22 18:19:54 +00:00
fix94.1
adecc42f5c -reverted some of miigotus experiments to fix IOS reload
-more intelligent IOS reload code (thanks davebaol)
2012-01-22 17:06:56 +00:00
fix94.1
afdd19e591 wiiflow r417 mod5, changes:
r417 -> r417mod
-Added very basic DML support (many thanks to the postloader code)
-Re-added IOS reload
-Added cIOS base 60, 70 and 80 as compatible ones for d2x v8+

r417mod -> r417mod2
-Fixed NTSC video mode

r417mod2 -> r417mod3
-Fixed black wii game covers if no WiiTDB file exist, forcing to white now
-Set default gamecube game cover to black
-Added DML icon
-Compressed all PNG files to save space
-May fixed codedump if IOS58 games started from DVD (thanks entropy)
-Allowing access to the homebrew screen while parental controls are enabled (thanks entropy)
-Disable cover downloads while parental controls are enabled (thanks entropy)

r417mod3 -> r417mod4
-fixed DML audio streaming if NAND emulator was enabled before
-removed DVD boot from DML launch, makes boot process way faster (still needs a disc inserted)
-Added base IOS58 to DVD launch list, may really fixes IOS58 games from DVD :P

r417mod4 -> r417mod5
-added yellow covers for "Mario & Sonic at the London 2012 Olympic Games" PAL and NTSC-U
-fixed black covers for "Pandora’s Tower: Until I Return to Your Side" and "Ikenie no Yoru" NTSC-J
-removed some options in DML coverflow because they doesnt work
-fixed global options in DML coverflow
-fixed gametdb titles and synopsis (see http://gbatemp.net/topic/204106-wiiflow-an-open-source-gui-usb-loader/page__st__4515__p__3950858#entry3950858)
-moved IOS selection to new page 4
2012-01-21 21:15:45 +00:00
fix94.1
82d67b6413 mirrored wiiflow r417 2012-01-21 20:57:41 +00:00