Homebrew How to get CIA Internal name?

  • Thread starter Thread starter Fsm51
  • Start date Start date
  • Views Views 1,646
  • Replies Replies 8

Fsm51

Well-Known Member
Newcomer
Joined
Jun 30, 2011
Messages
47
Reaction score
66
Trophies
1
Age
29
Location
Star Road
XP
384
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,
Check Header in ExHeader

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

For example, for my nisekoi cia it's 3ds_mang
1460999812-exheader.png
 
Last edited by ksanislo,
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
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.
 
@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