Hacking Nintendont Themes and Custom Mods

  • Thread starter Thread starter AbdallahTerro
  • Start date Start date
  • Views Views 443,117
  • Replies Replies 2,649
  • Likes Likes 30
what about the progress bar position?
Everything else is fine, just the gamecube logo a bit too squished.
IMG_20141204_135251.jpg
 
I'll try adding background loading from custom path, Joostin figured the bugs yesterday and made few suggestions.
If all works as expected I'll make a dol that can both be used as default theme and as loading bar theme at the same time if custom background png is found.
Hopefully if all goes as expected theme selection and download will be the last step
 
Progress for today:
background selection works now
Code:
void Initialise()
{
    int i;
    AUDIO_Init(NULL);
    DSP_Init();
    AUDIO_StopDMA();
    AUDIO_RegisterDMACallback(NULL);
    CheckForGecko();
    gprintf("GRRLIB_Init = %i\r\n", GRRLIB_Init());
    myFont = GRRLIB_LoadTTF(font_ttf, font_ttf_size);
        fatInitDefault();
    GRRLIB_FreeTexture(background);
    int which_bg = 0;
    FILE * temp_bg_fp = NULL;
    if ((temp_bg_fp = fopen("NinBackLight.png", "r")))
        { 
            which_bg = 1;
            fclose(temp_bg_fp);
            temp_bg_fp = NULL;
            background = GRRLIB_LoadTextureFromFile("NinBackLight.png");
        }
    else if ((temp_bg_fp = fopen("NinBackDark.png", "r")))
        { 
            which_bg = 2;
            fclose(temp_bg_fp);
            temp_bg_fp = NULL;
            background = GRRLIB_LoadTextureFromFile("NinBackDark.png");
        }
    else
        {
            which_bg = 0;
            background = GRRLIB_LoadTexturePNG(background_png);
        }
    screen_buffer = GRRLIB_CreateEmptyTexture(rmode->fbWidth, rmode->efbHeight);
    for (i=0; i<255; i +=5) // Fade background image in from black screen
    {
        GRRLIB_DrawImg(0, 0, background, 0, 1, 1, RGBA(255, 255, 255, i)); // Opacity increases as i does
        GRRLIB_Render();
    }
    GRRLIB_DrawImg(0, 0, background, 0, 1, 1, 0xFFFFFFFF);
    gprintf("Initialize Finished\r\n");
}
 
I'll try adding background loading from custom path, Joostin figured the bugs yesterday and made few suggestions.
If all works as expected I'll make a dol that can both be used as default theme and as loading bar theme at the same time if custom background png is found.
Hopefully if all goes as expected theme selection and download will be the last step

So being able to mix and match loading images with loading bars?
 
yes so far so good
I made a patch that works very well
https://www.dropbox.com/s/vo0ap9mj2duyv3d/Custom_Backgrounds.patch?dl=0

you have to place either NinBackLight.png or NinBackDark.png in the boot.dol or loader dol folder
then you get 3 cases:
1. no NinBackLight.png or NinBackDark.png >> Nintendont boots normally using default background
2. NinBackDark.png is found >> Nintendont will hide all text and loads that background with a silver loading progress bar
3. NinBackLight.png is found or both files found >> Nintendont will hide all text and loads that background with a custom purple loading progress bar

In case B is pressed during autoboot, the default theme gets loaded automatically
 
  • Like
Reactions: Gomza and VinsCool
yes so far so good
I made a patch that works very well
https://www.dropbox.com/s/vo0ap9mj2duyv3d/Custom_Backgrounds.patch?dl=0

you have to place either NinBackLight.png or NinBackDark.png in the boot.dol or loader dol folder
then you get 3 cases:
1. no NinBackLight.png or NinBackDark.png >> Nintendont boots normally using default background
2. NinBackDark.png is found >> Nintendont will hide all text and loads that background with a silver loading progress bar
3. NinBackLight.png is found or both files found >> Nintendont will hide all text and loads that background with a custom purple loading progress bar

In case B is pressed during autoboot, the default theme gets loaded automatically

Lol I don't know why THIS version couldn't be implemented in official nintendont :)
Background and status bar is optionnal after all :P
 
  • Like
Reactions: VinsCool

Site & Scene News

Popular threads in this forum