Hacking How to compile Cafiine! (Tutorial)

MrRean

WiiU Helper / Hacker
OP
Member
Joined
Jan 21, 2013
Messages
422
Trophies
0
Age
25
XP
1,587
Country
United States

moops44

Prince of Darkness
Member
Joined
May 15, 2014
Messages
576
Trophies
0
Location
Moon
XP
594
Country
Germany
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,

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
After a while of editing, I finally teach you guys how to compile cafiine and find your IPv4 address, how to insert your IP to be read, and everything. :)



Here's a few links if you don't want to look for them in the video:
http://wiiu.us.to/
http://rhcafe.us.to/
http://cygwin.com/
http://sourceforge.net/projects/devkitpro/?source=typ_redirect
https://www.apachefriends.org/index.html

Enjoy! Any questions, can be asked below. :)


Awesome and easy to follow. Can you explain howto compile the pygecko codehandler.
 

TheZander

1337
Member
Joined
Feb 1, 2008
Messages
2,136
Trophies
2
Location
Level 7
XP
3,860
Country
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
 

KiiWii

Editorial Team
Editorial Team
Joined
Nov 17, 2008
Messages
16,602
Trophies
3
Website
defaultdnb.github.io
XP
26,999
Country
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 :(
 

TheZander

1337
Member
Joined
Feb 1, 2008
Messages
2,136
Trophies
2
Location
Level 7
XP
3,860
Country
United States
you don't have make installed or in the path
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
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
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
Update devkitPro and devkitPPC.
 

TheZander

1337
Member
Joined
Feb 1, 2008
Messages
2,136
Trophies
2
Location
Level 7
XP
3,860
Country
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
 

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
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
go into the directory with the make file and type, "make" see what the error there is
 

Anonymous209

Active Member
Newcomer
Joined
Feb 1, 2015
Messages
28
Trophies
0
Age
30
XP
61
Country
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    and the morning cuz school
  • Xdqwerty @ Xdqwerty:
    Although tomorrow is Labor Day which means I won't go to class which means I'll sleep well.
  • BakerMan @ BakerMan:
    is labor day different in venezuela than in america, or did time skip that far?
  • K3Nv2 @ K3Nv2:
    It must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • 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
    Sicklyboy @ Sicklyboy: I'm not familiar with the technicalities of the differences between the two versions, but I'm...