[Tutorial] Self Hosting via Python 3

Discussion in 'Wii U - Hacking & Backup Loaders' started by Psi-hate, May 3, 2016.

  1. Psi-hate
    OP

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,628
    1,039
    Dec 14, 2014
    United States
    Houston
    Basically I wanted to provide a much more simple solution than using the java stuff as some people have a lot of issues with it. What I'll be explaining is how to set up an extremely simple local server to host your exploits and homebrew. I've also made a video that will be posted at the bottom of this OP that'll physically walk you through it.

    Step 1: Getting the files
    I have provided an archive that contains the necessary files so you don't need to go fishing for them all.

    What you will need is below:
    Install Python 3 (MAKE SURE YOU ADD PYTHON TO YOUR PATH) and extract kexploit stuff.zip onto your desktop.
    Contents of .zip
    Inside, there will be 2 folders, 1 titled "Wii U Server" and 1 titled "wiiu". Put the "wiiu" folder on the root of your Wii U's SD card.

    Step 2: Running the server
    Open the "Wii U Server" Folder and there will be another folder titled "550". Open this folder and it should look like this:
    Wii U Server Contents
    This is folder contains the 5.5.x kernel exploit, the python server, loadiine, and hbl. Click on "Exploit Server.bat" and it'll look like this:
    Exploit Server.bat
    This means that the contents of "C:\Users\X\Desktop\kexploit stuff\Wii U Server\550" are being hosted on your newly created local server. To access this server, open command prompt and input "ipconfig" and get your local IP (IPv4)
    IP Address
    Step 3: Loading the server on your Wii U
    Go to the internet browser on your Wii U and go to the URL bar. Type in "http://192.168.X.XXX:8000"(input your own IP), bookmark it, and then select 550hax.mp4. After that, reload the bookmark and select either hbl.mp4 or loadiine_gx2.mp4.
    What it should look like
    Step 4: Putting more homebrew on the server
    If you want to put more homebrew than just loadiine, hbl, etc; use @Kakkoii's bin2mp4 converter and place the resulting mp4 into the server folder. If you want to the homebrew to show up on the HBL, then put the provided hb in the /apps folder on the SD card.

    If you have any questions relating to this server process, ask here. If it's about Loadiine, hbl, etc; then ask in their selective threads.

    Credits to @dimok for Loadiine and HBL, @NWPlayer123 for porting Loadiine, @Kakkoii for bin2mp4 converter, @Marionumber1 and co. for their kernel exploit and scene support, etc.

    Threads: Homebrew Launcher, Loadiine, and bin2mp4

    Video:
     
    Last edited by Psi-hate, May 4, 2016


  2. razinx

    razinx Member

    Newcomer
    14
    6
    Aug 17, 2009
    Canada
    Looks straight forward, but I'm stuck at the batch file. Just flashes and disappears. I installed Python 3.5.1, which I know nothing about but its running, but the batch still just opens and closes right away. What am I missing?


    Edit: Got it. Had to edit the batch to include the install path. Doh.
     
    Last edited by razinx, May 4, 2016
  3. cearp

    cearp the ticket master

    Member
    7,473
    4,710
    May 26, 2008
    Tuvalu
    i assume you are using some dark theme, because i can't imagine another reason you chose the yellow text, on the deafult theme it's hard to read :)
    anyway thanks
     
    Psi-hate likes this.
  4. Psi-hate
    OP

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,628
    1,039
    Dec 14, 2014
    United States
    Houston
    I'll use red then :P

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

    I think you need to add python to your PATH. It gave me that option when I installed it and I clicked it so I guess that's what makes it work. I just tested the .bat in the zip and it works on my end, so if adding python to PATH doesn't help, use this:
    Code:
    python -m http.server
    Copy and paste that into notepad and save as a .bat and put it in /Desktop/Kexploit Stuff/550/Wii U Server/550
     
    Last edited by Psi-hate, May 4, 2016
  5. razinx

    razinx Member

    Newcomer
    14
    6
    Aug 17, 2009
    Canada
    Thanx. I just added the install path to the batch and it worked. Honestly I think this is the first time I've ever used the browser on the Wii U, dislike it. I enter the IP in the URL bar and it just redirects to nintendo search site....wtf. I tested the IP on my PC and it loads up just fine, so not sure why I cant seem to use it on the wii browser.
     
    Psi-hate likes this.
  6. TamDanny

    TamDanny GBATemp 3DS Fanatic

    Member
    314
    215
    Aug 20, 2015
    Mexico
    Try adding "http://" at the beginning of the address. The browser thinks you're trying to search for something...through nintendo's searching site. Why not just Google, Nintendo? :P
     
    Psi-hate likes this.
  7. hudhair

    hudhair GBAtemp Advanced Fan

    Member
    633
    76
    Apr 23, 2013
    United States
    when I run the server, it opens up a cmd window for a second and then closes. Any Ideas?
     
  8. Psi-hate
    OP

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,628
    1,039
    Dec 14, 2014
    United States
    Houston
    You need to add python to your PATH when installing it. Make sure you do that. It's what fixed some other people's problems. :P
     
  9. razinx

    razinx Member

    Newcomer
    14
    6
    Aug 17, 2009
    Canada
    Perfect, thanx. Working now. Loadine up and running. Now to find a game small enough to fit on a 2GB card, until I get a bigger one. Whats the best card to get. I noticed in Psi-hate's video there was a quite a few games on the SD, what size are you using? Of the games I've downloaded most are around 20GB. Can games be stripped like they used to do on Wii games?
     
  10. Net-KILLER

    Net-KILLER computer says no

    Member
    610
    365
    Oct 22, 2009
    Saint Kitts and Nevis
    in a pineapple under the sea
    Well NES Remix should fit.
    Maybe Super Mario Bros too

    If you downloaded a wud you have to decrypt/extract it. After that the game is MUCH smaller.
     
    Last edited by Net-KILLER, May 4, 2016
  11. Psi-hate
    OP

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,628
    1,039
    Dec 14, 2014
    United States
    Houston
    I'm using a 32gb mSD. Are you downloading .wud(s)? Those are encrypted Wii U roms and in order to get them smaller, you need to unencrypt them into an rpx
     
  12. razinx

    razinx Member

    Newcomer
    14
    6
    Aug 17, 2009
    Canada
    Ah, more to learn then! Baby steps. All my downloads are wuds.
     
  13. hudhair

    hudhair GBAtemp Advanced Fan

    Member
    633
    76
    Apr 23, 2013
    United States
    I reinstalled it with the Path thing but it still does not work. If it makes any difference, I had a previous version of python installed before this one.
     
  14. Psi-hate
    OP

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,628
    1,039
    Dec 14, 2014
    United States
    Houston
    I'm not exactly sure why that's happening. I can only say to either uninstall, reinstall, and try again. I have an idea, though.
    Type this into cmd:
    Code:
    python -m http.server
     
  15. hudhair

    hudhair GBAtemp Advanced Fan

    Member
    633
    76
    Apr 23, 2013
    United States
    let me try uninstalling the previous 2.X version. Ill get back to you with the results.
     
  16. hudhair

    hudhair GBAtemp Advanced Fan

    Member
    633
    76
    Apr 23, 2013
    United States
    That was it. If you have a previous version of python installed you will have to uninstall it. Now it is working flawlessly.
     
    Psi-hate likes this.
  17. FiddleSticks

    FiddleSticks Newbie

    Newcomer
    2
    1
    Jul 24, 2014
    United States
    Seriously man. Many thanks to you. This is the only one I got to work, and was the easiest. YOU ROCK!
    :yayu:
     
    Psi-hate likes this.
  18. Psi-hate
    OP

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,628
    1,039
    Dec 14, 2014
    United States
    Houston
    Glad you're happy! :)
     
    FiddleSticks likes this.
  19. hudhair

    hudhair GBAtemp Advanced Fan

    Member
    633
    76
    Apr 23, 2013
    United States
    How would I add other exploits like DDD, Saviine, etc.?
     
  20. FiddleSticks

    FiddleSticks Newbie

    Newcomer
    2
    1
    Jul 24, 2014
    United States
    Add them to the wiiu\apps folder in their own folder. Then launch HBL and you should be good to go.