Hacking Nintendont

GerbilSoft

Well-Known Member
Member
Joined
Mar 8, 2012
Messages
2,395
Trophies
2
Age
34
XP
4,249
Country
United States
To anyone who's been having problems with both Wii U-formatted and FAT32-formatted drives connected at the same time, please try this test build: https://github.com/GerbilSoft/Nintendont/raw/v5.457-WiiUSB2/loader/loader.dol

I added some code in the loader's usbstorage.c to skip drives that don't have a valid MBR or UStealth MBR signature.

Tested on a Wii with a Wii U-formatted drive connected on port 1 and a FAT32 drive connected on port 0. (Interestingly, the other way around seemed to work without this change...)

Post results here: https://github.com/FIX94/Nintendont/issues/423

Some other changes:
  • The selected game's filename is now shown at the top of the game list. This should make it easier to distinguish between e.g. different revisions of a game.
  • More comprehensive error messages for CheckForMultiGameAndRegion(). I'm pretty sure most of these errors were caused by the Wii U drive ordering issue, but I added the extra messages just in case.

On another note: I have noticed that in SA2B, there seems to be some slight lag when loading some music. This is especially noticeable after initially starting the game and then selecting 1P. There's about 1-2 seconds before the music loads. I'm not sure if this is a Nintendont regression or something wrong with my setup. I'll try bisecting it later.

EDIT: The lag was caused by updating FatFS to R0.13_p2, or by me screwing something up when doing so. Reverting the FatFS changes fixed it, so I pushed another build, v5.457-WiiUSB2.
 
Last edited by GerbilSoft, , Reason: Fixed lag.
  • Like
Reactions: Clutz450 and Kleyon

monta990

Well-Known Member
Newcomer
Joined
Aug 16, 2017
Messages
47
Trophies
0
Age
32
XP
63
Country
Mexico
I haven't tested many games yet.. as I prefer to use my GC Adapter, I think I will be using the old method with USB and actually having access to all of my Wii Games and GameCube :D
i have my games on my SD, and i only use the forwarder to open nintendont (stored on SD) from Wii U, and play from gamepad or gamecube controller from the adapter

--------------------- MERGED ---------------------------

To anyone who's been having problems with both Wii U-formatted and FAT32-formatted drives connected at the same time, please try this test build: https://github.com/GerbilSoft/Nintendont/raw/v5.457-WiiUSB1/loader/loader.dol

I added some code in the loader's usbstorage.c to skip drives that don't have a valid MBR or UStealth MBR signature.

Tested on a Wii with a Wii U-formatted drive connected on port 1 and a FAT32 drive connected on port 0. (Interestingly, the other way around seemed to work without this change...)

Some other changes:
  • The selected game's filename is now shown at the top of the game list. This should make it easier to distinguish between e.g. different revisions of a game.
  • More comprehensive error messages for CheckForMultiGameAndRegion(). I'm pretty sure most of these errors were caused by the Wii U drive ordering issue, but I added the extra messages just in case.

did you do a check to skip a formated drive for wii u?
 

GerbilSoft

Well-Known Member
Member
Joined
Mar 8, 2012
Messages
2,395
Trophies
2
Age
34
XP
4,249
Country
United States
did you do a check to skip a formated drive for wii u?
Yes, in an earlier step. FatFS itself will ignore the Wii U-formatted drives, but that's after USB storage has been enumerated, so it won't be able to check other drives. This test build checks for Wii U-formatted drives while enumerating USB drives, so it will only return a standard MBR (or UStealth MBR) drive.
 

monta990

Well-Known Member
Newcomer
Joined
Aug 16, 2017
Messages
47
Trophies
0
Age
32
XP
63
Country
Mexico
Yes, in an earlier step. FatFS itself will ignore the Wii U-formatted drives, but that's after USB storage has been enumerated, so it won't be able to check other drives. This test build checks for Wii U-formatted drives while enumerating USB drives, so it will only return a standard MBR (or UStealth MBR) drive.

i understand, can be a possible solution, it's necessary test it more, if some else have both drives please test it
 

Radrian

Active Member
Newcomer
Joined
Oct 31, 2016
Messages
35
Trophies
0
Age
26
XP
261
Country
Mexico
just pushed up my stuff just so its up.
-added deadzones to wii vc gamepad reads and heavily changed memory to make space for that, hopefully it didnt break anything
-completely restructured how internal wii vc titles get read in, again hopefully it didnt break anything
It loads nintendont auto boot forwarder with internal iso fine, save shutters problem/slow game loading is still present
launching nintendont form wii u menu and sd game loading is perfect for the testing i have done so far
Never noticed the dead zone problem so i can't report about that
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
It loads nintendont auto boot forwarder with internal iso fine, save shutters problem/slow game loading is still present
launching nintendont form wii u menu and sd game loading is perfect for the testing i have done so far
Never noticed the dead zone problem so i can't report about that
glad to hear I didnt break anything too badly, these massive conversions of nintendont feel quite scary every time I have to do them. Anyways about saving and stuttering during it, I would be especially interested to know if that also happens in the legend of zelda wind waker, thats a title that essentially loads everything off the disc for the current island you're on so it should run smooth after a load and also save smoothly as there is practically no data access during it. Also I really dont see the wiiu interface being particularly slow, it appears to be using the SD interface when its installed to NAND and the USB interface when its installed to wiiu USB so really it should be pretty much equal to normal wii/vwii sd/usb speeds.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
it was discovered that there are multiple ways to do it, that's just one way, and the way I have it set up.

