Homebrew HomebrewTitleIDGenerator - Unused TitleID's & TitleID Check

  • Thread starter Thread starter Deleted User
  • Start date Start date
  • Views Views 7,812
  • Replies Replies 9
  • Likes Likes 14
"Here's an unused Homebrew TitleID: 00040000003"

A few things:

1. This is too short. A title ID is exactly 8 bytes (16 characters). It needs zero-padding at the end.
2. Sometimes this gives titleIDs with non-zero variations. The variation should always be 0. See https://3dbrew.org/wiki/Titles#Title_IDs

So this would mean, the maximum allowed title ID should be 0x000400000ff7ff00 as per 3dbrew's maximum TID, and the minimum should be something in the uniqueid at least in the 0x10000 range to make sure there are no collisions with retail titles.

EDIT: OP fixed it, as per edited post below.
 
Last edited by Suiginou,
Edit: Update got pushed, thank you very much!
 
Last edited by ,
g0FsIXz.png

wut
 
Last edited by Justin14p,
d99746661dedc655a7a81368757ae320.png
2a361fa2cdd95a7ea4880f6779d83a57.png


Might want to fix that in case somebody types in a lower case title ID!

Don't know if this matters, but title ID's in the makefiles look something like this:
UNIQUE_ID := 0x099AA
Maybe this should check short titleIDs too?
 
Last edited by RedHat,
  • Like
Reactions: Kyubnyan
d99746661dedc655a7a81368757ae320.png
2a361fa2cdd95a7ea4880f6779d83a57.png


Might want to fix that in case somebody types in a lower case title ID!

Don't know if this matters, but title ID's in the makefiles look something like this:
UNIQUE_ID := 0x099AA
Maybe this should check short titleIDs too?
I have a pull request for @iKlikla to accept that fixes this and adds the short ID format along with checking against the eShop title id list as well...
 
I have a pull request for @iKlikla to accept that fixes this and adds the short ID format along with checking against the eShop title id list as well...

Accepted the pull request and fixed some other things. Thanks for your contributions!

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

d99746661dedc655a7a81368757ae320.png
2a361fa2cdd95a7ea4880f6779d83a57.png


Might want to fix that in case somebody types in a lower case title ID!

Don't know if this matters, but title ID's in the makefiles look something like this:
UNIQUE_ID := 0x099AA
Maybe this should check short titleIDs too?

The uniqueID is highlighted now.
 

Site & Scene News