- Return To -> USB Loader GX - That one doesn't show, I tried to no avail.![]()
Thank you.
That is because you maybe did not have installed the Forwarder Channel of the USBLoader GX.
https://gbatemp.net/threads/usb-loader-gx.149922/page-1111#post-6478222
- Return To -> USB Loader GX - That one doesn't show, I tried to no avail.![]()
it's possible, but not recommended as it's usually more complicated to manage, and has less compatibility.
There are three things to know:
- cIOS
- settings
- compatibility
Apparently, your issue is only the cIOS, as you managed to load wii and gamecube correctly.
but, I'll detail everything (again?) for any other users who want the info.
if you use IOS58, looking at both ports works, but playing the game won't! (this is your problem)
reloading to cIOS at game launch, if you use any non dual port compatible will lose access to Port1, don't find the game, reboot/reset to menu.
cIOS
In order to see both USB Port, you need a cIOS compatible with Port0 and Port1.
there are :
hermes cIOS (any)
cIOS d2x v9 beta (unreleased apparently?)
dIOS d2x v10-alternative (r53)
So, if you are on Wii, you can try hermes cIOS. if you already have any cIOS in the 220-224 range, these are the one!
if not, you can install d2x v10 r53 in one of your slot (251 is rarely used for example).
you could install r53 base57 in slot251 ?
set your loader's setting "Game's IOS" to use one of these slot.
set your loader's settings to either "IOS58" or the same slot than the "Game's IOS".
I'd recommend to use both the same IOS, not IOS58.
Settings
cIOS was the first step only!
Now that the cIOS is compatible with both ports, you need to tell the loader to actually look at both ports!
Settings > HDD settings > Port : Both !
And if you want, you can also have the loader list games of both ports at the same time !
settings > HDD settings > multi-partition : enabled
Note that the multi-partition option is only for Wii games.
For gamecube games, it's a little more complicated.
now, having both HDD at the same time, the partition order will be different based on the IOS you are using for "loader's IOS".
if you use a cIOS in the loader's interface (loader's IOS) then ports are mounted in incremental order (Port0 -> port1)
if you use IOS58 as "loader's IOS", they are loaded decrementally (Port1 -> port0)
The "first partition" loaded by the loader as "usb1:/" will then depend which IOS you are using!
you will need to properly set both partition of the Wii and the gamecube (and everything else, like emuNAND, covers, themes, cheats, etc.) here :
Wii : Settings > HDD > Partition : select the partition where you want to "install" dumped discs. This is also the only partition you will list if you don't enable "multi partition" option.
Other : Settings > user path > Change every path to reflect the proper HDD partition.
usb1:/ is the first partition loaded by the loader
usb2:/ is the second partition loaded by the loader
usb3:/ the third, etc.
Compatibility
unfortunately, r53 is a beta version and has less compatibility with both hardware AND software.
Some HDD are not working at all with it.
if your HDD works, some games have issues with it ! either not working at all (black screen, like just dance) either freezing randomly while playing.
WARNING
when using dual HDD setup, NEVER use your HDD as the place to store any of the application files.
no boot.dol
no covers
no cheats
no settings
no themes
no audio
NOTHING OTHER THAN ISO AND WBFS!
If you ever have a file loaded by the loader located on the USB while inside the Loader's interface, you'll crash the console, and you can also lose your partition data !
It's because USB are not really loaded at the same time. they are unmounted, switched, remounted.
if you have a used file (say the settings, cover, or audio steam music for your theme) on one HDD, then trying to list game from the other USB port will force the USB port to shutdown, losing access to your opened file currently steaming (audio or text is a stream), and the App will try to access/read/write the same data from the newly opened USB connection at the same place the other file was located ! it could damage your file table and content of the partition. you can lose files!
ONLY EVER USE SDCARD FOR HOMEBREW RESOURCES !
this is very very important!
for all your homebrew, always use an SD card ! this is the basis for wii homebrew. don't be cheap, SD card are not expensive at all. buy one if you don't have homebrew on SD ! put all the /apps/ folder on SD ! never on USB when using dual port.
Conclusion
it's possible. it works. badly.
it's a feature of the loader, but it's not really encouraged to use it due to r53 requirement (and incompatibility).
For game compatibility you'll probably have better chance by trying Hermes cIOS instead of d2x v10-alt ! try slot222, 223 or 224 ?

32GB is fine if it's SDHC.I need something bigger for my emulated NAND so ordered a 32gb one. What is the best cluster size for emu NAND?

