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

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,918
Country
Congo, Republic of the
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.
97b6d93aae94eaeca1cbe1cc8658d6f7.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

Go back to cygwin setup and actually install gcc and g++. You didn't install the deps. Also, it won't build on Windows currently. I'm testing it right now.

I'll probably fork bdfe and make it output the fonts directly eventually here. Current method is kind of a hack.
 
Last edited by chaoskagami,

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,918
Country
Congo, Republic of the
Go back to cygwin setup and actually install gcc and g++. You didn't install the deps. Also, it won't build on Windows currently. I'm testing it right now.

I'll probably fork bdfe and make it output the fonts directly eventually here. Current method is kind of a hack.
so, i can't do anything on windows ?
 

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
this is normal because you're doing a very good thing so good luck

I think I may very well be a workaholic.

Can you try installing gcc and g++ in the cygwin setup, and attempt to build again? I forked bdfe and stripped a lot of unneeded code out. You may need to re-clone the project due to bdfe being replaced (or delete host/bdfe and .git/modules/host and then pulling)
 
Last edited by chaoskagami,

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,918
Country
Congo, Republic of the
I think I may very well be a workaholic.

Can you try installing gcc and g++ in the cygwin setup, and attempt to build again? I forked bdfe and stripped a lot of unneeded code out. You may need to re-clone the project due to bdfe being replaced (or delete host/bdfe and .git/modules/host and then pulling)
my bdfe is empty and i haven't .git folder ?
 

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
It's been a week already? Or is this the "or so" of your break? :P

I hope your at least watching some anime. :P

Haha. No, it hasn't been a week. Sadly, aside from watching 1-6 of Netoge, I haven't even kept up on spring's lineup. I still need to sit down and marathon Steins;Gate too. Next season is looking good, though. Illya 3rei, New Game, D.Gray man (not looking forward to rewatching 100+ episodes, though.)

my bdfe is empty and i haven't .git folder ?

Did you clone the git repository? It sounds to me like you dowloaded the zip file, instead of cloning it. Assuming you have git installed, run this command:
Code:
git clone https://github.com/chaoskagami/corbenik.git --recursive
Try again once you've done that.

Either way, there's more problems aside from this. As long as I continue using the 3ds_rules of devkitpro with loader, it's impossible to build on Windows. Prebuilt devkitPro is hardcoded to use msys paths, and including 3ds_rules means that I can't fix them. You'd need to build a cygwin-based devkitPro from source code (which is possible.)

It's too much effort to support windows builds at this point. I'm genuinely sorry. It's a crappy OS for any development, and I'm not going to put any more effort into this. Set up a VM in virtualbox or something.
 
  • Like
Reactions: Temptress Cerise

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,918
Country
Congo, Republic of the
Did you clone the git repository? It sounds to me like you dowloaded the zip file, instead of cloning it. Assuming you have git installed, run this command:
Code:
git clone https://github.com/chaoskagami/corbenik.git --recursive
Try again once you've done that.
how to run this commande on my computer before you clone the git ?
 
Last edited by chronoss,

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,010
Trophies
1
XP
4,918
Country
Congo, Republic of the
@TheReturningVoid @chaoskagami

Code:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. Tous droits réservés.

