Hacking How to compile Cafiine! (Tutorial)

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
$ 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



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.


You need to add devkitpro/devkitPPC/bin to your PATH
 

BullyWiiPlaza

Nintendo Hacking <3
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
Nevermind first thing I got cqafiine server to connect but it finds the title id then says not interested. It's NSMBU
Wow, I'm having the exact same problem. Cafiine worked before but no longer. Maybe I screwed something up though. :glare: TCP Gecko.NET is still working
 

TheZander

1337
Member
Joined
Feb 1, 2008
Messages
2,136
Trophies
2
Location
Level 7
XP
3,860
Country
United States
Wow, I'm having the exact same problem. Cafiine worked before but no longer. Maybe I screwed something up though. :glare: TCP Gecko.NET is still working
I figured it out a little, I had the game ID misspelled

Now when it trys to load my custom level it freezes and disconnects I'm not sure if there is something I can do.
 

MarioBrosThe

Well-Known Member
Member
Joined
Dec 31, 2014
Messages
153
Trophies
0
Age
33
Location
California
XP
189
Country
United States
$ python build.py examples/cafiine
Building for your cygwin_nt-10.0 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/Damon/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/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code532.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code500.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code410.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code400.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code310.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code300.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code210.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/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

pls help I don't know what I did wrong
 

TheZander

1337
Member
Joined
Feb 1, 2008
Messages
2,136
Trophies
2
Location
Level 7
XP
3,860
Country
United States
Right Click My Computer > Properties > Advance Options > Environmental Variables > Second Dialog Box Thing > PATH > ;c:\devkitpro\devkitppc\bin
$ python build.py examples/cafiine
Building for your cygwin_nt-10.0 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/Damon/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/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code532.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code500.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code410.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code400.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code310.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code300.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code210.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/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

pls help I don't know what I did wrong
 
  • Like
Reactions: MarioBrosThe

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
I did, at least I thought I did.
I'll reinstall cygwin again ;-;

That doesn't look like your problem

Bring up a Command Prompt and type echo %PATH%

You should see your path. If you path is present than you should be able to type "powerpc-eabi-gcc.exe' from anywhere
and it will print, "powerpc-eabi-gcc.exe: fatal error: no input files". This means your path is right.

based on the last thing you had print, did you check the "www" directory from the root of your libwiiu directory?
 
  • Like
Reactions: MarioBrosThe

Anonymous209

Active Member
Newcomer
Joined
Feb 1, 2015
Messages
28
Trophies
0
Age
30
XP
61
Country
United States
C
$ python build.py examples/cafiine
Building for your cygwin_nt-10.0 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/Damon/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/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code532.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code500.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code410.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code400.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code310.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code300.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/examples/cafiine/bin/
code210.bin'
Traceback (most recent call last):
File "/home/Damon/framework/generate_html.py", line 169, in <module>
main()
File "/home/Damon/framework/generate_html.py", line 68, in main
code = open(ar1, 'rb').read()
IOError: [Errno 2] No such file or directory: '/home/Damon/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

pls help I don't know what I did wrong


Can someone just make a video tutorial on how to fix this issue that would be more easier.
 
  • Like
Reactions: MarioBrosThe

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
C



Can someone just make a video tutorial on how to fix this issue that would be more easier.
Seriously?

Hit your windows key -> type "environ" -> Click Edit the System Environment variables -> Click Environment Variable -> Click New on the Top half of the window -> variable name "PATH" -> variable value "C:\devkitPro\devkitPPC\bin" or wherever you installed devkitPro. click "Ok" a bunch of times. You obviously have to relaunch your cygwin and command prompt so they import your new PATH. It literally doesn't get easier than this.
 
Last edited by Onion_Knight, , Reason: removed profanity...not necessary
  • Like
Reactions: VinsCool

MarioBrosThe

Well-Known Member
Member
Joined
Dec 31, 2014
Messages
153
Trophies
0
Age
33
Location
California
XP
189
Country
United States
Seriously?

Hit your windows key -> type "environ" -> Click Edit the System Environment variables -> Click Environment Variable (its on the fucking bottom) -> Click New on the Top half of the window -> variable name "PATH" -> variable value "C:\devkitPro\devkitPPC\bin" or wherever the fuck you installed devkitPro. click "Ok" a bunch of times. You obviously have to relaunch your cygwin and command prompt so they import your new PATH. It literally doesn't get easier than this.
I've literally tried everything you guys have told me to do, but it didn't fix my problem at all :/
 

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
I've literally tried everything you guys have told me to do, but it didn't fix my problem at all :/

What is exactly the problem you are having? If you have devkitpro installed, have the paths setup, have cygwin installed with the Devel packages and Python packages, you should be good to go.
 

MarioBrosThe

Well-Known Member
Member
Joined
Dec 31, 2014
Messages
153
Trophies
0
Age
33
Location
California
XP
189
Country
United States
What is exactly the problem you are having? If you have devkitpro installed, have the paths setup, have cygwin installed with the Devel packages and Python packages, you should be good to go.
I have everything set up. Maybe I'll figure this problem out another day. Can I still hack games without Cafiine?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: @salazarcosplay yeah cod's still up