Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,218,884
  • Replies 29,375
  • Likes 48

zigoraty

Well-Known Member
Newcomer
Joined
Sep 29, 2022
Messages
92
Trophies
0
Age
27
Location
Paraíba
XP
338
Country
Brazil
Você tem o encaminhador UNEO instalado e o carregado configurado para retornar a si mesmo quando você sai de um jogo? Se não, tente habilitá-lo para ver se muda alguma coisa.

Eu gostaria de saber se mais alguém é capaz de replicar o problema, pois não consigo no meu Wii.
Yes I have UNEO forwarder installed. I did that and the problem persisted, I tried uploading through Homebrew too. So I decided to go back to version 1270 for now.
 

RetraCarteR

Active Member
Newcomer
Joined
Dec 18, 2022
Messages
25
Trophies
0
Age
25
Location
San Antonio, Texas, United States of America
XP
585
Country
United States
@blackb0x Thanks for putting the r1281 update out so quickly. I didn't personally experience any of the bugs that people are saying were introduced in r1280, but I'll be sure to update regardless.

Are we allowed to make feature requests here? Because if so, one thing I'd really like to see is someday is the addition of 240p/288p to the list of force-able video modes. In terms of official support, it's mostly only used by Virtual Console titles, and even in those it's a fairly obscure feature that usually isn't enabled by default. Still, it'd be nice to just be able to set it in the game-specific settings for those games instead of having to set it to "System Default" and messing around with the Wii's system settings, especially if the games in question are stored on EmuNAND.

I looked through the source code on GitHub, and implementing this feature looks like it shouldn't be too hard. In source/patches/gamepatches.c, the GXRModeObj for it is already defined as "&TVNtsc240Ds" (for NTSC 240p), "&TVPal264Ds" (for PAL 288p at 50 Hz), and "&TVEurgb60Hz240Ds" (for PAL 240p at 60 Hz). Adding it as a select-able option would just be a matter of defining the new settings in source/usbloader/disc.c and adding them to the various settings files. Honsetly, I'd try to implement this myself, but I don't know how to compile the code, and I wouldn't want to send a pull request without being able to test it first.

It's totally fine if you don't think this is worth adding as a feature, and I fully expect it to be very low-priority on your list even if you do, but I thought I might as well float the idea out there.
 
  • Like
Reactions: ber71 and blackb0x

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
Are we allowed to make feature requests here?
Absolutely. And if it isn't too far out there then of course I'll see what can be done, but that doesn't guarantee that I'll add your feature.

Honsetly, I'd try to implement this myself, but I don't know how to compile the code, and I wouldn't want to send a pull request without being able to test it first.
If you fork the project on GitHub then you can then press the green code button and select the Codespaces tab. Then you can make edits in your browser, compile the code (Ctrl + Shift + B) and download the DOL file.

To compile it from your own PC you'd just need to install devkitPro and Git, clone the repo and then input the make command via MSYS2 (mintty).
 
Last edited by blackb0x,

kot7k

Active Member
Newcomer
Joined
Dec 26, 2008
Messages
30
Trophies
1
Website
www.gofansub.net
XP
126
Country
Spain
I assume you've pressed 1 and set the HBC to the USB device?

You might be experiencing the bug that I've already fixed in r1280. Although I'd recommend waiting for r1281 as I'll be releasing it very soon.
Hi,

Thank you for your answer. I just updated to the latest version but i still have the same problem. Well, like i said it's not that much of a problem, maybe an improvement it could be done. I will try to explain it better if you want to look into it.

Btw i have ios configured as you recommend. I had my wii modded from many time ago so the other cios (Hermes and before) might be outdated but the 249,250,and 251 are the latest ones configured as you recommend here https://github.com/wiidev/usbloadergx