AVERTISSEMENT : posh-git support for PowerShell 2.0 is deprecated; you have
version 2.0.
To download version 3.0, please visit
https://www.microsoft.com/en-us/download/details.aspx?id=34595
For more information and to discuss this, please visit
https://github.com/dahlbyk/posh-git/issues/163
To suppress this warning, change your profile to include 'Import-Module
posh-git -Args $true'.
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master =]> make
make -C host/bdfe
make[1]: Entering directory `/c/Users/CHRONOSS GAMES/Documents/GitHub/corbenik/h
ost/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/CHRONOSS GAMES/Documents/GitHub/corbenik/ho
st/bdfe'
make.exe": *** [hosttools] Error 2
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master =]> git clone https://
github.com/chaoskagami/corbenik.git --recursive
Cloning into 'corbenik'...
remote: Counting objects: 2197, done.
remote: Compressing objects: 100% (16/16), done.
Receiving objects: 100% (2197/2197), 552.52 KiB | 115.00 KiB/s, done.
emote: Total 2197 (delta 7), reused 0 (delta 0), pack-reused 2181
Resolving deltas: 100% (1546/1546), done.
Checking connectivity... done.
Submodule 'external/tewi-font' (https://github.com/Lucy/tewi-font) registered fo
r path 'external/tewi-font'
Submodule 'host/bdfe' (https://github.com/chaoskagami/bdfe) registered for path
'host/bdfe'
Cloning into 'external/tewi-font'...
remote: Counting objects: 969, done.
rRemote: Total 969 (delta 0), reused 0 (delta 0), pack-reused 969eceiving object
Receiving objects: 100% (969/969), 684.90 KiB | 112.00 KiB/s, done.

Resolving deltas: 100% (590/590), done.
Checking connectivity... done.
Submodule path 'external/tewi-font': checked out '536549a04b4c6046a43cd37e777d69
30de163e04'
Cloning into 'host/bdfe'...
remote: Counting objects: 70, done.
remote: Compressing objects: 100% (11/11), done.
Uremote: Total 70 (delta 4), reused 0 (delta 0), pack-reused 59npacking objects:

Unpacking objects: 100% (70/70), done.
Checking connectivity... done.
Submodule path 'host/bdfe': checked out 'af4c3cd4374fc0e3869b7b924412a87f471b11d
3'
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master = +1 ~0 -0 !]> make
make -C host/bdfe
make[1]: Entering directory `/c/Users/CHRONOSS GAMES/Documents/GitHub/corbenik/h
ost/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/CHRONOSS GAMES/Documents/GitHub/corbenik/ho
st/bdfe'
make.exe": *** [hosttools] Error 2
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master = +1 ~0 -0 !]>
 

TheReturningVoid

0xAAAAAAAA
Member
Joined
Oct 2, 2014
Messages
332
Trophies
0
Location
/dev/urandom
XP
254
Country
@TheReturningVoid @chaoskagami

Code:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. Tous droits réservés.

AVERTISSEMENT : posh-git support for PowerShell 2.0 is deprecated; you have
version 2.0.
To download version 3.0, please visit
https://www.microsoft.com/en-us/download/details.aspx?id=34595
For more information and to discuss this, please visit
https://github.com/dahlbyk/posh-git/issues/163
To suppress this warning, change your profile to include 'Import-Module
posh-git -Args $true'.
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master =]> make
make -C host/bdfe
make[1]: Entering directory `/c/Users/CHRONOSS GAMES/Documents/GitHub/corbenik/h
ost/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/CHRONOSS GAMES/Documents/GitHub/corbenik/ho
st/bdfe'
make.exe": *** [hosttools] Error 2
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master =]> git clone https://
github.com/chaoskagami/corbenik.git --recursive
Cloning into 'corbenik'...
remote: Counting objects: 2197, done.
remote: Compressing objects: 100% (16/16), done.
Receiving objects: 100% (2197/2197), 552.52 KiB | 115.00 KiB/s, done.
emote: Total 2197 (delta 7), reused 0 (delta 0), pack-reused 2181
Resolving deltas: 100% (1546/1546), done.
Checking connectivity... done.
Submodule 'external/tewi-font' (https://github.com/Lucy/tewi-font) registered fo
r path 'external/tewi-font'
Submodule 'host/bdfe' (https://github.com/chaoskagami/bdfe) registered for path
'host/bdfe'
Cloning into 'external/tewi-font'...
remote: Counting objects: 969, done.
rRemote: Total 969 (delta 0), reused 0 (delta 0), pack-reused 969eceiving object
Receiving objects: 100% (969/969), 684.90 KiB | 112.00 KiB/s, done.

Resolving deltas: 100% (590/590), done.
Checking connectivity... done.
Submodule path 'external/tewi-font': checked out '536549a04b4c6046a43cd37e777d69
30de163e04'
Cloning into 'host/bdfe'...
remote: Counting objects: 70, done.
remote: Compressing objects: 100% (11/11), done.
Uremote: Total 70 (delta 4), reused 0 (delta 0), pack-reused 59npacking objects:

Unpacking objects: 100% (70/70), done.
Checking connectivity... done.
Submodule path 'host/bdfe': checked out 'af4c3cd4374fc0e3869b7b924412a87f471b11d
3'
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master = +1 ~0 -0 !]> make
make -C host/bdfe
make[1]: Entering directory `/c/Users/CHRONOSS GAMES/Documents/GitHub/corbenik/h
ost/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/CHRONOSS GAMES/Documents/GitHub/corbenik/ho
st/bdfe'
make.exe": *** [hosttools] Error 2
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master = +1 ~0 -0 !]>

