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,297
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:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, furry grandma?
  • BigOnYa @ BigOnYa:
    It sounds good actually, I like butterscotch
  • K3Nv2 @ K3Nv2:
    It sucked don't know wtf these little bits and pieces are they use now
    +1
  • BigOnYa @ BigOnYa:
    I live maybe 3 minutes from a Dairy Queen, so I would just go there for ice cream anything anyways. I usually get the Oreo Blizzard, or a Peanut Buster Parfait.
  • Xdqwerty @ Xdqwerty:
    whats a dairy queen?
  • BigOnYa @ BigOnYa:
    Ice cream shop
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, mmmm ice cream
    +1
  • K3Nv2 @ K3Nv2:
    Uremums a dairy queen
    +2
  • BigOnYa @ BigOnYa:
    Mmmmm uremum
    +1
  • K3Nv2 @ K3Nv2:
    Always shooting that dairy out uremums tiddies
    +1
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=xgBO9c3WKII