stonetempler said:
Hope anyone can Answer or make it working :
So here again:
Problem:
My Problem is when the USB loader loads normal all is ok Boxart/Game Images are there, but
when he must be a Usb Retry to detect the USB drive the Boxart/Game Images are left.
Solution other Thread:
this is the only loader that works for me to load all my images no matter how long it takes to load usb device.
http://wiinewz.com/forums/591533-post80.html
(Source is inside )
So can anyone put the Source in the UltimateLoader ?
Check your PM. If that doesn't work, there's nothing I could do.
cannot boot it , it doesnt starts.
In the Brisma file is the EditforCovers.txt
QUOTE
- Add the library fat.h under the include in menu.c:
-------------------
#include "disc.h"
#include "menu.h"
#include "partition.h"
#include "restart.h"
#include "sys.h"
#include "utils.h"
#include "video.h"
#include "wbfs.h"
#include "wpad.h"
#include "fat.h"
-------------------
- Add this function to menu.c before the function Menu_Loop():
-------------------
void Load_Cover()
{
// Obtain ID
struct discHdr *header = NULL;
header = &gameList[gameSelected];
char png_cover[80];
sprintf(png_cover, "usbloader_cover/%s.PNG", header->id);
// Draw Cover
fatInitDefault();
PNGUPROP imgProp;
IMGCTX ctx;
s32 ret;
ctx = PNGU_SelectImageFromDevice(png_cover);
if (!ctx) return;
ret = PNGU_GetImageProperties(ctx, &imgProp);
if (ret != PNGU_OK)
{
ctx = PNGU_SelectImageFromDevice("usbloader_cover/none.png");
ret = PNGU_GetImageProperties(ctx, &imgProp);
}
Video_DrawPng(ctx, imgProp, 62, 203);
PNGU_ReleaseImageContext(ctx);
}
-------------------
- Always in menu.c, add a simple Load_Cover(); under the User/Free Space printf:
-------------------
printf("[+] Used Space: %.2fGB, Free: %.2fGB", used, free);
Load_Cover();
-------------------
That's all