ksanislo / TitleDB

TitleDB API and Web Interface
TitleDB.com
The Unlicense
30 stars 10 forks source link

Add title version to CIA information. #8

Closed ghost closed 6 years ago

ghost commented 7 years ago

Reads the "Ticket title version" field 10 bytes after the title ID. I'm not very familiar with your codebase, so if I missed a few necessary code additions, let me know.

ksanislo commented 7 years ago

@Steveice10 Last time I poked through here, that field was less reliable than scraping a version out of the filename or url. Have things improved since then? Locating and paring the TMD itself seemed to be the only realistic way to get a version that worked for most of the .cia files around.

I'll give it a try anyway though.

ghost commented 7 years ago

According to 3dbrew, it generally matches the TMD value. At the very least, anything made with makerom should have the correct value, as it assigns the same to both.

ghost commented 7 years ago

Any updates on the status of this PR?

ghost commented 7 years ago

@ksanislo Have you gotten around to trying this out?

gaetschwartz commented 7 years ago

@ksanislo Any updates on this PR ?