How to compile Cafiine! (Tutorial)

Discussion in 'Wii U - Hacking & Backup Loaders' started by MrRean, Aug 28, 2015.

  1. MrRean
    OP

    MrRean WiiU Helper / Hacker

    Member
    422
    1,500
    Jan 21, 2013
    United States
    josamilu, H93, BullyWiiPlaza and 8 others like this.


  2. Onion_Knight

    Onion_Knight GBAtemp Advanced Fan

    Member
    878
    832
    Feb 6, 2014
    Thank you for this.
     
  3. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    20,809
    9,803
    Apr 29, 2011
    United States
    Dr. Wahwee's castle
    Thank you for the tutorial ^_^
     
  4. nastys

    nastys ナースティス

    Member
    1,466
    858
    Aug 5, 2014
    Italy
    Earth
    Tutorial for Ubuntu:
     
    Last edited by nastys, Aug 30, 2015
  5. moops44

    moops44 Prince of Darkness

    Member
    533
    330
    May 15, 2014
    Germany
    Moon
    thanks for the easy tut
    but after all i cant reach my ip on the wii u
    acces to my ip/localhost on the pc works
    but any other device cant
     
    Last edited by moops44, Aug 29, 2015
  6. Onion_Knight

    Onion_Knight GBAtemp Advanced Fan

    Member
    878
    832
    Feb 6, 2014
    Awesome and easy to follow. Can you explain howto compile the pygecko codehandler.
     
  7. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,693
    1,377
    Aug 2, 2014
    Germany
     
    paulloeduardo and Adr990 like this.
  8. Dr.Hacknik

    Dr.Hacknik Maniac | Dev | Furry Lewd Cat Gril

    Member
    1,154
    867
    Mar 26, 2014
    United States
    my lewd corner
    Maybe i could make a App to compile everything for you. It would also be cool if you could Push the FW as an Update over the network, tricking the Wii U Into updating to the FW that you compiled.
     
  9. Onion_Knight

    Onion_Knight GBAtemp Advanced Fan

    Member
    878
    832
    Feb 6, 2014
    Thanks,

    It was the Makefile. www6.zippyshare.com/v/n6LLMq4t/file.html wj444's makefile worked.
     
  10. Adr990

    Adr990 To boldly go where no man has gone before!

    Member
    1,470
    146
    Apr 22, 2007
    Netherlands
    The Netherlands
    Is the caffine 'magic' available in a readable format of code?
    Or perhaps the reason for concealing the source code of the 'magic' has been done for the better?
     
  11. TheZander

    TheZander member

    Member
    1,083
    772
    Feb 1, 2008
    United States
    anybody know off hand the issue with

    $ python build.py examples/cafiine
    Building for your cygwin_nt-6.1 platform...
    Traceback (most recent call last):
    File "build.py", line 100, in <module>
    main()
    File "build.py", line 40, in main
    subprocess.call(['make'])
    File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
    File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
    File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
    OSError: [Errno 2] No such file or directory
     
  12. Onion_Knight

    Onion_Knight GBAtemp Advanced Fan

    Member
    878
    832
    Feb 6, 2014
    you don't have make installed or in the path
     
    TheZander likes this.
  13. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,678
    1,220
    Nov 17, 2008
    United Kingdom
    Slightly off topic: can this be used to examine files (speficically update contents) for smash bros? Could this therefore be used to scan for and potentially unlock new amiibos?

    How was @crediar accessing files in hyrule to reveal tingle and the sound tracks?

    Sorry for the questions, I stupidly updated my Wii U and can't use this yet :(
     
  14. TheZander

    TheZander member

    Member
    1,083
    772
    Feb 1, 2008
    United States
    Well I installed automake from the Devel in the cygwin installer and I still get the


    AIO@D14214105PC3 ~
    $ python build.py examples/cafiine
    Building for your windows platform...
    Traceback (most recent call last):
    File "build.py", line 100, in <module>
    main()
    File "build.py", line 40, in main
    subprocess.call(['make'])
    File "C:\Python27\Lib\subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
    File "C:\Python27\Lib\subprocess.py", line 710, in __init__
    errread, errwrite)
    File "C:\Python27\Lib\subprocess.py", line 958, in _execute_child
    startupinfo)
    WindowsError: [Error 2] The system cannot find the file specified
     
  15. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,693
    1,377
    Aug 2, 2014
    Germany
    @TheZander
    Also try checking out my tutorial(s) and let me know if they helped you:

    Further links are in the description.
     
  16. nastys

    nastys ナースティス

    Member
    1,466
    858
    Aug 5, 2014
    Italy
    Earth
    Update devkitPro and devkitPPC.
     
  17. TheZander

    TheZander member

    Member
    1,083
    772
    Feb 1, 2008
    United States
    @bully, that is the same thing I did, I am having a trouble with compiling all together it seems.

    Slso my devkit is on 1.5.4 I believe it's up to date when I run the updater at least
     
  18. Onion_Knight

    Onion_Knight GBAtemp Advanced Fan

    Member
    878
    832
    Feb 6, 2014
    go into the directory with the make file and type, "make" see what the error there is
     
  19. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,693
    1,377
    Aug 2, 2014
    Germany
    If you delete the www directory and just compile cafiine, will it work? Since you said only when it's all together.
     
  20. Anonymous209

    Anonymous209 Member

    Newcomer
    28
    1
    Feb 1, 2015
    United States
    $ python build.py examples/cafiine
    Building for your cygwin_nt-6.1 platform...
    mkdir -p ./bin
    # Build findcode
    powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532+ ./src/findcode532.c
    make: powerpc-eabi-gcc: Command not found
    make: *** [findcode532] Error 127
    mkdir -p ./bin/532/
    mkdir -p ./bin/500/
    mkdir -p ./bin/410/
    mkdir -p ./bin/400/
    mkdir -p ./bin/310/
    mkdir -p ./bin/300/
    mkdir -p ./bin/210/
    mkdir -p ./bin/200/
    powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532 ./src/*.c
    /bin/sh: powerpc-eabi-gcc: command not found
    make: *** [libwiiu532] Error 127
    mkdir -p C:/cygwin64/home/Johnny/examples/cafiine/bin/
    powerpc-eabi-gcc -std=gnu99 -nostdinc -fno-builtin -c -DVER=532 src/*.c
    /bin/sh: powerpc-eabi-gcc: command not found
    make: *** [main532] Error 127
    Traceback (most recent call last):
    File "/home/Johnny/framework/generate_html.py", line 169, in <module>
    main()
    File "/home/Johnny/framework/generate_html.py", line 68, in main
    code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/home/Johnny/examples/cafiine/bin/code532.bin'
    Traceback (most recent call last):
    File "/home/Johnny/framework/generate_html.py", line 169, in <module>
    main()
    File "/home/Johnny/framework/generate_html.py", line 68, in main
    code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/home/Johnny/examples/cafiine/bin/code500.bin'
    Traceback (most recent call last):
    File "/home/Johnny/framework/generate_html.py", line 169, in <module>
    main()
    File "/home/Johnny/framework/generate_html.py", line 68, in main
    code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/home/Johnny/examples/cafiine/bin/code410.bin'
    Traceback (most recent call last):
    File "/home/Johnny/framework/generate_html.py", line 169, in <module>
    main()
    File "/home/Johnny/framework/generate_html.py", line 68, in main
    code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/home/Johnny/examples/cafiine/bin/code400.bin'
    Traceback (most recent call last):
    File "/home/Johnny/framework/generate_html.py", line 169, in <module>
    main()
    File "/home/Johnny/framework/generate_html.py", line 68, in main
    code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/home/Johnny/examples/cafiine/bin/code310.bin'
    Traceback (most recent call last):
    File "/home/Johnny/framework/generate_html.py", line 169, in <module>
    main()
    File "/home/Johnny/framework/generate_html.py", line 68, in main
    code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/home/Johnny/examples/cafiine/bin/code300.bin'
    Traceback (most recent call last):
    File "/home/Johnny/framework/generate_html.py", line 169, in <module>
    main()
    File "/home/Johnny/framework/generate_html.py", line 68, in main
    code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/home/Johnny/examples/cafiine/bin/code210.bin'
    Traceback (most recent call last):
    File "/home/Johnny/framework/generate_html.py", line 169, in <module>
    main()
    File "/home/Johnny/framework/generate_html.py", line 68, in main
    code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/home/Johnny/examples/cafiine/bin/code200.bin'
    Traceback (most recent call last):
    File "build.py", line 100, in <module>
    main()
    File "build.py", line 63, in main
    rootIndexGen(wwwDir);
    File "build.py", line 91, in rootIndexGen
    f.write(versionsSupported[-1])
    IndexError: list index out of range



    how do i fix this, i have no idea its say powerpc-eabi-gcc: Command not found
    but i found it and it still show that unless the file is corrupted.