>Windows PowerShell

I don't think that's right.
 

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
@TheReturningVoid @chaoskagami

Code:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. Tous droits réservés.

AVERTISSEMENT : posh-git support for PowerShell 2.0 is deprecated; you have
version 2.0.
To download version 3.0, please visit
https://www.microsoft.com/en-us/download/details.aspx?id=34595
For more information and to discuss this, please visit
https://github.com/dahlbyk/posh-git/issues/163
To suppress this warning, change your profile to include 'Import-Module
posh-git -Args $true'.
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master =]> make
make -C host/bdfe
make[1]: Entering directory `/c/Users/CHRONOSS GAMES/Documents/GitHub/corbenik/h
ost/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/CHRONOSS GAMES/Documents/GitHub/corbenik/ho
st/bdfe'
make.exe": *** [hosttools] Error 2
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master =]> git clone https://
github.com/chaoskagami/corbenik.git --recursive
Cloning into 'corbenik'...
remote: Counting objects: 2197, done.
remote: Compressing objects: 100% (16/16), done.
Receiving objects: 100% (2197/2197), 552.52 KiB | 115.00 KiB/s, done.
emote: Total 2197 (delta 7), reused 0 (delta 0), pack-reused 2181
Resolving deltas: 100% (1546/1546), done.
Checking connectivity... done.
Submodule 'external/tewi-font' (https://github.com/Lucy/tewi-font) registered fo
r path 'external/tewi-font'
Submodule 'host/bdfe' (https://github.com/chaoskagami/bdfe) registered for path
'host/bdfe'
Cloning into 'external/tewi-font'...
remote: Counting objects: 969, done.
rRemote: Total 969 (delta 0), reused 0 (delta 0), pack-reused 969eceiving object
Receiving objects: 100% (969/969), 684.90 KiB | 112.00 KiB/s, done.

Resolving deltas: 100% (590/590), done.
Checking connectivity... done.
Submodule path 'external/tewi-font': checked out '536549a04b4c6046a43cd37e777d69
30de163e04'
Cloning into 'host/bdfe'...
remote: Counting objects: 70, done.
remote: Compressing objects: 100% (11/11), done.
Uremote: Total 70 (delta 4), reused 0 (delta 0), pack-reused 59npacking objects:

Unpacking objects: 100% (70/70), done.
Checking connectivity... done.
Submodule path 'host/bdfe': checked out 'af4c3cd4374fc0e3869b7b924412a87f471b11d
3'
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master = +1 ~0 -0 !]> make
make -C host/bdfe
make[1]: Entering directory `/c/Users/CHRONOSS GAMES/Documents/GitHub/corbenik/h
ost/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/CHRONOSS GAMES/Documents/GitHub/corbenik/ho
st/bdfe'
make.exe": *** [hosttools] Error 2
C:\Users\CHRONOSS GAMES\Documents\GitHub\corbenik [master = +1 ~0 -0 !]>

Either way, there's more problems aside from this. As long as I continue using the 3ds_rules of devkitpro with loader, it's impossible to build on Windows. Prebuilt devkitPro is hardcoded to use msys paths, and including 3ds_rules means that I can't fix them. You'd need to build a cygwin-based devkitPro from source code (which is possible.)

It's too much effort to support windows builds at this point. I'm genuinely sorry. It's a crappy OS for any development, and I'm not going to put any more effort into this. Set up a VM in virtualbox or something.

No more windows support/help, even unofficially. It doesn't work, and I have no interest in getting it working now. It's not worth it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    T @ Texasauras: IS ANYONE ON TWITCH.COM TWITCH.COM/THESUSHIDRAGON