Hacking Official Corbenik - Another CFW for advanced users (with bytecode patches!)

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States

Rohul1997

Well-Known Member
Member
Joined
Dec 7, 2015
Messages
357
Trophies
0
Age
27
Location
Giant Chasm
XP
873
Country
Getting this error when compiling @chaoskagami

Code:
rm -rf ../out/corbenik/bits
rm -rf ../out/corbenik/module
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/external'
make -C patch clean
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/patch'
rm -f *.vco
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/patch'
make -C host/bdfe clean
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
rm -f bdfe
rm -f *.o
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
rm -rf out build
make -C host/bdfe
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
make: *** [hosttools] Error 2
 
  • Like
Reactions: peteruk and Madridi

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
Getting this error when compiling @chaoskagami

Code:
rm -rf ../out/corbenik/bits
rm -rf ../out/corbenik/module
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/external'
make -C patch clean
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/patch'
rm -f *.vco
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/patch'
make -C host/bdfe clean
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
rm -f bdfe
rm -f *.o
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
rm -rf out build
make -C host/bdfe
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
make: *** [hosttools] Error 2

We've already been over this. You need a host gcc/g++. If you're on linux, install it. On windows, use a cygwin environment with the proper packages.
 

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
We've already been over this. You need a host gcc/g++. If you're on linux, install it. On windows, use a cygwin environment with the proper packages.
Been reading some old posts. So mingw does not work, and we need cygwin installed, and have it in path before mingw?

Can we use a command like:
make --compiler=cygwin

or something similar?
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
Been reading some old posts. So mingw does not work, and we need cygwin installed, and have it in path before mingw?

Can we use a command like:
make --compiler=cygwin

or something similar?

Cygwin's tools must be before mingw in the path unless you override them. However, the Makefile only sets the variables to a default. You should be able to run something like:

Code:
make CC=/usr/bin/gcc CXX=/usr/bin/g++ CPP=/usr/bin/cpp OC=/usr/bin/objcopy LD=/usr/bin/ld

but don't quote me on this. I don't run Windows for anything aside from FO4 nowadays.
 
  • Like
Reactions: Madridi

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
Cygwin's tools must be before mingw in the path unless you override them. However, the Makefile only sets the variables to a default. You should be able to run something like:

Code:
make CC=/usr/bin/gcc CXX=/usr/bin/g++ CPP=/usr/bin/cpp OC=/usr/bin/objcopy LD=/usr/bin/ld

but don't quote me on this. I don't run Windows for anything aside from FO4 nowadays.
Thanks, I'll check this out and hopefully it works :)
 

Suiginou

(null)
Member
Joined
Jun 26, 2012
Messages
565
Trophies
0
Location
pc + 8
XP
738
Country
Gambia, The

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
In the time you took to make this post, you'd already have been halfway to just trying it.

Exactly.

>SDK app styled
>font anti-aliasing
Were you even trying?

Dev apps use 3x2 anyways, so the correct layout would be:

C o r
b e n

But let's not give the poor guy any more ideas. I'm perfectly capable of graphics. I made the not-so-crappy logo in the OP, after all.
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
I'm going to take a break for a week or so from development. I've been working nonstop. The only things left to do before the big stuff are all minor and afaik there's no bugs in the current version.

I'll still be active on the forums, if anyone finds anything horribly wrong. My game and anime queue has been piling up and it's nigh time I make a dent on it.
 

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,921
Country
Congo, Republic of the
someone can help me please :

Code:
C:\corbenik-master>make
make: git: Command not found
/bin/sh: git: command not found
make -C host/bdfe
make[1]: Entering directory `/c/corbenik-master/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/c/corbenik-master/host/bdfe'
make: *** [hosttools] Error 2

C:\corbenik-master>
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
someone can help me please :

Code:
C:\corbenik-master>make
make: git: Command not found
/bin/sh: git: command not found
make -C host/bdfe
make[1]: Entering directory `/c/corbenik-master/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/c/corbenik-master/host/bdfe'
make: *** [hosttools] Error 2

C:\corbenik-master>

We've already been through this two times. Go look back through the thread. tl;dr - Cygwin or Linux, you need a POSIX host compiler for your OS.

EDIT: It's in the FAQ now - people no longer have any excuse. This will be answered from now on with RTFM.
 
Last edited by chaoskagami,

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,921
Country
Congo, Republic of the
We've already been through this two times. Go look back through the thread. tl;dr - Cygwin or Linux, you need a POSIX compiler.

EDIT: It's in the FAQ now - people no longer have any excuse. This will be answered from now on with RTFM.
I've Cygwin installed on my pc :(
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
I've Cygwin installed on my pc :(

Well, you're evidently not using a cygwin shell to build by the prompt (C:\).

Open a cygwin shell, `cd /cygdrive/c/corbenik-master` and try again.

EDIT: Actually, looks like it still doesn't build on cygwin due to li2c. I've made a stubbing-out patch that I'm pushing to master. This allows cygwin to work (I think.)

EDIT: Pull changes and run `patch -Np1 -i host/stub-i2c-bdfe.patch` if you're trying to build in cygwin. This stubs out the Linux i2c code in bdfe so it should build (under Cygwin.)
 
Last edited by chaoskagami,

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,921
Country
Congo, Republic of the
Well, you're evidently not using a cygwin shell to build by the prompt (C:\).

Open a cygwin shell, `cd /cygdrive/c/corbenik-master` and try again.

EDIT: Actually, looks like it still doesn't build on cygwin due to li2c. I've made a stubbing-out patch that I'm pushing to master. This allows cygwin to work (I think.)

EDIT: Pull changes and run `patch -Np1 -i host/stub-i2c-bdfe.patch` if you're trying to build in cygwin.
2faff86fe1f1625f325e4d881f620a15.png
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States

Are you going to type `make` in the cygwin shell, or what?

I highly doubt you should be building this from source. Also, there's absolutely zero changes from the current stable at the moment.

EDIT: Line 3595 of font.h is misgenerated on cygwin for whatever reason. Maybe someday I'll manage to fix this, but I did say I can't support compiling on Windows. It's a royal PITA.
 
Last edited by chaoskagami,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @HiradeGirl, Hi