Homebrew [Release] CIAngel - download GOOD cias right on your 3ds :)

Traiver

Developer
Developer
Joined
Aug 1, 2014
Messages
1,326
Trophies
1
Location
???
XP
2,990
Country
United States
Should be included alongside hbkb's source code, at the "hbkb_include_header" folder. Extract it to "devkitPro/libctru/include".
Yup, already managed it, thanks anyways dude :P I thought the 3DS keyboard is inclued in DevKitARM

Edit: Now its another error:


In file included from c:/devkitPro/libctru/include/3ds.h:42:0,
from c:/devkitPro/libctru/include/hbkb.h:71,
from c:/Users/_/Desktop/CIAngel-master/source/main.cpp:17:
c:/devkitPro/libctru/include/3ds/services/httpc.h:23:8: note: declared here
Result httpcInit(void);
^
c:/Users/_/Desktop/CIAngel-master/source/main.cpp:240:15: error: 'sslcInit' was not declared in this scope
sslcInit(0);
^
c:/Users/_/Desktop/CIAngel-master/source/main.cpp:319:14: error: 'sslcExit' was not declared in this scope
sslcExit();
^
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
 
Last edited by Traiver,
  • Like
Reactions: XRaidersP

Ryuzaki_MrL

Green Thunder
Member
Joined
Jun 23, 2015
Messages
781
Trophies
0
Age
26
XP
2,051
Country
Brazil
Yup, already managed it, thanks anyways dude :P I thought the 3DS keyboard is inclued in DevKitARM

Edit: Now its another error:


In file included from c:/devkitPro/libctru/include/3ds.h:42:0,
from c:/devkitPro/libctru/include/hbkb.h:71,
from c:/Users/_/Desktop/CIAngel-master/source/main.cpp:17:
c:/devkitPro/libctru/include/3ds/services/httpc.h:23:8: note: declared here
Result httpcInit(void);
^
c:/Users/_/Desktop/CIAngel-master/source/main.cpp:240:15: error: 'sslcInit' was not declared in this scope
sslcInit(0);
^
c:/Users/_/Desktop/CIAngel-master/source/main.cpp:319:14: error: 'sslcExit' was not declared in this scope
sslcExit();
^
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

Try compiling and installing ctrulib from the source, there are a lot of new functions added after v1.1
 

Traiver

Developer
Developer
Joined
Aug 1, 2014
Messages
1,326
Trophies
1
Location
???
XP
2,990
Country
United States
Try compiling and installing ctrulib from the source, there are a lot of new functions added after v1.1
Found that already out again, haha XD Now this here...


c:/Users//Desktop/CIAngel-master/source/utils.c:391:18: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'u32 {aka long unsigned int}' [-Wformat=]
fprintf(fout, "%*s", prefixlen, "");
^
c:/Users//Desktop/CIAngel-master/source/utils.c:391:18: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'u32 {aka long unsigned int}' [-Wformat=]
c:/Users//Desktop/CIAngel-master/source/utils.c: In function 'u8_to_u16':
c:/Users//Desktop/CIAngel-master/source/utils.c:269:9: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized]
return new_value;
^
c:/Users//Desktop/CIAngel-master/source/utils.c: In function 'u8_to_u32':
c:/Users//Desktop/CIAngel-master/source/utils.c:279:9: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized]
return new_value;
^
linking CIAngel-master.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lhbkb
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/c/Users//Desktop/CIAngel-master/CIAngel-master.elf] Error 1
make: *** [build] Error 2
 
Last edited by Traiver,
  • Like
Reactions: XRaidersP

mysamdog

Active Member
Newcomer
Joined
Feb 21, 2016
Messages
33
Trophies
0
Age
24
XP
90
Country
United States
You don't have the keyboard lib installed somewhere where ld can find it. For me, I have $DEVKITPRO/libhbkb/lib/libhbkb.a and $DEVKITPRO/libhbkb/include/hbkb.h
 

