Homebrew [DS(i)/3DS] TWiLight Menu++ - GUI for DS(i) games, and DS(i) Menu replacement

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,449
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,830
Country
United States
You have to take an existing ticket preferably from a system app, and edit the TID in the ticket using a hex editor so that it matches the new game your installing. You have to decrypt the ticket using TWLTool first. If using one of the system apps the TID you will need to find will either start with 00030005, 000300015, or 00030017 then the game code of the SRL (which is stored in big endian in the ticket). If using a system ticket, you change the 0005/0015/0017 part of the TID as well so that it becomes 00030004. Then renencrypt the ticket and rename it to match the game code in hex of sudoku.

Note that you can't run out of region titles with this so make sure you are using the one that matches your console's region. Then manually install the TMD into the the title folder. The ticket will go in ticket/00030004/ with the other user app tickets.

The location the game SRL and TMD goes in is in the title/00030004/[GAME CODE in HEX that matches file name of ticket] (game code in hex will all be in lowercase by the way)

You can get the TMD by getting it from that big TMD archive people made before the shop shutdown. Just be sure to remove any data after offset 0x208 in a hex editor so that the TMD is the correct size. Then rename the TMD to title.tmd.

The structure of the game folder in the title/00030004/ is "content" and "data" folders. The hax save goes in the data folder, the SRL and TMD go in the content folder. Note that file name of the .app usually has to match something defined in the TMD. For sudoku that's usually 00000001.app. Though other region versions of the game might be 00000000.app or 00000002.app.

Example images showing where USA version of Sudoku should be installed to:

upload_2017-5-28_10-5-2.png

upload_2017-5-28_10-5-15.png



The relevent part of a ticket you have to edit in a hex editor. This example shows what the TID field looks like for USA version of Sudoku:

upload_2017-5-28_10-6-25.png


Launcher/Data management doesn't verify ticket RSAs. (huge oversight by Nintendo) so as a result you can install any game you want this way. Though usually you need to provide the save container yourself as DSi Shop was normally responsible for generating that. We already have one for Sudoku in this example since we have a hax save. But if you want to do other normal games you have to provide one. Usually I install the game via CIA on my 3DS the extract the save it generated from my TWLN partition. I will not go into detail about that here. :P

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

Im now soldering my hardmod back on.

You don't need a hardmod to do this actually. Use the homebrew app I attached to below. Just be careful not to corrupt your NAND and you should be fine. :D

