Homebrew Official Mocha CFW - The sweet chocolate to your latte!

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I thought about uploading my wii u tutorials, but u all know whatever they cover. I still have mongoose - how to use instead xampp or haxchi. their outdated. ;)
 

Osakasan

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
1,237
Trophies
1
Age
39
XP
3,151
Country
I have a question here. Two, in fact.

1.- Will the next update allow to hve two hdds connected at the same time.

2.- If so, do i need something to put it on autoboot?
 

Polarise

Well-Known Member
Member
Joined
Jul 12, 2016
Messages
827
Trophies
0
Age
23
XP
1,143
Country
United States
Hey everyone,

it's been a while since I wrote here last time as I was busy with private stuff the last couple of weeks but I started doing some WiiU stuff a few days ago and I though maybe I will post some wip info.

I was working on native FAT32 USB mounting on IOS side. It took quite a bit of reversing time and was harder to figure out than I first expected it to be. I had to figure out many internal processes nintendo uses and how they interoperate between them in FS, MCP and ACP but by know I figured the most necessary things out and also found several ways to do it. So I chose one way and it works pretty well and looks promising :D.

So what I managed to do by now is an automatic FAT32 USB mount in the system that is treated by the system very similar to the WFS USB mounts. Meaning the system does see the USB drive as an actual Wii U formatted usb drive. The System Menu does list the titles on the partition in the "/usr/" folder on the drive and even the System Settings see the drive and can copy titles over. So basically you don't really see any difference between a WiiU formatted drive and a FAT32 formatted drive which is pretty cool.

Additionally as a bonus the FAT32 partition of my USB drive became automatically the first "external mount source" on the WiiU after my changes. The "external mount sources" are FAT drives on the WiiU and is usually only used by the SD card. So by becoming the first external mount source everything that is normally loaded from SD card is now loaded from the FAT32 usb partition. That includes homebrews like HBL and even loadiine. It just runs directly without any change to the actual homebrews. Of course you can see this as a negative side effect as the SD is 2nd external source and is not directly used by the homebrews without any code change to them. So I will look at it later and probably make the USB the 2nd external mount source and the homebrews can mount it on demand. So that's something to look forward to.

But there are also some issues left to be addressed before making this new feature public. The FAT32 filesystem does not support every feature that the native WiiU filesystem WFS supports, for example it does not support changing owner of a folder/file and does not support any kind of file/folder modes/permission flags. This is something usually only supported on unix based filesystems or similar. Another thing FAT32 does not support is the quota system that nintendo developed for game saves storing. It restrains a folder to a specified size. You can not set a restrain of size to a FAT32 folder.
So what the next steps are is to patch the FSA functions to be always successful on USB FAT partitions in FS module and do what's minimum necessary to make it look like it is supported ( i mean who cares if a folder has a size restrain for game's save :P). If this part is not done, then creating saves for games that are newly added is not possible and will fail...just as example. Also ACP throws system errors in some cases because the file owner or mode flags can not be changed which sucks to. But those are really small things compared to the rest and shouldn't take much time to do.

So that's where I am at the moment. It's too bad I didn't make it in time for new year's eve as that was kind of my goal and since I will be gone the next two days I won't make it in time anymore. But you can look forward for a nice new feature in the year 2017 for mocha :).

That said I wish a happy new year's eve to everyone tommorow and later a happy new year.
What does this mean for people with already formatted HDDs made for Wii u and not fat32?
 

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
What does this mean for people with already formatted HDDs made for Wii u and not fat32?
I can't answer correctly as I don't know what will really happen or how it really works.
but based on logical deduction :