Ryuzaki_MrL

Green Thunder
Member
Joined
Jun 23, 2015
Messages
781
Trophies
0
Age
26
XP
2,051
Country
Brazil
And for me it's on "devKitPro/libctru/lib/libhbkb.a", the makefile was able to find it just fine. The problem with libhbkb is that you have to install it manually, there's no "make install" rule.
 

paradox355

Member
Newcomer
Joined
Dec 31, 2009
Messages
17
Trophies
0
XP
199
Country
United States
enctitlekeysbin files might only be temporary, ideally i will take in a csv that is produced from some tool of mine, so i can dictate the format lol, either locally placedon the sd card or fetched from online, and parse that. then we can get names, region... etc

If you plan to fetch the custom data from online, I would suggest exporting from there as json. It's very efficient and since it's returned as an colection object you can quickly parse thru it with a basic ForEach. Another benefit is since REST requests are basically standard http requests, you can filter the data that is returned by adding keywords to the URI ... ?region=US . Less for the code to parse thru. :)

But I would probably consider that a long term goal. I would definitely just start with csv copied to SD for now. Always better to start simple. Looking at the code, it's pretty clean now. No reason to over complicate it at this point.
 
  • Like
Reactions: cearp

Traiver

Developer
Developer
Joined
Aug 1, 2014
Messages
1,326
Trophies
1
Location
???
XP
2,990
Country
United States
And for me it's on "devKitPro/libctru/lib/libhbkb.a", the makefile was able to find it just fine. The problem with libhbkb is that you have to install it manually, there's no "make install" rule.
Great and what now? I don't have the libhbkb and it won't let me install it because "There is no 3ds rule" LOL

Edit: I think that means, I'm missing the C Libary...


