diff --git a/client/package.json b/client/package.json index 78d987c93..da1ca2db1 100644 --- a/client/package.json +++ b/client/package.json @@ -83,7 +83,7 @@ "resolve": "1.12.0", "resolve-url-loader": "3.1.0", "socicon": "3.0.5", - "tachi-common": "0.4.0" + "tachi-common": "0.4.11" }, "devDependencies": { "@types/humanize-duration": "3.25.1", diff --git a/client/pnpm-lock.yaml b/client/pnpm-lock.yaml index 2305c7feb..9551a1b5b 100644 --- a/client/pnpm-lock.yaml +++ b/client/pnpm-lock.yaml @@ -85,7 +85,7 @@ specifiers: serve: 11.2.0 socicon: 3.0.5 style-loader: 1.0.0 - tachi-common: 0.4.0 + tachi-common: 0.4.11 terser-webpack-plugin: 1.4.1 ts-pnp: 1.1.4 typescript: 4.3.5 @@ -158,7 +158,7 @@ dependencies: resolve: 1.12.0 resolve-url-loader: 3.1.0 socicon: 3.0.5 - tachi-common: 0.4.0 + tachi-common: 0.4.11 devDependencies: '@types/humanize-duration': 3.25.1 @@ -11277,8 +11277,8 @@ packages: strip-ansi: 6.0.0 dev: true - /tachi-common/0.4.0: - resolution: {integrity: sha512-gQmxCBVDMX6hygjW/fjdCik3nqzlUY+toANp9rZNcRQaCKJ2n2y1V9hnPxQ2CMGGgnSbg6aG/bUEenvsC7sPjg==} + /tachi-common/0.4.11: + resolution: {integrity: sha512-jbo432IgMJUXTza7xrDNxBF2dqjGjZuNRRdkfWJI051QbusP2+JZ4+lilKxwpErZnIiZlB07wu/G5iUscFHPVA==} dependencies: monk: 7.3.4 transitivePeerDependencies: diff --git a/client/src/lib/config.ts b/client/src/lib/config.ts index dfd4a1ff5..6c446361d 100644 --- a/client/src/lib/config.ts +++ b/client/src/lib/config.ts @@ -21,7 +21,7 @@ if (mode === "ktchi") { type: "ktchi", // TODO: #78 This should inherit in some way from the server config. Can we reflect // this out somehow? - supportedGames: ["iidx", "chunithm", "museca", "sdvx", "wacca"], + supportedGames: ["iidx", "chunithm", "museca", "sdvx", "wacca", "popn"], importTypes: [ "api/arc-iidx", "api/arc-sdvx", @@ -54,7 +54,7 @@ if (mode === "ktchi") { }; } else if (mode === "omni") { conf = { - name: "Bokutachi", + name: "Omnitachi", type: "omni", supportedGames: allSupportedGames, importTypes: allImportTypes, diff --git a/client/src/util/scales.ts b/client/src/util/scales.ts index 198c1810c..98411ba5f 100644 --- a/client/src/util/scales.ts +++ b/client/src/util/scales.ts @@ -11,6 +11,7 @@ const scales: Record = { sdvx: 5, usc: 5, wacca: 5, + popn: 4, }; export function GetGradeChartExpScale(game: Game) { diff --git a/client/src/util/tierlist.ts b/client/src/util/tierlist.ts index a2a0888e3..c1d6d6641 100644 --- a/client/src/util/tierlist.ts +++ b/client/src/util/tierlist.ts @@ -35,6 +35,7 @@ const ScaleNameAchievedFns: ScaleAchievedFns = { "usc:Controller": {}, "usc:Keyboard": {}, "wacca:Single": {}, + "popn:9B": {}, }; export function GetScaleAchievedFn(