Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an FTP Server #44

Open
piggybxnk opened this issue Oct 7, 2023 · 2 comments
Open

Add an FTP Server #44

piggybxnk opened this issue Oct 7, 2023 · 2 comments

Comments

@piggybxnk
Copy link

piggybxnk commented Oct 7, 2023

I was asking if you can add a FTP Server to the recovery menu. In my situation, I downloaded a custom theme with tiramisu for my menu. A week ago I deleted tiramisu because no apps were loading up, but then I realized it was the custom wii u menu theme. At the moment, I can't open anything. Including system settings, internet browser, or any of my games. If there is FTP Server I could replace my wii u menu back to default, I could Factory reset my Wii U with system settings. Or if its not too much to ask, could you put themer inside the boot menu so that I can automatically change it back to default instead of doing it manually. I don't think this is a common issue, however, if you could help me save my wiiu, i would really appreciate it. Thank you.

@GerbilSoft
Copy link
Contributor

recovery_menu does have wupserver, which provides similar functionality, but isn't as easy to use because it uses a custom client/server protocol.

The wupclient script is available here: https://gist.github.com/GaryOderNichts/409672b1bd5627b9dc506fe0f812ec9e
Requires Python to be installed, and you need to change the hard-coded IP on line 30 to match your Wii U. You also need to know some basic Python in order to use it.

To start a Python interpreter with wupclient running:

python -i wupclient.py

The w object will provide wupclient functionality. For example, this command will list the current directory:

>>> w.ls()

See wupclient.py's class wupclient implementation for the full list of commands. The useful ones start at line 371. (The commands before line 371 are direct access to Wii U system functionality and are more difficult to use compared to the wrapper functions starting at line 371.

@piggybxnk
Copy link
Author

piggybxnk commented Oct 9, 2023

I got it to work, however, I've been stuck on how to go to folders or directories. The commands aren't helping at all, because I have no clue how they work, or what they even do. If you can specify what commands I should use the replace files, and also go into directories, it help me out a ton. I have no clue how this works, and I found nothing online.

I need to go to
storage_mlc/sys/title/00050010/10040100/content/common/package/Men.pack and Men2.pack
(im pretty sure thats where it is)
I have no clue what I'm doing, please help.

Edit: So i figured it out.
Ive gotten to the directory:
image

But im confused on how to replace the files. I have both files I need to replace.
What I found out was:

w.up("localfile", <"consolefile>)       - Uploads the localfile to the specified consolefile`

So what I did was

w.up("C:\Users\user\OneDrive\Desktop\Men.pack")

it gave me: SyntaxError: incomplete input

I also tried:

w.up("C:\Users\foxxg\OneDrive\Desktop\Men.pack" "Men.pack")
w.up("C:\Users\foxxg\OneDrive\Desktop\Men.pack" <"Men.pack">)

Also giving me errors:

SyntaxError: incomplete input
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

What does this mean? How do I replace these files?
I need to replace:

Men.pack
Men2.pack

Please help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants