[Idea] Dummy CIAs/Ticket Generation

Discussion in '3DS - Flashcards & Custom Firmwares' started by Jaitsu, Jun 25, 2015.

  1. Jaitsu
    OP

    Jaitsu Yet Another GBATemp Furry

    Member
    152
    51
    Jun 2, 2015
    United States
    So, during a conversation the other day regarding getting titles installed on emuNAND running on sysNAND, I found out that the reason some GBA titles I had installed to emuNAND wouldn't boot in sysNAND was simply that their tickets weren't present in my sysNAND. The fix was as simple as reinstalling them on sysNAND with BBB - even though it errors out with "software already exists," it creates a ticket, which is what I needed. So, I thought - what if I didn't have the CIAs anymore, or if it was a multi-GB CIA that I don't have room for on my SD card? Is there any way we could generate dummy CIAs with a given Title ID/version/etc. just for the sake of creating tickets? Or even just a program that detects programs that are present but lacking tickets, and creates tickets for them.
     
    Last edited by Jaitsu, Jun 25, 2015
    MrCheeze likes this.
  2. cearp

    cearp the ticket master

    Member
    7,406
    4,658
    May 26, 2008
    Tuvalu
    yifan lu made a ticket installer, use that :)
     
  3. Jaitsu
    OP

    Jaitsu Yet Another GBATemp Furry

    Member
    152
    51
    Jun 2, 2015
    United States
    Oh? Got a link? I found a "3DSInstallTickets" github project, but no binaries - any chance there's a pre-compiled version somewhere?
     
  4. cearp

    cearp the ticket master

    Member
    7,406
    4,658
    May 26, 2008
    Tuvalu
    yeah that is it, and hmm maybe not, search here incase someone built it already though, sometimes people upload it :)
    i've never used it myself
     
  5. KidIce

    KidIce Smart Ass

    Member
    947
    261
    Dec 22, 2005
    United States
    Just found a compiled version on www.elotrolado.net, BTW. Haven't tested it or anything, but I thought you might like to know.

    Thanks, cearp, somehow I missed this tool. I'll try it out when I don't have a friend sitting behind me wondering why I'm on GBAtemp and not paying attention to her. :-)
     
  6. Jaitsu
    OP

    Jaitsu Yet Another GBATemp Furry

    Member
    152
    51
    Jun 2, 2015
    United States
    Annnnnd I found it annnnnd it's a .3dsx/.smdh/.elf. Fffff. I was hoping for a .cia. I've been spending the last few hours being reminded of just how much my knowledge of compilers and whatnot has slipped because I can't even figure out how to finagle VS2015/Eclipse/Dev-C++ to compile this, let alone compile it as a cia
     
  7. Jaitsu
    OP

    Jaitsu Yet Another GBATemp Furry

    Member
    152
    51
    Jun 2, 2015
    United States
    Well, I found a cia version of it, but apparently I'm gonna have to figure out how to extract tickets from ticket.db in order to inject them. Is there some kind of tool for extracting tickets from ticket.db? I'm a little afraid of screwing it up i.e. extracting the ticket incorrectly and corrupting my ticket.db by injecting a bad ticket. ...Edit: Oops, double-post. Sorry. Still curious about ticket.db extractors, though (ripping tickets, not getting ticket.db in the first place, that is)
     
  8. SilverfalconLP

    SilverfalconLP Advanced Member

    Newcomer
    75
    24
    Dec 23, 2013
    you test if can extrack tik of cias whit ctrtool @Jaitsu ?