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
  • BigOnYa @ BigOnYa:
    If your internet speeds are fast enough. Streaming 4k takes alot. I used to only have 20mb sec, and 4k struggled. Now I have 300mb sec and 4k plays fine.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only have like 1 or 2 mb sec
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • 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?
    Xdqwerty @ Xdqwerty: @K3Nv2, furry grandma?