This will run fine from 4swordshax too so you already have your method of running this. Source is included as I modified it a bit to turn off top screen backlight (as it doesn't use that for anything). This so it saves power while you are using it. :P

You can dump your NAND CID and firmware stuff with this too by the way. :D

This version of fwtool was the predecessor to what eventually became dgTool. A similar homebrew app designed for helping 3DS users use DSiWare hax to modify NAND. Though dgTool no longer has the features fwTool has. :(

So use the version of fwTool I provided.
 

Attachments

  • fwTool_1.6.zip
    225.5 KB · Views: 727
Last edited by Apache Thunder,

DarkGabbz

Resident XBOX Guy
Member
Joined
Dec 29, 2015
Messages
1,185
Trophies
0
Age
21
Location
Modding Xbox'es
XP
621
Country
Micronesia, Federated States of
You have to take an existing ticket preferably from a system app, and edit the TID in the ticket using a hex editor so that it matches the new game your installing. You have to decrypt the ticket using TWLTool first. If using one of the system apps the TID you will need to find will either start with 00030005, 000300015, or 00030017 then the game code of the SRL (which is stored in big endian in the ticket). If using a system ticket, you change the 0005/0015/0017 part of the TID as well so that it becomes 00030004. Then renencrypt the ticket and rename it to match the game code in hex of sudoku.

Note that you can't run out of region titles with this so make sure you are using the one that matches your console's region. Then manually install the TMD into the the title folder. The ticket will go in ticket/00030004/ with the other user app tickets.

The location the game SRL and TMD goes in is in the title/00030004/[GAME CODE in HEX that matches file name of ticket] (game code in hex will all be in lowercase by the way)

You can get the TMD by getting it from that big TMD archive people made before the shop shutdown. Just be sure to remove any data after offset 0x208 in a hex editor so that the TMD is the correct size. Then rename the TMD to title.tmd.

The structure of the game folder in the title/00030004/ is "content" and "data" folders. The hax save goes in the data folder, the SRL and TMD go in the content folder. Note that file name of the .app usually has to match something defined in the TMD. For sudoku that's usually 00000001.app. Though other region versions of the game might be 00000000.app or 00000002.app.

Example images showing where USA version of Sudoku should be installed to:

View attachment 88338
View attachment 88339


The relevent part of a ticket you have to edit in a hex editor. This example shows what the TID field looks like for USA version of Sudoku:

View attachment 88340

Launcher/Data management doesn't verify ticket RSAs. (huge oversight by Nintendo) so as a result you can install any game you want this way. Though usually you need to provide the save container yourself as DSi Shop was normally responsible for generating that. We already have one for Sudoku in this example since we have a hax save. But if you want to do other normal games you have to provide one. Usually I install the game via CIA on my 3DS the extract the save it generated from my TWLN partition. I will not go into detail about that here. :P
Good that i still have my decrypted nand backup.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Vice City kind of feels like Miami lol
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, it's a parody iirc
  • BigOnYa @ BigOnYa:
    Yea think that's where it was supposed to be, Miami
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Having been to Miami hmmm probably a hundred times lol
  • Psionic Roshambo @ Psionic Roshambo:
    Back in my days as a delivery driver for a cartel well driver slash guy they would send if a payment was forgotten lol
  • Psionic Roshambo @ Psionic Roshambo:
    you know to help them find their checkbook lol
  • BigOnYa @ BigOnYa:
    Gta4 was NewYork or Chicago, gta5 is California
  • K3Nv2 @ K3Nv2:
    Damn camera phones catching crimes
  • Psionic Roshambo @ Psionic Roshambo:
    Always some women screaming... You break a few thousand dollars worth of crap in someone's living room and they scream lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol Ken yeah the things I did as a kid I am soooo glad those didn't exist
  • K3Nv2 @ K3Nv2:
    If someone breaks my $20 TV stand their nose is getting broke
  • Psionic Roshambo @ Psionic Roshambo:
    Psi would be doing like 300-3,000 years in prison lol
  • K3Nv2 @ K3Nv2:
    Have some in closet allegations?
  • Psionic Roshambo @ Psionic Roshambo:
    Someone tried to pull a gun on me once, they reached into the couch thinking I wouldn't notice, quick kick to the arm snapping it between the wrist and elbow broke like a swing lol I reached into the couch to see what was in there, cool a free .380 lol had to hit him with it a few times to remind him not to do it again lol
  • Psionic Roshambo @ Psionic Roshambo:
    He had the 20K he owed the very next day it was a miracle lol
  • Psionic Roshambo @ Psionic Roshambo:
    Psi was a bad bad man at one point lol
  • BigOnYa @ BigOnYa:
    We need a GTA based on your life, or at least put you in 6 as a character.
  • Psionic Roshambo @ Psionic Roshambo:
    I don't think people would believe 10% of the things I have done lol thank god...
  • Psionic Roshambo @ Psionic Roshambo:
    I have a giant check list of impossible things, and I haven't done them all yet lol
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, Was the pot farmer in San andreas
  • Psionic Roshambo @ Psionic Roshambo:
    I tell people I wrestled a 5 foot alligator and they get this smile like this guy is full of shit lol the reality is I am sad it got away.... I wanted a pet alligator lol
  • BigOnYa @ BigOnYa:
    You live in Florida, so I believe it, you guys are crazy.
  • Psionic Roshambo @ Psionic Roshambo:
    At the time I would have probably fed it people lol
  • Psionic Roshambo @ Psionic Roshambo:
    Seriously cocaine not even once lol
    Xdqwerty @ Xdqwerty: https://youtu.be/ksKhszIVVgI?si=dzDtVHt5knVGFRh1