Hacking Custom GC Channel/Banner Collection for System Menu/Backup Loaders

What are you using currently?


  • Total voters
    146

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country

ModdingBird

Well-Known Member
Member
Joined
Jul 31, 2013
Messages
100
Trophies
0
Location
Planet Earth
XP
212
Country
Canada

Bu2d85

Well-Known Member
Member
Joined
Nov 6, 2014
Messages
1,042
Trophies
0
Age
39
XP
1,289
Country
United States
Are you talking about a WIIGSC or CRAP type program for GameCube games? The would possibly be one of the best things ever(except usbloadergx and nintendon't).
 

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
Are you talking about a WIIGSC or CRAP type program for GameCube games? The would possibly be one of the best things ever(except usbloadergx and nintendon't).
yes making channels that autoboot games with nintendont from SM of Wii or vWii

loader/source/main.c Line 233+
Code:
    if(argsboot == false)
    {
    //    if (LoadNinCFG() == false){

            memset(ncfg, 0, sizeof(NIN_CFG));
            ncfg->Magicbytes = 0x01070CF6;
            ncfg->Version = 0x00000003;
            ncfg->Language = NIN_LAN_AUTO;
            ncfg->VideoMode = NIN_VID_AUTO;
            ncfg->MaxPads = 4;
            ncfg->MemCardBlocks = 0x2;//251 blocks
        //    GamePath = "xxxxxxxx";
        //    CheatPath = "xxxxxxxx";
        //    GameID = xxxxxxx;    
            ncfg->Config &= NIN_CFG_AUTO_BOOT;
            ncfg->Config &= ~NIN_CFG_CHEATS;
            ncfg->Config &= ~NIN_CFG_DEBUGGER;
            ncfg->Config &= ~NIN_CFG_DEBUGWAIT;
            ncfg->Config &= NIN_CFG_MEMCARDEMU;
            ncfg->Config &= ~NIN_CFG_CHEAT_PATH;
            ncfg->Config &= ~NIN_CFG_FORCE_WIDE;
            ncfg->Config &= ~NIN_CFG_FORCE_PROG;
            ncfg->Config &= ~NIN_CFG_HID;
            ncfg->Config &= ~NIN_CFG_OSREPORT;
            ncfg->Config &= ~NIN_CFG_USB;
            ncfg->Config &= ~NIN_CFG_LED;
            ncfg->Config &= ~NIN_CFG_LOG;
            ncfg->Config &= ~NIN_CFG_MC_MULTI;
            ncfg->Config &= ~NIN_CFG_NATIVE_SI;
            ncfg->Config &= ~NIN_CFG_WIIU_WIDE;
    /*    //    ncfg->VideoMode = NIN_VID_FORCE;
        //    ncfg->VideoMode = NIN_VID_NONE;
        //    ncfg->VideoMode = NIN_VID_FORCE_DF;
        //    ncfg->VideoMode = NIN_VID_MASK;
        //    ncfg->VideoMode = NIN_VID_PROG;
        //    ncfg->VideoMode = NIN_VID_FORCE_MASK;
        //    ncfg->VideoMode = NIN_VID_FORCE_MPAL;
        //    ncfg->VideoMode = NIN_VID_FORCE_NTSC;
        //    ncfg->VideoMode = NIN_VID_FORCE_PAL60;
        //    ncfg->VideoMode = NIN_VID_FORCE_PAL50;      }*/


        // Prevent autobooting if B is pressed
        int i = 0;
        while((ncfg->Config & NIN_CFG_AUTO_BOOT) && i < 1000000) // wait for wiimote re-synch
        {
            if (i == 0) {
                PrintInfo();
                PrintFormat(DEFAULT_SIZE, BLACK, 320 - 90, MENU_POS_Y + 20*10, "B: Cancel Autoboot");
                GRRLIB_Render();
                ClearScreen();
            }
            
            FPAD_Update();

            if (FPAD_Cancel(0)) {
                ncfg->Config &= ~NIN_CFG_AUTO_BOOT;
                break;
            }

            i++;
        }
    }
This is a starting point that I need to test later
All options and paths can be set here,
the dol will autoboot the selected game with all the options needed
We can insert the dol into the custom channel wad
for vWii we can update the channel wad by adding vWii apploader
 

Attachments

  • background.png
    background.png
    422 bytes · Views: 227
  • font.rar
    397 bytes · Views: 203

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
almost working code:
Code:
    if(argsboot == false)
    {
    //    if (LoadNinCFG() == false){

            memset(ncfg, 0, sizeof(NIN_CFG));
            ncfg->Magicbytes = 0x01070CF6;
            ncfg->Version = 0x00000003;
            ncfg->Config = ncfg->Config |
            NIN_CFG_MEMCARDEMU |
            NIN_CFG_HID |
            NIN_CFG_USB |                
            //NIN_CFG_MC_MULTI |                    
            //NIN_CFG_CHEATS |
            //NIN_CFG_FORCE_WIDE |
            //NIN_CFG_FORCE_PROG |
            //NIN_CFG_NATIVE_SI |
            //NIN_CFG_WIIU_WIDE  |              
             NIN_CFG_AUTO_BOOT;                        
            ncfg->VideoMode = NIN_VID_AUTO;            
            ncfg->Language = NIN_LAN_AUTO;  
            sprintf( ncfg->GamePath, "/games/GAFE01 - Animal Crossing/game.iso");
//            sprintf( ncfg->CheatPath, "/games/GAFE01 - Animal Crossing/GAFE.gct");                  
            ncfg->MaxPads = 4;
             ncfg->GameID = 0x47414645;    //GAFE           
            ncfg->MemCardBlocks = 0x2;//251 blocks

        // Prevent autobooting if B is pressed
        int i = 0;
        while((ncfg->Config & NIN_CFG_AUTO_BOOT) && i < 1000000) // wait for wiimote re-synch
        {
            if (i == 0) {
                PrintInfo();
                PrintFormat(DEFAULT_SIZE, BLACK, 320 - 90, MENU_POS_Y + 20*10, "B: Cancel Autoboot");
                GRRLIB_Render();
                ClearScreen();
            }
            
            FPAD_Update();

            if (FPAD_Cancel(0)) {
                ncfg->Config &= ~NIN_CFG_AUTO_BOOT;
                break;
            }

            i++;
        }
    }
 
  • Like
Reactions: gburgue

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: I hate when there is a line at the gang bang