forum

What does the hash of the beatmap represent?

posted
Total Posts
12
Topic Starter
IOException
Here's an example:
f4b98cf7c6e2d9eed80f4551da211ac3

I know that this is MD5, but what is it a hash of, and is there any way for me to get the original beatmap name and difficulty given this hash?
Vuelo Eluko
with rainbow tables and a lot of time, yes
Topic Starter
IOException
So we're not allowed to know?
Bauxe

failedxyz wrote:

So we're not allowed to know?
I would assume you will need to wait for someone who is part of the dev to answer this one. Ignore Bassist, he shitposts every thread he can.
Nathanael

Bauxe wrote:

I would assume you will need to wait for someone who is part of the dev to answer this one.
Ain't a dev. You can get the the information of every beatmap on the file osu!.db, including its hash.
It is also used on managing your collections (probably as a way to decrease the filesize).

Bauxe wrote:

Ignore Bassist, he shitposts every thread he can.
lol'd
Bauxe

Nathanael wrote:

Bauxe wrote:

I would assume you will need to wait for someone who is part of the dev to answer this one.
Ain't a dev. You can get the the information of every beatmap on the file osu!.db, including its hash.
It is also used on managing your collections (probably as a way to decrease the filesize).

Bauxe wrote:

Ignore Bassist, he shitposts every thread he can.
lol'd
I believe he is trying to get details using the hash though.
Topic Starter
IOException
Right. The osu!.db file isn't a complete listing. I'm trying to write a program that can determine some information (hopefully name, difficulty, creator) about the beatmap based on its hash. Is there any way to do this?
Nathanael
I don't think there is another way than that. :?
Probably the replay files also includes the hash, not the details.
funnytrees
Not too sure how osu! does it, but Hexide offers a solution for ranked beatmaps, otherwise you'll have to generate your own table from the user's beatmaps.

http://api.osu.miz.hexide.com/doc#/get/metadata/id

e.g. http://api.osu.miz.hexide.com/metadata/f4b98cf7c6e2d9eed80f4551da211ac3
smoogipoo

failedxyz wrote:

Here's an example:
f4b98cf7c6e2d9eed80f4551da211ac3

I know that this is MD5, but what is it a hash of, and is there any way for me to get the original beatmap name and difficulty given this hash?
It's a hash of the .osu file. You have to generate a hash table of all the beatmaps and find the beatmap which has the same has to get the data.
BeMoNcHiK
If someone will try find it, like a me, it possible!

1) Open in your browser link: https://osu.ppy.sh/api/get_beatmaps?k=YOUR_API_KEY&h=MAP_HASH

where replace:

YOUR_API_KEY - is your api key, can find it here: https://osu.ppy.sh/p/api/

MAP_HASH - hash of map, what you want find.

2) In opened window find "beatmapset_id:" (it will first).

3) Copy number of beatmapset

4) Open in browser link: https://osu.ppy.sh/beatmapsets/BEATMAPSET_ID

where BEATMAPSET_ID is number, copied on step 3.

End, map finded :3


I write this here, becouse it was first page in google. I searched how find map for replay from data/r/.
jackw

BeMoNcHiK wrote:

If someone will try find it, like a me, it possible!

1) Open in your browser link: api/get_beatmaps?k=YOUR_API_KEY&h=MAP_HASH

where replace:

YOUR_API_KEY - is your api key, can find it here: p/api/

MAP_HASH - hash of map, what you want find.

2) In opened window find "beatmapset_id:" (it will first).

3) Copy number of beatmapset

4) Open in browser link: beatmapsets/BEATMAPSET_ID

where BEATMAPSET_ID is number, copied on step 3.

End, map finded :3


I write this here, becouse it was first page in google. I searched how find map for replay from data/r/.
🙌 this is what I am after! Thank you so much!
Please sign in to reply.

New reply