Homebrew How to get CIA Internal name?

Fsm51

Well-Known Member
OP
Newcomer
Joined
Jun 30, 2011
Messages
47
Trophies
1
Age
27
Location
Star Road
XP
361
Country
El Salvador
Is there any way of getting it? I'm developing an app for personal use that lists all my CIAs with their serial, region and title ID and the only thing I can't figure how to get is the title name.

I could use a database file and name it correctly using the CIA's serial, but as a database has to be updated manually I'd rather show the internal name than using a database.

Sorry if I misspelled something.
 
Last edited by Fsm51,

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,495
Country
France
Check Header in ExHeader

--------------------- MERGED ---------------------------

For example, for my nisekoi cia it's 3ds_mang
1460999812-exheader.png
 

ksanislo

Well-Known Member
Member
Joined
Feb 23, 2016
Messages
386
Trophies
0
Location
Seattle, WA
XP
512
Country
United States
Last edited by ksanislo,

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,495
Country
France
The title info is in the SMDH section at the end of the CIA file... Documentation is avaliable at http://3dbrew.org/wiki/SMDH and FBI has a great example with the data array and how it gets loaded... the struct typedefs are at the top of source/util.h, and the read is basically just a from (fileSize - sizeof(SMDH)) to the end of the file, directly into that structure. (around line 139, in source/ui/section/task/listtitles.c from FBI)
I guess Internal Name is not the same as the Title Name.

Check My Screen: (Internal Name)
3ds_mang

When the Title name is:
NISEKOI MANGA vol.1
KAZE
 
  • Like
Reactions: a9lh-1user

ksanislo

Well-Known Member
Member
Joined
Feb 23, 2016
Messages
386
Trophies
0
Location
Seattle, WA
XP
512
Country
United States
I guess Internal Name is not the same as the Title Name.

Check My Screen: (Internal Name)
3ds_mang

When the Title name is:
NISEKOI MANGA vol.1
KAZE

Yeah, there's also the 8 character ExHeader title info, however I'm pretty sure what he's actually looking for the the short/long descriptions from the SMDH, since that's the info that you'll be able to match up from, say the 3ds title database, and it would make a good bit more sense for someone making an app that lists info such as the serial, region, and titleID. But I still may be wrong though, since I'm guessing based off the limited information that was given.
 

Fsm51

Well-Known Member
OP
Newcomer
Joined
Jun 30, 2011
Messages
47
Trophies
1
Age
27
Location
Star Road
XP
361
Country
El Salvador
@ksanislo is right, what I'm trying to get is the Title Name, sorry for the confusion ...

Do I need to decrpyt the CIA to obtain those names?

The title info is in the SMDH section at the end of the CIA file... Documentation is avaliable at http://3dbrew.org/wiki/SMDH and FBI has a great example with the data array and how it gets loaded... the struct typedefs are at the top of source/util.h, and the read is basically just a from (fileSize - sizeof(SMDH)) to the end of the file, directly into that structure (https://github.com/Steveice10/FBI/blob/master/source/ui/section/task/listtitles.c#L139 from FBI)
Thanks, I'll give it a look.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Yeah search Google