Homebrew WiiU FTP Server (use WUT, fix inject failures and increase bandwith)

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
Hey,

You can get the download links in the BUILD section of the README.MD :

To build from scratch :
- install [devkitPro](https://github.com/devkitPro/installer/releases/latest) (in DEVKITPRO_PATH)
- get [libWUT](https://github.com/devkitPro/wut)
- get [libIOSUHAX](https://github.com/Crementif/libiosuhax) (crementif version)
- get [libFat](https://github.com/Crementif/libfat) (because using only WUT+IOSUHAX cripple SDCard performance, crementif version)

I use versions of libFat and libIOSUHAX from @Crementif because he fixed things for symlinks support.
Yeah, there was a problem with libfat, coding that it errored on. I think it's my ppc version, so I had to get library files from your dependencies.
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,633
Trophies
1
Age
36
XP
5,487
Country
Germany
multi transfer enhancement: reduce open/close connection time with
  • using a static preallocated array of threads
Sounds like you're having issues with slow malloc()s? @GaryOderNichts benchmarked coreinits memory allocator and it turned out to be freaking slow. For more information have a look at https://github.com/devkitPro/wut/pull/221 . In case you want to be on the bleeding edge use this: https://github.com/GaryOderNichts/wut/tree/customheap

1.png

2.png
 

Laf111

Well-Known Member
OP
Member
Joined
Mar 19, 2019
Messages
163
Trophies
0
XP
1,378
Country
France

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
@Laf111 , forgot to mention, but I was able to compile your ftp server in windows cmd prompt as well. :D already had wut, just needed the fat library and the iosuhax one.
 
  • Like
Reactions: Laf111

PascalLeroi

Well-Known Member
Member
Joined
Jan 23, 2012
Messages
176
Trophies
1
Age
30
XP
528
Country
Netherlands
Would I be correct in my assumption that I can use this as some kind of syncing program? I'm looking at investing in some NAS option, but still a bit lost about what option is best (between TrueNAS and Synology) But would it be possible to have all my save files on the NAS and have them sync between my Wii U and other devices? Also looking at getting a Steam Deck and installing emulators on it. Would be great to have saves the same on every device. Would also mean that I could easily update the save file on a N64 cardridge after playing it on my Wii U.

Thanks in advance, and I hope that I have been clear enough, and that it doesn't sound like some rambling on.
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,633
Trophies
1
Age
36
XP
5,487
Country
Germany
@PascalLeroi The FTP server won't run all the time, so sadly the answer is no. Even when it would run in the background all the time you still would need another device "mounting" the FTP and running a sync tool on it. Might be more simple to just port Syncthing to the Wii U but that would also need a way to run it in the background all the time and that's simply not possible with current CFWs (next gen CFWs (Aroma) will allow it through).

For syncing solutions on other devices than the Wii U I recommend looking into Syncthing. It's decentral and open source. Last point means it has been ported to a lot of devices already (it's running on my phone, a kodi box, an rpi and so on).
See also
https://mariushosting.com/how-to-install-syncthing-on-your-synology-nas/
https://www.truenas.com/community/threads/how-to-install-syncthing-in-truenas-scale.89277/
https://syncthing.net/downloads/

//EDIT:
https://www.gamingonlinux.com/2022/...-way-to-transfer-files-from-pc-to-steam-deck/ ;)

//EDIT²:
 
Last edited by V10lator,

PascalLeroi

Well-Known Member
Member
Joined
Jan 23, 2012
Messages
176
Trophies
1
Age
30
XP
528
Country
Netherlands
@PascalLeroi The FTP server won't run all the time, so sadly the answer is no. Even when it would run in the background all the time you still would need another device "mounting" the FTP and running a sync tool on it. Might be more simple to just port Syncthing to the Wii U but that would also need a way to run it in the background all the time and that's simply not possible with current CFWs (next gen CFWs (Aroma) will allow it through).

For syncing solutions on other devices than the Wii U I recommend looking into Syncthing. It's decentral and open source. Last point means it has been ported to a lot of devices already (it's running on my phone, a kodi box, an rpi and so on).
See also
https://mariushosting.com/how-to-install-syncthing-on-your-synology-nas/
https://www.truenas.com/community/threads/how-to-install-syncthing-in-truenas-scale.89277/
https://syncthing.net/downloads/

//EDIT:
https://www.gamingonlinux.com/2022/...-way-to-transfer-files-from-pc-to-steam-deck/ ;)

//EDIT²:

Thanks you for the elaborate answer! :D

I Will take a look into the best gen cfw, as that sounds amazing!

Also one last question for now; would you rather say to get an Synology NAS or a TrueNAS solution? I'm pretty much a newbie on that subject, but can learn pretty fast. (And my job is software testing :P)
 

Sowden

Well-Known Member
Member
Joined
Sep 21, 2021
Messages
245
Trophies
0
Age
57
XP
972
Country
United States
I just updated this softwre, and I might have found a bug. It seems that from V9 and up, I will be copying files from my phone to my sdcard. The copying will stop at one point and I reach for my controllers and none of the buttons do anything (both a Gamepad and a WUPC). I feel like the controllers are getting locked out, because I can reset It by holding the power button down. Usually with hard locks it forces you to unplug the power in the back. I dono how I can help debug, but I'd like to try. And also, why isn't this software on the app store?
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I just updated this softwre, and I might have found a bug. It seems that from V9 and up, I will be copying files from my phone to my sdcard. The copying will stop at one point and I reach for my controllers and none of the buttons do anything (both a Gamepad and a WUPC). I feel like the controllers are getting locked out, because I can reset It by holding the power button down. Usually with hard locks it forces you to unplug the power in the back. I dono how I can help debug, but I'd like to try. And also, why isn't this software on the app store?
possibly something wrong with the latest packages to compile the source. both the gamepad and wupc are two separate things, so it may be using the latest, which I don't know if there's an issue with them or not.

1656961629537.png


wiidrc is related to the gamepad.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
yep, I was able to compile it with my setup. I tested for @Laf111 when he was adding pro controller support. I have no experienced your issue myself, and I keep updated:

1656962164007.png
 

Sowden

Well-Known Member
Member
Joined
Sep 21, 2021
Messages
245
Trophies
0
Age
57
XP
972
Country
United States
Hmmm. I don't know why I would be experiencing this either. I'll do some more expiramenting on my user end too.
 

Sowden

Well-Known Member
Member
Joined
Sep 21, 2021
Messages
245
Trophies
0
Age
57
XP
972
Country
United States
I have a question. I'm using version 8.1 cause it works best for me. But as I'm copying files from my phone to my Wii U, I get this strange warning with every file.

WARNING : when setting files rights, rc = -196629 !
WARNING : file = filename

But the files copy over just fine. Any idea what that means?
 

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,498
Trophies
2
Age
44
Location
Scotland
XP
5,159
Country
United Kingdom
I'm trying to make a forwarder via the haxchi method that requires renaming the ds title id folder in nand however it does not allow me. I'm cbhc btw.

The weird thing is I've done this before with ftpuii everywhere for another forwarder but now I am not allowed with either? Is there anything that I am missing at all? I have tried right click rename and simply the double click option but I can't get my head around why it won't allow the change.
 

Laf111

Well-Known Member
OP
Member
Joined
Mar 19, 2019
Messages
163
Trophies
0
XP
1,378
Country
France
I'm trying to make a forwarder via the haxchi method that requires renaming the ds title id folder in nand however it does not allow me. I'm cbhc btw.

The weird thing is I've done this before with ftpuii everywhere for another forwarder but now I am not allowed with either? Is there anything that I am missing at all? I have tried right click rename and simply the double click option but I can't get my head around why it won't allow the change.
Hey,

Renaming files is broken on the last version, sorry.
I'll fix it in the next one.
 
  • Like
Reactions: Lostbhoy

zhaskey

New Member
Newbie
Joined
Aug 19, 2022
Messages
4
Trophies
0
Age
31
Location
Earth
XP
41
Country
Netherlands
'get the crcChecker in the WiiUFtpServer app folder on the sd card'
does that mean i have to place these folders (crc checker and nandbackup) in wiiu/apps/ ?
 

Laf111

Well-Known Member
OP
Member
Joined
Mar 19, 2019
Messages
163
Trophies
0
XP
1,378
Country
France
'get the crcChecker in the WiiUFtpServer app folder on the sd card'
does that mean i have to place these folders (crc checker and nandbackup) in wiiu/apps/ ?
Hey,

No, it is to say that the CrcChecker source (python script) is on the SDCard.
If you want to use it copy it under your PC next time you'll plug your SDCard.
(python install is requiered)
 
  • Like
Reactions: zhaskey

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/d9wnSq_aP-0?si=T9bdloMD2dGzvnbf