[Old Method] Kafluke's All-in-One for self hosting

Discussion in 'Wii U - Hacking & Backup Loaders' started by Kafluke, Apr 30, 2016.

  1. realg123

    realg123 Advanced Member

    Newcomer
    98
    8
    Aug 9, 2010
    Canada
    Anyone else having this similar issues as me?
    - Originally the selfhosting was woking 100% then completely stopped
    - I tried the android selfhosting as well, does not work
    - Wiiubru and other sites were originally working maybe 30% of the time
    - Now nothing works. Most times the site wont even load, at times video would attempt to load, but I get the "video wouldn't load" error

    EDIT** Figured it out. Changed Wireless mode in my router from 801.11n to 801.11b
     
    Last edited by realg123, Nov 15, 2016


  2. kavid

    kavid GBAtemp Advanced Fan

    Member
    545
    38
    Sep 28, 2008
    Switzerland
    homebrew launcher 1.4 updated。

    php code dont support 1.4
    pls,update these codes
     
  3. Kafluke
    OP

    Kafluke GBAtemp Psycho!

    Member
    3,293
    1,587
    May 6, 2006
    United States
    I'm not sure how much interest there is in this anymore with all the new stuff.

    Does the new hbl 1.4 need a web code uodate? can we just link to an mp4?
     
  4. geheim

    geheim GBAtemp Regular

    Member
    239
    73
    Jan 4, 2013
    Gambia, The
    Well, I can only speak for myself, but I'd be very interested in an updated version compatible with HBL 1.4 :) The MP4 linked on github doesn't have 100% sucess rate for me while your package does!
     
    raphamotta likes this.
  5. Cava

    Cava GBAtemp Advanced Fan

    Member
    580
    183
    Jan 26, 2016
    Hungary
    I like your stuff too.
     
  6. panamex

    panamex Advanced Member

    Newcomer
    78
    13
    Oct 31, 2016
    Mexico
    your stuff rocks!! There are many people like me who just use the brazilian USB method without rednand, cwf, etc.....And still using your great app Kafluke!!!
     
  7. Kafluke
    OP

    Kafluke GBAtemp Psycho!

    Member
    3,293
    1,587
    May 6, 2006
    United States
    All right all right. too much love from you guys ;) I'll take a look at 1.4 tonight. Prolly not gonna work on 5.3.2 or 5.4.0 pages tho. No reason to still be on those firmwares
     
  8. panamex

    panamex Advanced Member

    Newcomer
    78
    13
    Oct 31, 2016
    Mexico
    Cool, Kafluke, many thanks!!! Take your time master!
     
  9. Kafluke
    OP

    Kafluke GBAtemp Psycho!

    Member
    3,293
    1,587
    May 6, 2006
    United States
    Yeah so I'm not getting 100% with the HBL 1.4 mp4 but it works. The PHP doesn't work at all. Anybody know much about PHP? @dimok ?
    @Cybernatus ?
     
  10. dimok

    dimok GBAtemp Advanced Fan

    Member
    721
    2,081
    Jan 11, 2009
    United States
    Well the initial mp4 was adjusted in timing pretty well. You can adjust the timing inside the PHP code by increasing the sleep. I increased the delay before mp4 is loaded after its header inside the PHP and it was working almost every launch, like the old mp4/php combination for me. But just to be clear, the old version was never 100% success rate for me either.

    Here is what you need to adjust:
    this: https://github.com/dimok789/homebrew_launcher/blob/master/www/homebrew_launcher/payload.php#L149
    and maybe this: https://github.com/dimok789/homebrew_launcher/blob/master/www/homebrew_launcher/payload.php#L160
     
    Cybernatus likes this.
  11. splatool

    splatool Member

    Newcomer
    36
    7
    May 24, 2015
    Barbados
    just wanted to say also looking forward to an updated version of this for 1.4 - been great so far!
     
  12. Kafluke
    OP

    Kafluke GBAtemp Psycho!

    Member
    3,293
    1,587
    May 6, 2006
    United States
    I'm struggling to compile this cause I'm an idiot. I tried making suggested changes in php but I'm not good at compiling. Anyone else want to give it a shot and then package it up for me? I'll test and then put it in a new AIo
     
  13. Kafluke
    OP

    Kafluke GBAtemp Psycho!

    Member
    3,293
    1,587
    May 6, 2006
    United States
    This the error of anyone can help


    1. C:\HBL>make
      make[2]: `/c/HBL/sd_loader/sd_loader.elf' is up to date.
      linking ... homebrew_launcher.elf
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lcrt
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lcrt
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lcoreinit
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lproc_ui
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lnsysnet
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lsndcore2
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lvpad
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lgx2
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: cannot find -lsysapp
      c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld.exe: c:/devkitPro/libogc/lib/wii\libmad.a(frame.o): relocation R_PPC_EMB_SDA21 cannot be used when making a shared object
      c:/devkitPro/libogc/lib/wii\libmad.a: error adding symbols: Bad value
      collect2.exe: error: ld returned 1 exit status
      make[1]: *** [/c/HBL/homebrew_launcher.elf] Error 1
      make: *** [build] Error 2
     
  14. Kafluke
    OP

    Kafluke GBAtemp Psycho!

    Member
    3,293
    1,587
    May 6, 2006
    United States
    okay so I changed the two lines in the code according to what Dimok said. I changed "1" to "2". I changed "1000" to "2000". I still someone to try and compile this though. I'm not a programmer. I've tried doing this on two different PC's in Windows 10. Maybe I'll build a Linux environment but that will be a while before I get around to it.

    Any others out there want to try and change those two lines, compile and then send to me for testing? Or test yourself? Need some help from the community here. Once it's working stably I'll package into the AIO.
     
  15. Madridi

    Madridi Card Collector

    Member
    2,910
    805
    May 9, 2008
    Qatar
    Doha
    I have been outside of the gaming scene since early October unfortunately. Barely have an internet connection until 15th Jan. I missed a lot in the WiiU scene and I don't even know what to read or start..

    Anyway, for the HBL 1.4 release, what I can say that the initial issue was fixed by @::Phoenix:: iirc, @Cybernatus also did some work on it. As far as I know, @Cybernatus also added 1.4 to his website, so he probably got PHP working.

    Anyway, I hope those 2 can help getting compatibility back to 100% :)
     
    Cybernatus likes this.
  16. Kafluke
    OP

    Kafluke GBAtemp Psycho!

    Member
    3,293
    1,587
    May 6, 2006
    United States
    IOSU hax and rednand happened. But I'd just focus on Brazilian USB Method right now. You can bypass the webrowser entirely now with Haxchi. You will need to buy a certain DS game (Brain age) thought but it's worth it to have Homebrew Launcher in a channel instead of through the browser. So in conclusion my recommendation would be...

    1. Learn Brazilian USB method
    2. Install HomebrewLauncher as a channel (Haxchi)
    3. ?
    4. Profit

    After you get good at that then you can venture into Rednand and all the new stuff in that area.
     
    Last edited by Kafluke, Nov 25, 2016
    SirBeethoven and Madridi like this.
  17. Cybernatus

    Cybernatus Advanced Member

    Newcomer
    72
    95
    Mar 21, 2016
    Belgium
    I'm still using the MP4 method so far regarding the new payload, I used to convert the generated bin into MP4 and use the usual script slighty adapted.

    If it can help, I've attached the whole thing :3
     

    Attached Files:

    pwsincd, KiiWii, Kafluke and 2 others like this.
  18. pladux

    pladux Newbie

    Newcomer
    2
    1
    Jul 30, 2014
    Gambia, The
    I had about 50% freezes when hosting this with nginx + php-fpm. Increasing the sleep time seemed to help. I set the "X-Accel-Buffering: no" header with an additional flush(). This effectively disables nginxs fcgi buffer and makes sure headers are send immediately. Success rate is 100% now.
     
  19. Kafluke
    OP

    Kafluke GBAtemp Psycho!

    Member
    3,293
    1,587
    May 6, 2006
    United States
    Would you mind sharing your payloads? I can test and put in new AIO
     
    KiiWii likes this.
  20. pladux

    pladux Newbie

    Newcomer
    2
    1
    Jul 30, 2014
    Gambia, The
    This is what I'm using right now.
     

    Attached Files:

    • hbl.zip
      File size:
      7.5 KB
      Views:
      56
    Madridi likes this.