- WiiU formated drive will continue to work fine.
- WiiU formated drive will have to be converted to FAT32 if you want to keep your games (it's not possible yet, someone is working on decoding the proprietary WiiU File system)
- WiiU can't format HDD to FAT32, unless Mocha adds a prompt or option, or force FAT32 format.
- Like Aboodxd said, probably FTP or WUP server to transfer the full files system from one USB to another.
- Even easier, you should just be able to transfer USB (wiiu) to USB (fat32) using the official HDD transfer menu. but you will of course require 2 HDDs.
- FAT32 drive will be detected as WiiU drive, and you can install new games to it with WUP installer.
- You will have to re-create the file system's tree (path, folders, etc.) and move your loadiine games for the wiiU to recognize your loadiine games as installed (though, it will require a proper install to add the tickets to the console, so it's not straighforward until there's a way to inject only a ticket). Maybe a tool will be released to move games in correct folders ?
- Loadiine and SD cafiine will have to be updated to replace the SD path to USB path (should be easy now that the FAT32 is managed by IOS, it's just a /vol/xxxxxx/ replacement !)
- I don't know if the format message can be hidden now that FAT32 is supported
- I don't know if you can keep 2 HDD plugged at the same time (FAT32 WiiU and vWii Stealth should be fine as long as WiiU does not try to mount stealthed one)
- multiple partition will probably not work, so only the first one? unknown if GPT will work.

That's too many supposition, we should wait for Dimok to tell us what works and what can be possible in the future.
 
  • Like
Reactions: Reid_Dead

Arck

Well-Known Member
Member
Joined
Mar 13, 2016
Messages
955
Trophies
0
XP
878
Country
USB fat32 support ? Damn, I hope it will be a way to transfer all thing I have installed on my USB drive that it's not ftp, 250gb already :/

Well if dimok did RE'd the WiiU USB format thing, maybe it would be possible to read it.
 

mrissaoussama

Hiuhbi32
Member
Joined
Nov 23, 2015
Messages
247
Trophies
0
XP
858
Country
Tunisia
Hey everyone,

it's been a while since I wrote here last time as I was busy with private stuff the last couple of weeks but I started doing some WiiU stuff a few days ago and I though maybe I will post some wip info.

I was working on native FAT32 USB mounting on IOS side. It took quite a bit of reversing time and was harder to figure out than I first expected it to be. I had to figure out many internal processes nintendo uses and how they interoperate between them in FS, MCP and ACP but by know I figured the most necessary things out and also found several ways to do it. So I chose one way and it works pretty well and looks promising :D.

So what I managed to do by now is an automatic FAT32 USB mount in the system that is treated by the system very similar to the WFS USB mounts. Meaning the system does see the USB drive as an actual Wii U formatted usb drive. The System Menu does list the titles on the partition in the "/usr/" folder on the drive and even the System Settings see the drive and can copy titles over. So basically you don't really see any difference between a WiiU formatted drive and a FAT32 formatted drive which is pretty cool.

Additionally as a bonus the FAT32 partition of my USB drive became automatically the first "external mount source" on the WiiU after my changes. The "external mount sources" are FAT drives on the WiiU and is usually only used by the SD card. So by becoming the first external mount source everything that is normally loaded from SD card is now loaded from the FAT32 usb partition. That includes homebrews like HBL and even loadiine. It just runs directly without any change to the actual homebrews. Of course you can see this as a negative side effect as the SD is 2nd external source and is not directly used by the homebrews without any code change to them. So I will look at it later and probably make the USB the 2nd external mount source and the homebrews can mount it on demand. So that's something to look forward to.

But there are also some issues left to be addressed before making this new feature public. The FAT32 filesystem does not support every feature that the native WiiU filesystem WFS supports, for example it does not support changing owner of a folder/file and does not support any kind of file/folder modes/permission flags. This is something usually only supported on unix based filesystems or similar. Another thing FAT32 does not support is the quota system that nintendo developed for game saves storing. It restrains a folder to a specified size. You can not set a restrain of size to a FAT32 folder.
So what the next steps are is to patch the FSA functions to be always successful on USB FAT partitions in FS module and do what's minimum necessary to make it look like it is supported ( i mean who cares if a folder has a size restrain for game's save :P). If this part is not done, then creating saves for games that are newly added is not possible and will fail...just as example. Also ACP throws system errors in some cases because the file owner or mode flags can not be changed which sucks to. But those are really small things compared to the rest and shouldn't take much time to do.

So that's where I am at the moment. It's too bad I didn't make it in time for new year's eve as that was kind of my goal and since I will be gone the next two days I won't make it in time anymore. But you can look forward for a nice new feature in the year 2017 for mocha :).

That said I wish a happy new year's eve to everyone tommorow and later a happy new year.
What happens if You try to copy a game that's bigger than 4 GB?
 

kineticUk

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
545
Trophies
1
Location
Inside
XP
1,009
Country
United Kingdom
I started with fw.img and rednand, then moved to mocha with OTP and SEEPROM redirection, rednand and sysnand are unlinked. I use my Wii fat32 drive in vWii and have a new drive for WiiU storage. Hoping mocha will continue to support standard wiiu drives when fat32 support is added as an option.
Only issues I've noticed are vWii and Wii VC not working in rednand and having to sync my additional controller (wiimote or pro controller) each time I boot? I would love to run Wii stuff from inside mocha rednand if it is ever possible and am really looking forward to the future releases... love this stuff and appreciate everything (rednand fw.img mocha etc) thanks @dimok.
 
Last edited by kineticUk,

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,801
Trophies
1
Age
44
XP
6,570
Country
Germany
What happens if You try to copy a game that's bigger than 4 GB?
Don't be afraid. Even games which are bigger than 4 GB "are built" by many "small" files. There's no single file bigger than 4 GB in all Wii U games we know right now otherwise they could not be copied to SD as everyone's doing for months now. And I don't think "the last Wii U game" (Zelda BOTW) would be different.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: @_@