TASVideos / tasvideos

The code for the live TASVideos website
https://tasvideos.org/
GNU General Public License v3.0
63 stars 28 forks source link

Set up game based on its hash in the movie #255

Open vadosnaprimer opened 5 years ago

vadosnaprimer commented 5 years ago

A lot of things use game names and they often mismatch or get ignored. For example, if there's no publication for a certain game, its WIPs won't have a way to associate themselves with it. So when you search everything related to some game, you won't find such WIPs.

To solve this, we should use rom hashes that are embedded in movies, look those up in the DB similar to what hawk has (also hi redump), and automatically associate the movie with the game. With this system we won't need to manually set game names anywhere.

To support this further, non-movies may store game hashes (watch files are the easiest example). With scripts it's tricky.

Actual thing to implement right away: add the ROM hash field for game entries.

vadosnaprimer commented 10 months ago

Since game versions now have hashes, it would be feasible to search them for a match (at least just inside the same system).