setting it to buttons can be done with the following code added into the geckomenu.c
Not tested as i just hardcode my setting into default dols for each set of circumstances and use the correct one for each game.
However it should work as all of this code is extracted directly from the geckomenu.c loading code only without all the sections that are used to toggle options on and off since this is a forced option load code.
Place the following code immediatly after /* Root menu action */ in geckomenu.c, replacing the 1 in WPAD_BUTTON_1 with the button you want to be the trigger. replace the /* values in the following code with the appropriate vaules from the end of the post and then compile to create the type of loader you want.
Code:
if((pressed & WPAD_BUTTON_1 && currentmenu == ROOTMENU))
ÂÂÂÂ{ clearscreen(xfb, 20, 80, 278, 315, 0x00800080);
write_font(185, 154, "Launching Game");
hooktype=/*;
configbytes[0] = /**;
memset((void*)0x80001800,0,kenobiwii_size);
memcpy((void*)0x80001800,kenobiwii,kenobiwii_size);
DCFlushRange((void*)0x80001800,kenobiwii_size);
configbytes[1] = /***;
nowiird = 1;
apploader();
sleep(2);
}
To enable ocarina, make sure hooktype is set to 3 or 2 and change the line towards the beginning of geckomenu.c
from
Code:
u32 ocarinaselect = 0;ÂÂÂÂ// Off as default
to
Code:
u32 ocarinaselect = 1;ÂÂÂÂ// On as default
/*= valid values are: 1,2,3. default or VI is 1. 2 is wii pad and 3 is gc (2 and 3 may be backwards)
/**= valid values are 0x00 through 0x09 representing languages
Default 0xCD, Jap=0x00, Eng=0x01, Ger=0x02, Fr=0x03, Spa=0x04,Ita=0x05, Dut=0x06, S.Ch=0x07, T.Ch=0x08, Kor=0x09.
/***= valid values are 0x00 through 0x07 for different modes no patches=0x00, pal60=0x01, vi=0x02, pal60+vi=0x03, ntsc=0x04, ntsv+vi=0x05, pal50=0x06. pal50+vi=0x07
Hope this helps a few people