Hacking Unoffical -- USBloader_GX(S)

  • Thread starter Thread starter Sketter
  • Start date Start date
  • Views Views 68,143
  • Replies Replies 321
it looks like line 485, 486, or 497 in menu.cpp is not happy. you can add more gprintf() in there to see which one it i.

EDIT>>
specifically its line 468 in wdvd.c. it cant get the tmd.
you can uncomment 462 to see what path it is really using to try to get it
 
any chance of a version which outputs a log file to sd or usb for the people without a usbgecko?? would be much appreciated for debugging purposes
 
maybe the problem's something with the games you've got on your drive? now i used another set of games on my drive with monster hunter tri(the only working game). but now wiiflow doesnt even really boot. i see the "please wait" screen for about a minute and then it goes into a black screen.
gx boots, but i only see a part of the theme/skin and the gx background music, but no game list.
 
uncomment the ISFS_Initialize() line in the WDVD_GetIOS() function. and make sure you have usb:/sneek/slot.bin
 
Use this to write debug output to your SD card:

Code:
ÂÂÂÂchar tmp[200];
ÂÂÂÂsprintf(tmp, "%s", Settings.update_path);
ÂÂÂÂstruct stat st;
ÂÂÂÂif (stat(tmp, &st) != 0) {
ÂÂÂÂÂÂÂÂmkdir(tmp, 0777);
ÂÂÂÂ}
ÂÂÂÂFILE *f;
ÂÂÂÂsprintf(tmp, "%scheckmii.txt", Settings.update_path);
ÂÂÂÂf = fopen(tmp, "w");
ÂÂÂÂif (!f) {
ÂÂÂÂÂÂÂÂsleep(1);
ÂÂÂÂÂÂÂÂreturn false;
ÂÂÂÂ}
ÂÂÂÂ
ÂÂÂÂfprintf(f, "# HURR DURR Has Saved this file\n");
ÂÂÂÂfclose(f);

Since I was finally able to debug with that, I found out that the TMD gets assigned the proper path. I then told Pune and before I could even continue with debugging, he told me to uncomment the line that says "ISFS_Initialize();"
tongue.gif
. Tried it out and got it working. Finally, after 2 days of staying up until 3 AM after I got home from work
biggrin.gif
.

Also, as a solution for the first game booting, I'll just paste what I said before:

[02:31:14] solution was to create a blank slot.bin
[02:31:31] thing is, if you press start on the gamecube controller to pop up the DI menu (non-existing), it'll hang
[02:31:42] in effect, your wii won't boot anymore
[02:32:00] unless you remove the slot.bin, then boot, shut off, recreate

So just create a blank text file called slot.txt, rename it to slot.bin and you should be good to go. You might've encountered the same problem as I have, PizzaPino.
 
giantpune said:
uncomment the ISFS_Initialize() line in the WDVD_GetIOS() function. and make sure you have usb:/sneek/slot.bin

Awesome, thanks. That got GX working to launch games.

That leaves the games being listed multiple times (with others not appearing at all) as the only issue I'm having now with both loaders (though only with my drive that has 122 games, not the one that only has two loaded so far, so maybe it's something with the number of games or something).
 
What are the lastest version of cios etc that I shoulod be using? Its been a while since I updated.
 
Bitbyte said:
Also, as a solution for the first game booting, I'll just paste what I said before:

[02:31:14] solution was to create a blank slot.bin
[02:31:31] thing is, if you press start on the gamecube controller to pop up the DI menu (non-existing), it'll hang
[02:31:42] in effect, your wii won't boot anymore
[02:32:00] unless you remove the slot.bin, then boot, shut off, recreate

So just create a blank text file called slot.txt, rename it to slot.bin and you should be good to go. You might've encountered the same problem as I have, PizzaPino.

thanks for trying to help me.

well, i tried it again. since it doesnt create a slot.bin for me, i created it myself (and i'm not stupid to name a file called slot.bin.txt).
1. boot
2. press A screen
3. press A -> black screen
4. shut off, remove slot.bin, boot, shut off, recreate
5. = 1.-3.

if i press A+B around after the press A screen, my drive shows reaction for about 7 seconds. without playing around with A+B only about 3 seconds. o_O

i tried it with 1 single game (fragile dreams), that works without slot.bin too. but it didnt solve the problem. having fragile dreams (as first game) and monster hunter tri on my drive results in a weird outcome. monster hunter tri only appears as a blank game on wiiflow, even though it appears if i have it as first game.
 
Bitbyte said:
Use this to write debug output to your SD card:

Code:
ÂÂÂÂchar tmp[200];
ÂÂÂÂsprintf(tmp, "%s", Settings.update_path);
ÂÂÂÂstruct stat st;
ÂÂÂÂif (stat(tmp, &st) != 0) {
ÂÂÂÂÂÂÂÂmkdir(tmp, 0777);
ÂÂÂÂ}
ÂÂÂÂFILE *f;
ÂÂÂÂsprintf(tmp, "%scheckmii.txt", Settings.update_path);
ÂÂÂÂf = fopen(tmp, "w");
ÂÂÂÂif (!f) {
ÂÂÂÂÂÂÂÂsleep(1);
ÂÂÂÂÂÂÂÂreturn false;
ÂÂÂÂ}
ÂÂÂÂ
ÂÂÂÂfprintf(f, "# HURR DURR Has Saved this file\n");
ÂÂÂÂfclose(f);
where about's do I add this into sneek to enable sd logging
 
Well, anywhere you want to, just make it write the variables you want to read. Make sure you include the following headers in the file you want to use that code, else you'll get errors:

#include "settings/Settings.h"
#include "settings/cfg.h"

and these:

#include
#include
#include
#include
#include
#include
#include
#include
 
mousex said:
jhoff80 said:
though only with my drive that has 122 games, not the one that only has two loaded so far, so maybe it's something with the number of games or something).
Just delete the 100 worst games. You'll still have 10 shitty games then but the rest should be good games and it should cause less problems.

Lame response. First of all, there's more than that that are good. Secondly, seriously, you posted just to say that? And third, it doesn't matter if they're good or not. It's more convenient to have all the games we have on there. I can't just delete a bunch because I don't like them and then have my roommates want to play them and not be able to. And some of the crappiest games are the ones played most often when family is visiting anyway. (Carnival Games, for example).

Anyway, the point is, I'm trying to figure out if there's an actual game limit before having issues, or if it's my setup.

When I figure it out, I'll be sure to post an update.
 
jhoff80 said:
Glad to see that the necessary stuff was finally given out.

However, with the modded USB Loader GX I'm having issues. The loader shows 4 copies of each game it lists... aka:

A Boy and His Blob
A Boy and His Blob
A Boy and His Blob
A Boy and His Blob
Animal Crossing Wii
Animal Crossing Wii
Animal Crossing Wii
Animal Crossing Wii

It also doesn't show all of the games I have, only maybe 30 or so... though they're almost all displayed 4 times each. The total games number is correct at 122 (all games are legally owned by me and my roommates, for the record). Then, when I launch a game, it only brings me back to the homebrew channel.

The modded Wiiflow does the same, but brings me back to the system menu when it crashes.

The games were dumped using DiscEx and all are currently working using the standard SNEEK+DI.
found out the porblem is the game ID's if they start the same eg RJ2P52 and RJAP52 GX or wiiflow will show 2 copies of the same game and the game count will be correct
 
longtom1 said:
found out the porblem is the game ID's if they start the same eg RJ2P52 and RJAP52 GX or wiiflow will show 2 copies of the same game and the game count will be correct

I'm not entirely convinced that's the full cause, but maybe it's part of it. I formatted my HDD yesterday and have been slowly putting games on it. With 26 games (many of which had the same first two letters in the game ID: RMAE01, RMBE01, RMCE01 as just one example), I had no issues with games being displayed as duplicates. With 90 on there (initial strategy was to delete until it started working, before deciding to add until it stops working), it had the duplicates issue.

In other words, somewhere between 26-90 games is where it starts having issues.

I'm going to keep adding to it to try and narrow it down to a smaller range though.
 
Ignoring the useless responses, the issue starts happening when I put 41 games on there. So somewhere between 26 and 41 is where the issue started.

Edit: 38 displays all game names correctly. 39 shows a single duplicate.

So, for some reason, more than 38 games on the drive seems to be causing the issue.
 

Site & Scene News

Popular threads in this forum