Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,225,412
  • Replies 29,375
  • Likes 48

Magnus87

Well-Known Member
Member
Joined
Apr 28, 2013
Messages
397
Trophies
1
XP
1,510
Country
Argentina
Cyan , where is the change log for 1244?

r1244 (Need to be polish)

Done:
* Renamed "Gametdb Path" to "Titles Path" and set default path for titles files to /titles/ subfolder. (Still wondering if a good idea to change the name)
* Added a prompt to move existing files when editing Titles folder. (Greywolf)
* Fixed compilation warning (Thanks Greywolf)
* Added current Version and revision number to boot screen
* Added an option to disable/enable Multi-disc prompt for DM/DML/Nintendont. Disabled by default now that Autoswap is working.
* Nintendont: Fixed Booting nintendont from USB if not using the first partition.
* Nintendont: Added the new Nintendont version string detection.
* Nintendont: Removed warning when using HID without controller.ini on r3.304+ (Auto-copy ini or folder to second device is working only if HID setting is enabled to boost game launch if ini not used)
* Nintendont: Fixed loading settings/cheats/controller.ini when booting from Disc if MCEmu was disabled.
* Removed some IOS58 patches to speed loader's launch time when using that IOS. (Tests needed before release)
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,702
Trophies
1
XP
1,950
Country
Cyan I can test it if you want, I been itching to update USBL anyway and some of the changes you listed are too delicious, btw is HID still an issue? I can't tell since I use a regular GC controller!
 

Eavorclear

New Member
Newbie
Joined
Mar 27, 2015
Messages
1
Trophies
0
Age
30
XP
41
Country
United States
Hey guys, I have an issue.
When I try to boot up a gamecube game (Melee 20XX)
It gives me an error message saying "You need to install an additional GameCube loader or select a different GameCube mode to launch GameCube games from USB or SD card"
How do I fix this?
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,702
Trophies
1
XP
1,950
Country
Hey guys, I have an issue.
When I try to boot up a gamecube game (Melee 20XX)
It gives me an error message saying "You need to install an additional GameCube loader or select a different GameCube mode to launch GameCube games from USB or SD card"
How do I fix this?
The message is the answer, you need to install a Gamecube loader, like Nintendont or Devolution, or select a GameCube mode, like Dios Mios or Wiigator (is this still thing being supported btw?)
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Like he said, the answer is in the message.

The gamecube mode is located in the Settings>Loader settings>Gamecube section>Gamecube mode : MIOS, Devolution, Nintendont.

If you are setting it to "MIOS", it will use the system file installed in the MIOS slot.
The MIOS slot can contains either:
MIOS : read retail discs (and copy if you have a modchip)
cMIOS : read copy (even without modchip)
DIOS MIOS : Read ISO from USB.
DIOS MIOS Lite : Read ISO from SD.
The message tells you that if you are using MIOS or cMIOS, and want to boot game from SD, you need to install a different MIOS (DIOS MIOS or DIOS MIOS Lite) which have SD or USB capability.

Or, it tells you to set the loader mode to Devolution, or nintendont. both are additional homebrew that you need to install on your SD card or USB.
default path is
apps/gc_devo/loader.bin
apps/nintendont/boot.dol


With nintendont, the HID issue is fixed (it was a nintendont bug, fixed in r324).
I'll contact you later to give you a test build of the loader.
 
  • Like
Reactions: GreyWolf

Garfunkiel

Active Member
Newcomer
Joined
Mar 11, 2010
Messages
28
Trophies
1
XP
518
Country
United States
I finally got around to updating my tab mod to use Cyan's r1243 code. To make the process easier for myself (and thus do a better job keeping up), I set up a GitHub repo for my changes: https://github.com/Garfunkiel/usbloader-gx-tabmod. All of the code I changed can be compared to the original code (I have a branch on there called "official-version" which is the same as Cyan's).

The most recent boot.dol file can always be found here: https://github.com/Garfunkiel/usbloader-gx-tabmod/raw/master/boot.dol.

I did some testing myself, but let me know if there are any issues in my version that aren't in the official version.https://github.com/Garfunkiel/usbloader-gx-tabmod/raw/master/boot.dol
 
  • Like
Reactions: Troopage and Cyan

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,516
Country
United States
- wad_install is no more in the code (removed before 3.0 release. added back on 3.0 channel dol, but not on the svn) !! add it back for channel release 3.1! Make a class function for Wad manager.

Done.
I have no idea how to build the channel wad, though, so I have not tested it yet. It is the same code from r1123 so if it was working then it should still work.
 

Attachments

  • ChannelUpdate.zip
    4.1 KB · Views: 139
  • Like
Reactions: Magnus87

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Thank you
I won't add it to 1244, but probably later (I will release the current changes to 1244, probably update the path to use sourceforge as I'm currently migrating it, but it still needs work)


