Hacking USB Loader GX

  • Thread starter Thread starter blackb0x
  • Start date Start date
  • Views Views 8,066,788
  • Replies Replies 30,226
  • Likes Likes 74
@blackb0x you are completely right, better to not jump into it if things are outdated and may not look good.

tbh i think a dark version of the default white theme would be perfect.

@Cyan i played that FF a while back and wasnt sure if your avatars name was Sabin or cyan hehe :) sabin is pretty cool character
 
Last edited by Nejsplitter_,
  • Like
Reactions: Cyan
Last edited by blackb0x,
  • Like
Reactions: BaamAlex
  • Like
Reactions: swosho and blackb0x
Talking about music, I remember trying that feature a long time ago and having the console lock up whenever the music was going to loop.

I tried again with this last version of the app and it worked perfectly. I don't know if something changed but it was quite satisfying to find out.

But there's something I want to report and that is that I get an DSI exception error whenever I try to go to the lower end of the Custom Paths settings window.
 
thats weird but I had a somewhat similar issue recently.

I broke my gamesettings related file(s) and everytime I tried to change settings per-game I got a dsi exception whenever I hit save. I broke it because I thought I game crashed during load (which wasn't the case) and powered off to early. Had to delete the gamesettings related cfg file to "fix" this issue

to cut a long story short, try checking global config file and/or delete it, because I dont get any error using custom path settings
 
we (me, and users who tested/reported) released the "UNEO booter for priiloader" because we thought priiloader didn't grant AHB privilege to installed boot dol.
so, we made a channel launcher, which had the tmd flag for ahb and passed it to loader's boot.dol on SD.

Then DacoTaco said priiloader is not always providing it, it relies on the boot.xml to know whether it has to pass it or not ! Like HBC.
I never tried, but if you install usbgx boot.dol in priiloader boot menu, be sure to have the boot.xml file in the same folder than the dol you want to install.

Someone named Rigby103 posted a better Wii Menu music loop for USB Loader GX.
It was never included to prevent using copyrighted content. no original/official data in the dol !
all the original content (like the Wii menu layout, visual, font etc.) are loaded live at boot from the NAND, not included in the dol. I wouldn't like to give Nintendo a stick for them to hit us with, a way to close the project.

@blackb0x
I would say, if you want to include the original loop music, then please, stream it from NAND, loaded at loader's launch, like the menu's layout. Or, you know, load/extract it and then load it from SD if present, like the animated banners.
Then, if you stream/load music file from USB (instead of SD), be sure the stream is closed when switching USB for users using "both USB" option. But maybe you already fixed that issue?

If I did add a theme downloader then I'd need to put most of the theme info into an XML file on GitHub. Mainly because I don't want to scrape the website for info and it requires JS anyway.
The loader uses tinyxml library to parse XML files. it works fine and fast with gametdb which is very big, no need of js.
Maybe Larsenv could (also) add a xml file on his site?
If users prefer using his site instead of your git, they could change the URL. (knowingly, some theme could be outdated)
But, in my opinion, no need to reinvent what's already available. The themes are already hosted, listed, categorized, has the info which usbloader version is compatible (might not be right, some recent theme are marked with usbgx 1.0), and ready to use.

The current provided xml doesn't have the theme's details, I don't know how hard it would be to generate one. I suppose the data are stored on a database, not filled by hand when uploading a new theme, so a xml could be quickly generated from it.
I still think talking and working together is better.
 
Last edited by Cyan,
  • Like
Reactions: Alexander1970
But there's something I want to report and that is that I get an DSI exception error whenever I try to go to the lower end of the Custom Paths settings window.
Could you send me your config file? You can send me a private message if you want.

I can only assume that it's some kind of custom path issue, since I'm unable to replicate the problem.


@Cyan I haven't even started looking into the music stuff yet. I only listened to the audio files last night :P

If I can load the official audio from the NAND then I might do that. Or I'd just create a higher quality recording than what exists.

The loader uses tinyxml library to parse XML files. it works fine and fast with gametdb which is very big, no need of js.
I meant the website requires JS, so the loader can't get any information from it. But even if it could I'd still go the XML route since it's so much faster.

Right now I don't really plan on adding the theme downloader back, but I might eventually.
 
I'm sure it's possible to load it from NAND. The loader is already loading all the resources from NAND to generate the banner layout, it shouldn't be any different.
But, I never looked at it either. Dimok did the work on loading the resources from NAND.
 
I've looked more around the custom path issue. It seems the problem is with the "Game Header Cache Files Path" because whenever I put the cursor on that option things get screwy. I did a capture to show it:

IPC_2021-08-19.10.59.48.0650.jpg

It's a bit hard to notice but when I put the cursor over that the paths move beyond the white box and ALL of them start to have changing letters. After that happens no matter what button I press, it gives the DSI Exception.

I tried to blank out the path for it but nothing changes beyond the path directions not showing on the right side like in the picture.

I wanted to solve without bugging you but I guess I'll need to send you the config file, or I imagine erasing the settings. Does that also erase all the per-game configurations?

Edit: I just resetted the settings and yeah, it works, but the path is the exact same one. I suspect it might be the font I've been using? It's significantly larger than the one on the default settings. I can't remember if it was something I put or font size is an option on the app itself. I'll keep checking.

Edit 2: Okay I found out.

I'm using the system's font, and I was using a font size of 1 (default is 0.8). When it's turned off, I get a smaller, bolder font, that does not make it crash. If I use System Font of of 0.8 or 0.9 size it works fine, but the very moment I change it to size of 1 (or 1.0 if you want) it's when it crashes.

I guess "Game Header Cache Files Path" is way too long to display with the system font. NONE of my paths were the issue. It's a UI issue, very unimportant at that, and easy to bypass (disable the System Font for a minute and do whatever you want with the Game Header Cache Files Path folder, then go back to System Font).

---

Besides all that, I got sneek to finally work with emunand on USB Loader GX, I wasn't doing a small but important step of the process.

Do any of you know if I can migrate nand configurations and stuff from one neek nand to another? I've been using a USB flash drive with a uneek installation before, and I got Riiconnect installed on it which was a pain to get done.
 
Last edited by Maeson,
  • Like
Reactions: Cyan
This should answer your question...


You might not always notice what's broken when using the extended setting, but if a game offers a brightness setting and the setting doesn't adjust then there's a chance that fade to black screen transitions might be broken in that game.

Stick to using "OFF (Safe)" and nothing will be broken.

Hey thanks for your reply. I've tried both and personally I like it better how it looks with extended, it's like everything's supersharp (sometimes maybe too much?). The only game I've found issues with extended is Prince of Persia the Forgotten Sands (won't boot).

Cheers
 
Last edited by kokenhalliwell,
Hello, i keep getting that problem for months and idk why usb loader gx is acting like that, it used to be normal for some point but it came like tthis after the Loading resources…
B73287ED-1456-4A7D-AD6B-E46765CC8589.jpeg
B73287ED-1456-4A7D-AD6B-E46765CC8589.jpeg
 

Site & Scene News

Popular threads in this forum