mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 08:48:15 +03:00
More import pages
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
import useSetSubheader from "components/layout/header/useSetSubheader";
|
||||
import Divider from "components/util/Divider";
|
||||
import ExternalLink from "components/util/ExternalLink";
|
||||
import Muted from "components/util/Muted";
|
||||
import { TachiConfig } from "lib/config";
|
||||
import React from "react";
|
||||
|
||||
export default function BarbatosPage() {
|
||||
useSetSubheader(["Import Scores", "Barbatos"]);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-center mb-4">What Is Barbatos?</h1>
|
||||
<div>
|
||||
Barbatos is a <code>.dll</code> file that hooks into SDVX and automatically sends
|
||||
the scores to a server. {TachiConfig.name} is compatible with what Barbatos 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 <code>barbatos.dll</code> from{" "}
|
||||
<ExternalLink href="https://client.fervidex.net/latest.zip">here</ExternalLink>.
|
||||
</li>
|
||||
<li>
|
||||
Download your config file <ExternalLink href="#">here</ExternalLink>. <br />
|
||||
<b>This file contains an API Key, which is meant to be kept secret!</b>
|
||||
</li>
|
||||
<li>
|
||||
Place all of these files inside your SDVX folder, next to your <code>.bat</code>{" "}
|
||||
file.
|
||||
</li>
|
||||
<ul className="instructions-list">
|
||||
<li>
|
||||
BemaniTools: Add <code>-K barbatos.dll</code> to your <code>.bat</code>{" "}
|
||||
file.
|
||||
</li>
|
||||
<li>
|
||||
SpiceTools: Add <code>-k barbatos.dll</code> to your <code>.bat</code> file.
|
||||
</li>
|
||||
</ul>
|
||||
</ol>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import TISInfo from "components/imports/TISInfo";
|
||||
import useSetSubheader from "components/layout/header/useSetSubheader";
|
||||
import Divider from "components/util/Divider";
|
||||
import Muted from "components/util/Muted";
|
||||
import { TachiConfig } from "lib/config";
|
||||
import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
export default function BeatorajaDBPage() {
|
||||
useSetSubheader(["Import Scores", "Beatoraja Database File"]);
|
||||
return (
|
||||
<>
|
||||
<TISInfo name="Beatoraja Database" />
|
||||
<Divider />
|
||||
<Muted>
|
||||
This method is intended for syncing up with existing scores. For new scores, you
|
||||
should set up the <Link to="/dashboard/import/beatoraja-ir">Beatoraja IR</Link>, for
|
||||
automatic score uploading.
|
||||
</Muted>
|
||||
<br />
|
||||
<Muted>
|
||||
Note: If you submit a score on a chart that {TachiConfig.name} doesn't recognise,
|
||||
you'll need to wait until atleast 2 other players submit scores for that chart
|
||||
before it'll show up. This is to combat accidental IR spam.
|
||||
</Muted>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
import useSetSubheader from "components/layout/header/useSetSubheader";
|
||||
import Divider from "components/util/Divider";
|
||||
import ExternalLink from "components/util/ExternalLink";
|
||||
import Muted from "components/util/Muted";
|
||||
import { TachiConfig } from "lib/config";
|
||||
import React from "react";
|
||||
|
||||
export default function FervidexPage() {
|
||||
useSetSubheader(["Import Scores", "Fervidex"]);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-center mb-4">What Is Fervidex?</h1>
|
||||
<div>
|
||||
Fervidex is a <code>.dll</code> file that hooks into IIDX and automatically sends
|
||||
the scores to a server. {TachiConfig.name} is compatible with what Fervidex 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 <code>fervidex.dll</code> from{" "}
|
||||
<ExternalLink href="https://client.fervidex.net/latest.zip">Here</ExternalLink>.
|
||||
</li>
|
||||
<li>
|
||||
Download your <code>fervidex.json</code> config file here. <br />
|
||||
<b>This config file contains an API Key, which should be kept secret!</b>.
|
||||
</li>
|
||||
<li>
|
||||
Drop both files into the same folder as your <code>bm2dx.dll</code>.
|
||||
</li>
|
||||
<h3 className="my-2">For Infinitas Players</h3>
|
||||
<ul className="instructions-list">
|
||||
<li>
|
||||
You'll also need to download{" "}
|
||||
<ExternalLink href="https://client.fervidex.net/latest-chainloader.zip">
|
||||
this
|
||||
</ExternalLink>
|
||||
, and extract it to the same folder.
|
||||
</li>
|
||||
</ul>
|
||||
<h3 className="my-2">For Not-Infinitas Players</h3>
|
||||
<ul className="instructions-list">
|
||||
<li>
|
||||
BemaniTools: Add <code>-K fervidex.dll</code> to your <code>.bat</code>{" "}
|
||||
file.
|
||||
</li>
|
||||
<li>
|
||||
SpiceTools: Add <code>-k fervidex.dll</code> to your <code>.bat</code> file.
|
||||
</li>
|
||||
</ul>
|
||||
<li>That's it! Your scores should now automatically submit to the server.</li>
|
||||
</ol>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -9,7 +9,7 @@ import React, { useState } from "react";
|
||||
import { Game, GetGameConfig } from "tachi-common";
|
||||
|
||||
export default function ImportPage() {
|
||||
useSetSubheader(["Dashboard", "Import Scores"]);
|
||||
useSetSubheader(["Import Scores"]);
|
||||
|
||||
const [game, setGame] = useState<Game | null>(null);
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
import TISInfo from "components/imports/TISInfo";
|
||||
import useSetSubheader from "components/layout/header/useSetSubheader";
|
||||
import Divider from "components/util/Divider";
|
||||
import Muted from "components/util/Muted";
|
||||
import { TachiConfig } from "lib/config";
|
||||
import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
export default function LR2DBPage() {
|
||||
useSetSubheader(["Import Scores", "LR2 Database File"]);
|
||||
return (
|
||||
<>
|
||||
<TISInfo name="LR2 Database" />
|
||||
<Divider />
|
||||
<Muted>
|
||||
This is currently the only way to import scores from LR2, this sucks, because I'd
|
||||
love for scores to automatically import! There is an open bounty on an LR2 automatic
|
||||
score uploader.
|
||||
</Muted>
|
||||
<br />
|
||||
<Muted>
|
||||
Note: If you submit a score on a chart that {TachiConfig.name} doesn't recognise,
|
||||
you'll need to wait until atleast 2 other players submit scores for that chart
|
||||
before it'll show up. This is to combat accidental IR spam.
|
||||
</Muted>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import TISInfo from "components/imports/TISInfo";
|
||||
import useSetSubheader from "components/layout/header/useSetSubheader";
|
||||
import Divider from "components/util/Divider";
|
||||
import Muted from "components/util/Muted";
|
||||
import { TachiConfig } from "lib/config";
|
||||
import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
export default function USCDBPage() {
|
||||
useSetSubheader(["Import Scores", "USC Database File"]);
|
||||
return (
|
||||
<>
|
||||
<TISInfo name="USC Database" />
|
||||
<Divider />
|
||||
<Muted>
|
||||
This method is intended for syncing up with existing scores. For new scores, you
|
||||
should set up the <Link to="/dashboard/import/usc-ir">USC IR</Link>, for automatic
|
||||
score uploading.
|
||||
</Muted>
|
||||
<br />
|
||||
<Muted>
|
||||
Note: If you submit a score on a chart that {TachiConfig.name} doesn't recognise,
|
||||
you'll need to wait until atleast 2 other players submit scores for that chart
|
||||
before it'll show up. This is to combat accidental IR spam.
|
||||
</Muted>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -1,9 +1,14 @@
|
||||
import BarbatosPage from "app/pages/dashboard/import/BarbatosPage";
|
||||
import BatchManualPage from "app/pages/dashboard/import/BatchManualPage";
|
||||
import BeatorajaDBPage from "app/pages/dashboard/import/BeatorajaDBPage";
|
||||
import BeatorajaIRPage from "app/pages/dashboard/import/BeatorajaIRPage";
|
||||
import FervidexPage from "app/pages/dashboard/import/FervidexPage";
|
||||
import IIDXEamCSVPage from "app/pages/dashboard/import/IIDXEamCSVPage";
|
||||
import ImportPage from "app/pages/dashboard/import/ImportPage";
|
||||
import LR2DBPage from "app/pages/dashboard/import/LR2DBPage";
|
||||
import MerJSONPage from "app/pages/dashboard/import/MerJSONPage";
|
||||
import SSSXMLPage from "app/pages/dashboard/import/SSSXMLPage";
|
||||
import USCDBPage from "app/pages/dashboard/import/USCDBPage";
|
||||
import USCIRPage from "app/pages/dashboard/import/USCIRPage";
|
||||
import { ErrorPage } from "app/pages/ErrorPage";
|
||||
import Divider from "components/util/Divider";
|
||||
@@ -61,6 +66,26 @@ export default function ImportRoutes() {
|
||||
<Route exact path="/dashboard/import/usc-ir">
|
||||
<USCIRPage />
|
||||
</Route>
|
||||
|
||||
<Route exact path="/dashboard/import/usc-db">
|
||||
<USCDBPage />
|
||||
</Route>
|
||||
|
||||
<Route exact path="/dashboard/import/beatoraja-db">
|
||||
<BeatorajaDBPage />
|
||||
</Route>
|
||||
|
||||
<Route exact path="/dashboard/import/lr2-db">
|
||||
<LR2DBPage />
|
||||
</Route>
|
||||
|
||||
<Route exact path="/dashboard/import/fervidex">
|
||||
<FervidexPage />
|
||||
</Route>
|
||||
|
||||
<Route exact path="/dashboard/import/barbatos">
|
||||
<BarbatosPage />
|
||||
</Route>
|
||||
</Switch>
|
||||
</Route>
|
||||
</Switch>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
import ExternalLink from "components/util/ExternalLink";
|
||||
import { TachiConfig } from "lib/config";
|
||||
import React from "react";
|
||||
|
||||
export default function TISInfo({ name }: { name: string }) {
|
||||
return (
|
||||
<div>
|
||||
<h2 className="text-center mb-4">Importing {name} files</h2>
|
||||
<ol className="instructions-list">
|
||||
<li>
|
||||
Download the latest version of the {TachiConfig.name} Import Scripts{" "}
|
||||
<ExternalLink href="https://github.com/TNG-dev/tachi-import-scripts/releases">
|
||||
here
|
||||
</ExternalLink>
|
||||
.
|
||||
</li>
|
||||
<li>Follow the instructions in-client.</li>
|
||||
<li>
|
||||
Click import! The scripts will convert the file and submit it to{" "}
|
||||
{TachiConfig.name}.
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user