Blaze: Nope, just you. I turned my Wii on[loaded preloader, I don't do autoboot], hit load SysMenu, home button -> Wii Menu[resets to preloader], then hit load Sysmenu again and it didn't crash.

ok i see what i was doing differently, i was holding the power button to return to preloader... the home button to go back to preloader it is, works great now, thanksdaxtsu said:Blaze: Nope, just you. I turned my Wii on[loaded preloader, I don't do autoboot], hit load SysMenu, home button -> Wii Menu[resets to preloader], then hit load Sysmenu again and it didn't crash.

aquilino said:Hello there am addition load_dol of WiiCrazy when menupatcher and now it patches systemmenu.dol
1. Get the 10000043.app or 10000046.app using fs browser from your wii (it's system menu dol)
2. Put it at the root of your sd card with name ntsc.dol or Pal.dol
3. Boot the menupatcher.dol using preloader or HBC
menu_patcher_test
I tested
load Games ok
Region free Wii games ok
Skip disc update ok
P.D when you return to the menu there are no patches.
not because


WiiCrazy said:Well here is the quick and dirty hack I made to the existing patcher(s), loading the system menu dol from sd card instead of nand...
CODEFILE * HEDE_OpenContent(u16 index)
{
ÂÂÂÂFILE * fp;
ÂÂÂÂ
ÂÂÂÂif (index==0) {
ÂÂÂÂÂÂÂÂfp = fopen("sd:/NTSC.dol","rb");
ÂÂÂÂÂÂÂÂreturn fp;
ÂÂÂÂ} else {
ÂÂÂÂÂÂÂÂfp = fopen("sd:/PAL.dol","rb");
ÂÂÂÂÂÂÂÂreturn fp;
ÂÂÂÂ}
}
//This is a quick and dirty hack so it's just reading the file
//using a 4 byte buffer...
s32 HEDE_ReadContent(FILE * file, u8 *data, u32 data_size)
{
ÂÂÂÂu8 * datap;
ÂÂÂÂdatap=data;
ÂÂÂÂu8 buf[4];
ÂÂÂÂu32 count = data_size/4;
ÂÂÂÂs32 totalread = 0;
ÂÂÂÂprintf("Reading %x bytes into %x\n", data_size, (u32)data);
ÂÂÂÂwhile(count--)
ÂÂÂÂ{
ÂÂÂÂÂÂÂÂtotalread+=fread(buf, 4,1, file);
ÂÂÂÂÂÂÂÂmemcpy(datap, buf, 4);
ÂÂÂÂÂÂÂÂdatap+=4;
ÂÂÂÂÂÂÂÂ
ÂÂÂÂ}
ÂÂÂÂprintf("Read %x bytes\n", totalread);
ÂÂÂÂreturn totalread;
}
s32 HEDE_SeekContent(FILE * file, s32 where, s32 whence)
{
ÂÂÂÂreturn fseek(file, where, whence);
}
s32 HEDE_CloseContent(FILE * file)
{
ÂÂÂÂreturn fclose(file);
}
void loadDol(u16 index) {
ÂÂÂÂprintf("Initting fat\n");
ÂÂÂÂ//sleep(1);
ÂÂÂÂfatInitDefault();
ÂÂÂÂprintf("Fat Initialized\n");
ÂÂÂÂ
ÂÂÂÂu32 i;
ÂÂÂÂstatic dolheader _dolfile __attribute__((aligned(32)));
ÂÂÂÂdolheader *dolfile = &_dolfile;
ÂÂÂÂprintf("Opening system menu dol from sd card\n");
ÂÂÂÂ//sleep(1);
ÂÂÂÂFILE * s = HEDE_OpenContent(index);
ÂÂÂÂif(s==NULL) {
ÂÂÂÂÂÂÂÂprintf("Error opening content exiting\n");
ÂÂÂÂÂÂÂÂfprintf(stderr, "ERROR: %s\n", strerror(errno));
ÂÂÂÂÂÂÂÂ//sleep(1);
ÂÂÂÂÂÂÂÂexit(1);
ÂÂÂÂ}
ÂÂÂÂprintf("System menu dol opened\n");
ÂÂÂÂ//sleep(1);
ÂÂÂÂprintf("! %d\n", HEDE_ReadContent(s, dolfile, sizeof(dolheader)));
ÂÂÂÂmemset ((void *) dolfile->bss_start, 0, dolfile->bss_size);
ÂÂÂÂprintf("Bss set\n");
ÂÂÂÂ//sleep(1);
ÂÂÂÂfor (i = 0; i < 7; i++) {
ÂÂÂÂÂÂÂÂif(dolfile->data_start < sizeof(dolheader)) continue;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf ("loading text section %u @ 0x%08x "
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"(0x%08x bytes)\n",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂi, dolfile->text_start,
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂdolfile->text_size);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂVIDEO_WaitVSync();
ÂÂÂÂÂÂÂÂÂÂÂÂif (HEDE_SeekContent(s, dolfile->text_pos, 0)!=0) die("Can't seek");
ÂÂÂÂÂÂÂÂÂÂÂÂ HEDE_ReadContent(s, dolfile->text_start, dolfile->text_size);
ÂÂÂÂ
ÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂfor(i = 0; i < 11; i++) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif(dolfile->data_start < sizeof(dolheader)) continue;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf ("loading data section %u @ 0x%08x "
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"(0x%08x bytes)\n",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂi, dolfile->data_start,
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂdolfile->data_size);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂVIDEO_WaitVSync();
ÂÂÂÂÂÂÂÂÂÂÂÂif (HEDE_SeekContent(s, dolfile->data_pos, 0)!=0)ÂÂdie("Can't seek");
ÂÂÂÂÂÂÂÂÂÂÂÂHEDE_ReadContent(s, dolfile->data_start, dolfile->data_size);
ÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂVIDEO_WaitVSync();
ÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂHEDE_CloseContent(s);
ÂÂÂÂ
}



BL4Z3D247 said:he modified waninkoko's menupatcher i'm assuming
EDIT: ok yeah i put it together, he added to WiiCrazy's modifications to waninkoko's menupatcher


noobwarrior7 said:I think we got it, it loads the system menu ".app" file from the SD-Card, using IOS 249. SO...If you set this to autoboot through preloader, it'll be EXACTLY like a patched system menu, except the menu on the actual NAND is safe and secure, which is the culmination of what everyone has wanted for a while.
If that is true, very nice work.


ok that's a bit more clear, thanksaquilino said:BL4Z3D247 said:he modified waninkoko's menupatcher i'm assuming
EDIT: ok yeah i put it together, he added to WiiCrazy's modifications to waninkoko's menupatcher
added the patch to read the menu system dol the wii ok
EDIT:YES BL4Z3D247

