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

cleanup inconsistencies and other minor issues in the readme #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheZipCreator
Copy link

No description provided.

@@ -4,11 +4,7 @@ Beat Saber open replay format.

# BSOR V1

- [C# code](https://github.com/BeatLeader/beatleader-mod/blob/master/Source/2_Core/Models/Replay.cs)
- [JS code](https://github.com/BeatLeader/BeatSaber-Web-Replays/blob/master/src/open-replay-decoder.js)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove all the non-C# implementations?

README.md Outdated
trackingSytem; - string, tracking system type. (OpenVR, Oculus, etc.)
hmd; - string, headset type. (Oculus Quest, Valve Index, etc.)
controller; - string, controllers type. (Oculus touch, etc)
trackingSytem; - string, tracking system type. (OpenVR, Oculus, etc.).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 dots?

README.md Outdated
{x, y, z} - 3 floats, position.
{x, y, z, w} - 4 floats, rotation.
{x, y, z, w} - 4 floats, rotation (in quaternion form).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk if it's necessary to specify when rotation has 4 floats and there are few more quaternions further the file

README.md Outdated
{ x, y, z } - 3 floats, cut normal vector.
cutDistanceToCenter - float, distance from center of the cut.
cutAngle - float, angle of the cut.
beforeCutRating - float.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Angle rating before the cut, with after cut and cut distance forming 115 score. This beforeCutRating is uncapped (can go over 1) 1 means 70 score.

README.md Outdated
cutDistanceToCenter - float, distance from center of the cut.
cutAngle - float, angle of the cut.
beforeCutRating - float.
afterCutRating - float.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Angle rating after the cut, with before cut and cut distance forming 115 score. This afterCutRating is uncapped (can go over 1) 1 means 30 score.

README.md Outdated
cutDirDeviation - float, how far away the cut direction was from the one expected.
{ x, y, z } - 3 floats, point at which the note was cut.
{ x, y, z } - 3 floats, cut normal vector.
cutDistanceToCenter - float, distance from center of the cut.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

distance from the center of the note to the cut plane, to get the score 15 * (1 - Clamp01(cutDistanceToCenter / 0.3f)). With before and after cuts forming 115 score

README.md Outdated
saberTypeOK - bool, note was hit with correct saber.
wasCutTooSoon - bool, note was cut too soon.
saberSpeed - float, speed of the saber.
{ x, y, z } - 3 floats, direction of the saber.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's preserve the name of the property, as it's more specific and corresponds to the game name
{ x, y, z } - 3 floats, saberDir, direction of the saber.

README.md Outdated
saberType - int, type of the saber (0 = left, 1 = right).
timeDeviation - float, how far away the time hit was from the time expected.
cutDirDeviation - float, how far away the cut direction was from the one expected.
{ x, y, z } - 3 floats, point at which the note was cut.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same with these 2

@TheZipCreator
Copy link
Author

TheZipCreator commented Oct 5, 2024

regarding removing the non-C# implementations, the C++ link was broken and I assumed the other ones were too without actually checking. I've now reinstated the other implementations and fixed the C++ link.
I also changed where rotations being quaternions are mentioned, and then I've also followed your suggestions.

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

Successfully merging this pull request may close these issues.

2 participants