Hacking Editing Ticket.db

Status
Not open for further replies.

Xenosaiga

Time to switch it up
OP
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
33
Location
The Shadows
XP
1,070
Country
United States
I'm just curious if anybody has found out any way to edit the ticket.db?

I know that it can be done, I'm just not sure how. If anybody has any idea I would like to know. Thanks for any ideas!
 

Syphurith

Beginner
Member
Joined
Mar 8, 2013
Messages
641
Trophies
0
Location
Xi'an, Shaanxi Province
XP
364
Country
Switzerland
This is now an obstacle for some devs. Unfortunately there isn't any present.
The DB files, including title.db, and others, aren't that clear in their structure.
If you have patience you may open up a thread/conversation to experiment.. to contribute to reveal that.
Good luck if you want so, and you may contact @d0k3 for tips.
Dump. Check CIA ticket. Install. Dump. Revert Old. Check CIA. Install another. Dump. Compare.
 

ayanekochan

Well-Known Member
Member
Joined
Aug 6, 2015
Messages
202
Trophies
0
Age
64
XP
133
Country
United States
Did you buy/install legit dlc and now you have to reinstall a cia dlc pack for it every time you access nnid services? Cause that's what happened to me...
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I'm just curious if anybody has found out any way to edit the ticket.db?

I know that it can be done, I'm just not sure how. If anybody has any idea I would like to know. Thanks for any ideas!
No, not yet. I'll give you a starting point and some remarks, though.

This is now an obstacle for some devs. Unfortunately there isn't any present.
The DB files, including title.db, and others, aren't that clear in their structure.
If you have patience you may open up a thread/conversation to experiment.. to contribute to reveal that.
Good luck if you want so, and you may contact @d0k3 for tips.
Dump. Check CIA ticket. Install. Dump. Revert Old. Check CIA. Install another. Dump. Compare.
Seconding that :).

No. I'm literally just curious about editing the ticket.db and how I could go about doing so.
You'd have a lot of work ahead. You need a hardmod, and you need to do a ton of (possibly unsuccessful) experiments. Take a look at this GitHub repo. Also get informed on 3Dbrew.

titledb-get is 100% not perfect. It is buggy and the code is ugly, but it gives you a good picture of how these databases (title.de, ticket.db) need to be parsed. You'll need to go ahead from there (ie. rewrite the code to actually remove stuff and keep your fingers crossed it works). From 3Dbrew, you'll notice, there are a lot of 'unknown' values, and their description doesn't even encompass the whole file. So, my best bet is, it will most likely never be advisable to edit your databases without a hardmod.

I hope you prove me wrong, though.
 

Xenosaiga

Time to switch it up
OP
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
33
Location
The Shadows
XP
1,070
Country
United States
@d0k3 well I can go ahead and just cut it short by saying I don't have a hard mod... And I'm gonna leave the experimenting to someone that has coding know how.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
@d0k3 well I can go ahead and just cut it short by saying I don't have a hard mod... And I'm gonna leave the experimenting to someone that has coding know how.
I don't have one either :). Also, this might be futile, but never say never.
 

Xenosaiga

Time to switch it up
OP
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
33
Location
The Shadows
XP
1,070
Country
United States
I don't have one either :). Also, this might be futile, but never say never.
Well, if you have any ideas I'm willing to at least try



Edit: Actually I looked at the stuff you linked in you earlier post and I have no idea what the 3Dbrew page is even saying
 
Last edited by Xenosaiga,

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
Bump this thread.

I just found that, if you had ever installed a CIA, even you uninstalled it / formatted NAND, the fake ticket still remained in your ticket.db.
If you made your EmuNAND in this condition, you can still re-create a brand new emuNAND from SysNAND to vanish all fake tickets.
If you made your SysNAND in this condition and no backup, those fake tickets would never disappear unless you System Transfer them to another console's emuNAND.
If you could not do that (e.g. your NAND with many Mii Plaza achievements infected a fake ticket by System Transfer to a target which has fake ticket), you have to wait for someone develop a ticket.db editor.
 
Last edited by MelonGx,
  • Like
Reactions: thaikhoa

Suiginou

(null)
Member
Joined
Jun 26, 2012
Messages
565
Trophies
0
Location
pc + 8
XP
738
Country
Gambia, The
This could be a major breakthrough in making a "Universal Ticket" that would go perfectly with GroovyCIA by @Ptrk25.

A ticket that has all titles!

A ticket can only contain data for one title. Also, there's still no way to get titlekeys for arbitrary titles.

Bump this thread.

I just found that, if you had ever installed a CIA, even you uninstalled it / formatted NAND, the fake ticket still remained in your ticket.db.
If you made your EmuNAND in this condition, you can still re-create a brand new emuNAND from SysNAND to vanish all fake tickets.
If you made your SysNAND in this condition and no backup, those fake tickets would never disappear unless you System Transfer them to another console's emuNAND.
If you could not do that (e.g. your NAND with many Mii Plaza achievements infected a fake ticket by System Transfer to a target which has fake ticket), you have to wait for someone develop a ticket.db editor.

Or you'll have to wait at least until someone makes use of the DeleteTicket am command.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Ending to the fallout series was lame could've gave us a bit more