Homebrew HomebrewTitleIDGenerator - Unused TitleID's & TitleID Check

  • Thread starter Deleted User
  • Start date
  • Views 7,216
  • Replies 9
  • Likes 14

Suiginou

(null)
Member
Joined
Jun 26, 2012
Messages
565
Trophies
0
Location
pc + 8
XP
738
Country
Gambia, The
"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,
D

Deleted User

Guest
OP
Edit: Update got pushed, thank you very much!
 
Last edited by ,

Justin14p

Well-Known Member
Member
Joined
Jun 5, 2016
Messages
167
Trophies
0
Age
23
XP
209
Country
Poland
g0FsIXz.png

wut
 
Last edited by Justin14p,

DanTheMan827

Well-Known Member
Member
Joined
May 3, 2015
Messages
639
Trophies
0
Age
33
Location
Wisconsin
XP
621
Country
United States

RedHat

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
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

DanTheMan827

Well-Known Member
Member
Joined
May 3, 2015
Messages
639
Trophies
0
Age
33
Location
Wisconsin
XP
621
Country
United States
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...
 
D

Deleted User

Guest
OP
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

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr