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();"
. Tried it out and got it working. Finally, after 2 days of staying up until 3 AM after I got home from work
.
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.