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

Laf111

Well-Known Member
OP
Member
Joined
Mar 19, 2019
Messages
139
Trophies
0
XP
965
Country
France
I've finished my job on this app :

1641106817704.png


Happy new year to all.
 

TheLegendOfXela

Well-Known Member
Newcomer
Joined
Jan 8, 2019
Messages
72
Trophies
0
XP
218
Country
United States
Hey, thanks for the app! It's great, I've just been having some issues: I'm trying to FTP over some replacement files for a BOTW mod, but Wii U FTP Server will crash randomly, needing me to hard reset the console. I'm using Tiramisu, any ideas of what could be going on?
 

Laf111

Well-Known Member
OP
Member
Joined
Mar 19, 2019
Messages
139
Trophies
0
XP
965
Country
France
Hey, thanks for the app! It's great, I've just been having some issues: I'm trying to FTP over some replacement files for a BOTW mod, but Wii U FTP Server will crash randomly, needing me to hard reset the console. I'm using Tiramisu, any ideas of what could be going on?
Hey,

Which version are u using ?
Well i'm not sure that wiiuFtpServer is compatible with tiramisu...
I have to check it out
 
  • Like
Reactions: godreborn

TheLegendOfXela

Well-Known Member
Newcomer
Joined
Jan 8, 2019
Messages
72
Trophies
0
XP
218
Country
United States
@Laf111 , that may not be the best test, but it does work at least. how well, I'm not sure.
I’m using the most up to date version of both tiramisu and Wii U FTP Server. It works for small transfers, but transferring Zelda’s Ballad (1,171 files), it crashes every time without fail. NAND and USB.
 

Laf111

Well-Known Member
OP
Member
Joined
Mar 19, 2019
Messages
139
Trophies
0
XP
965
Country
France
I’m using the most up to date version of both tiramisu and Wii U FTP Server. It works for small transfers, but transferring Zelda’s Ballad (1,171 files), it crashes every time without fail. NAND and USB.
Well, i'm working on a new version where i managed to enhance the robustness and the transfert rate (writing by blocks).
But i managed to transfer Fast Racing Neo game (over 9000 files) in both ways DL/UL without any issue with the V8-0 (last one).

If you agree and have the time for that, i'd send you a PM to ask you to check the V8-1 on your issue before releasing it.
 

TheLegendOfXela

Well-Known Member
Newcomer
Joined
Jan 8, 2019
Messages
72
Trophies
0
XP
218
Country
United States
Well, i'm working on a new version where i managed to enhance the robustness and the transfert rate (writing by blocks).
But i managed to transfer Fast Racing Neo game (over 9000 files) in both ways DL/UL without any issue with the V8-0 (last one).

If you agree and have the time for that, i'd send you a PM to ask you to check the V8-1 on your issue before releasing it.
Sure, sounds great! I’ll give it a try.
 
  • Like
Reactions: Laf111

TheLegendOfXela

Well-Known Member
Newcomer
Joined
Jan 8, 2019
Messages
72
Trophies
0
XP
218
Country
United States
What you can try (if not already done) is to set (as recommended) your FTP client timeout >= 60s.
It avoid deconnexions that could lead in freezing the console with the V8.
I have tried both WinSCP and Filezilla. Filezilla I set to infinite, and WinSCP I set to 90. Both of them cause the Wii U to hard crash
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
773
Trophies
0
Age
34
XP
2,053
Country
Germany
To add my two cents: I noticed WiiU FTP Server crashing like this one time... Rebooted the console and no more problems since then. What I want to say: Yes there seems to be a bug but it seems to be very rare. @TheLegendOfXela just seems to have some kind of environment that triggers it more often... And no, it's not Tiramisu.
 
  • Like
Reactions: Laf111

Laf111

Well-Known Member
OP
Member
Joined
Mar 19, 2019
Messages
139
Trophies
0
XP
965
Country
France
2022/01/28 V8-1 :
> rewrite send_from_file() and recv_to_file() for non blocking mode and chunk based transfer (per block) : => +40/50% UL speed
> pre-allocate a transfer buffer per connection
- this buffer is used by both mode (download/upload)
- it result in a faster transfer rate and mostly faster open/close times for connections
> cancelling a transfert now cancel the thread (you have to wait the completion in V8-0 until getting back the connection)
> display connection concerned in console log and client one
> display transfer rate calculate on server in client's log
> spinLocks, loop optimizations and cleanup WUT use mistakes by V10Lator
> thanks also to Masana, godreborn and TheLegendOfXela for their checks on release candidate versions

Here the top max speeds i get on my LAN :

1643416094382.png


Sans titre.png
 
Last edited by Laf111,
  • Like
Reactions: meeeow and ber71

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
28,485
Trophies
2
XP
18,400
Country
United States
@Laf111 , I tested both your ftp server app as well as ftpii u everywhere. a lot of people have had issues injecting a new theme permanently. I had no issues with either, and I've tested three or four themes. it's weird, I guess. I'm still using the dark, blue theme since like August or September of last year, when themes became a thing. no issues, and I play the wii u almost every day if not every day.
 
  • Like
Reactions: Laf111

Laf111

Well-Known Member
OP
Member
Joined
Mar 19, 2019
Messages
139
Trophies
0
XP
965
Country
France
@Laf111 , I tested both your ftp server app as well as ftpii u everywhere. a lot of people have had issues injecting a new theme permanently. I had no issues with either, and I've tested three or four themes. it's weird, I guess. I'm still using the dark, blue theme since like August or September of last year, when themes became a thing. no issues, and I play the wii u almost every day if not every day.
Thanks !

I've made many checks with WiiuFtpServer and it appears that the builtin Wifi leads in many CRC errors when setting 802.11n (which came out when the Wii-u was built and so i suspect that it is not fully compliant). I've got few (~3 files on 9000) on V8-1 if i use the wifi to connect my PC to my NAS (and not an ethernet cable or powerline connection) and my ethernet plug on the WIi-U side.

The Wii-u doesn't care because all the incoming data is CRC checked.
I got less errors when using the 802.11g protocol.

I guess you're using a full ethernet configuration ?
 
Last edited by Laf111,
  • Like
Reactions: godreborn
General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Hmm not a lot to be honest lol too busy working +1