I guess you just added the missing wad function, You actually made a (partial) class ! :grog:
I was more thinking of a Wad install class. the loader could install any wad to NAND too, not just for channel updater. the way you did it is fine too, but I guess we can have two different classes : wadinstall, and channelupdater.

To build a channel version, type
make BUILDMODE=channel

It will replace the version in the credit (adds a "c" -> 3.0c), and will edit the path for the update (update_dol.txt -> update_wad.txt)
When updating, it will download and install the wad to NAND.
to see if it works, you might have to play with the update_wad.txt URL and content.
install a version of your channel which check an URL you can edit. put a bigger revision inside and see if it downloads and install the new wad correctly.


The issue I'm having is that now vWii is using a different Wad
I might have to make two different update path (wii and vwii).
but users who already installed the converted full channel (some users might still have 3.0 r1180) will have notification that a new channel is available and it will download the wii version, resulting in black screen at launch if they install it :(
But there's no other way to do it, It's a needed bad for a good. I just hope not too many users have the old full channel converted for vWii. It wasn't released officially so it will be only users following hacking scene which installed such wrong file... I hope.
 
  • Like
Reactions: bm123456

Magnus87

Well-Known Member
Member
Joined
Apr 28, 2013
Messages
397
Trophies
1
XP
1,510
Country
Argentina
I finally got around to updating my tab mod to use Cyan's r1243 code. To make the process easier for myself (and thus do a better job keeping up), I set up a GitHub repo for my changes: https://github.com/Garfunkiel/usbloader-gx-tabmod. All of the code I changed can be compared to the original code (I have a branch on there called "official-version" which is the same as Cyan's).

The most recent boot.dol file can always be found here: https://github.com/Garfunkiel/usbloader-gx-tabmod/raw/master/boot.dol.

I did some testing myself, but let me know if there are any issues in my version that aren't in the official version.

Thanks!

Do you recommend a theme for tab mod?
 

Garfunkiel

Active Member
Newcomer
Joined
Mar 11, 2010
Messages
28
Trophies
1
XP
518
Country
United States
it's nice to see you are still here :)
Other users (mainly Badablek) are using and updating your mod too.

You made additional changes since last time you released it?

Not yet, though I plan on adding some way for users to customize which tabs appear, and in which order.

Thanks!

Do you recommend a theme for tab mod?

I haven't tried any, and honestly I'm not even sure if they'll work. They shouldn't crash it, but the buttons will probably be in the wrong place, and the tabs themselves won't change to match. If you're interested and don't mind doing some of the work, post a screenshot (or phone pic) of what happens if you change to a different theme with the tab mod, and I'll look into what would need to change to fix it. Maybe I just need to have the tab images load from a file instead of being compiled into the dol.
 
  • Like
Reactions: Troopage

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
I also plan to make proper tabs selection for future updates.
I don't know if you read my past posts here. I plan to make a global setting, and a per-tab setting. (to set for example "tab for kids, tab for wiiware, tab for RPG, tab for adult with parental control, etc."

I'm not planing it for near revision as I still have things to do first (neek2o, then release 3.1, then I'll work on it)
 

superkrups20056

Well-Known Member
Newcomer
Joined
Aug 15, 2012
Messages
98
Trophies
1
XP
170
Country
United States
p_W-W1NsjD43RaYUHdF4KWGnGe40AUE9-Qn5wTZKa-3tnk8OmP8m3OEYUaSIozFF6vi6HQnEoLD20Zw=w1896-h845


page-801#post-4354108

page-804#post-4362544

Thanks! This one looks sweet!!!! I'm excited!
 
  • Like
Reactions: game_rat

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
it's easy to make a theme yourself.
you add a .theme file (copy the default from the sources) inside your theme/ folder, edit only the element you want to move (position of the bar's icon).
then, in the theme menu you select the file you want to use.

note: each layout has his own button position.
You can move the bar when you are in banner layout, but keep it when you are in list view, etc.
or move the list view bar position to match the position of the 3 other layout (which is sometime an issue, clicking on the wrong button)
 

OriginalHamster

UStealthy
Member
Joined
Nov 2, 2008
Messages
3,380
Trophies
0
Age
44
XP
1,367
Country
Cote d'Ivoire
it's easy to make a theme yourself.
you add a .theme file (copy the default from the sources) inside your theme/ folder, edit only the element you want to move (position of the bar's icon).
then, in the theme menu you select the file you want to use.

note: each layout has his own button position.
You can move the bar when you are in banner layout, but keep it when you are in list view, etc.
or move the list view bar position to match the position of the 3 other layout (which is sometime an issue, clicking on the wrong button)
How do I remove the top bar alltogether?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/4Z-enjtn7t0?si=JxP181zLddGOC9jQ