Update libretro-db/README.md

Looking through libretro-db/query.c I discovered the b prefix to strings that turns the string into binary, this is useful for searching up hexadecimal hashes.  This information was not described in the documentation, so I've added it before the Names only search to group with the other find commands, though it will work with get-names as well.
This commit is contained in:
ZornTaov 2019-07-18 14:02:17 -07:00 committed by GitHub
parent 44efbd47c2
commit 450feb46cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,12 @@ Usecase: Search for all games released on October 1995.
`libretrodb_tool <db file> find "{'releasemonth':10,'releaseyear':1995}"`
3) Names only search
3) Hash matching query
Usecase: Search for any game matching a given crc32, in this case Soul Blazer (USA) for the SNES. Also works with serial, md5, and sha1.
`libretrodb_tool <db file> find "{'crc':b'31B965DB'}"`
4) Names only search
Usecase: Search for all games released on October 1995, wont print checksums, filename or rom size, only the game name.
`libretrodb_tool <db file> get-names "{'releasemonth':10,'releaseyear':1995}"`