I tried for a long time to get usbloadergx to work, but eventually gave up
I swear I remember when I asked this question a while back that @Cyan gave me a pretty detailed explanation on how to do it and make it work with USB Loader GX. But I've been searching and can't find it. Maybe I'm just imagining it Hopefully me mentioning him here will have him explain it again for me.
That's funny, your solution tell users to plug FAT32 in front port (USB2 and 3) while cIOS works only with USBPort0.
I don't know how it can work with r52.

Here is my guide :
https://gbatemp.net/posts/7216091

Though, it may become unneeded and obsolete now that Gerbilsoft updated nintendont to skip incompatible drives.
I may have to re-write my guide to add this setup.
 

Radrian

Active Member
Newcomer
Joined
Oct 31, 2016
Messages
35
Trophies
0
Age
26
XP
261
Country
Mexico
glad to hear I didnt break anything too badly, these massive conversions of nintendont feel quite scary every time I have to do them. Anyways about saving and stuttering during it, I would be especially interested to know if that also happens in the legend of zelda wind waker, thats a title that essentially loads everything off the disc for the current island you're on so it should run smooth after a load and also save smoothly as there is practically no data access during it. Also I really dont see the wiiu interface being particularly slow, it appears to be using the SD interface when its installed to NAND and the USB interface when its installed to wiiu USB so really it should be pretty much equal to normal wii/vwii sd/usb speeds.
In my way on testing Wind Waker (should I start a new file or use a 100% complete one for testing different places?)
And the slow loading i was talking about was at the time after the progressive mode is enable in SSBM is longer that loading it from the SD(or maybe I am just being biased) but haven't tested that much because the high pitch noise and if I stay in the main menu for a while it just crash the game
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
Well it plays as you expect, no slowdown or shutters when playing, only when creating the save/saving
OK so you can indeed confirm that even when basically nothing is going on ingame and you go into the pause menu and select save, it starts stuttering? If so this would indicate the kernel main loop indeed doesnt get enough runtime each second, meaning it cant answer the game calls to save quick enough.
 

Radrian

Active Member
Newcomer
Joined
Oct 31, 2016
Messages
35
Trophies
0
Age
26
XP
261
Country
Mexico
OK so you can indeed confirm that even when basically nothing is going on ingame and you go into the pause menu and select save, it starts stuttering? If so this would indicate the kernel main loop indeed doesnt get enough runtime each second, meaning it cant answer the game calls to save quick enough.
Yes i can confirm that, its only when writing or reading a save when shutters
The same happens in Star fox Assault, when you change the controller configurations or create a new profile it shutters
 
Last edited by Radrian,

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany

Radrian

Active Member
Newcomer
Joined
Oct 31, 2016
Messages
35
Trophies
0
Age
26
XP
261
Country
Mexico
Last edited by Radrian,

Radrian

Active Member
Newcomer
Joined
Oct 31, 2016
Messages
35
Trophies
0
Age
26
XP
261
Country
Mexico
sound distortion is significantly reduced, not 100% but there is a improvement
loading is slightly slower now (the background song is not ear rape)
saving is almost there(not as fast as loading from SD but there is no distracting ear rape now)
I can't see the real fps but as a estimate i said that is 50-55ish fps
and saving is 55ish fps
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Maximumbeans @ Maximumbeans:
    I can't believe you got me with that
    +1
  • SylverReZ @ SylverReZ:
    I haven't been gaming for such a long time. Been mostly busy with sleep, hardware tinkering and checking GBAtemp frequently.
  • SylverReZ @ SylverReZ:
    Hope you've had a good morning.
  • Maximumbeans @ Maximumbeans:
    It's going alright thanks :) I know what you mean with gaming time. It's precious where I can get it these days.
    +1
  • Maximumbeans @ Maximumbeans:
    I think that's why I focus on just enjoying single player experiences that aren't too competitive
  • Maximumbeans @ Maximumbeans:
    How are you doing?
  • SylverReZ @ SylverReZ:
    There's also this thing where I'm hyperfocused at night and cannot get to sleep.
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I'm doing alright, thanks.
    +1
  • Maximumbeans @ Maximumbeans:
    That must be rough. Productive I'm sure but hard to balance with daily life
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Indeed. I've been working on getting this Infecutus chip to work on my PS2. But after soldering, I realised that a plastic piece was missing from the power ribbon cable to the power and eject buttons.
  • SylverReZ @ SylverReZ:
    Now I could go with soldering the contacts from the cable to the connector on the mobo, but doesn't sound like a good permanent solution.
  • Maximumbeans @ Maximumbeans:
    Man, that's beyond my brain :rofl: I'm no good with hardware for now. I'd like to get into hardmods in future though
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Maybe start practice soldering. Get a cheap-ass soldering iron and follow some good YouTube tutorials.
    +1
  • SylverReZ @ SylverReZ:
    Least my experience has gotten better than over a decade ago. My iron would constantly bump into components and break them.
  • Maximumbeans @ Maximumbeans:
    Sounds good. I actually did soldering but like 16 years ago for school so uuuuh probably rusty haha
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Same here. I did soldering at school from a teacher who I honestly liked since he had plenty of good electronics experience.
    +1
  • Maximumbeans @ Maximumbeans:
    I wish I could play chess well
    +1
  • Maximumbeans @ Maximumbeans:
    Useless but a true art
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I had a friend who had a glass chess set for their birthday.
  • SylverReZ @ SylverReZ:
    It was like all clear and fancy. Tbf I'm not too experienced with chess, but would like to learn someday.
  • Maximumbeans @ Maximumbeans:
    That sounds really cool
  • Maximumbeans @ Maximumbeans:
    I know the basics but no strategy at all :rofl:
    Maximumbeans @ Maximumbeans: I know the basics but no strategy at all :rofl: