Homebrew Official [WIP] User Friendly WUP Installer

Benoit934

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
129
Trophies
0
Age
31
XP
150
Country
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
 

Attachments

  • DSC_0065[1].jpg
    DSC_0065[1].jpg
    895.5 KB · Views: 2,607
Last edited by Benoit934,

Benoit934

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
129
Trophies
0
Age
31
XP
150
Country
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
 

driverdis

I am Justice
Member
Joined
Sep 21, 2011
Messages
2,867
Trophies
2
Age
31
Location
1.048596β
XP
2,838
Country
United States
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

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.
 
  • Like
Reactions: TotalInsanity4

Benoit934

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
129
Trophies
0
Age
31
XP
150
Country
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
 

plyscho

Well-Known Member
Member
Joined
Sep 22, 2016
Messages
155
Trophies
0
Age
41
XP
218
Country
Germany
Last edited by plyscho,

Benoit934

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
129
Trophies
0
Age
31
XP
150
Country
France
What do you mean by "Fix Y Button"?

The Y button works perfectly in Yardape's mod on my console.
It was initialised in a loop so pressing Y was triggering the refresh each cycle

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.
That's weird I didn't try to install on my NAND but it should work

Nice mod!!!
By the way.
May you concider to merge this commit into your fork in order to work with HBL Channel?
https://github.com/dimok789/wupinstaller/commit/69e78f7c8afe2d7b19ef220f123addad0ccac989

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
 

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
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
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 [emoji14]
 
  • Like
Reactions: Benoit934

Benoit934

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
129
Trophies
0
Age
31
XP
150
Country
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
 

plyscho

Well-Known Member
Member
Joined
Sep 22, 2016
Messages
155
Trophies
0
Age
41
XP
218
Country
Germany
That's weird I didn't try to install on my NAND but it should work

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,
  • Like
Reactions: Benoit934

Benoit934

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
129
Trophies
0
Age
31
XP
150
Country
France
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 [emoji14]

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 ?
 

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
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 :)
 
  • Like
Reactions: Benoit934

Benoit934

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
129
Trophies
0
Age
31
XP
150
Country
France
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 :)

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
 
  • Like
Reactions: Billy Acuña

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
    The Real Jdbye @ The Real Jdbye: never had that i don't think