Has anyone made any documentation for wupclient?

Discussion in 'Wii U - Hacking & Backup Loaders' started by Irastris, Nov 9, 2016.

  1. Irastris
    OP

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    Question is in the title.

    I'm very good at using python scripts if I have some documentation, but I suck at reading through the code itself to figure things out.

    Has anyone compiled a list of the commands and arguments that wupclient provides, and what they do?
     
    Last edited by Irastris, Nov 10, 2016
  2. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    480
    253
    Apr 2, 2009
    Zimbabwe
    Wupclient code is pretty much self explanatory. If you are good at python, don't be afraid to read it, if not, I suggest you wait for a more end user friendly tool.
     
    zeldaism likes this.
  3. Irastris
    OP

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    I never said I was good at Python itself, I said I was good at using Python scripts. I'm very quick to learn how to use them as long as I have proper documentation.
    Please don't use that elitist statement on me. I know how to prevent getting bricked. If I was worried I'd screw something up, I wouldn't ask about documentation for the script at all.
     
    Last edited by Irastris, Nov 10, 2016
  4. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    480
    253
    Apr 2, 2009
    Zimbabwe
    I never said you were good at python, I said "if", If you think this is elitism, elitism it is. this is the last explanation I'll write on this topic: wupclient.py is not a application, it's a library for other applications like wupclientgui.py, a library's targeting user group is programmers.
     
  5. Irastris
    OP

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    I know that. I'm perfectly capable of implementing libraries in the python command line. IF I HAVE THE PROPER DOCUMENTATION.

    The fact that you continue to ignore that question implies to me that you obviously don't have any sort of documentation yourself, and likely don't know anyone who does.
    So I thank you for all your input thus far, but it is obviously leading anywhere useful to me.
     
    Last edited by Irastris, Nov 10, 2016
  6. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    480
    253
    Apr 2, 2009
    Zimbabwe
    Now you're just making fun of yourself.
     
    Azel likes this.
  7. Irastris
    OP

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    I fail to understand why you think that. I may not be using the proper terminology, but my meaning is still completely valid.

    By the python command line, I mean what you get when you run "python" in CMD.
    By implementing libraries, I mean importing the classes. In the case of WUPClient, I'd input "from wupclient import wupclient" into python.

    Happy now?
     
  8. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    480
    253
    Apr 2, 2009
    Zimbabwe
    Pretty happy, I said I've done explaining, now I'm just having fun :D so I won't tell you that's not called "implementing" but "using" a library. learning python is fun you should do it, and I'm pretty sure you get that "from wupclient import wupclient" from another post of me in another thread.
     
  9. Irastris
    OP

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    You can think that if you want, but I actually used common knowledge.
    For example, WUPClient uses "from time import sleep". Knowing that time is a library, and sleep is a class, I can conclude that using WUPClient would mean typing "from wupclient import wupclient", as that's the only class made available by wupclient.

    I may be stupid when it comes to reading Python code, but atleast I know that much.
     
  10. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    480
    253
    Apr 2, 2009
    Zimbabwe
    Just continue reading and you'll be fine.
     
  11. sdtg34520

    sdtg34520 GURU MEDITATION ERROR

    Banned
    194
    461
    Mar 26, 2016
    New Zealand
    -deleted-
     
    Last edited by sdtg34520, Jan 26, 2017
    CreeperMario and JimmyZ like this.
  12. Irastris
    OP

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    Yes, I know that. I can also understand the w.<command> portion, but it's the <args> where I start to get tripped up, as I don't have any documentation to help me out with what should replace what's shown in the wupclient script. (self, handle, device_path, etc...)
    So sorry for not being a top of the line programmer. I only recently started trying to learn, especially so when it comes to the Wii U.
     
  13. sdtg34520

    sdtg34520 GURU MEDITATION ERROR

    Banned
    194
    461
    Mar 26, 2016
    New Zealand
    -deleted-
     
    Last edited by sdtg34520, Jan 26, 2017
    JimmyZ likes this.
  14. Irastris
    OP

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    I guess I'm not as lucky as you then, to be able to wrap my head around it that quickly.
     
  15. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    480
    253
    Apr 2, 2009
    Zimbabwe
    What if I tell you programming is an acquired skill?
     
  16. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,244
    429
    Feb 17, 2016
    United States
    You're trying. That's better than a lot of people.
    I'm not aware of any documentation, but I'll get you started. Here are the defs that appear to be for our use rather than the script's:

    Methods, i.e. w.something()
    Warning: Spoilers inside!

    Functions, which don't take the wupclient instance (but use it anyway)
    (Sorry, I'm out of time, so someone else will have to help you out from here if you can't tell what they do.)
    Warning: Spoilers inside!

    If you're not into python, self isn't a parameter you give on the command line, so when you use w., skip self. Parameters with = None will default to None.
     
    looseless likes this.
  17. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    480
    253
    Apr 2, 2009
    Zimbabwe
    please, teaching like this will only help them hurting themselves.
     
  18. Irastris
    OP

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    Yes, thank you! This is what I've been looking for. This makes everything much more simple to me.

    — Posts automatically merged - Please don't double post! —

    How's it gonna hurt me? I'm still gonna keep trying to read through the script, but at least now I have some sort of baseline info.
     
  19. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    480
    253
    Apr 2, 2009
    Zimbabwe
    If you're gonna start learning programming, better start from the basics, take your time. trust me I've seen enough shotgun programming.
     
    Azel likes this.
  20. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,244
    429
    Feb 17, 2016
    United States
    This is good advice, but try to keep in mind that a person doesn't need to be able to code a grep command in order to be able to leverage the command to find the data they need. Although I understand that the code practically provides its own documentation, that doesn't make it obvious to everyone. Sometimes people just need a little push.

    As an example, only yesterday, I pointed out in another thread that the region check for a game could be bypassed by modifying the title's meta.xml with wupclient. There was a person in that thread who simply needed that little push to understand something that I believed was obvious, given that the file says 'region' right inside it. He caught on quickly and was able to run with it, and I'm sure he's off in another thread today helping someone else learn something. ;)
     
    Irastris likes this.