romm icon indicating copy to clipboard operation
romm copied to clipboard

[Feature] Additional Info on Switch TitleIDs

Open TheExpertNoob opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. Seeing issues of DLCs and Updates not always combining under the BASE game.

Describe the solution you'd like the TitleID of a switch title is unique across BASE, UPDATES, and DLC. There is a pattern.

Describe alternatives you've considered Scan and group by Base TitleID Base ID always ends in 000 Updates always end in 800 (group these as update with the BASE) DLC is always the Base ID with the 4th to last nibble increased by 0x1 and the last three nibbles can be 000-FFF (group these as DLC with BASE) Tinfoil also requires the titleID in brackets [] to be scanned properly: Title [titleID][vVersion].ext as a minimum.

Example with BotW BASE: 01007EF00011E000 UPD: 01007EF00011E800 DLC1: 01007EF00011F001 DLC2: 01007EF00011F002

This is true across all digital titles. Multi-content physical cart dump identification is still up for debate in the community.

Edit: if it helps, Base TitleID's 4th to last nibble is always even, DLC's 4th to last nibble is always odd.

Edit2: This can also help with user's organization. They can sort their /switch/roms or /roms/switch subfolders however they see fit: /BASE|UPD|DLC/ or /Game Name/Base (update/updatefiles | /dlc/dlcfiles)

TheExpertNoob avatar Oct 05 '25 21:10 TheExpertNoob

I created a pr specifically to do this #3876

lucid-void avatar Jul 22 '26 10:07 lucid-void

I implemented a more universal take on this in #3925: a native library that pulls serials and title ids straight from the ROM binary during a scan, for most platforms where that's a necessary metadata point. For Switch that includes categorizing base games, updates, and DLC from the content metadata. Appreciate you laying out the title ID patterns... that context helped.

tmgast avatar Jul 24 '26 00:07 tmgast