Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,165,369
  • Replies 29,363
  • Likes 48

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,930
Country
Cyan, I guess this release won't have cheat support for NEEK, if that's the case I might just set NEEK to the games that don't work with EmuNAND "or work with issues" and leave the full transition to once USBLGX is stable and has enough space to add such features.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
I didn't test the wiiU beta version of neek.
But the official release of WiiU neek2o is not announced nor even planed for release.

Don't expect it.
Just setup a sneek vWii, and use USBLoaderGX>Features>Launch neek option to boot kernel.bin of sneek or uneek (not neek2o)
Then from that neek system menu, launch your channels.
You will only miss autoboot and auto-return. launching neek and playing games will work fine.
 
  • Like
Reactions: Troopage

bm123456

Well-Known Member
Member
Joined
Jun 7, 2011
Messages
576
Trophies
1
Age
46
Location
Houston
XP
1,312
Country
United States
no, the loader is not officially supporting being run from neek2o. don't do that, unless you understand what you are doing.
You could break and corrupt your settings.
You better wait that I release a proper neek2o integration to be launch from RealNAND.
look the link below, set EmuNAND Chan mode to neek and launch your channel. The loader will launch neek and autoboot the game. No need to launch the loader when inside neek.


lost wind require neek, it doesn't work with cIOS NAND redirection method.
I don't know about the other two, maybe they don't work with cIOS too.


Neek2o preview 3
===============

Please, report what you find.
Preview 2 had 17 download, but 2 or 3 users only reported if it worked or not...

link here
please, read the "mod06" changelog to see what I changed and what to test.

What I need users to test:
- make a clean new install of the loader, and try to download Wiitdb. tell me if there's still an issue and you need to edit the path again.
- try neek2o and report all you want.
- Please, use the "buffer" mode. if nobody has issues with that neek method, I'll delete the static method.
- How do you find the "return to" option? it's now "on/off" instead of "TitleID/Off" so it's more "neutral" and can be used by neek2o too. (If ON then it will return to NK2O of you use neek, or Global setting's channel if not using neek)

Cyan to test this mod , do i need a mod of Neek2o or rev96 is the version everyone is using for testing?
 

DyCerBR

Active Member
Newcomer
Joined
Sep 29, 2013
Messages
43
Trophies
1
Age
30
XP
250
Country
Brazil
These are some great news. I've been waiting for neek2o support on usb loader gx for so long! Does it mean that i'm finally gonna retire my beloved cIOSrev19 i had installed on IOS245 just for problematic games?

Does it mean returning to USB Loader GX after running problematic games and not having to reboot the console? I don't remember if that is possible, it's been long since i've messed with the neek2o menu, but i believe my postloader setup used to do that with some different bootmii files and stuff you had to swap some files on the emunand with. It had a neek2obooter.app thing you had to swap with something. Loading my Emunand System Menu is sloooooooooow.

Can't wait to finally clean the mess that is my USB HDD root with all those emunand folders and put everything in a clean organized "nands" folder, I don't even remember what is what. :grog::grog:

EDIT: The reason i came here in the first place was to see if there is any info on loading Tetris Party Online (Wiiware) via cIOS redirection Emunand. I can get it to run using wanin's rev19, but if i try to create a save file it freezes. Runs perfectly otherwise. Maybe it's because I don't have any Miis on my emunand?
 
Last edited by DyCerBR,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
bm:
everyone is using neek2o r96

Some users have a beta version for a neek2o vWii compatible, but it's not officially released.
It should work, but I don't have any grip on this version, usbgx is working the same way for any version of neek. if something goes wrong with your vWii when using neek beta, it's not GX fault.

You can't test the "preview3" anymore (unless you recompile), I added a timer to prevent users from keeping an old beta for ages. it's only a preview not a release.


DyCerBR:
yes, that's it :)
you can remove (or not use anymore) rev19.

The "return to" option is not a return to the loader, it's a reload another channel on neek when exiting a channel on neek.
usually, the users are "reloading a channel to reboot the console" to exit neek when exiting the game.
If you want to return to USBGX, you will have to setup your Wii to autoboot that loader when you power on your console.


Do you have EmuNAND Path and EmuNAND Channel Path set to different folders?
If you do, there were a bug with save creation.
I fixed it in r1247 (next revision)

You can try to run Tetris party again, but with both settings set to the same path. It will create the missing folders where the game should save.
if it still doesn't work, just wait for neek2o support.
 
  • Like
Reactions: DyCerBR

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,930
Country
EDIT: The reason i came here in the first place was to see if there is any info on loading Tetris Party Online (Wiiware) via cIOS redirection Emunand. I can get it to run using wanin's rev19, but if i try to create a save file it freezes. Runs perfectly otherwise. Maybe it's because I don't have any Miis on my emunand?
I don't remember if I still have this game or not, I had both the Wiiware and Wii version and I remember removing one of the two seeing how they're pretty much identical, can't remember if I did or not, same with Ivy The Kiwi btw, anyway I'm pretty sure the Wiiware version for tetris Party works fine on regular EmuNAND, but it doesn't matter as now we can finally have NEEK2O instead!
 
  • Like
Reactions: DyCerBR

DyCerBR

Active Member
Newcomer
Joined
Sep 29, 2013
Messages
43
Trophies
1
Age
30
XP
250
Country
Brazil
DyCerBR:
yes, that's it :)
you can remove (or not use anymore) rev19.

The "return to" option is not a return to the loader, it's a reload another channel on neek when exiting a channel on neek.
usually, the users are "reloading a channel to reboot the console" to exit neek when exiting the game.
If you want to return to USBGX, you will have to setup your Wii to autoboot that loader when you power on your console.


Do you have EmuNAND Path and EmuNAND Channel Path set to different folders?
If you do, there were a bug with save creation.
I fixed it in r1247 (next revision)

You can try to run Tetris party again, but with both settings set to the same path. It will create the missing folders where the game should save.
if it still doesn't work, just wait for neek2o support.

I see, I remember that now. I even made some wads with custom (cleaner) banners to those NK2O channels. I think they're based of an older version anyway.

They're both set to the same folder, the hdd root, since wanin's cIOS doesn't support sub folders. I tired that, but had the same errors. I don't have rev17 installed, might give it a shot later.

I don't remember if I still have this game or not, I had both the Wiiware and Wii version and I remember removing one of the two seeing how they're pretty much identical, can't remember if I did or not, same with Ivy The Kiwi btw, anyway I'm pretty sure the Wiiware version for tetris Party works fine on regular EmuNAND, but it doesn't matter as now we can finally have NEEK2O instead!

Do you remember what cIOS you were using? (I'm so hyped for NEEK2O support!)
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,930
Country
I see, I remember that now. I even made some wads with custom (cleaner) banners to those NK2O channels. I think they're based of an older version anyway.

They're both set to the same folder, the hdd root, since wanin's cIOS doesn't support sub folders. I tired that, but had the same errors. I don't have rev17 installed, might give it a shot later.



Do you remember what cIOS you were using? (I'm so hyped for NEEK2O support!)
*Scratches head* You know it wasn't easy when I installed EmuNAND the first time, but I ended up using the regular cIOS USBGX uses when creating EmuNAND, whatever that is, I remember trying to make use of the cIOS Rev19 and failing so I know it's not that, sorry.
 

superkrups20056

Well-Known Member
Newcomer
Joined
Aug 15, 2012
Messages
98
Trophies
1
XP
170
Country
United States
I found a problem. Trying to play an ISO of project M 3.5 netplay from USB Loader GX with save to emunand option set to full and it either stops at the loading text on the bottom rightand stays there, or I am able to get to creating a save file, but then it gets stuck at creating the save file.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
I thought preview 2 has a timer.
Preview 1 didn't.
I worked on it yesterday and I'm finalizing the release, but there are still strange behaviors based on how everything is setup.

I also tried the latest beta, but games are not working better (they freeze while they worked with r96).
I'll do more tests.

What I did yesterday so you see the progress:
Mod07
- removed neek option in Wii individual game settings (only EmuNAND channels can boot neek now)
- removed Neek Boot mode choice, now always using buffer mode.
- Reworked the "Return to" option to display ON/OFF text only when using neek setting.
- renamed Feature menu's Neek options.
- If on WiiU, Fall back to kernel.bin if vwiikernel.bin is not found (in case user renamed it)
- removed neek's channelcache.bin file check, autoboot is working fine without that file.
- Fixed booting neek from root (untested)
- Fixed booting games launched from neek system menu instead of autoboot when current path was not default.
- Prevent auto-reload NK2O channel when launching neek system menu after a hard shutdown on previous autoboot game.
Lot of games are not working, I don't know if it's the games, my nand, neek or my code.
I will reinstall games on a clean nand.

Also, neek doesn't work like I thought (or like it should? at least it's not intuitive).
if you launch it with "temporary path" to autoboot a game, it works and exit the game to default path.
but if you launch it with "temporary path" to system menu, loading a game will exit system menu and goes back to default path before trying to boot the selected channel, where it can't find it.
Temporary path is not memorized until reboot but until "current application exit". so the temporary option is not very useful, and not usable at all when not autobooting.
I'll probably remove the "temporary/default" NAND feature and always set the current path to default path at launch. Less option for the users but less issues.


About emuNAND save, if you set it to full be sure you have a Full working nand dump with mii, settings, etc.
If you make a clean dump and use it as Full it will not work correctly as games will try to access data which are missing.
For wii games, I recommend using partial emuNAND mode, so only the /title/ folder access is redirected (the save game only) and everything else will still be accessed from realNAND (setting, wiimote, mii, etc.)

Is there a purpose you chose Full emuNAND?

The cIOS NAND redirection is buggy and not all games are working as they should.
 

superkrups20056

Well-Known Member
Newcomer
Joined
Aug 15, 2012
Messages
98
Trophies
1
XP
170
Country
United States
Hi Cyan,

I changed the emuNAND save to partial like you suggested, and I still get stuck on the creating save file screen. It asks me to create a new save file even when I extracted my sysNAND Project M 3.5 save to my emuNAND.
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,930
Country
I thought preview 2 has a timer.
Preview 1 didn't.
I worked on it yesterday and I'm finalizing the release, but there are still strange behaviors based on how everything is setup.

I also tried the latest beta, but games are not working better (they freeze while they worked with r96).
I'll do more tests.

What I did yesterday so you see the progress:
Lot of games are not working, I don't know if it's the games, my nand, neek or my code.
I will reinstall games on a clean nand.

Also, neek doesn't work like I thought (or like it should? at least it's not intuitive).
if you launch it with "temporary path" to autoboot a game, it works and exit the game to default path.
but if you launch it with "temporary path" to system menu, loading a game will exit system menu and goes back to default path before trying to boot the selected channel, where it can't find it.
Temporary path is not memorized until reboot but until "current application exit". so the temporary option is not very useful, and not usable at all when not autobooting.
I'll probably remove the "temporary/default" NAND feature and always set the current path to default path at launch. Less option for the users but less issues.


About emuNAND save, if you set it to full be sure you have a Full working nand dump with mii, settings, etc.
If you make a clean dump and use it as Full it will not work correctly as games will try to access data which are missing.
For wii games, I recommend using partial emuNAND mode, so only the /title/ folder access is redirected (the save game only) and everything else will still be accessed from realNAND (setting, wiimote, mii, etc.)

Is there a purpose you chose Full emuNAND?

The cIOS NAND redirection is buggy and not all games are working as they should.
I only use EmuNAND with one Wii game so far, Samba De Amigo, because of the DLC, should it work with "Partial EmuNAND" or do I keep it on "Full EmuNAND"?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
it's up to you.
depends what you want to do, and how you want to setup your files.

if you want to use your Miis/settings from the console but save on external, use Partial
if you want to use everything from external, use Full

If your game woks fine with emuNAND, then it's good, just pick the one you like best.

krups:
Maybe ProjectM doesn't like EmuNAND because it contains already patches for redirections. maybe it doesn't work fine with additional EmuNAND redirection.
Did you try EmuNAND settings with SSBM without projectM patch?
 

Shiranui-san

Well-Known Member
Member
Joined
Nov 4, 2011
Messages
247
Trophies
1
XP
285
Country
Project M 3.5 works fine with emuNAND set to partial. I'm using a clean NTSC iso converted to wbfs, the ocarina option enabled for this game and the Project M files on SD.
superkrups20056, are you using a pre-patched iso?
 

Acidflare

HomeBrew Beta Tester
Member
Joined
Aug 16, 2013
Messages
1,106
Trophies
0
Age
34
Location
Nether World
XP
268
Country
Canada
I found a problem. Trying to play an ISO of project M 3.5 netplay from USB Loader GX with save to emunand option set to full and it either stops at the loading text on the bottom rightand stays there, or I am able to get to creating a save file, but then it gets stuck at creating the save file.
the online version of PM v3.5 doesn't work on emunand only offline does.

Project M 3.5 works fine with emuNAND set to partial. I'm using a clean NTSC iso converted to wbfs, the ocarina option enabled for this game and the Project M files on SD.
superkrups20056, are you using a pre-patched iso?
use this SD Card method for ProjectM v3.5 Online with an original ISO/WBFS of SSBB for example configure the GCT file. put the Online patch files and GCT file on your SD card and boot an original copy of SSBB with Ocarina turned on with the Hooktype set to VBi. Use a ProjectM v3.5 Offline ISO/WBFS to be able to play the full offline mode
 

Shiranui-san

Well-Known Member
Member
Joined
Nov 4, 2011
Messages
247
Trophies
1
XP
285
Country
the online version of PM v3.5 doesn't work on emunand only offline does.


use this SD Card method for ProjectM v3.5 Online with an original ISO/WBFS of SSBB for example configure the GCT file. put the Online patch files and GCT file on your SD card and boot an original copy of SSBB with Ocarina turned on with the Hooktype set to VBi. Use a ProjectM v3.5 Offline ISO/WBFS to be able to play the full offline mode
IIRC, I have the online version. I'll check that later.
By the way, what's the Hooktype "VBi" for?
 

superkrups20056

Well-Known Member
Newcomer
Joined
Aug 15, 2012
Messages
98
Trophies
1
XP
170
Country
United States
Project M 3.5 works fine with emuNAND set to partial. I'm using a clean NTSC iso converted to wbfs, the ocarina option enabled for this game and the Project M files on SD.
superkrups20056, are you using a pre-patched iso?
Yes I am using a prepatched ISO that I made myself, could you point me to the directions on how you got it working with ocarina by any chance? I want the net play version if possible.
EDIT: just saw acids post I will try that. Thanks guys
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
VBI is the default (most used) hook type.
If you don't select one, it will be set to VBI by default if you enable Ocarina.
In r1247, enabling a hook will also allow gameconfig.txt loading without the need to enable ocarina setting.

Vertical Blanking Interval is called after every rendered frame, is used to stabilize the video output, wait the frame is correctly stored and rendered in the buffer before printing it to the TV.
a hooktype is the place where you copy your "jump" to execute your own code (Ocarina cheats commands, etc.).
After each rendered frame, you add a "please execute my function now" command.
choosing a place which is refreshed multiple times per second is usually the best choice (here vertical synch will refresh 60/sec) to ensure cheatcodes are permanent (for example invulnerability should force your HP to Max after being hit but before the game check if you still have enough HP left not to die. Having the cheat setting your HP to max 60 time per second is a good refresh rate)

Some game crash if using that location to place your cheats, so you can choose a different location (after each joypad state reading, etc.)

https://gbatemp.net/threads/what-exactly-is-hook-type.263428/
 
  • Like
Reactions: Shiranui-san

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: Wlak like a Wlaker