Steps to reproduce:
Like i said, my wii have the latest priiloader installed and it automatically loads into usb loader channel (i don't go to system menu). From usb loader gx, if i show wii channels, and go into homebrew channel (btw, my homebrew channel is the one linked here https://wiibrew.org/wiki/Homebrew_Channel/Homebrew_Channel_1.1.4 by FIX94) . It loads hombrewchannel properly but it doesn't show any apps on my usb. If i press button 1 i can't select usb. If i insert an sd card with apps it loads them but it doesn't seem to be able to "see" the usb. And if i press home i can see in the upper-right corner 1.1.4 IOS 58 v255.255. My idea was to configure this channel to load with ios 58 configuring the loader but it doesn't let me configure an IOS lower than certain number (200?).
Tried to install latest official homebrew channel wich i think it was 1.1.2 from hackmii installer and it doesn't even load from usb loader gx, just goes to system menu.

If i go to system menu from usb loader gx (pressing wii button from usb loader gx) and then i load homebrew channel there, usb apps appear without any problem. If a press home button i can see in the upper-right corner 1.1.4 IOS 58 v24.31
 

Sypherone

Gaming Ninja
Member
GBAtemp Patron
Joined
Apr 28, 2019
Messages
1,656
Trophies
2
Age
44
XP
2,843
Country
Germany
I can replicate this issue so far on r1281, i dont know atm if i have the apps folder on USB HDD.
But if i launch the homebrew channel within the Wii-Sysmenu it let me choose the USB-drive. If i launch it within the USB Loader GX it doesnt let me choose it and is gryed out. Iam using as loader and game cIOS 151(base58).
My idea was to configure this channel to load with ios 58 configuring the loader but it doesn't let me configure an IOS lower than certain number (200?).
Yes only the loader cIOS can be set to 58, not the game cIOS.
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
@kot7k What version of the loader were you using before you upgraded to r1281?

All of the settings for the homebrew channel are irrelevant as of r1280 because it now uses libogc's SYS_ResetSystem() to return you to the menu.

@Sypherone Does that also happen with r1271 or r1272 for you?
 

CoolMe

"Action-packed movie" star
Member
Joined
Apr 16, 2019
Messages
7,587
Trophies
1
Age
29
XP
34,185
Country
United States
@blackb0x Off topic, in a way, the Wii version of Shakedown Hawaii is not being recognized on USBLoaderGX on ver. 1272, the game appears and works in WiiFlow_Lite. The wbfs file is not corrupt or anything (checked).
One more thing, Metroid Prime Trilogy hangs on a black screen after the safety notice, but works in WiiFlow_Lite. Again the split wbfs files are checked.
Not a big deal to me really, i'm just putting this here so you'd know..
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
@blackb0x Off topic, in a way, the Wii version of Shakedown Hawaii is not being recognized on USBLoaderGX on ver. 1272, the game appears and works in WiiFlow_Lite. The wbfs file is not corrupt or anything (checked).
It seems to work for me with r1281. So do you have the game ID in the folder name? Without it USB Loader GX won't display games.

One more thing, Metroid Prime Trilogy hangs on a black screen after the safety notice, but works in WiiFlow_Lite. Again the split wbfs files are checked.
Do you think you've got any global settings or game settings enabled that could cause that? Since it works for me with r1272 and r1281.
 

CoolMe

"Action-packed movie" star
Member
Joined
Apr 16, 2019
Messages
7,587
Trophies
1
Age
29
XP
34,185
Country
United States
It seems to work for me with r1281. So do you have the game ID in the folder name? Without it USB Loader GX won't display games.
Not sure.. will check and report later.
Do you think you've got any global settings or game settings enabled that could cause that? Since it works for me with r1272 and r1281.
I usually don't mess with any settings unless something's not working for some reason.. So it should be set to default i think.
Thanks for your input, btw!
 

RetraCarteR

Active Member
Newcomer
Joined
Dec 18, 2022
Messages
25
Trophies
0
Age
25
Location
San Antonio, Texas, United States of America
XP
585
Country
United States
Hey everyone! I've created a fork of USB Loader GX that allows users to force 240p (NTSC and PAL) and 288p (PAL only) video modes, and I've submitted a pull request on GitHub to merge it into the main project. I've tested out a few games using the new "Force NTSC 240p60" option I added under "Video Mode", and unfortunately, the results I've gotten so far have been... mixed to say the least. Here's what I tested:
  • Super Mario All-Stars (Wii Disc): Both the game and the home screen run perfectly in 240p. This is huge, as before now, there's been no way to run this one in native 240p, and as a game originally released on the SNES, it really benefits from it.
  • Super Mario RPG (SNES Virtual Console): Both the game and the home screen run perfectly in 240p. Before now, you could get the game to run in native 240p with some finagling, but the home screen was locked to 480i when doing so. Forcing 240p could be useful for people with video scalers like the OSSC that briefly drop sync when the resolution changes.
  • Sonic 1, 2, and 3 (Sega Genesis Virtual Console): Only the game works in 240p, and only if 480i output is set in the Wii system settings (if running the game through full NAND emulation, you'll have to set your Wii to output in 480i and then select "Export SYSCONF to EmuNAND" in USB Loader GX's settings). As for the home screen, my TV's signal cuts out whenever I try to bring it up. This isn't that useful, as when setting the video mode to "System Default" under these conditions, you can get the game running in 240p and the home screen in 480i.
  • Sonic & Knuckles (Sega Genesis Virtual Console): Like the first three Sonic games, the game works in 240p and the home screen gives no signal, but unlike those games, it works regardless of your system and EmuNAND settings. Notably, this game could not run in 240p on EmuNAND before now, only on real NAND.
  • Super Mario 64 (N64 Virtual Console): Only the top half of the screen is shown during gameplay, but the home screen does render in 240p. Not that useful in practice.
  • Paper Mario (N64 Virtual Console): Crashes to a black screen immediately, even with a cIOS setup that allows the game to run under the default video settings.
  • Mario Kart Wii (Wii Disc): Gives no signal. About what I was expecting, and what you'll probably get for most Wii games.
With these results in mind, I added a series of warning prompts that pop up whenever you switch to the 240p/288p video modes saying that the modes are experimental at the moment and may not work with all games. It might be possible to improve compatibility in the future, but for now, it seemed good enough to release to the masses (assuming that @blackb0x approves it, of course). If nothing else, it's an interesting novelty for people who like tinkering with different video modes.

I'm leaving it below for anyone who wants to try it out now. You're welcome to share information here regarding which games work under the new modes and which don't, but please don't harass me or @blackb0x about fixing any that don't. I might see what (if anything) I can do about it eventually, but only after this is merged into the project and included in the next official release, if indeed it is.
 

Attachments

  • USB Loader GX r1281 Video Test Mod.zip
    2.8 MB · Views: 25
Last edited by RetraCarteR,

jeannotte

Well-Known Member
Member
Joined
Jun 15, 2016
Messages
4,536
Trophies
1
Age
53
XP
4,932
Country
France
Hello,

just as an indication for @blackb0x and the others

I tested version 1281, it works on my wii with the version of D2x v8 Final cios:

wii version 4.2,
cios used 249 base56 D2x v8 Final
cios used 250 base57 D2x v8 Final
cios used 251 base58 D2x v8 Final
loader parameters 249

test of the game Kirby adventure on SD and USB:
first time launch on SD: BLACK SCREEN
second time launched on USB: it works
third time I relaunch Kirby adventure on SD: IT WORKS:yaywii::yay::grog:
 

r1vver

Well-Known Member
Member
Joined
Oct 7, 2017
Messages
551
Trophies
0
XP
979
Country
Russia
I added a warning prompt that pops up whenever you switch to the 240p/288p video modes saying that the modes are experimental at the moment and may not work with all games
with results like this, it should be more than just a warning. This should be a super warning with three degrees of verification. Do not forget that people usually poke everything without reading anything. Maybe it's worth to add a forced reset of last settings (just last settings, not to default) for such modes?
 
Last edited by r1vver,
  • Like
Reactions: ChibiMofo

Darz

Member
Newcomer
Joined
Jan 9, 2023
Messages
6
Trophies
0
Age
34
XP
94
Country
Spain
Hi everyone! I have registered again (other acc is impossible to recover), because I thought I had to present my case:

A couple of weeks ago my sata-usb connector died and all the content that I had on that hard drive was transferred to a SD.

USB Loader GX at that time did not have support to load my backups from SD, so I used the other loader, WiiFlow. I do not want to create a debate about what it is better or worse, simply for me it was an alternative until today, because I've heard about the new support for SD loading and was pretty excited to get back to USB Loader GX.

I copied the new version to my SD Card, power on my wii, updated the d2x v11 cIOS... I started usb loader GX and... no games appeared. I boot it with the SD option, but nothing.

If I try to download some stuff like languages or the WiiTDB.xml, appear an error "could not create path usb8:/apps/...", settings are not saved too...

Which makes me suspect that the mounting of the sd card is not done correctly or is not supported (microSDXC 256GB SanDisk).

The SD Card is format is FAT32 using the "wbfs" for wii and "games" for gamecube games folders, like I said d2x v11 cIOS are installed as recommended in the wiki...
 

kot7k

Active Member
Newcomer
Joined
Dec 26, 2008
Messages
30
Trophies
1
Website
www.gofansub.net
XP
126
Country
Spain
If I try to download some stuff like languages or the WiiTDB.xml, appear an error "could not create path usb8:/apps/...", settings are not saved too...
That also happened to me during some tests. usb8 is probably not the right path. Just delete the config file (i think it was GXGlobal.cfg) and let it recreate it again if you dont wan't to mess up changing it manually.

@kot7k What version of the loader were you using before you upgraded to r1281?

All of the settings for the homebrew channel are irrelevant as of r1280 because it now uses libogc's SYS_ResetSystem() to return you to the menu.

I had the previous one r1280 (just reinstalled wii some days ago). I don't understand what are you telling me with that. I'm just saying that with my config, if a launch homebrew channel 1.1.4 from usb loader gx, i can't access usb from homebrew channel. Everything else works fine.
And the same homebrew channel can access usb without problems if i launch it from system menu (instead of launching it through the wii channel in usb loader gx)
 

rexus_pl

Well-Known Member
Member
Joined
Mar 26, 2022
Messages
112
Trophies
0
Age
22
Location
Gniezdzewo
XP
907
Country
Poland
Note: NoobletCheese's advise is to set values either to 54, 80 (average value), or 120, depending the game.
This is in line with Swiss predefined width values which are 654px, 672px, 694px, 720px (not sure about the last two, I have to check)
Thanks! That works. I've tried with small values (42 ~ 45), so I haven't noticed the diffrence.

You display 4:3 games in 16:9 ? If no, black lines on sides of the image are normal (I'm not speaking of the 4:3 pillarboxes).
I have 16:9 TV. Some games looks great with "Force Widescreen" path, some are streched... how to run them in pillarbox (setting width to 40 wouldn't be enough)?
 
  • Like
Reactions: ChibiMofo

Darz

Member
Newcomer
Joined
Jan 9, 2023
Messages
6
Trophies
0
Age
34
XP
94
Country
Spain
@Darz Just checking: you do have your paths set up correctly, right?

try my d2x v8 final cios setup as above ==>

just try to see , please .

That also happened to me during some tests. usb8 is probably not the right path. Just delete the config file (i think it was GXGlobal.cfg) and let it recreate it again if you dont wan't to mess up changing it manually.

I have tried to overwrite the previous version, and then deleting all and trying clean. I see that USB Loader, does not create a configuration file for me (I have made sure that the SD does not have the lock set, in addition that I have now copied files from the PC)


So I can't edit paths from the louder and from outside editing the cfg

@jeannotte I will try it
 
  • Like
Reactions: jeannotte

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
it works on my wii with the version of D2x v8 Final cios:
Yeah it will, but you'd have better compatibility if you also put base 38 into slot 248. And d2x v11 fixes compatibility with patched RiiConnect24 channels, but it might also fix issues in some games.

test of the game Kirby adventure on SD and USB:
first time launch on SD: BLACK SCREEN
second time launched on USB: it works
third time I relaunch Kirby adventure on SD: IT WORKS:yaywii::yay::grog:
I can't say for sure why it's a little more picky from an SD card, but I suspect it's likely cIOS related (as in a d2x cIOS bug).

In general you'll be able to play more games from USB than an SD card.

I don't understand what are you telling me with that.
You previously said you'd tried changing the cIOS for the homebrew channel. So I'm just telling you that it wouldn't make a difference as of r1280.

If you press the home button and select to return to the homebrew channel then is the USB option inaccessible?

@Darz I've tested it with a 256GB Amazon Basics microSDXC card, which was really cheap during Black Friday.

Is your SD card one big FAT32 partition and do you get promoted to boot the loader in SD card mode when you boot from the homebrew channel without a USB storage device connected?
 
Last edited by blackb0x,
  • Like
Reactions: jeannotte

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Chronic The HempHog
  • DilllyDabDharma @ DilllyDabDharma:
    I'm new! Hi!
    DilllyDabDharma @ DilllyDabDharma: I'm new! Hi!