C:\Users\_\Desktop\CIAngel-master>make
linking CIAngel-master.elf
main.o: In function `getInput[abi:cxx11](HB_Keyboard*)':
c:/Users/_/Desktop/CIAngel-master/source/main.cpp:194: undefined reference to `HB_Keyboard::HBKB_CheckKeyboardInput[abi:cxx11]()'
main.o: In function `main':
c:/Users/_/Desktop/CIAngel-master/source/main.cpp:240: undefined reference to `sslcInit'
c:/Users/_/Desktop/CIAngel-master/source/main.cpp:319: undefined reference to `sslcExit'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/c/Users/_/Desktop/CIAngel-master/CIAngel-master.elf] Error 1
make: *** [build] Error 2
 
Last edited by Traiver,
  • Like
Reactions: XRaidersP

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,749
Trophies
2
XP
8,615
Country
Tuvalu
i just realized something really cool... CIAngel is the first example of us pirating ON a (portable) games console... right?
Maybe on psp, if you have a link to an iso online, and use a special hack thing that lets you download all file types - I guess that might count... lol
pirating on the device without needing a computer is pretty cool. maybe not so practical (yet) - but pretty cool :)

With the latest CIAngel release that I will upload shortly on github, we can download the encTitleKeys.bin file and generate tickets from it. (if you want to try, make sure you have or create a /CIAngel folder in your sd card, that is not always created/checked properly, my fault)
it's a bit basic now... no selection, and you will generate ALL of the tickets, it took about 15 minutes I think to generate 1388 of them... slow right.
But in the future when we have selection working, it will be more useful :)
 
  • Like
Reactions: Quantumcat

Kourin

Touhou Maniac
Member
Joined
Jan 24, 2016
Messages
1,018
Trophies
0
Age
28
Location
Ripple Star
XP
1,236
Country
Australia
I'm a bit new to this whole tickets business. Other than I know it's something to do with ownership?
Would someone be able to tell me what exactly they are and what's the significance of them? Google's just bringing up the Mii Plaza tickets.
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,749
Trophies
2
XP
8,615
Country
Tuvalu
I'm a bit new to this whole tickets business. Other than I know it's something to do with ownership?
Would someone be able to tell me what exactly they are and what's the significance of them? Google's just bringing up the Mii Plaza tickets.
the ticket lets you play the game :)
when we install cias, we get tickets installed (and content)
if we install a GOOD ticket, we can redownload content from eshop, if we can see that content in our country's eshop.
if you want more details just read 3dbrew
 

Kourin

Touhou Maniac
Member
Joined
Jan 24, 2016
Messages
1,018
Trophies
0
Age
28
Location
Ripple Star
XP
1,236
Country
Australia
the ticket lets you play the game :)
when we install cias, we get tickets installed (and content)
if we install a GOOD ticket, we can redownload content from eshop, if we can see that content in our country's eshop.
if you want more details just read 3dbrew
Ah, neat! Thanks c:
 

Kourin

Touhou Maniac
Member
Joined
Jan 24, 2016
Messages
1,018
Trophies
0
Age
28
Location
Ripple Star
XP
1,236
Country
Australia
Would it be possible to have either one long txt or a lot of small ones in a folder with [Name for sorting] [Title ID] [Encrypted Code]
so we could build a list of things we might want to download? It would save having to manually enter stuff if there was a lot of things you wanted to download one after another
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,749
Trophies
2
XP
8,615
Country
Tuvalu
Great, can we have It as a CIA
Would it be possible to have either one long txt or a lot of small ones in a folder with [Name for sorting] [Title ID] [Encrypted Code]
so we could build a list of things we might want to download? It would save having to manually enter stuff if there was a lot of things you wanted to download one after another
in the future, yes. it's planned.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Me and a buddy used to play that, is pretty fun. Graphics were pretty good also at that time, I think what 5-6 years ago. --Edit yea was 2018
  • BigOnYa @ BigOnYa:
    Surprised they never made a second one.
  • K3Nv2 @ K3Nv2:
    It takes two was their newest different theme
  • BigOnYa @ BigOnYa:
    I didn't care for that one so much, but didn't play it much either.
  • BigOnYa @ BigOnYa:
    I just played little of "Still Wakes The Deep" , just came to gamepass today, its alright, kinda creepy. I'm not usually a horror game fan, but it looks really good graphic wise, esp w 4k. I admit it made me jump a few times.
  • LNLenost @ LNLenost:
    Anyone here using the 3DS?
  • LNLenost @ LNLenost:
    do u have pretendo?
  • LNLenost @ LNLenost:
    whats ur code?
  • B @ btjunior:
    i dont have pretendo sorry
  • LNLenost @ LNLenost:
    oh ok
  • LNLenost @ LNLenost:
    well if ur console isnt modded i suggest u to mod it
  • B @ btjunior:
    also, just curius, does the freinds app still work after the shutdown?
  • LNLenost @ LNLenost:
    yes
  • B @ btjunior:
    nice
  • LNLenost @ LNLenost:
    but u cant play online games anymore :(
  • LNLenost @ LNLenost:
    i miss going in other peoples town
  • B @ btjunior:
    yeah
  • LNLenost @ LNLenost:
    i have a friend named Pineapple (@pineappleJuice hi). we played a lot the day b4 the server shutdown
  • K3Nv2 @ K3Nv2:
    I preten to know doe
  • BigOnYa @ BigOnYa:
    @LNLenost how well is the pretendo servers, you ever get kicked off games when playing online?
    +1
  • LNLenost @ LNLenost:
    @BigOnYa not always you get kicked. it happens rarely to me.
    +1
  • LNLenost @ LNLenost:
    ofc they're not great, but props to them for making this
  • LNLenost @ LNLenost:
    btw, I decided to make the nintendo support team going insane
  • LNLenost @ LNLenost:
    i told them my badges disappeared after i opened the badge arcade after the shutdown, but actually they disappeared because i opened the badge arcade w/ pretendo
    LNLenost @ LNLenost: i told them my badges disappeared after i opened the badge arcade after the shutdown, but...