oh, you are right, I didn't notice it was different game "number".
I stopped reading at their names "metal slug"
if any cIOS combination work, let me know and I'll add that to the compatibility list.
it'll help other users to have a neogeo section on the wiki.
@BillyBlaze
thanks for the new tests.
test#12, launching game from first partition doesn't work?
it shouldn't care if there are anything located past the 2TB mark as it never access it.
And I thought using 64k (test#11) would work.
It's strange as few users reported using 8TB FAt32 partitions and never reported a problem, crash or freeze.
thank you for the dump, but onedrive gives me a whitescreen, no download or picture.
If you want you can attach the file on your post here. next to "post reply" there's a "upload a file" button, once attached you choose whether you want it added to the message as thumbnail or full screenshot.
I wouldn't have thought both GX and Wiiflow would generate the exact same dsi. I guess they use the same sources for drive access.
Partititionhandle.h:
u32 GetLBAStart(int pos) { if(valid(pos)) return PartitionList[pos].LBA_Start; else return 0; };
Partititionhandle.h:
u32 GetSecCount(int pos) { if(valid(pos)) return PartitionList[pos].SecCount; else return 0; };

That was the plan originally, but then he wen't missing for 6 months and hasn't replied to my messages either.

Reading symbols from F:\Homebrew\Wii\USBLoaderGX\trunk\1272.elf...done.
(gdb) info line * 0x80c349ac
Line 132 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/memory/mem2alloc.cpp" starts at address 0x80c349a4 <_ZN10CMEM2Alloc7releaseEPv+68> and ends at 0x80c349b8 <_ZN10CMEM2Alloc7releaseEPv+88>.
(gdb) info line * 0x80c34988
Line 128 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/memory/mem2alloc.cpp" starts at address 0x80c34988 <_ZN10CMEM2Alloc7releaseEPv+40> and ends at 0x80c3498c <_ZN10CMEM2Alloc7releaseEPv+44>.
(gdb) info line * 0x80c5a06c
Line 145 of "f:/Homebrew/Wii/USBLoaderGX/branches_sourceforge_svn/libs/libcustomfat/libogc/../source/libfat.c" starts at address 0x80c5a06c <fatUnmount+80> and ends at 0x80c5a070 <fatUnmount+84>.
(gdb) info line * 0x80b949e8
Line 190 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/Controls/PartitionHandle.cpp" starts at address 0x80b949e8 <_ZN15PartitionHandle7UnMountEi+152> and ends at 0x80b949f4 <_ZN15PartitionHandle7UnMountEi+164>.
(gdb) info line * 0x80b93f80
Line 270 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/Controls/DeviceHandler.cpp" starts at address 0x80b93f7c <_ZN13DeviceHandler13UnMountAllUSBEv+488> and ends at 0x80b93f84 <_ZN13DeviceHandler13UnMountAllUSBEv+496>.
(gdb) info line * 0x80ba68e0
Line 55 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/usbloader/wbfs.cpp" starts at address 0x80ba68e0 <WBFS_ReInit+192> and ends at 0x80ba68ec <WBFS_ReInit+204>.
(gdb) info line * 0x80c2eb00
Line 1323 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/menu/GameBrowseMenu.cpp" starts at address 0x80c2eb00 <_ZN14GameBrowseMenu8MainLoopEv+7012> and ends at 0x80c2eb08 <_ZN14GameBrowseMenu8MainLoopEv+7020>.
(gdb) info line * 0x80c31074
Line 541 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/menu/GameBrowseMenu.cpp" starts at address 0x80c31074 <_ZN14GameBrowseMenu7ExecuteEv+128> and ends at 0x80c3107c <_ZN14GameBrowseMenu7ExecuteEv+136>.
(gdb) info line * 0x80b66628
Line 206 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/menu.cpp" starts at address 0x80b66628 <_Z8MainMenui+784> and ends at 0x80b6662c <_Z8MainMenui+788>.
Well, at the moment the pull request that I originally sent you only contains 3 changes (optimised assets, TLS support & manual version incrementation). Out of them 3 I can only assume that you don't want manual version incrementation, but that's required to fix an issue where you'd end up with a DOL file that keeps resetting settings.I still don't know how to merge only partially, (maybe accept all your changes and then revert few changes back? because there are things I don't want from your mod)
Actually, it doesn't require that many changes. I know this because my enhanced version already has the changes required to do everything from GitHubplus I still want to commit to sourceforge or there would be lot of changes needed to fully go to github.
Nope. And I guess that's always going to be a problem while you're using SVN on SourceForge.can github generate diff files?

All of the alternative URLs were dead, so as rc24.xyz is the only reliable source these days I thought it made sense to hardcode it into the loader. It also means that you're securely connecting to the website, which wouldn't happen if the setting was being read from an old config file.I don't want hardcoded URLs for custom banners, it was in the setting file for a reason.
Yea, I wanted it to be clean and obvious. So if you were to compile from either GitHub or SourceForge it'll work no matter what.the manual version incrementation could have been done directly in an existing file, it didn't need a new one. I guess yours is more visible or obvious.
BillyBlaze, thanks for pointing at these sources.
we can try to change that to unsigned 64, and see if it's enough. there might have other place where we need to change it.
Here is the result of the code dump trace back:
it gives all the stack from the error (mem2 alloc) to the first called function (menu.cpp)
it's a good start to know which files to look at and will need an update.
Code:Reading symbols from F:\Homebrew\Wii\USBLoaderGX\trunk\1272.elf...done. (gdb) info line * 0x80c349ac Line 132 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/memory/mem2alloc.cpp" starts at address 0x80c349a4 <_ZN10CMEM2Alloc7releaseEPv+68> and ends at 0x80c349b8 <_ZN10CMEM2Alloc7releaseEPv+88>. (gdb) info line * 0x80c34988 Line 128 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/memory/mem2alloc.cpp" starts at address 0x80c34988 <_ZN10CMEM2Alloc7releaseEPv+40> and ends at 0x80c3498c <_ZN10CMEM2Alloc7releaseEPv+44>. (gdb) info line * 0x80c5a06c Line 145 of "f:/Homebrew/Wii/USBLoaderGX/branches_sourceforge_svn/libs/libcustomfat/libogc/../source/libfat.c" starts at address 0x80c5a06c <fatUnmount+80> and ends at 0x80c5a070 <fatUnmount+84>. (gdb) info line * 0x80b949e8 Line 190 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/Controls/PartitionHandle.cpp" starts at address 0x80b949e8 <_ZN15PartitionHandle7UnMountEi+152> and ends at 0x80b949f4 <_ZN15PartitionHandle7UnMountEi+164>. (gdb) info line * 0x80b93f80 Line 270 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/Controls/DeviceHandler.cpp" starts at address 0x80b93f7c <_ZN13DeviceHandler13UnMountAllUSBEv+488> and ends at 0x80b93f84 <_ZN13DeviceHandler13UnMountAllUSBEv+496>. (gdb) info line * 0x80ba68e0 Line 55 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/usbloader/wbfs.cpp" starts at address 0x80ba68e0 <WBFS_ReInit+192> and ends at 0x80ba68ec <WBFS_ReInit+204>. (gdb) info line * 0x80c2eb00 Line 1323 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/menu/GameBrowseMenu.cpp" starts at address 0x80c2eb00 <_ZN14GameBrowseMenu8MainLoopEv+7012> and ends at 0x80c2eb08 <_ZN14GameBrowseMenu8MainLoopEv+7020>. (gdb) info line * 0x80c31074 Line 541 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/menu/GameBrowseMenu.cpp" starts at address 0x80c31074 <_ZN14GameBrowseMenu7ExecuteEv+128> and ends at 0x80c3107c <_ZN14GameBrowseMenu7ExecuteEv+136>. (gdb) info line * 0x80b66628 Line 206 of "f:/Homebrew/Wii/USBLoaderGX/trunk/source/menu.cpp" starts at address 0x80b66628 <_Z8MainMenui+784> and ends at 0x80b6662c <_Z8MainMenui+788>.

the list of old URL was used to auto-update old config files.All of the alternative URLs were dead, so as rc24.xyz is the only reliable source these days
Hello. Quick question, which hopefully won't be derailed.
Is a partitioning schema with GPT and multiple partitions (preferably FAT32 + NTFS, something that anyone has ever got working with usbloader gx?
billyblaze, you are right. it'll depend on the cIOS to access these LBA addresses.
I suppose to test it we would require an update of both the loader and cIOS (leseratte is working on new modded versions).
I didn't work on the loader for more than a year. I'm also rusted.
BlackBox is more active and might have a more fresh view on the sources.
In some areas maybe, but there's a lot of old code that looks like it was worked on my multiple people, so it's not always easy to follow.BlackBox is more active and might have a more fresh view on the sources.
Well it's not like you're wrong, having an option wouldn't be bad. But it should act as a new setting so that the old URL is ignored/removed. I didn't bother to go this route myself since I'm still working on the project and I believe rc24.xyz should be a reliable source for the foreseeable future.the list of old URL was used to auto-update old config files.
I may be "stuck in the past" like sourceforge
I guess you have a more future vision on what must be done.
You need to be very careful with assets like that because they can quickly consume too much memory and then various functions start to trigger OOM errors. WiiFlow with a specific theme recently had this problem too.rework all the menus and options and use pictures for easy menu access (wii, gc, loader, etc.)

I just thought :So get a WD drive which supports 4K-sectors I believe is the correct approach to get more space![]()