-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Saekawa hook as an import method for CHUNITHM (#974)
- Loading branch information
Showing
5 changed files
with
136 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import useSetSubheader from "components/layout/header/useSetSubheader"; | ||
import Divider from "components/util/Divider"; | ||
import ExternalLink from "components/util/ExternalLink"; | ||
import { TachiConfig } from "lib/config"; | ||
import React from "react"; | ||
import Alert from "react-bootstrap/Alert"; | ||
|
||
export default function SaekawaPage() { | ||
useSetSubheader(["Import Scores", "Saekawa"]); | ||
|
||
return ( | ||
<div> | ||
<h1 className="text-center mb-4">What is Saekawa?</h1> | ||
<div> | ||
Saekawa is a <code>.dll</code> file that hooks into CHUNITHM and automatically sends | ||
scores to a server. {TachiConfig.name} is compatible with what Saekawa sends, so you | ||
can use it to submit scores! | ||
</div> | ||
<Divider /> | ||
<h1 className="text-center my-4">Setup Instructions</h1> | ||
<ol className="instructions-list"> | ||
<li> | ||
Download the latest version of <code>saekawa.dll</code> from{" "} | ||
<ExternalLink href="https://github.com/beerpiss/saekawa/releases/latest"> | ||
here | ||
</ExternalLink> | ||
. | ||
</li> | ||
<li> | ||
Download your <code>saekawa.toml</code> config file{" "} | ||
<ExternalLink href="/client-file-flow/CXSaekawa">here</ExternalLink> | ||
. <br /> | ||
<Alert variant="warning" className="mt-2"> | ||
This file contains an API Key, which is meant to be kept secret! | ||
</Alert> | ||
</li> | ||
<li> | ||
Follow the remaining install instructions on{" "} | ||
<ExternalLink href="https://github.com/beerpiss/saekawa/blob/trunk/README.md"> | ||
GitHub | ||
</ExternalLink> | ||
. | ||
</li> | ||
<li>Your scores and dans now automatically upload to {TachiConfig.name}!</li> | ||
</ol> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters