Open chudooder opened 8 years ago
So just a bit of feedback:
I've let @arflyte know about this system and he is working on a design to fit the new site.
I think the most straightforward solution is to add a route like /r/
For what it's worth, i believe we're doing away with the short links (/b/ /s/ etc.) in favour of properly structured ones. But that is an easy change to make later on too.
Do you think the analysis code would be easy to port to php? If not, we can probably just use the python version for now, running a processing queue.
The replay file needs to be handled like the other .db files (byte by byte parsing) and contains an LZMA string which needs to be decompressed. If libraries for those exist then it's definitely possible to port the code, but it'll take some time since I'm not used to working in php. And I'd like to fix those remaining phantom miss bugs with a language I'm more familiar with before porting anyway.
As long as you are happy with open-sourcing the py version under a license we can use then that should be fine for now :).
This is more of a checklist for me as I move forward with the replay parsing integration, but there are few things I want to start discussion on since access to the official data sources could change things about the flow of the user experience.
Functionality spec
See here for my website: http://osureplay.com/ And here for the parsing code: https://gist.github.com/chudooder/ac6b2d55fe0905b096eb2100cc5437cf
Uploading replays
Searching replays
Stuff to do now
The parser is not perfect; there are numerous reported cases where hits will register as misses and vice versa. Someone with more intimate knowledge of the game mechanics would be able to help me with this. One major culprit is the note stacking system, which the parser does not currently account for. The goal is to achieve 1:1 emulation of the game engine so that the parsed data is as accurate as possible.
It would obviously be very expensive to perform parsing on every single play. We have a few options on how we choose which replays to parse:
Let's start a discussion on which endpoints we'd like to open up.
I'm no designer. The osu!replay site is functional, but it doesn't look anything like our current theme for the new website. If someone could whip up concepts for how to display the different types of charts found on the summary pages, I'd be happy to implement them.
Future possible cool stuff