Luux / ARBSMapDo

Advanced Ranked Beat Saber Map Downloader
https://luux.dev/projects/arbsmapdo/
MIT License
14 stars 0 forks source link

Filtering by GameMode (& don't spam BeatSaver) #6

Open Luux opened 4 years ago

Luux commented 4 years ago

https://github.com/Luux/ARBSMapDo/commit/89219da032655cac31638a7d465efff7ffc10f67 contains an experimental first approach of filtering maps by game mode. This allows searching specifically for OneSaber or 360° maps for example. However, this first implementation has flaws which is why it won't go into master right now: a) it's slow, b) it spams the BeatSaver API with hundreds of requests to find a few songs, since OneSaber maps are quite rare. This is not optimal and cannot be changed directly right now because of how the BeatSaver API works.

However, I could download a regularly updated scrape of the BeatSaver data regularly and perform the search locally on that copy. Daily updated scrapes are already available at https://github.com/andruzzzhka/BeatSaberScrappedData The problem is that at the moment, the scraped data from BeatSaver doesn't contain the much needed characteristic infos which is where the game mode information lies. If andruzzzhka includes this information in the future, that would be the solution as long as the BeatSaver API is as it is. https://github.com/andruzzzhka/BeatSaberScrappedData/issues/3

Luux commented 4 years ago

Update: The characteristics are now present in the scraped data. Filtering by gamemode will be available soon!

Luux commented 3 years ago

For GameMode filtering, some algorithmic changes for ARBSMapDo have to be made. However, the cache is implemented now and should speed up ARBSMapDo significantly.