Official [WIP] User Friendly WUP Installer

Discussion in 'Wii U - Homebrew' started by Benoit934, Nov 4, 2016.

  1. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
    Hello,
    One of the firsts tools I did used on my Wii U was WUP Installer but i find it really wierd to use, so I did this modifications

    • Invert UP/DOWN Keys
    • Fix Y Key
    • Add Scrollable and redimentionable list
    • Replace Left/Right key pad by A Toggle
    • Use X to install and L/R to switch storage
    • Check Tik for resolving name and version number
    • Caching resolved list
    • Trigger install only if there is elected dirs
    • Scrolling names for better Gamepad display
    • Resolve package type (DLC, UPDATE)
    • Work with the new HBL

    There is still improprement and optimisations to do.

    RC1 download : https://github.com/benoit934/wupinstaller/releases/tag/uf1.1.0
     

    Attached Files:

    Last edited by Benoit934, Nov 19, 2016


  2. ItsKipz

    ItsKipz l33t hax0r

    Member
    1,645
    983
    Sep 9, 2016
    United States
    The C: drive
    This is pretty interesting, but im still waiting for a combination of WUP and FunKiiU (download and install all from one app on wii u)
     
    damiano2712 likes this.
  3. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
    It's possible but meany of us are blocking the Nintendo DNS, It is not safe to download directly on the SD card and I don't know if there is a way to get the tik directly by reading the disk on the WiiU (maybe modifing DDD).

    After all we can use libCurl to download content from a local server but we can't use de WiiU at the same time, I think it's still better to prepare files on a computer then copy those files on the SD card
     
  4. driverdis

    driverdis I am Justice

    Member
    2,392
    901
    Sep 21, 2011
    United States
    1.048596β
    I would assume any homebrew app could force use a different DNS like google to download from NUS without exposing the console to automatic updates.
     
    TotalInsanity4 likes this.
  5. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
    Yes nslookup can use any dns server without setting it into the system, It's why I blocked the UDP port 53 on my rooter.

    You can easily port a tool like JNUS or uTikDownloadHelper but for installation procession you have to be in the SysMenu so you have to switch between the Mii Menu and SysMenu and do not tr to acess the SD card during the install process, but because the Wii can't run multiples tiltles at the same I'm not interested
     
  6. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
  7. Don Jon

    Don Jon GBAtemp Fan

    Member
    461
    180
    Nov 20, 2015
    United States
    it would be nice to have a cool UI
     
    CatmanFan and kfrfansub like this.
  8. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
    You mean GUI, like Home-brew loader ?
    Maybe we can do that by loading a elf and injecting the path then go back to the GUI on Mii Menu, but I did never worked with CPP
     
  9. Irastris

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    What do you mean by "Fix Y Button"?

    The Y button works perfectly in Yardape's mod on my console.
     
  10. cw-kid

    cw-kid Advanced Member

    Newcomer
    79
    9
    Nov 8, 2016
  11. plyscho

    plyscho GBAtemp Regular

    Member
    137
    64
    Sep 22, 2016
    Gambia, The
    I'm using NAND enabled but it seems to install on USB anyways. So make sure to move your existing save games/updates to USB before installing games that already have saves/updates since they always have to be on the same device.

    It's a neat fork, tho.
    It's a really neat fork.
     
    Last edited by plyscho, Nov 17, 2016
  12. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    2,180
    1,279
    Oct 10, 2015
    Mexico
  13. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
    It was initialised in a loop so pressing Y was triggering the refresh each cycle

    That's weird I didn't try to install on my NAND but it should work

    I can't just merge that code, I need to rewrite everything to fit the new structure but I'll take a look when i'll have time
     
  14. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    2,180
    1,279
    Oct 10, 2015
    Mexico
    Actually is not that hard, you just need to merge the system stuff (which should be the same as yours) and as for main.c you just need to put the proper init commands, but for the install fuction it indeed needs to be rewrited, I tried with Y mod and failed at rewrite the install fuction, but well, I'm not a skilled dev at all
     
    Benoit934 likes this.
  15. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
    The main issue with my mod will be with the files reading I guess, so if I go back to the Dimok code and rewrite properly everything with the OS functions of files reading it may work.

    It don't take really long time to recode functions as directory listing etc... and even Yardage do not seem to be an expert.

    An idea to write a good WUP Installer is to just get the installation code with fixed variables that we set at the loading of the elf by knowing the offsets and we make a frontend like HBL with the graphics functions, but i did never worked with CPP I know how OPP work and I'm confident with it, but for me it's more for big stuff running in the User Land and in C i work directly with the memory so for me CPP is just a brain fuck that merge low level and high level.

    Actually I'm really busy and I didn't even turned on my WiiU so I was not advised that the HBL work differently
     
  16. plyscho

    plyscho GBAtemp Regular

    Member
    137
    64
    Sep 22, 2016
    Gambia, The
    Now that I think about it maybe I just didn't find the setting/button to install to NAND. There is no indicator showing the target device, it seems.

    It works perfectly fine. I somehow missed the brackets marking USB or NAND as selected.
     
    Last edited by plyscho, Nov 17, 2016
    Benoit934 likes this.
  17. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
    So I did the needed modifications I guess but I do not have this release of HBL, I can't even dump my NAND with my lite SD card

    Ma you check my development branch and check if it's working ?
     
  18. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    2,180
    1,279
    Oct 10, 2015
    Mexico
    I'll, give me a minute
     
  19. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    2,180
    1,279
    Oct 10, 2015
    Mexico
    It worked!!!
    Just a little bug, when you finish the install process it stucks at "please wait...", if you press A after a while, it returns into the main screen (this also brokes the chain installing), everything seems to be perfect :)
     
    Benoit934 likes this.
  20. Benoit934
    OP

    Benoit934 Advanced Member

    Newcomer
    52
    25
    Oct 31, 2016
    France
    Yes I know that the screen is not updated, a key press refresh the display normally, for the A button it's weird maybe a issue with a buffer and I didn't updated the multiples files install.

    I'll try to install HBL on my SysNAND because i can't make a rednand
     
    Billy Acuña likes this.