Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beatmap file format and IO #13

Open
HelloYeew opened this issue Dec 10, 2023 · 2 comments
Open

Beatmap file format and IO #13

HelloYeew opened this issue Dec 10, 2023 · 2 comments
Assignees

Comments

@HelloYeew
Copy link
Owner

Create a basic implementation of beatmap file and basic CRUD with the game's storage.

@HelloYeew HelloYeew self-assigned this Dec 10, 2023
@HelloYeew
Copy link
Owner Author

Now the game already support basic read beatmap operation from <game folder>/beatmaps folder, the main beatmap information file is .rks file and the planned beatmap file is .rbm file. Inside the file have JSON structure deserialized from BeatmapSet class.

Image

Image

@HelloYeew
Copy link
Owner Author

From PR #17, the beatmap can be read from the beatmapset folder (.rkb file), still using the serialize Beatmap class like how BeatmapSet done. But this need to be seperate since now the Beatmap use on a lot of place from the JSON serializer to the game's database that currently when reading the beatmapfile on open the game the note has been readed and cached on the memory, that's the next step to decrease the usage of Beatmap and BeatmapSet class to a proper place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant