mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-10 11:16:10 +01:00
Compare commits
220
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5dba69f30a | ||
|
|
023c348b0d | ||
|
|
8313dd811d | ||
|
|
3f7d10c2c6 | ||
|
|
98e83d120a | ||
|
|
dd845d2784 | ||
|
|
dc15df2a40 | ||
|
|
7c838aaf06 | ||
|
|
f181c96518 | ||
|
|
6fbfa2c70b | ||
|
|
17dd50b902 | ||
|
|
9061335292 | ||
|
|
c27d3a3b6a | ||
|
|
c37acf4a93 | ||
|
|
0c1cef87f6 | ||
|
|
e8b777be8a | ||
|
|
2941348412 | ||
|
|
68b2ecfb6d | ||
|
|
e058b09621 | ||
|
|
d5526da1fb | ||
|
|
091305a20f | ||
|
|
85cd70b2d5 | ||
|
|
7997f490fc | ||
|
|
5a0b309b0b | ||
|
|
448e4e0d7d | ||
|
|
43c14665de | ||
|
|
e249408360 | ||
|
|
24e57d7125 | ||
|
|
0ea7714578 | ||
|
|
636a2934a2 | ||
|
|
cbe22035cb | ||
|
|
4c8e5cc8ed | ||
|
|
ee4141838c | ||
|
|
24ff42a672 | ||
|
|
d8748c028e | ||
|
|
b55924ce2b | ||
|
|
66f7a8d369 | ||
|
|
8ed97a3173 | ||
|
|
b4f452b026 | ||
|
|
8d4d730b11 | ||
|
|
8f54bd5971 | ||
|
|
56a09536cd | ||
|
|
9df5efa422 | ||
|
|
ee5461a297 | ||
|
|
5ed5f45240 | ||
|
|
a8cdc96382 | ||
|
|
532d677491 | ||
|
|
610ea60ca2 | ||
|
|
718576d5a9 | ||
|
|
f885fba4bd | ||
|
|
408a14003c | ||
|
|
9416e25ee9 | ||
|
|
8a3bbb3647 | ||
|
|
e16cc63cfe | ||
|
|
b2856eab58 | ||
|
|
55ffe22fd6 | ||
|
|
98e0f28cd9 | ||
|
|
547381286e | ||
|
|
bdaf6e662c | ||
|
|
87438abaa3 | ||
|
|
f837aaf40a | ||
|
|
86e080aae9 | ||
|
|
57efde83df | ||
|
|
6b29584424 | ||
|
|
71e40a0113 | ||
|
|
b5e7170697 | ||
|
|
4122856024 | ||
|
|
5b4c85138e | ||
|
|
727ced967b | ||
|
|
4462ebe82c | ||
|
|
06ce263668 | ||
|
|
7e086cc639 | ||
|
|
540e56a12d | ||
|
|
faf802cf3d | ||
|
|
b6d6fa7212 | ||
|
|
dfa8be63b4 | ||
|
|
9eb6acc624 | ||
|
|
b6204b1c2c | ||
|
|
39f1389d77 | ||
|
|
53b0f04512 | ||
|
|
d2fa93ee71 | ||
|
|
7871eae7a3 | ||
|
|
0bd660f255 | ||
|
|
488857b7d8 | ||
|
|
5e4c5fc230 | ||
|
|
7e6925772e | ||
|
|
b479c09cf8 | ||
|
|
eddc8168ba | ||
|
|
80dfc59017 | ||
|
|
fdc0f34e08 | ||
|
|
c0fdf10eba | ||
|
|
2aba4da1af | ||
|
|
581d889e9b | ||
|
|
6a280982d0 | ||
|
|
45c7d74160 | ||
|
|
9e225d2093 | ||
|
|
d1001df3cf | ||
|
|
d28c56fe1c | ||
|
|
fe68ebf450 | ||
|
|
18cc885869 | ||
|
|
9d4e1a66a1 | ||
|
|
de8d3396b1 | ||
|
|
baaae612fd | ||
|
|
4b5a511216 | ||
|
|
57dacddcfd | ||
|
|
a56665f3a3 | ||
|
|
c27e903c31 | ||
|
|
476f180a1a | ||
|
|
b05e70faee | ||
|
|
5c30169eca | ||
|
|
1226ce89a7 | ||
|
|
dcc8207fb6 | ||
|
|
c50f40a887 | ||
|
|
85f7d420a0 | ||
|
|
1aec1b2885 | ||
|
|
51226c8503 | ||
|
|
407d00b25b | ||
|
|
fb4fb926e8 | ||
|
|
70b0df55b0 | ||
|
|
7e8fd40c61 | ||
|
|
9286104391 | ||
|
|
814192c0b0 | ||
|
|
8fa6f87540 | ||
|
|
d265f0b0a1 | ||
|
|
9ccaade1fc | ||
|
|
2bb5bb33c0 | ||
|
|
e456063c27 | ||
|
|
7bc25f0722 | ||
|
|
6ed991d281 | ||
|
|
2487e0eebf | ||
|
|
6cc44cdfee | ||
|
|
eca26e1e79 | ||
|
|
5484a15071 | ||
|
|
b58ca4f594 | ||
|
|
7708e2c1db | ||
|
|
de77e27d50 | ||
|
|
e159583333 | ||
|
|
bfcf183a6e | ||
|
|
eed9d23646 | ||
|
|
8c1bf450a8 | ||
|
|
9ffc040723 | ||
|
|
f33a73e1bb | ||
|
|
2101dba7c6 | ||
|
|
1b398a5f66 | ||
|
|
d8f9a2633d | ||
|
|
2e79ccf7eb | ||
|
|
be778acf39 | ||
|
|
8d10d7cffa | ||
|
|
5b9041a972 | ||
|
|
1e60b1f61f | ||
|
|
13a636c023 | ||
|
|
8bc0693f3b | ||
|
|
9b842c501c | ||
|
|
8aadda4fb8 | ||
|
|
58c70f98e1 | ||
|
|
54b73d11ce | ||
|
|
d1ac5644a4 | ||
|
|
ae35c1516c | ||
|
|
fd364d434f | ||
|
|
fd37f72f8c | ||
|
|
1427f61c52 | ||
|
|
cd4fa366a0 | ||
|
|
344e7caa81 | ||
|
|
fe7b2aea02 | ||
|
|
fced1e96ef | ||
|
|
778efb2372 | ||
|
|
b67fd5b58c | ||
|
|
2559782a28 | ||
|
|
efb479fece | ||
|
|
fb829d4b81 | ||
|
|
91f4f2edcf | ||
|
|
a692d1ee0b | ||
|
|
31d2ab4746 | ||
|
|
e4e2c30748 | ||
|
|
d633874d90 | ||
|
|
9cb1d0cb3f | ||
|
|
a0bccc7973 | ||
|
|
3efe807e35 | ||
|
|
1cc15f64b0 | ||
|
|
f70864a0db | ||
|
|
5de40b220f | ||
|
|
bd19c9aac9 | ||
|
|
6bc5b7dcb6 | ||
|
|
00795eecdd | ||
|
|
f4e7b2ed98 | ||
|
|
81612793e3 | ||
|
|
d3bdbc39d2 | ||
|
|
7cb67bd44b | ||
|
|
9df09c9a53 | ||
|
|
a9f1d9ebec | ||
|
|
1b834eb848 | ||
|
|
c5518ec9bc | ||
|
|
8c705d7e2e | ||
|
|
efe9f91a2d | ||
|
|
e84bf6b31c | ||
|
|
46234b6cbb | ||
|
|
0bda743a91 | ||
|
|
b19866a1f5 | ||
|
|
9ca329e53f | ||
|
|
47b1eb9ab0 | ||
|
|
6c8fbf7245 | ||
|
|
2ea22512d4 | ||
|
|
697d1fa1b4 | ||
|
|
e4429f15bd | ||
|
|
cd8083ae30 | ||
|
|
9dcf7441c9 | ||
|
|
d4e1f99ce2 | ||
|
|
98de246578 | ||
|
|
45097f198c | ||
|
|
e063719caa | ||
|
|
975d579d21 | ||
|
|
b963ef0981 | ||
|
|
49fab21113 | ||
|
|
cbde48d41b | ||
|
|
1210baa545 | ||
|
|
2c03b530d2 | ||
|
|
182471c4d6 | ||
|
|
aecc2adb07 | ||
|
|
f8ee2b64a6 | ||
|
|
7c4e28bd09 |
No files matched your search
@@ -16,10 +16,11 @@ on:
|
|||||||
- blitzkit/assets-dev
|
- blitzkit/assets-dev
|
||||||
default: blitzkit/assets
|
default: blitzkit/assets
|
||||||
|
|
||||||
archive_url:
|
asset_source:
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
description: Archive URL to download instead of Steam client
|
description: "Archive URL or Steam to download (example: steam:APP_ID/DEPOT_ID or zip:URL_TO_ZIP)"
|
||||||
|
default: "steam:444200/444202"
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 2 * * *"
|
- cron: "0 2 * * *"
|
||||||
@@ -55,137 +56,27 @@ env:
|
|||||||
PUBLIC_ASSET_FAST_REPO: assets
|
PUBLIC_ASSET_FAST_REPO: assets
|
||||||
PUBLIC_ASSET_BASE: ${{ secrets.PUBLIC_ASSET_BASE }}
|
PUBLIC_ASSET_BASE: ${{ secrets.PUBLIC_ASSET_BASE }}
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
|
||||||
|
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
download_client:
|
|
||||||
name: Download client
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- if: github.event.inputs.archive_url != ''
|
|
||||||
uses: easimon/maximize-build-space@master
|
|
||||||
with:
|
|
||||||
root-reserve-mb: 512
|
|
||||||
swap-size-mb: 1024
|
|
||||||
remove-dotnet: "true"
|
|
||||||
remove-haskell: "true"
|
|
||||||
remove-android: "true"
|
|
||||||
remove-codeql: "true"
|
|
||||||
remove-docker-images: "true"
|
|
||||||
|
|
||||||
- if: github.event.inputs.archive_url != '' && endsWith(github.event.inputs.archive_url, '.wgpkg')
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y p7zip-full
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
if: github.event.inputs.archive_url == ''
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
|
||||||
|
|
||||||
- uses: arduino/setup-protoc@v3
|
|
||||||
if: github.event.inputs.archive_url == ''
|
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
|
||||||
|
|
||||||
- uses: oven-sh/setup-bun@v1
|
|
||||||
if: github.event.inputs.archive_url == ''
|
|
||||||
|
|
||||||
- run: bun run setup
|
|
||||||
if: github.event.inputs.archive_url == ''
|
|
||||||
|
|
||||||
- name: (Steam) Setup DepotDownloader
|
|
||||||
if: github.event.inputs.archive_url == ''
|
|
||||||
run: bun run setup:depotdownloader
|
|
||||||
|
|
||||||
- name: (Steam) Download client
|
|
||||||
if: github.event.inputs.archive_url == ''
|
|
||||||
run: |
|
|
||||||
chmod +x ./temp/depotDownloader/DepotDownloader
|
|
||||||
./temp/depotDownloader/DepotDownloader -q -os windows -app 444200 -username ${{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password "${{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
|
|
||||||
mkdir -p temp/game
|
|
||||||
mv depots/444202/*/* temp/game
|
|
||||||
rm -rf depots
|
|
||||||
|
|
||||||
- name: (Steam) Apply patches
|
|
||||||
if: github.event.inputs.archive_url == ''
|
|
||||||
run: bun setup:patches --manual
|
|
||||||
|
|
||||||
- name: (ZIP) Download client
|
|
||||||
if: github.event.inputs.archive_url != '' && endsWith(github.event.inputs.archive_url, '.zip')
|
|
||||||
env:
|
|
||||||
ARCHIVE_URL: ${{ github.event.inputs.archive_url }}
|
|
||||||
run: |
|
|
||||||
wget -q -O temp/archive.zip $ARCHIVE_URL
|
|
||||||
unzip -q temp/archive.zip -d temp/archive
|
|
||||||
rm temp/archive.zip
|
|
||||||
mkdir -p temp/game
|
|
||||||
mv temp/archive/app/* temp/game
|
|
||||||
|
|
||||||
- name: (WGPKG) Download client
|
|
||||||
if: github.event.inputs.archive_url != '' && endsWith(github.event.inputs.archive_url, '.wgpkg')
|
|
||||||
env:
|
|
||||||
ARCHIVE_URL: ${{ github.event.inputs.archive_url }}
|
|
||||||
run: |
|
|
||||||
mkdir -p temp/archives
|
|
||||||
mkdir -p temp/game
|
|
||||||
|
|
||||||
i=1
|
|
||||||
urls=()
|
|
||||||
|
|
||||||
while :; do
|
|
||||||
part=$(printf "%03d" $i)
|
|
||||||
url="${ARCHIVE_URL}.${part}"
|
|
||||||
if wget --spider -q "$url"; then
|
|
||||||
urls+=("$url")
|
|
||||||
((i++))
|
|
||||||
else
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
for url in "${urls[@]}"; do
|
|
||||||
dest="temp/archives/$(basename "$url")"
|
|
||||||
wget -q -O "$dest" "$url" &
|
|
||||||
done
|
|
||||||
wait
|
|
||||||
|
|
||||||
first=$(ls temp/archives/*.001 | head -n 1)
|
|
||||||
7z x "$first" -otemp/game
|
|
||||||
|
|
||||||
rm -rf temp/archives
|
|
||||||
|
|
||||||
- name: Archive game
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: game
|
|
||||||
path: temp/game
|
|
||||||
|
|
||||||
build_assets:
|
build_assets:
|
||||||
name: Build assets
|
name: Build assets
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: download_client
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- run: bun run setup
|
- run: bun run setup
|
||||||
|
|
||||||
- name: Download game
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: game
|
|
||||||
path: temp/game
|
|
||||||
|
|
||||||
- name: AppArmor hack
|
- name: AppArmor hack
|
||||||
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
|
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
|
||||||
|
|
||||||
- name: Build assets
|
- name: Build assets
|
||||||
run: bun run build:assets --all-targets --manual
|
run: bun run build:assets --all-targets --source=${{ github.event.inputs.asset_source || 'steam:444200/444202' }}
|
||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -10,15 +10,15 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build bot
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
run: bun run build:bot
|
run: bun run build:bot
|
||||||
|
|
||||||
- name: Archive build
|
- name: Archive build
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: bot
|
name: bot
|
||||||
path: dist/bot
|
path: dist/bot
|
||||||
@@ -22,11 +22,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -17,21 +17,22 @@ env:
|
|||||||
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
|
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
|
||||||
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
|
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
PUBLIC_ASSET_BASE: ${{ secrets.PUBLIC_ASSET_BASE }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
- run: bun run setup
|
- run: bun run setup
|
||||||
|
|
||||||
- name: Find reviews
|
- name: Find reviews
|
||||||
run: bun packages/scripts/src/reviews.ts
|
run: bun run build:reviews
|
||||||
@@ -35,14 +35,14 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build website
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
run: bun run build:website
|
run: bun run build:website
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: dist/website
|
path: dist/website
|
||||||
|
|
||||||
|
|||||||
Vendored
+10
@@ -11,6 +11,7 @@
|
|||||||
"analyticsreporting",
|
"analyticsreporting",
|
||||||
"APAC",
|
"APAC",
|
||||||
"apcr",
|
"apcr",
|
||||||
|
"appinfo",
|
||||||
"applypatches",
|
"applypatches",
|
||||||
"artefacts",
|
"artefacts",
|
||||||
"astrojs",
|
"astrojs",
|
||||||
@@ -64,6 +65,7 @@
|
|||||||
"deburr",
|
"deburr",
|
||||||
"decalmask",
|
"decalmask",
|
||||||
"decompressor",
|
"decompressor",
|
||||||
|
"décor",
|
||||||
"dedup",
|
"dedup",
|
||||||
"defence",
|
"defence",
|
||||||
"degressive",
|
"degressive",
|
||||||
@@ -73,6 +75,7 @@
|
|||||||
"DIDS",
|
"DIDS",
|
||||||
"donotremove",
|
"donotremove",
|
||||||
"drei",
|
"drei",
|
||||||
|
"Droodles",
|
||||||
"dvpd",
|
"dvpd",
|
||||||
"dvpl",
|
"dvpl",
|
||||||
"DVPLCRC",
|
"DVPLCRC",
|
||||||
@@ -95,9 +98,11 @@
|
|||||||
"gameplay",
|
"gameplay",
|
||||||
"glsl",
|
"glsl",
|
||||||
"GLTF",
|
"GLTF",
|
||||||
|
"GSOR",
|
||||||
"gtag",
|
"gtag",
|
||||||
"haha",
|
"haha",
|
||||||
"Herdbreaker",
|
"Herdbreaker",
|
||||||
|
"Hetz",
|
||||||
"highp",
|
"highp",
|
||||||
"iife",
|
"iife",
|
||||||
"imgur",
|
"imgur",
|
||||||
@@ -111,6 +116,7 @@
|
|||||||
"leaderboards",
|
"leaderboards",
|
||||||
"lerp",
|
"lerp",
|
||||||
"LINEARSIZE",
|
"LINEARSIZE",
|
||||||
|
"linktarget",
|
||||||
"lmao",
|
"lmao",
|
||||||
"loadouts",
|
"loadouts",
|
||||||
"loddist",
|
"loddist",
|
||||||
@@ -150,6 +156,7 @@
|
|||||||
"ownedtanks",
|
"ownedtanks",
|
||||||
"padder",
|
"padder",
|
||||||
"partytown",
|
"partytown",
|
||||||
|
"patchnotes",
|
||||||
"PIXELFORMAT",
|
"PIXELFORMAT",
|
||||||
"playerachievements",
|
"playerachievements",
|
||||||
"playerinfo",
|
"playerinfo",
|
||||||
@@ -164,10 +171,13 @@
|
|||||||
"protobuf",
|
"protobuf",
|
||||||
"protoc",
|
"protoc",
|
||||||
"protos",
|
"protos",
|
||||||
|
"proxyclient",
|
||||||
|
"prunestrings",
|
||||||
"Pyogenics",
|
"Pyogenics",
|
||||||
"ratingleaderboard",
|
"ratingleaderboard",
|
||||||
"raycaster",
|
"raycaster",
|
||||||
"Redirector",
|
"Redirector",
|
||||||
|
"Relogin",
|
||||||
"researchable",
|
"researchable",
|
||||||
"Resvg",
|
"Resvg",
|
||||||
"rizz",
|
"rizz",
|
||||||
|
|||||||
@@ -66,12 +66,14 @@
|
|||||||
"@octokit/rest": "^22.0.0",
|
"@octokit/rest": "^22.0.0",
|
||||||
"@prisma/client": "^6.16.2",
|
"@prisma/client": "^6.16.2",
|
||||||
"@types/adm-zip": "^0.5.7",
|
"@types/adm-zip": "^0.5.7",
|
||||||
|
"@types/bun": "^1.3.1",
|
||||||
"@types/lodash-es": "^4.17.12",
|
"@types/lodash-es": "^4.17.12",
|
||||||
"@types/lz4js": "^0.2.1",
|
"@types/lz4js": "^0.2.1",
|
||||||
"@types/three": "^0.180.0",
|
"@types/three": "^0.180.0",
|
||||||
"adm-zip": "^0.5.16",
|
"adm-zip": "^0.5.16",
|
||||||
"crc": "^4.3.2",
|
"crc": "^4.3.2",
|
||||||
"dotenv": "^17.2.2",
|
"dotenv": "^17.2.2",
|
||||||
|
"fast-xml-parser": "^5.3.2",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"lz4js": "^0.2.0",
|
"lz4js": "^0.2.0",
|
||||||
"pickleparser": "^0.2.1",
|
"pickleparser": "^0.2.1",
|
||||||
@@ -103,6 +105,7 @@
|
|||||||
"@types/lodash-es": "^4.17.12",
|
"@types/lodash-es": "^4.17.12",
|
||||||
"@types/lz4js": "^0.2.1",
|
"@types/lz4js": "^0.2.1",
|
||||||
"@types/progress": "^2.0.7",
|
"@types/progress": "^2.0.7",
|
||||||
|
"@types/steam-user": "^5.1.0",
|
||||||
"@types/three": "^0.180.0",
|
"@types/three": "^0.180.0",
|
||||||
"crc": "^4.3.2",
|
"crc": "^4.3.2",
|
||||||
"csv-parse": "^6.1.0",
|
"csv-parse": "^6.1.0",
|
||||||
@@ -116,8 +119,10 @@
|
|||||||
"progress": "^2.0.3",
|
"progress": "^2.0.3",
|
||||||
"puppeteer": "^24.22.3",
|
"puppeteer": "^24.22.3",
|
||||||
"sharp": "^0.34.4",
|
"sharp": "^0.34.4",
|
||||||
|
"steam-user": "^5.2.3",
|
||||||
"three": "^0.180.0",
|
"three": "^0.180.0",
|
||||||
"ts-proto": "^2.7.7",
|
"ts-proto": "^2.7.7",
|
||||||
|
"unzipit": "^1.4.3",
|
||||||
"yaml": "^2.8.1",
|
"yaml": "^2.8.1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -381,6 +386,10 @@
|
|||||||
|
|
||||||
"@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.27.1" } }, "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q=="],
|
"@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.27.1" } }, "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q=="],
|
||||||
|
|
||||||
|
"@bbob/parser": ["@bbob/[email protected]", "", { "dependencies": { "@bbob/plugin-helper": "^2.9.0" } }, "sha512-tldSYsMoEclke/B1nqL7+HbYMWZHTKvpbEHRSHuY+sZvS1o7Jpdfjb+KPpwP9wLI3p3r7GPv69/wGy+Xibs9yA=="],
|
||||||
|
|
||||||
|
"@bbob/plugin-helper": ["@bbob/[email protected]", "", {}, "sha512-idpUcNQ2co6T1oU/7/DG/ZRfipSSkTn9Ozw9f5vaXH7nzV3qhqZnhFVlHTzGGnRlzKlBwWOBzOdWi4Zeqg1c5A=="],
|
||||||
|
|
||||||
"@blitzkit/app": ["@blitzkit/app@workspace:packages/app"],
|
"@blitzkit/app": ["@blitzkit/app@workspace:packages/app"],
|
||||||
|
|
||||||
"@blitzkit/bot": ["@blitzkit/bot@workspace:packages/bot"],
|
"@blitzkit/bot": ["@blitzkit/bot@workspace:packages/bot"],
|
||||||
@@ -413,6 +422,12 @@
|
|||||||
|
|
||||||
"@discordjs/ws": ["@discordjs/[email protected]", "", { "dependencies": { "@discordjs/collection": "^2.1.0", "@discordjs/rest": "^2.5.1", "@discordjs/util": "^1.1.0", "@sapphire/async-queue": "^1.5.2", "@types/ws": "^8.5.10", "@vladfrangu/async_event_emitter": "^2.2.4", "discord-api-types": "^0.38.1", "tslib": "^2.6.2", "ws": "^8.17.0" } }, "sha512-wPlQDxEmlDg5IxhJPuxXr3Vy9AjYq5xCvFWGJyD7w7Np8ZGu+Mc+97LCoEc/+AYCo2IDpKioiH0/c/mj5ZR9Uw=="],
|
"@discordjs/ws": ["@discordjs/[email protected]", "", { "dependencies": { "@discordjs/collection": "^2.1.0", "@discordjs/rest": "^2.5.1", "@discordjs/util": "^1.1.0", "@sapphire/async-queue": "^1.5.2", "@types/ws": "^8.5.10", "@vladfrangu/async_event_emitter": "^2.2.4", "discord-api-types": "^0.38.1", "tslib": "^2.6.2", "ws": "^8.17.0" } }, "sha512-wPlQDxEmlDg5IxhJPuxXr3Vy9AjYq5xCvFWGJyD7w7Np8ZGu+Mc+97LCoEc/+AYCo2IDpKioiH0/c/mj5ZR9Uw=="],
|
||||||
|
|
||||||
|
"@doctormckay/stdlib": ["@doctormckay/[email protected]", "", { "dependencies": { "psl": "^1.9.0" } }, "sha512-bwy+gPn6oa2KTpfxJKX3leZoV/wHDVtO0/gq3usPvqPswG//dcf3jVB8LcbRRsKO3BXCt5DqctOQ+Xb07ivxnw=="],
|
||||||
|
|
||||||
|
"@doctormckay/steam-crypto": ["@doctormckay/[email protected]", "", {}, "sha512-lsxgLw640gEdZBOXpVIcYWcYD+V+QbtEsMPzRvjmjz2XXKc7QeEMyHL07yOFRmay+cUwO4ObKTJO0dSInEuq5g=="],
|
||||||
|
|
||||||
|
"@doctormckay/user-agents": ["@doctormckay/[email protected]", "", {}, "sha512-F+sL1YmebZTY2CnjoR9BXFEULpq7y8dxyLx48LZVa0BSDseXdLG/DtPISfM1iNv1XKCeiBzVNfAT/MOQ69v1Zw=="],
|
||||||
|
|
||||||
"@emmetio/abbreviation": ["@emmetio/[email protected]", "", { "dependencies": { "@emmetio/scanner": "^1.0.4" } }, "sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA=="],
|
"@emmetio/abbreviation": ["@emmetio/[email protected]", "", { "dependencies": { "@emmetio/scanner": "^1.0.4" } }, "sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA=="],
|
||||||
|
|
||||||
"@emmetio/css-abbreviation": ["@emmetio/[email protected]", "", { "dependencies": { "@emmetio/scanner": "^1.0.4" } }, "sha512-s9yjhJ6saOO/uk1V74eifykk2CBYi01STTK3WlXWGOepyKa23ymJ053+DNQjpFcy1ingpaO7AxCcwLvHFY9tuw=="],
|
"@emmetio/css-abbreviation": ["@emmetio/[email protected]", "", { "dependencies": { "@emmetio/scanner": "^1.0.4" } }, "sha512-s9yjhJ6saOO/uk1V74eifykk2CBYi01STTK3WlXWGOepyKa23ymJ053+DNQjpFcy1ingpaO7AxCcwLvHFY9tuw=="],
|
||||||
@@ -911,7 +926,9 @@
|
|||||||
|
|
||||||
"@types/babel__traverse": ["@types/[email protected]", "", { "dependencies": { "@babel/types": "^7.28.2" } }, "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q=="],
|
"@types/babel__traverse": ["@types/[email protected]", "", { "dependencies": { "@babel/types": "^7.28.2" } }, "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q=="],
|
||||||
|
|
||||||
"@types/bun": ["@types/[email protected].0", "", { "dependencies": { "bun-types": "1.3.0" } }, "sha512-+lAGCYjXjip2qY375xX/scJeVRmZ5cY0wyHYyCYxNcdEXrQ4AOe3gACgd4iQ8ksOslJtW4VNxBJ8llUwc3a6AA=="],
|
"@types/bun": ["@types/[email protected].1", "", { "dependencies": { "bun-types": "1.3.1" } }, "sha512-4jNMk2/K9YJtfqwoAa28c8wK+T7nvJFOjxI4h/7sORWcypRNxBpr+TPNaCfVWq70tLCJsqoFwcf0oI0JU/fvMQ=="],
|
||||||
|
|
||||||
|
"@types/bytebuffer": ["@types/[email protected]", "", { "dependencies": { "@types/long": "^3.0.0", "@types/node": "*" } }, "sha512-lV4YLiolMdD4upDmr4vnfiwV/FN9Jg33eNTSFMkHqyMKqTIAn5TmFTYsARwXwUXeFU7yzRpECmWV1SOhIvdkRQ=="],
|
||||||
|
|
||||||
"@types/debug": ["@types/[email protected]", "", { "dependencies": { "@types/ms": "*" } }, "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ=="],
|
"@types/debug": ["@types/[email protected]", "", { "dependencies": { "@types/ms": "*" } }, "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ=="],
|
||||||
|
|
||||||
@@ -921,6 +938,8 @@
|
|||||||
|
|
||||||
"@types/estree": ["@types/[email protected]", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="],
|
"@types/estree": ["@types/[email protected]", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="],
|
||||||
|
|
||||||
|
"@types/file-manager": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-gEq6de+iMbjmkL3Wj183JQ651h9b331wQ3svXp2K6RkgBg+TtiyIZTMols/a3UtXllVV9kSelz/N3Rgh0n6S4g=="],
|
||||||
|
|
||||||
"@types/fontkit": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-wN+8bYxIpJf+5oZdrdtaX04qUuWHcKxcDEgRS9Qm9ZClSHjzEn13SxUC+5eRM+4yXIeTYk8mTzLAWGF64847ew=="],
|
"@types/fontkit": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-wN+8bYxIpJf+5oZdrdtaX04qUuWHcKxcDEgRS9Qm9ZClSHjzEn13SxUC+5eRM+4yXIeTYk8mTzLAWGF64847ew=="],
|
||||||
|
|
||||||
"@types/hast": ["@types/[email protected]", "", { "dependencies": { "@types/unist": "*" } }, "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ=="],
|
"@types/hast": ["@types/[email protected]", "", { "dependencies": { "@types/unist": "*" } }, "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ=="],
|
||||||
@@ -929,6 +948,8 @@
|
|||||||
|
|
||||||
"@types/lodash-es": ["@types/[email protected]", "", { "dependencies": { "@types/lodash": "*" } }, "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ=="],
|
"@types/lodash-es": ["@types/[email protected]", "", { "dependencies": { "@types/lodash": "*" } }, "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ=="],
|
||||||
|
|
||||||
|
"@types/long": ["@types/[email protected]", "", {}, "sha512-ZXyOOm83p7X8p3s0IYM3VeueNmHpkk/yMlP8CLeOnEcu6hIwPH7YjZBvhQkR0ZFS2DqZAxKtJ/M5fcuv3OU5BA=="],
|
||||||
|
|
||||||
"@types/lz4js": ["@types/[email protected]", "", {}, "sha512-aAnbA4uKPNqZqu0XK1QAwKP0Wskb4Oa7ZFqxW5CMIyGgqYQKFgBxTfK3m3KODXoOLv5t14VregzgrEak13uGQA=="],
|
"@types/lz4js": ["@types/[email protected]", "", {}, "sha512-aAnbA4uKPNqZqu0XK1QAwKP0Wskb4Oa7ZFqxW5CMIyGgqYQKFgBxTfK3m3KODXoOLv5t14VregzgrEak13uGQA=="],
|
||||||
|
|
||||||
"@types/markdown-escape": ["@types/[email protected]", "", {}, "sha512-JIc1+s3y5ujKnt/+N+wq6s/QdL2qZ11fP79MijrVXsAAnzSxCbT2j/3prHRouJdZ2yFLN3vkP0HytfnoCczjOw=="],
|
"@types/markdown-escape": ["@types/[email protected]", "", {}, "sha512-JIc1+s3y5ujKnt/+N+wq6s/QdL2qZ11fP79MijrVXsAAnzSxCbT2j/3prHRouJdZ2yFLN3vkP0HytfnoCczjOw=="],
|
||||||
@@ -959,6 +980,10 @@
|
|||||||
|
|
||||||
"@types/stats.js": ["@types/[email protected]", "", {}, "sha512-jIBvWWShCvlBqBNIZt0KAshWpvSjhkwkEu4ZUcASoAvhmrgAUI2t1dXrjSL4xXVLB4FznPrIsX3nKXFl/Dt4vA=="],
|
"@types/stats.js": ["@types/[email protected]", "", {}, "sha512-jIBvWWShCvlBqBNIZt0KAshWpvSjhkwkEu4ZUcASoAvhmrgAUI2t1dXrjSL4xXVLB4FznPrIsX3nKXFl/Dt4vA=="],
|
||||||
|
|
||||||
|
"@types/steam-user": ["@types/[email protected]", "", { "dependencies": { "@types/bytebuffer": "*", "@types/file-manager": "*", "@types/node": "*", "@types/steamid": "*" } }, "sha512-jMCzwmvBA1DaqLTD9h23LzVmzyHy53cdzpJjBSYDI6qT/1LqEUM9xRt4Vb0Y9kOIr+BZckCewDw8Bk6n8e3BTA=="],
|
||||||
|
|
||||||
|
"@types/steamid": ["@types/[email protected]", "", {}, "sha512-LC0oaiNq3gqMI18MV935CnlyHmDooKRszK56jHv0+b7EbJwf5k++YsD52zWeJUD8nuYqP9LpIgpXGiYBOxpcYQ=="],
|
||||||
|
|
||||||
"@types/three": ["@types/[email protected]", "", { "dependencies": { "@dimforge/rapier3d-compat": "~0.12.0", "@tweenjs/tween.js": "~23.1.3", "@types/stats.js": "*", "@types/webxr": "*", "@webgpu/types": "*", "fflate": "~0.8.2", "meshoptimizer": "~0.22.0" } }, "sha512-ykFtgCqNnY0IPvDro7h+9ZeLY+qjgUWv+qEvUt84grhenO60Hqd4hScHE7VTB9nOQ/3QM8lkbNE+4vKjEpUxKg=="],
|
"@types/three": ["@types/[email protected]", "", { "dependencies": { "@dimforge/rapier3d-compat": "~0.12.0", "@tweenjs/tween.js": "~23.1.3", "@types/stats.js": "*", "@types/webxr": "*", "@webgpu/types": "*", "fflate": "~0.8.2", "meshoptimizer": "~0.22.0" } }, "sha512-ykFtgCqNnY0IPvDro7h+9ZeLY+qjgUWv+qEvUt84grhenO60Hqd4hScHE7VTB9nOQ/3QM8lkbNE+4vKjEpUxKg=="],
|
||||||
|
|
||||||
"@types/trusted-types": ["@types/[email protected]", "", {}, "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw=="],
|
"@types/trusted-types": ["@types/[email protected]", "", {}, "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw=="],
|
||||||
@@ -1005,7 +1030,7 @@
|
|||||||
|
|
||||||
"adm-zip": ["[email protected]", "", {}, "sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ=="],
|
"adm-zip": ["[email protected]", "", {}, "sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ=="],
|
||||||
|
|
||||||
"agent-base": ["agent-base@7.1.4", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="],
|
"agent-base": ["agent-base@6.0.2", "", { "dependencies": { "debug": "4" } }, "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ=="],
|
||||||
|
|
||||||
"ajv": ["[email protected]", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g=="],
|
"ajv": ["[email protected]", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g=="],
|
||||||
|
|
||||||
@@ -1085,6 +1110,8 @@
|
|||||||
|
|
||||||
"bignumber.js": ["[email protected]", "", {}, "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ=="],
|
"bignumber.js": ["[email protected]", "", {}, "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ=="],
|
||||||
|
|
||||||
|
"binarykvparser": ["[email protected]", "", { "dependencies": { "long": "^3.2.0" } }, "sha512-B1N5ZxC8I9oSLis7Rg36DxsZJoIikUGU2XwpI0FKFCaPIJIEYi0B9UeIk3QU006axzq0TI9KC3iXelfGGgnWew=="],
|
||||||
|
|
||||||
"bl": ["[email protected]", "", { "dependencies": { "readable-stream": "^2.3.5", "safe-buffer": "^5.1.1" } }, "sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww=="],
|
"bl": ["[email protected]", "", { "dependencies": { "readable-stream": "^2.3.5", "safe-buffer": "^5.1.1" } }, "sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww=="],
|
||||||
|
|
||||||
"boolbase": ["[email protected]", "", {}, "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="],
|
"boolbase": ["[email protected]", "", {}, "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="],
|
||||||
@@ -1115,7 +1142,9 @@
|
|||||||
|
|
||||||
"buffer-from": ["[email protected]", "", {}, "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="],
|
"buffer-from": ["[email protected]", "", {}, "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="],
|
||||||
|
|
||||||
"bun-types": ["[email protected].0", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-u8X0thhx+yJ0KmkxuEo9HAtdfgCBaM/aI9K90VQcQioAmkVp3SG3FkwWGibUFz3WdXAdcsqOcbU40lK7tbHdkQ=="],
|
"bun-types": ["[email protected].1", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-NMrcy7smratanWJ2mMXdpatalovtxVggkj11bScuWuiOoXTiKIu2eVS1/7qbyI/4yHedtsn175n4Sm4JcdHLXw=="],
|
||||||
|
|
||||||
|
"bytebuffer": ["[email protected]", "", { "dependencies": { "long": "~3" } }, "sha512-IuzSdmADppkZ6DlpycMkm8l9zeEq16fWtLvunEwFiYciR/BHo4E8/xs5piFquG+Za8OWmMqHF8zuRviz2LHvRQ=="],
|
||||||
|
|
||||||
"c12": ["[email protected]", "", { "dependencies": { "chokidar": "^4.0.3", "confbox": "^0.2.2", "defu": "^6.1.4", "dotenv": "^16.6.1", "exsolve": "^1.0.7", "giget": "^2.0.0", "jiti": "^2.4.2", "ohash": "^2.0.11", "pathe": "^2.0.3", "perfect-debounce": "^1.0.0", "pkg-types": "^2.2.0", "rc9": "^2.1.2" }, "peerDependencies": { "magicast": "^0.3.5" }, "optionalPeers": ["magicast"] }, "sha512-uWoS8OU1MEIsOv8p/5a82c3H31LsWVR5qiyXVfBNOzfffjUWtPnhAb4BYI2uG2HfGmZmFjCtui5XNWaps+iFuw=="],
|
"c12": ["[email protected]", "", { "dependencies": { "chokidar": "^4.0.3", "confbox": "^0.2.2", "defu": "^6.1.4", "dotenv": "^16.6.1", "exsolve": "^1.0.7", "giget": "^2.0.0", "jiti": "^2.4.2", "ohash": "^2.0.11", "pathe": "^2.0.3", "perfect-debounce": "^1.0.0", "pkg-types": "^2.2.0", "rc9": "^2.1.2" }, "peerDependencies": { "magicast": "^0.3.5" }, "optionalPeers": ["magicast"] }, "sha512-uWoS8OU1MEIsOv8p/5a82c3H31LsWVR5qiyXVfBNOzfffjUWtPnhAb4BYI2uG2HfGmZmFjCtui5XNWaps+iFuw=="],
|
||||||
|
|
||||||
@@ -1237,6 +1266,8 @@
|
|||||||
|
|
||||||
"csv-parse": ["[email protected]", "", {}, "sha512-CEE+jwpgLn+MmtCpVcPtiCZpVtB6Z2OKPTr34pycYYoL7sxdOkXDdQ4lRiw6ioC0q6BLqhc6cKweCVvral8yhw=="],
|
"csv-parse": ["[email protected]", "", {}, "sha512-CEE+jwpgLn+MmtCpVcPtiCZpVtB6Z2OKPTr34pycYYoL7sxdOkXDdQ4lRiw6ioC0q6BLqhc6cKweCVvral8yhw=="],
|
||||||
|
|
||||||
|
"cuint": ["[email protected]", "", {}, "sha512-d4ZVpCW31eWwCMe1YT3ur7mUDnTXbgwyzaL320DrcRT45rfjYxkt5QWLrmOJ+/UEAI2+fQgKe/fCjR8l4TpRgw=="],
|
||||||
|
|
||||||
"cwise-compiler": ["[email protected]", "", { "dependencies": { "uniq": "^1.0.0" } }, "sha512-WXlK/m+Di8DMMcCjcWr4i+XzcQra9eCdXIJrgh4TUgh0pIS/yJduLxS9JgefsHJ/YVLdgPtXm9r62W92MvanEQ=="],
|
"cwise-compiler": ["[email protected]", "", { "dependencies": { "uniq": "^1.0.0" } }, "sha512-WXlK/m+Di8DMMcCjcWr4i+XzcQra9eCdXIJrgh4TUgh0pIS/yJduLxS9JgefsHJ/YVLdgPtXm9r62W92MvanEQ=="],
|
||||||
|
|
||||||
"data-uri-to-buffer": ["[email protected]", "", {}, "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A=="],
|
"data-uri-to-buffer": ["[email protected]", "", {}, "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A=="],
|
||||||
@@ -1409,7 +1440,7 @@
|
|||||||
|
|
||||||
"fast-uri": ["[email protected]", "", {}, "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA=="],
|
"fast-uri": ["[email protected]", "", {}, "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA=="],
|
||||||
|
|
||||||
"fast-xml-parser": ["fast-xml-parser@5.2.5", "", { "dependencies": { "strnum": "^2.1.0" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ=="],
|
"fast-xml-parser": ["fast-xml-parser@5.3.2", "", { "dependencies": { "strnum": "^2.1.0" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-n8v8b6p4Z1sMgqRmqLJm3awW4NX7NkaKPfb3uJIBTSH7Pdvufi3PQ3/lJLQrvxcMYl7JI2jnDO90siPEpD8JBA=="],
|
||||||
|
|
||||||
"fastq": ["[email protected]", "", { "dependencies": { "reusify": "^1.0.4" } }, "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ=="],
|
"fastq": ["[email protected]", "", { "dependencies": { "reusify": "^1.0.4" } }, "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ=="],
|
||||||
|
|
||||||
@@ -1423,6 +1454,8 @@
|
|||||||
|
|
||||||
"fflate": ["[email protected]", "", {}, "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A=="],
|
"fflate": ["[email protected]", "", {}, "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A=="],
|
||||||
|
|
||||||
|
"file-manager": ["[email protected]", "", { "dependencies": { "@doctormckay/stdlib": "^1.14.1" } }, "sha512-y/K/1OCha04OXOxzo3cXJYtIzEk/CUMBb7Okipxueu0u+xCiuoocbwPyh1smUBasOobo4GAYmjgjD9Vh5zI51w=="],
|
||||||
|
|
||||||
"file-type": ["[email protected]", "", {}, "sha512-Iq1nJ6D2+yIO4c8HHg4fyVb8mAJieo1Oloy1mLLaB2PvezNedhBVm+QU7g0qM42aiMbRXTxKKwGD17rjKNJYVQ=="],
|
"file-type": ["[email protected]", "", {}, "sha512-Iq1nJ6D2+yIO4c8HHg4fyVb8mAJieo1Oloy1mLLaB2PvezNedhBVm+QU7g0qM42aiMbRXTxKKwGD17rjKNJYVQ=="],
|
||||||
|
|
||||||
"filelist": ["[email protected]", "", { "dependencies": { "minimatch": "^5.0.1" } }, "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q=="],
|
"filelist": ["[email protected]", "", { "dependencies": { "minimatch": "^5.0.1" } }, "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q=="],
|
||||||
@@ -1701,6 +1734,8 @@
|
|||||||
|
|
||||||
"ktx-parse": ["[email protected]", "", {}, "sha512-mKp3y+FaYgR7mXWAbyyzpa/r1zDWeaunH+INJO4fou3hb45XuNSwar+7llrRyvpMWafxSIi99RNFJ05MHedaJQ=="],
|
"ktx-parse": ["[email protected]", "", {}, "sha512-mKp3y+FaYgR7mXWAbyyzpa/r1zDWeaunH+INJO4fou3hb45XuNSwar+7llrRyvpMWafxSIi99RNFJ05MHedaJQ=="],
|
||||||
|
|
||||||
|
"kvparser": ["[email protected]", "", {}, "sha512-5P/5qpTAHjVYWqcI55B3yQwSY2FUrYYrJj5i65V1Wmg7/4W4OnBcaodaEvLyVuugeOnS+BAaKm9LbPazGJcRyA=="],
|
||||||
|
|
||||||
"leven": ["[email protected]", "", {}, "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A=="],
|
"leven": ["[email protected]", "", {}, "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A=="],
|
||||||
|
|
||||||
"lie": ["[email protected]", "", { "dependencies": { "immediate": "~3.0.5" } }, "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ=="],
|
"lie": ["[email protected]", "", { "dependencies": { "immediate": "~3.0.5" } }, "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ=="],
|
||||||
@@ -1727,6 +1762,8 @@
|
|||||||
|
|
||||||
"lz4js": ["[email protected]", "", {}, "sha512-gY2Ia9Lm7Ep8qMiuGRhvUq0Q7qUereeldZPP1PMEJxPtEWHJLqw9pgX68oHajBH0nzJK4MaZEA/YNV3jT8u8Bg=="],
|
"lz4js": ["[email protected]", "", {}, "sha512-gY2Ia9Lm7Ep8qMiuGRhvUq0Q7qUereeldZPP1PMEJxPtEWHJLqw9pgX68oHajBH0nzJK4MaZEA/YNV3jT8u8Bg=="],
|
||||||
|
|
||||||
|
"lzma": ["[email protected]", "", { "bin": { "lzma.js": "bin/lzma.js" } }, "sha512-DcfiawQ1avYbW+hsILhF38IKAlnguc/fjHrychs9hdxe4qLykvhT5VTGNs5YRWgaNePh7NTxGD4uv4gKsRomCQ=="],
|
||||||
|
|
||||||
"maath": ["[email protected]", "", { "peerDependencies": { "@types/three": ">=0.134.0", "three": ">=0.134.0" } }, "sha512-tRvbDF0Pgqz+9XUa4jjfgAQ8/aPKmQdWXilFu2tMy4GWj4NOsx99HlULO4IeREfbO3a0sA145DZYyvXPkybm0g=="],
|
"maath": ["[email protected]", "", { "peerDependencies": { "@types/three": ">=0.134.0", "three": ">=0.134.0" } }, "sha512-tRvbDF0Pgqz+9XUa4jjfgAQ8/aPKmQdWXilFu2tMy4GWj4NOsx99HlULO4IeREfbO3a0sA145DZYyvXPkybm0g=="],
|
||||||
|
|
||||||
"magic-bytes.js": ["[email protected]", "", {}, "sha512-ThQLOhN86ZkJ7qemtVRGYM+gRgR8GEXNli9H/PMvpnZsE44Xfh3wx9kGJaldg314v85m+bFW6WBMaVHJc/c3zA=="],
|
"magic-bytes.js": ["[email protected]", "", {}, "sha512-ThQLOhN86ZkJ7qemtVRGYM+gRgR8GEXNli9H/PMvpnZsE44Xfh3wx9kGJaldg314v85m+bFW6WBMaVHJc/c3zA=="],
|
||||||
@@ -1867,6 +1904,8 @@
|
|||||||
|
|
||||||
"nlcst-to-string": ["[email protected]", "", { "dependencies": { "@types/nlcst": "^2.0.0" } }, "sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA=="],
|
"nlcst-to-string": ["[email protected]", "", { "dependencies": { "@types/nlcst": "^2.0.0" } }, "sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA=="],
|
||||||
|
|
||||||
|
"node-bignumber": ["[email protected]", "", {}, "sha512-VoTZHmdFQpZH1+q1dz2qcHNCwTWsJg2T3PYwlAyDNFOfVhSYUKQBLFcCpCud+wJBGgCttGavZILaIggDIKqEQQ=="],
|
||||||
|
|
||||||
"node-domexception": ["[email protected]", "", {}, "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ=="],
|
"node-domexception": ["[email protected]", "", {}, "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ=="],
|
||||||
|
|
||||||
"node-fetch": ["[email protected]", "", { "dependencies": { "data-uri-to-buffer": "^4.0.0", "fetch-blob": "^3.1.4", "formdata-polyfill": "^4.0.10" } }, "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA=="],
|
"node-fetch": ["[email protected]", "", { "dependencies": { "data-uri-to-buffer": "^4.0.0", "fetch-blob": "^3.1.4", "formdata-polyfill": "^4.0.10" } }, "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA=="],
|
||||||
@@ -1947,6 +1986,8 @@
|
|||||||
|
|
||||||
"perfect-debounce": ["[email protected]", "", {}, "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA=="],
|
"perfect-debounce": ["[email protected]", "", {}, "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA=="],
|
||||||
|
|
||||||
|
"permessage-deflate": ["[email protected]", "", { "dependencies": { "safe-buffer": "*" } }, "sha512-EUNi/RIsyJ1P1u9QHFwMOUWMYetqlE22ZgGbad7YP856WF4BFF0B7DuNy6vEGsgNNud6c/SkdWzkne71hH8MjA=="],
|
||||||
|
|
||||||
"pickleparser": ["[email protected]", "", { "bin": { "pickletojson": "bin/pickletojson.js", "pickleparser": "bin/pickletojson.js" } }, "sha512-kMzY3uFYcR6OjOqr7nV2nkaXaBsUEOafu3zgPxeD6s/2ueMfVQH8lrymcDWBPGx0OkVxGMikxQit6jgByXjwBg=="],
|
"pickleparser": ["[email protected]", "", { "bin": { "pickletojson": "bin/pickletojson.js", "pickleparser": "bin/pickletojson.js" } }, "sha512-kMzY3uFYcR6OjOqr7nV2nkaXaBsUEOafu3zgPxeD6s/2ueMfVQH8lrymcDWBPGx0OkVxGMikxQit6jgByXjwBg=="],
|
||||||
|
|
||||||
"picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
|
"picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
|
||||||
@@ -1995,6 +2036,8 @@
|
|||||||
|
|
||||||
"proxy-from-env": ["[email protected]", "", {}, "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="],
|
"proxy-from-env": ["[email protected]", "", {}, "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="],
|
||||||
|
|
||||||
|
"psl": ["[email protected]", "", { "dependencies": { "punycode": "^2.3.1" } }, "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w=="],
|
||||||
|
|
||||||
"pump": ["[email protected]", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA=="],
|
"pump": ["[email protected]", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA=="],
|
||||||
|
|
||||||
"punycode": ["[email protected]", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="],
|
"punycode": ["[email protected]", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="],
|
||||||
@@ -2171,7 +2214,7 @@
|
|||||||
|
|
||||||
"socks": ["[email protected]", "", { "dependencies": { "ip-address": "^10.0.1", "smart-buffer": "^4.2.0" } }, "sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A=="],
|
"socks": ["[email protected]", "", { "dependencies": { "ip-address": "^10.0.1", "smart-buffer": "^4.2.0" } }, "sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A=="],
|
||||||
|
|
||||||
"socks-proxy-agent": ["socks-proxy-agent@8.0.5", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" } }, "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw=="],
|
"socks-proxy-agent": ["socks-proxy-agent@7.0.0", "", { "dependencies": { "agent-base": "^6.0.2", "debug": "^4.3.3", "socks": "^2.6.2" } }, "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww=="],
|
||||||
|
|
||||||
"source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
|
"source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
|
||||||
|
|
||||||
@@ -2189,6 +2232,16 @@
|
|||||||
|
|
||||||
"statuses": ["[email protected]", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],
|
"statuses": ["[email protected]", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],
|
||||||
|
|
||||||
|
"steam-appticket": ["[email protected]", "", { "dependencies": { "@doctormckay/stdlib": "^1.6.0", "@doctormckay/steam-crypto": "^1.2.0", "bytebuffer": "^5.0.1", "protobufjs": "^6.8.8", "steamid": "^1.1.0" } }, "sha512-zwDwZALGv3RanE8RHNYcQU3u4Ez23EzMuQ4Lh15uIHddpDh6TI6uFGbC0HNyt6y+UJYSILe77A33VhFZKQiaqQ=="],
|
||||||
|
|
||||||
|
"steam-session": ["[email protected]", "", { "dependencies": { "@doctormckay/stdlib": "^2.9.0", "@doctormckay/user-agents": "^1.0.0", "debug": "^4.3.4", "kvparser": "^1.0.1", "node-bignumber": "^1.2.2", "protobufjs": "^7.1.0", "socks-proxy-agent": "^7.0.0", "steamid": "^2.0.0", "tiny-typed-emitter": "^2.1.0", "websocket13": "^4.0.0" } }, "sha512-MLvg1uMLEOIRHZS5LKruy1w5OqHb8EL7TeMxIY2a4mUcaVOgszz060+jo4c7s3gFeedyuoqGcfwJrR0pLKYzLw=="],
|
||||||
|
|
||||||
|
"steam-totp": ["[email protected]", "", {}, "sha512-bTKlc/NoIUQId+my+O556s55DDsNNXfVIPWFDNVu68beql7AJhV0c+GTjFxfwCDYfdc4NkAme+0WrDdnY2D2VA=="],
|
||||||
|
|
||||||
|
"steam-user": ["[email protected]", "", { "dependencies": { "@bbob/parser": "^2.2.0", "@doctormckay/stdlib": "^2.9.1", "@doctormckay/steam-crypto": "^1.2.0", "adm-zip": "^0.5.10", "binarykvparser": "^2.2.0", "bytebuffer": "^5.0.0", "file-manager": "^2.0.0", "kvparser": "^1.0.1", "lzma": "^2.3.2", "protobufjs": "^7.2.4", "socks-proxy-agent": "^7.0.0", "steam-appticket": "^1.0.1", "steam-session": "^1.8.0", "steam-totp": "^2.0.1", "steamid": "^2.0.0", "websocket13": "^4.0.0", "zstddec": "^0.1.0" } }, "sha512-6Yzaa0l7fcSRaaJzHjfuqettYqAsrW3+1AEu/cj4M/lgRYXa0DfOAjuWj0/wesfkogwuXNE4N/ZMZvNir8TVtw=="],
|
||||||
|
|
||||||
|
"steamid": ["[email protected]", "", {}, "sha512-ndt1cvuuSC+i8fcxVsmeyRlgGsR1QsoAuIXz+eabj8/Y4GIWE2+mgHA7Hys61JDHOxttfWtXHtN2m5TNYTlORg=="],
|
||||||
|
|
||||||
"stop-iteration-iterator": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "internal-slot": "^1.1.0" } }, "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ=="],
|
"stop-iteration-iterator": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "internal-slot": "^1.1.0" } }, "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ=="],
|
||||||
|
|
||||||
"streamx": ["[email protected]", "", { "dependencies": { "events-universal": "^1.0.0", "fast-fifo": "^1.3.2", "text-decoder": "^1.1.0" } }, "sha512-kn+e44esVfn2Fa/O0CPFcex27fjIL6MkVae0Mm6q+E6f0hWv578YCERbv+4m02cjxvDsPKLnmxral/rR6lBMAg=="],
|
"streamx": ["[email protected]", "", { "dependencies": { "events-universal": "^1.0.0", "fast-fifo": "^1.3.2", "text-decoder": "^1.1.0" } }, "sha512-kn+e44esVfn2Fa/O0CPFcex27fjIL6MkVae0Mm6q+E6f0hWv578YCERbv+4m02cjxvDsPKLnmxral/rR6lBMAg=="],
|
||||||
@@ -2245,6 +2298,8 @@
|
|||||||
|
|
||||||
"tiny-inflate": ["[email protected]", "", {}, "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw=="],
|
"tiny-inflate": ["[email protected]", "", {}, "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw=="],
|
||||||
|
|
||||||
|
"tiny-typed-emitter": ["[email protected]", "", {}, "sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA=="],
|
||||||
|
|
||||||
"tinyexec": ["[email protected]", "", {}, "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw=="],
|
"tinyexec": ["[email protected]", "", {}, "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw=="],
|
||||||
|
|
||||||
"tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="],
|
"tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="],
|
||||||
@@ -2359,6 +2414,8 @@
|
|||||||
|
|
||||||
"unstorage": ["[email protected]", "", { "dependencies": { "anymatch": "^3.1.3", "chokidar": "^4.0.3", "destr": "^2.0.5", "h3": "^1.15.4", "lru-cache": "^10.4.3", "node-fetch-native": "^1.6.7", "ofetch": "^1.4.1", "ufo": "^1.6.1" }, "peerDependencies": { "@azure/app-configuration": "^1.8.0", "@azure/cosmos": "^4.2.0", "@azure/data-tables": "^13.3.0", "@azure/identity": "^4.6.0", "@azure/keyvault-secrets": "^4.9.0", "@azure/storage-blob": "^12.26.0", "@capacitor/preferences": "^6.0.3 || ^7.0.0", "@deno/kv": ">=0.9.0", "@netlify/blobs": "^6.5.0 || ^7.0.0 || ^8.1.0 || ^9.0.0 || ^10.0.0", "@planetscale/database": "^1.19.0", "@upstash/redis": "^1.34.3", "@vercel/blob": ">=0.27.1", "@vercel/functions": "^2.2.12 || ^3.0.0", "@vercel/kv": "^1.0.1", "aws4fetch": "^1.0.20", "db0": ">=0.2.1", "idb-keyval": "^6.2.1", "ioredis": "^5.4.2", "uploadthing": "^7.4.4" }, "optionalPeers": ["@azure/app-configuration", "@azure/cosmos", "@azure/data-tables", "@azure/identity", "@azure/keyvault-secrets", "@azure/storage-blob", "@capacitor/preferences", "@deno/kv", "@netlify/blobs", "@planetscale/database", "@upstash/redis", "@vercel/blob", "@vercel/functions", "@vercel/kv", "aws4fetch", "db0", "idb-keyval", "ioredis", "uploadthing"] }, "sha512-KKGwRTT0iVBCErKemkJCLs7JdxNVfqTPc/85ae1XES0+bsHbc/sFBfVi5kJp156cc51BHinIH2l3k0EZ24vOBQ=="],
|
"unstorage": ["[email protected]", "", { "dependencies": { "anymatch": "^3.1.3", "chokidar": "^4.0.3", "destr": "^2.0.5", "h3": "^1.15.4", "lru-cache": "^10.4.3", "node-fetch-native": "^1.6.7", "ofetch": "^1.4.1", "ufo": "^1.6.1" }, "peerDependencies": { "@azure/app-configuration": "^1.8.0", "@azure/cosmos": "^4.2.0", "@azure/data-tables": "^13.3.0", "@azure/identity": "^4.6.0", "@azure/keyvault-secrets": "^4.9.0", "@azure/storage-blob": "^12.26.0", "@capacitor/preferences": "^6.0.3 || ^7.0.0", "@deno/kv": ">=0.9.0", "@netlify/blobs": "^6.5.0 || ^7.0.0 || ^8.1.0 || ^9.0.0 || ^10.0.0", "@planetscale/database": "^1.19.0", "@upstash/redis": "^1.34.3", "@vercel/blob": ">=0.27.1", "@vercel/functions": "^2.2.12 || ^3.0.0", "@vercel/kv": "^1.0.1", "aws4fetch": "^1.0.20", "db0": ">=0.2.1", "idb-keyval": "^6.2.1", "ioredis": "^5.4.2", "uploadthing": "^7.4.4" }, "optionalPeers": ["@azure/app-configuration", "@azure/cosmos", "@azure/data-tables", "@azure/identity", "@azure/keyvault-secrets", "@azure/storage-blob", "@capacitor/preferences", "@deno/kv", "@netlify/blobs", "@planetscale/database", "@upstash/redis", "@vercel/blob", "@vercel/functions", "@vercel/kv", "aws4fetch", "db0", "idb-keyval", "ioredis", "uploadthing"] }, "sha512-KKGwRTT0iVBCErKemkJCLs7JdxNVfqTPc/85ae1XES0+bsHbc/sFBfVi5kJp156cc51BHinIH2l3k0EZ24vOBQ=="],
|
||||||
|
|
||||||
|
"unzipit": ["[email protected]", "", { "dependencies": { "uzip-module": "^1.0.2" } }, "sha512-gsq2PdJIWWGhx5kcdWStvNWit9FVdTewm4SEG7gFskWs+XCVaULt9+BwuoBtJiRE8eo3L1IPAOrbByNLtLtIlg=="],
|
||||||
|
|
||||||
"upath": ["[email protected]", "", {}, "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg=="],
|
"upath": ["[email protected]", "", {}, "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg=="],
|
||||||
|
|
||||||
"update-browserslist-db": ["[email protected]", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw=="],
|
"update-browserslist-db": ["[email protected]", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw=="],
|
||||||
@@ -2377,6 +2434,8 @@
|
|||||||
|
|
||||||
"utility-types": ["[email protected]", "", {}, "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw=="],
|
"utility-types": ["[email protected]", "", {}, "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw=="],
|
||||||
|
|
||||||
|
"uzip-module": ["[email protected]", "", {}, "sha512-AMqwWZaknLM77G+VPYNZLEruMGWGzyigPK3/Whg99B3S6vGHuqsyl5ZrOv1UUF3paGK1U6PM0cnayioaryg/fA=="],
|
||||||
|
|
||||||
"varuna": ["varuna@workspace:packages/varuna"],
|
"varuna": ["varuna@workspace:packages/varuna"],
|
||||||
|
|
||||||
"vfile": ["[email protected]", "", { "dependencies": { "@types/unist": "^3.0.0", "vfile-message": "^4.0.0" } }, "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q=="],
|
"vfile": ["[email protected]", "", { "dependencies": { "@types/unist": "^3.0.0", "vfile-message": "^4.0.0" } }, "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q=="],
|
||||||
@@ -2437,6 +2496,10 @@
|
|||||||
|
|
||||||
"webidl-conversions": ["[email protected]", "", {}, "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="],
|
"webidl-conversions": ["[email protected]", "", {}, "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="],
|
||||||
|
|
||||||
|
"websocket-extensions": ["[email protected]", "", {}, "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg=="],
|
||||||
|
|
||||||
|
"websocket13": ["[email protected]", "", { "dependencies": { "@doctormckay/stdlib": "^2.7.1", "bytebuffer": "^5.0.1", "permessage-deflate": "^0.1.7", "tiny-typed-emitter": "^2.1.0", "websocket-extensions": "^0.1.4" } }, "sha512-7+hxkUVTKQlUDTzN2rJI7fJRBXCT6dvRXr1aZflxUZlpNJutHBkKiEIbZOCGs0A1s7vxAmcAXngsNUQMSUTiVQ=="],
|
||||||
|
|
||||||
"whatwg-encoding": ["[email protected]", "", { "dependencies": { "iconv-lite": "0.6.3" } }, "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ=="],
|
"whatwg-encoding": ["[email protected]", "", { "dependencies": { "iconv-lite": "0.6.3" } }, "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ=="],
|
||||||
|
|
||||||
"whatwg-mimetype": ["[email protected]", "", {}, "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg=="],
|
"whatwg-mimetype": ["[email protected]", "", {}, "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg=="],
|
||||||
@@ -2531,6 +2594,8 @@
|
|||||||
|
|
||||||
"zod-to-ts": ["[email protected]", "", { "peerDependencies": { "typescript": "^4.9.4 || ^5.0.2", "zod": "^3" } }, "sha512-x30XE43V+InwGpvTySRNz9kB7qFU8DlyEy7BsSTCHPH1R0QasMmHWZDCzYm6bVXtj/9NNJAZF3jW8rzFvH5OFA=="],
|
"zod-to-ts": ["[email protected]", "", { "peerDependencies": { "typescript": "^4.9.4 || ^5.0.2", "zod": "^3" } }, "sha512-x30XE43V+InwGpvTySRNz9kB7qFU8DlyEy7BsSTCHPH1R0QasMmHWZDCzYm6bVXtj/9NNJAZF3jW8rzFvH5OFA=="],
|
||||||
|
|
||||||
|
"zstddec": ["[email protected]", "", {}, "sha512-w2NTI8+3l3eeltKAdK8QpiLo/flRAr2p8AGeakfMZOXBxOg9HIu4LVDxBi81sYgVhFhdJjv1OrB5ssI8uFPoLg=="],
|
||||||
|
|
||||||
"zustand": ["[email protected]", "", { "peerDependencies": { "@types/react": ">=18.0.0", "immer": ">=9.0.6", "react": ">=18.0.0", "use-sync-external-store": ">=1.2.0" }, "optionalPeers": ["@types/react", "immer", "react", "use-sync-external-store"] }, "sha512-gyPKpIaxY9XcO2vSMrLbiER7QMAMGOQZVRdJ6Zi782jkbzZygq5GI9nG8g+sMgitRtndwaBSl7uiqC49o1SSiw=="],
|
"zustand": ["[email protected]", "", { "peerDependencies": { "@types/react": ">=18.0.0", "immer": ">=9.0.6", "react": ">=18.0.0", "use-sync-external-store": ">=1.2.0" }, "optionalPeers": ["@types/react", "immer", "react", "use-sync-external-store"] }, "sha512-gyPKpIaxY9XcO2vSMrLbiER7QMAMGOQZVRdJ6Zi782jkbzZygq5GI9nG8g+sMgitRtndwaBSl7uiqC49o1SSiw=="],
|
||||||
|
|
||||||
"zwitch": ["[email protected]", "", {}, "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="],
|
"zwitch": ["[email protected]", "", {}, "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="],
|
||||||
@@ -2591,8 +2656,12 @@
|
|||||||
|
|
||||||
"babel-plugin-polyfill-corejs2/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
|
"babel-plugin-polyfill-corejs2/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
|
||||||
|
|
||||||
|
"binarykvparser/long": ["[email protected]", "", { "bundled": true }, "sha512-ZYvPPOMqUwPoDsbJaR10iQJYnMuZhRTvHYl62ErLIEX7RgFlziSBUUvrt3OVfc47QlHHpzPZYP17g3Fv7oeJkg=="],
|
||||||
|
|
||||||
"boxen/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="],
|
"boxen/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="],
|
||||||
|
|
||||||
|
"bytebuffer/long": ["[email protected]", "", {}, "sha512-ZYvPPOMqUwPoDsbJaR10iQJYnMuZhRTvHYl62ErLIEX7RgFlziSBUUvrt3OVfc47QlHHpzPZYP17g3Fv7oeJkg=="],
|
||||||
|
|
||||||
"c12/dotenv": ["[email protected]", "", {}, "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow=="],
|
"c12/dotenv": ["[email protected]", "", {}, "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow=="],
|
||||||
|
|
||||||
"cheerio/undici": ["[email protected]", "", {}, "sha512-QEg3HPMll0o3t2ourKwOeUAZ159Kn9mx5pnzHRQO8+Wixmh88YdZRiIwat0iNzNNXn0yoEtXJqFpyW7eM8BV7g=="],
|
"cheerio/undici": ["[email protected]", "", {}, "sha512-QEg3HPMll0o3t2ourKwOeUAZ159Kn9mx5pnzHRQO8+Wixmh88YdZRiIwat0iNzNNXn0yoEtXJqFpyW7eM8BV7g=="],
|
||||||
@@ -2609,6 +2678,8 @@
|
|||||||
|
|
||||||
"favilib/sharp": ["[email protected]", "", { "dependencies": { "color": "^4.2.3", "detect-libc": "^2.0.3", "semver": "^7.6.3" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.33.5", "@img/sharp-darwin-x64": "0.33.5", "@img/sharp-libvips-darwin-arm64": "1.0.4", "@img/sharp-libvips-darwin-x64": "1.0.4", "@img/sharp-libvips-linux-arm": "1.0.5", "@img/sharp-libvips-linux-arm64": "1.0.4", "@img/sharp-libvips-linux-s390x": "1.0.4", "@img/sharp-libvips-linux-x64": "1.0.4", "@img/sharp-libvips-linuxmusl-arm64": "1.0.4", "@img/sharp-libvips-linuxmusl-x64": "1.0.4", "@img/sharp-linux-arm": "0.33.5", "@img/sharp-linux-arm64": "0.33.5", "@img/sharp-linux-s390x": "0.33.5", "@img/sharp-linux-x64": "0.33.5", "@img/sharp-linuxmusl-arm64": "0.33.5", "@img/sharp-linuxmusl-x64": "0.33.5", "@img/sharp-wasm32": "0.33.5", "@img/sharp-win32-ia32": "0.33.5", "@img/sharp-win32-x64": "0.33.5" } }, "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw=="],
|
"favilib/sharp": ["[email protected]", "", { "dependencies": { "color": "^4.2.3", "detect-libc": "^2.0.3", "semver": "^7.6.3" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.33.5", "@img/sharp-darwin-x64": "0.33.5", "@img/sharp-libvips-darwin-arm64": "1.0.4", "@img/sharp-libvips-darwin-x64": "1.0.4", "@img/sharp-libvips-linux-arm": "1.0.5", "@img/sharp-libvips-linux-arm64": "1.0.4", "@img/sharp-libvips-linux-s390x": "1.0.4", "@img/sharp-libvips-linux-x64": "1.0.4", "@img/sharp-libvips-linuxmusl-arm64": "1.0.4", "@img/sharp-libvips-linuxmusl-x64": "1.0.4", "@img/sharp-linux-arm": "0.33.5", "@img/sharp-linux-arm64": "0.33.5", "@img/sharp-linux-s390x": "0.33.5", "@img/sharp-linux-x64": "0.33.5", "@img/sharp-linuxmusl-arm64": "0.33.5", "@img/sharp-linuxmusl-x64": "0.33.5", "@img/sharp-wasm32": "0.33.5", "@img/sharp-win32-ia32": "0.33.5", "@img/sharp-win32-x64": "0.33.5" } }, "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw=="],
|
||||||
|
|
||||||
|
"file-manager/@doctormckay/stdlib": ["@doctormckay/[email protected]", "", {}, "sha512-XhuUOzElz6fnNdt70IYNKqhPAEpGaL4JHOhAvklRh0hAhVPW+/wLxaWT3DWUbaG5Dta5YvIp7+cZK3GhIpAuug=="],
|
||||||
|
|
||||||
"filelist/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g=="],
|
"filelist/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g=="],
|
||||||
|
|
||||||
"get-uri/data-uri-to-buffer": ["[email protected]", "", {}, "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw=="],
|
"get-uri/data-uri-to-buffer": ["[email protected]", "", {}, "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw=="],
|
||||||
@@ -2619,6 +2690,10 @@
|
|||||||
|
|
||||||
"http-errors/statuses": ["[email protected]", "", {}, "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ=="],
|
"http-errors/statuses": ["[email protected]", "", {}, "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ=="],
|
||||||
|
|
||||||
|
"http-proxy-agent/agent-base": ["[email protected]", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="],
|
||||||
|
|
||||||
|
"https-proxy-agent/agent-base": ["[email protected]", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="],
|
||||||
|
|
||||||
"its-fine/@types/react-reconciler": ["@types/[email protected]", "", { "peerDependencies": { "@types/react": "*" } }, "sha512-HHM3nxyUZ3zAylX8ZEyrDNd2XZOnQ0D5XfunJF5FLQnZbHHYq4UWvW1QfelQNXv1ICNkwYhfxjwfnqivYB6bFg=="],
|
"its-fine/@types/react-reconciler": ["@types/[email protected]", "", { "peerDependencies": { "@types/react": "*" } }, "sha512-HHM3nxyUZ3zAylX8ZEyrDNd2XZOnQ0D5XfunJF5FLQnZbHHYq4UWvW1QfelQNXv1ICNkwYhfxjwfnqivYB6bFg=="],
|
||||||
|
|
||||||
"linebreak/base64-js": ["[email protected]", "", {}, "sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw=="],
|
"linebreak/base64-js": ["[email protected]", "", {}, "sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw=="],
|
||||||
@@ -2627,12 +2702,20 @@
|
|||||||
|
|
||||||
"micromatch/picomatch": ["[email protected]", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="],
|
"micromatch/picomatch": ["[email protected]", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="],
|
||||||
|
|
||||||
|
"pac-proxy-agent/agent-base": ["[email protected]", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="],
|
||||||
|
|
||||||
|
"pac-proxy-agent/socks-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" } }, "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw=="],
|
||||||
|
|
||||||
"parse5/entities": ["[email protected]", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="],
|
"parse5/entities": ["[email protected]", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="],
|
||||||
|
|
||||||
"prompts/kleur": ["[email protected]", "", {}, "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="],
|
"prompts/kleur": ["[email protected]", "", {}, "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="],
|
||||||
|
|
||||||
|
"proxy-agent/agent-base": ["[email protected]", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="],
|
||||||
|
|
||||||
"proxy-agent/lru-cache": ["[email protected]", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="],
|
"proxy-agent/lru-cache": ["[email protected]", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="],
|
||||||
|
|
||||||
|
"proxy-agent/socks-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" } }, "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw=="],
|
||||||
|
|
||||||
"react-dom/scheduler": ["[email protected]", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
|
"react-dom/scheduler": ["[email protected]", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
|
||||||
|
|
||||||
"react-promise-suspense/fast-deep-equal": ["[email protected]", "", {}, "sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w=="],
|
"react-promise-suspense/fast-deep-equal": ["[email protected]", "", {}, "sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w=="],
|
||||||
@@ -2647,6 +2730,12 @@
|
|||||||
|
|
||||||
"stats-gl/three": ["[email protected]", "", {}, "sha512-FQK+LEpYc0fBD+J8g6oSEyyNzjp+Q7Ks1C568WWaoMRLW+TkNNWmenWeGgJjV105Gd+p/2ql1ZcjYvNiPZBhuQ=="],
|
"stats-gl/three": ["[email protected]", "", {}, "sha512-FQK+LEpYc0fBD+J8g6oSEyyNzjp+Q7Ks1C568WWaoMRLW+TkNNWmenWeGgJjV105Gd+p/2ql1ZcjYvNiPZBhuQ=="],
|
||||||
|
|
||||||
|
"steam-appticket/@doctormckay/stdlib": ["@doctormckay/[email protected]", "", {}, "sha512-XhuUOzElz6fnNdt70IYNKqhPAEpGaL4JHOhAvklRh0hAhVPW+/wLxaWT3DWUbaG5Dta5YvIp7+cZK3GhIpAuug=="],
|
||||||
|
|
||||||
|
"steam-appticket/protobufjs": ["[email protected]", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.4", "@protobufjs/eventemitter": "^1.1.0", "@protobufjs/fetch": "^1.1.0", "@protobufjs/float": "^1.0.2", "@protobufjs/inquire": "^1.1.0", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.0", "@types/long": "^4.0.1", "@types/node": ">=13.7.0", "long": "^4.0.0" }, "bin": { "pbjs": "bin/pbjs", "pbts": "bin/pbts" } }, "sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw=="],
|
||||||
|
|
||||||
|
"steam-appticket/steamid": ["[email protected]", "", { "dependencies": { "cuint": "^0.2.1" } }, "sha512-t86YjtP1LtPt8D+TaIARm6PtC9tBnF1FhxQeLFs6ohG7vDUfQuy/M8II14rx1TTUkVuYoWHP/7DlvTtoCGULcw=="],
|
||||||
|
|
||||||
"string_decoder/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
|
"string_decoder/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
|
||||||
|
|
||||||
"tar-fs/tar-stream": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ=="],
|
"tar-fs/tar-stream": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ=="],
|
||||||
@@ -2765,6 +2854,10 @@
|
|||||||
|
|
||||||
"filelist/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
|
"filelist/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
|
||||||
|
|
||||||
|
"steam-appticket/protobufjs/@types/long": ["@types/[email protected]", "", {}, "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA=="],
|
||||||
|
|
||||||
|
"steam-appticket/protobufjs/long": ["[email protected]", "", {}, "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA=="],
|
||||||
|
|
||||||
"widest-line/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg=="],
|
"widest-line/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg=="],
|
||||||
|
|
||||||
"widest-line/string-width/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.0.1" } }, "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA=="],
|
"widest-line/string-width/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.0.1" } }, "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA=="],
|
||||||
|
|||||||
+44
-16
@@ -1,19 +1,47 @@
|
|||||||
# BlitzKit Credits
|
# BlitzKit Credits
|
||||||
|
|
||||||
BlitzKit is a one man band **TrèsAbhi** but I am far from solo.
|
BlitzKit is a one man band **TrèsAbhi** but I am far from solo. Helpers, in the order of contribution over time:
|
||||||
|
|
||||||
| Role | People |
|
### S0AP
|
||||||
| ------------------------------ | ------------------------------ |
|
|
||||||
| Bot verification | S0AP |
|
BlitzKit Discord bot verification, testing, advertisement, and the initial encouragement to create BlitzKit.
|
||||||
| General testing | Prince_NA |
|
|
||||||
| Bot advertisement platform | S0AP |
|
### Prince_NA
|
||||||
| Bot rendering pipeline | Vovko |
|
|
||||||
| Game asset decompression | Maddox |
|
BlitzKit Discord bot and website testing and general advise.
|
||||||
| Game 3D model parsing | Pyogenics |
|
|
||||||
| Game file layout | Aeson |
|
### Vovko
|
||||||
| 3-caliber rule edge cases | Minitelrose, ChickenMan7777 |
|
|
||||||
| Embed UX | \_34, HisRoyalFatness, Synx |
|
BlitzKit Discord bot and website rendering pipeline.
|
||||||
| Tankopedia pre-release testing | [OPTML], Aeson, \_34, xkdkw |
|
|
||||||
| Website advertisement platform | Aeson |
|
### Maddox
|
||||||
| Compare pre-release testing | [OPTML] |
|
|
||||||
| Redacted | GonnaHetzMe |
|
Game file decompression.
|
||||||
|
|
||||||
|
### Pyogenics
|
||||||
|
|
||||||
|
Game 3D model parsing.
|
||||||
|
|
||||||
|
### Aeson
|
||||||
|
|
||||||
|
Game file layout, general advise, advertisement, and Tankopedia pre-release testing.
|
||||||
|
|
||||||
|
### Minitelrose, ChickenMan7777
|
||||||
|
|
||||||
|
3-caliber rule edge cases.
|
||||||
|
|
||||||
|
### HisRoyalFatness, Synx
|
||||||
|
|
||||||
|
Embed UX.
|
||||||
|
|
||||||
|
### [OPTML] clan, \_34, xkdkw, Droodles Blitz
|
||||||
|
|
||||||
|
Tankopedia pre-release testing.
|
||||||
|
|
||||||
|
### GonnaHetzMe
|
||||||
|
|
||||||
|
Redacted by request.
|
||||||
|
|
||||||
|
### Mark Greene
|
||||||
|
|
||||||
|
GitHub contributor on bug fixes and feature additions.
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# BlitzKit 1.29.10
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Combined game mode passive and active abilities into a single dropdown
|
||||||
|
- [Mark Greene] Added tier filters to the Guess game
|
||||||
|
- Changing tiers will break your streak
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- [Mark Greene] module damage is now properly shown when sorting with it in the tank search
|
||||||
|
- Duplicate abilities in the tank filters are now removed
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.11
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The Guesser game's toolbar now scales properly with screen size
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.4
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- BlitzKit now partially downloads game files instead of the entire game, allowing for faster updates
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# BlitzKit 1.29.5
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added new lighting to be a bit softer on tanks
|
||||||
|
- Added a button with the sun icon to toggle high graphics
|
||||||
|
- Added a new reveal and transition animation between tabs
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Track wheels on some tanks no longer look translucent
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# BlitzKit 1.29.6
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Simplified the ownership and test tank filters in the tank search
|
||||||
|
- Renamed "Guess the tank" to simply "Guess"
|
||||||
|
- The player count value in the Performance tool is now set to Total by default
|
||||||
|
- Added Compare-like red/green highlighting to the Performance tool
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- Removed the last updated info bar in Performance for some more screen real estate
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The remove played tanks in the Playlist tool now shows even when logged out
|
||||||
|
- The Guess game now has a page title
|
||||||
|
- The compare table now occupies the minimum width possible instead of expanding all columns excessively
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.7
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Re-introduced the ability to deploy BlitzKit OpenTests
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# BlitzKit 1.29.8
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added an option to clear provisions and consumables from all tanks in Compare
|
||||||
|
- Added the ability to choose stock turrets and guns in Mixer if a tank has any
|
||||||
|
- Added streaks to Guesser
|
||||||
|
- Introduced an option to partially reveal tanks in Guesser
|
||||||
|
- This removes the darkness effect but keeps the name hidden
|
||||||
|
- This will reset your streak to 0
|
||||||
|
- Regardless of getting the right guess on the tank's name, your response will be counted as incorrect if partially revealed
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The Tankopedia now smoothly resizes when enlarging on interaction
|
||||||
|
- [Mark Greene] Stock turrets now correctly mount the corresponding stock gun
|
||||||
|
- The consumable and provision buttons in Compare are no longer tiny
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# BlitzKit 1.29.9
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Reworked tank search filters to be far more compact to make way for new filters
|
||||||
|
- [Mark Greene] Added the ability to filter tanks by consumables
|
||||||
|
- Added the ability to filter tanks by provisions and game-mode abilities and powers
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Consumable and provision icons in Compare are now properly sized
|
||||||
|
- [Mark Greene] Provisions now properly affect terrain resistances
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
# Christmas Garage Guide 2025
|
||||||
|
|
||||||
|
This content was pre-recorded on a test server and the version you may see may not be the same. Please see [the official WoTB portal](https://wotblitz.com/) for the most up-to-date information.
|
||||||
|
|
||||||
|
The holiday season has arrived, and this year the celebrations spill directly into your garage, transforming the familiar space into a festive hub filled with activities, rewards, and seasonal flair. Instead of just offering decorations or a visual makeover, this event brings a full set of mechanics that turn everyday battles into a steady stream of progress. Whether you’re aiming for bonuses, collectibles, or new tanks, the garage is designed to make every match feel like part of a larger holiday journey.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## The Music Box
|
||||||
|
|
||||||
|
The familiar Snow Globes are absent this year, replaced entirely by **Music Boxes**, which act as the new way to try your luck for seasonal rewards. They behave similarly to the Snow Globes and give you a chance to obtain various items, including a shot at the brand-new **[GSOR the TANK](https://blitzkit.app/tanks/gsor-the-tank/)**. But this time around, **they do not guarantee a tank every single time.** But as a bonus, the Music Box guarantees you will not receive duplicate tanks. Once you have a tank, the Music Box will try its best to give you a different one each time.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Win Battles, Earn Rewards
|
||||||
|
|
||||||
|
Each victory during the event rewards you with **3 Hot Coffees**, a seasonal currency that serves as the backbone of the progression system. These coffees can be exchanged for a variety of Festive Town rewards, giving you reasons to keep pushing through battles even if you’re just casually playing.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
With the coffees, you’ll also be able to claim **2 tank certificates**, one for **tier VII** vehicles and another covering **tier IX–X** options.
|
||||||
|
|
||||||
|
The tier VII pool includes the [E 25](https://blitzkit.app/tanks/e-25), [CS-52 LIS](https://blitzkit.app/tanks/cs-52-lis), [AMX 13 57](https://blitzkit.app/tanks/amx-13-57), [Steyr WT](https://blitzkit.app/tanks/steyr-wt), [Kunze Panzer](https://blitzkit.app/tanks/kunze-panzer), and [Super Hellcat](https://blitzkit.app/tanks/super-hellcat). Meanwhile, the tier IX–X certificate gives access to higher-tier picks like the [121B](https://blitzkit.app/tanks/121b), [AMX 30 B](https://blitzkit.app/tanks/amx-30-b), [Obj. 260](https://blitzkit.app/tanks/obj-260), [Char Futur 4](https://blitzkit.app/tanks/char-futur-4), [TL-7-120](https://blitzkit.app/tanks/tl-7-120), and [Object 452K](https://blitzkit.app/tanks/object-452k).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Christmas Tree
|
||||||
|
|
||||||
|
Golden tokens allow you to upgrade your Christmas Tree through **four distinct stages**, each bringing your garage closer to its fully decorated holiday form.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
As the tree grows, additional ornament slots open up, eight in total, which appear on the left side of your screen. These slots give you more room to customize the look of your garage and make the tree feel like something you’ve built up piece by piece over the course of the event. Each new ornament adds to the atmosphere, making the progression feel both cosmetic and rewarding.
|
||||||
|
|
||||||
|
A fully decorated tree grants up to **+25% silver** per battle, turning your regular gameplay into a more profitable experience without requiring extra effort. Ensure all your ornaments come from the same set to unlock the full potential of the tree (all left, all middle, or all right).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Yuletide Stall
|
||||||
|
|
||||||
|
Your golden tokens can also be invested into upgrading the **Yuletide Stall**, another element of the garage that evolves as you level it up. Each upgrade unlocks new rewards, giving you incentives to distribute your tokens across different attractions instead of focusing on only one. The stall begins in a simple state, but after upgrades it transforms visually and functionally, becoming a more vibrant part of your garage.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Each upgrade unlocks a tier worth of rewards that you can claim in exchange for Free XP, Gold, Silver, and more Hot Coffees!
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Shooting Gallery
|
||||||
|
|
||||||
|
Another upgradeable area is the **Shooting Gallery**, which contributes its own set of rewards as it levels up. Enhancing the gallery expands your options for exchanging mastery badges, making those badges more useful during the event than they usually are.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Consider yourselves debriefed. Happy holidays!
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "blitzkit",
|
"name": "blitzkit",
|
||||||
"version": "1.29.3",
|
"version": "1.29.11",
|
||||||
"license": "BlitzKit License",
|
"license": "BlitzKit License",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
"build:website": "cd packages/website && bun run build",
|
"build:website": "cd packages/website && bun run build",
|
||||||
"build:prisma": "prisma generate",
|
"build:prisma": "prisma generate",
|
||||||
"build:proxyclient": "cd packages/scripts && bun run build:proxyclient",
|
"build:proxyclient": "cd packages/scripts && bun run build:proxyclient",
|
||||||
|
"build:catalogitemaccesssor": "cd packages/scripts && bun run build:catalogitemaccesssor",
|
||||||
"build:ratingleaderboard": "cd packages/scripts && bun run build:ratingleaderboard",
|
"build:ratingleaderboard": "cd packages/scripts && bun run build:ratingleaderboard",
|
||||||
"build:app": "cd packages/app && bun run build",
|
"build:app": "cd packages/app && bun run build",
|
||||||
"dev:bot": "bun run build:bot --dev && bun start:bot",
|
"dev:bot": "bun run build:bot --dev && bun start:bot",
|
||||||
@@ -34,7 +35,8 @@
|
|||||||
"build:reviews": "cd packages/scripts && bun build:reviews",
|
"build:reviews": "cd packages/scripts && bun build:reviews",
|
||||||
"build:ids": "cd packages/scripts && bun build:ids",
|
"build:ids": "cd packages/scripts && bun build:ids",
|
||||||
"prunestrings": "cd packages/scripts && bun prunestrings",
|
"prunestrings": "cd packages/scripts && bun prunestrings",
|
||||||
"setup": "bun install && bun run build:prisma && bun run build:protos && bun run build:proxyclient"
|
"setup": "bun install && bun run build:prisma && bun run build:protos && bun run build:proxyclient",
|
||||||
|
"patchnotes": "cd packages/scripts && bun run patchnotes"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
const seasonNumbers = range(
|
const seasonNumbers = range(
|
||||||
FIRST_MINIMAL_ARCHIVED_RATING_SEASON,
|
FIRST_MINIMAL_ARCHIVED_RATING_SEASON,
|
||||||
latestArchivedSeasonNumber + (onGoingSeason ? 1 : 0) + 1
|
latestArchivedSeasonNumber + (onGoingSeason ? 1 : 0) + 1
|
||||||
);
|
).slice(-25);
|
||||||
|
|
||||||
function addOptions(option: SlashCommandSubcommandBuilder) {
|
function addOptions(option: SlashCommandSubcommandBuilder) {
|
||||||
const { strings } = translator(Locale.EnglishUS);
|
const { strings } = translator(Locale.EnglishUS);
|
||||||
@@ -196,7 +196,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
strings.common.leagues as Record<string, string>
|
strings.common.leagues as Record<string, string>
|
||||||
)[name]
|
)[name]
|
||||||
),
|
),
|
||||||
}) satisfies APIApplicationCommandOptionChoice<string>
|
} satisfies APIApplicationCommandOptionChoice<string>)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.setRequired(true);
|
.setRequired(true);
|
||||||
@@ -219,8 +219,8 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
const season = seasonOption
|
const season = seasonOption
|
||||||
? parseInt(seasonOption)
|
? parseInt(seasonOption)
|
||||||
: onGoingSeason
|
: onGoingSeason
|
||||||
? latestArchivedSeasonNumber + 1
|
? latestArchivedSeasonNumber + 1
|
||||||
: latestArchivedSeasonNumber;
|
: latestArchivedSeasonNumber;
|
||||||
const isCurrentSeason = season === latestArchivedSeasonNumber + 1;
|
const isCurrentSeason = season === latestArchivedSeasonNumber + 1;
|
||||||
let titleName: string;
|
let titleName: string;
|
||||||
let titleImage: string | undefined;
|
let titleImage: string | undefined;
|
||||||
@@ -258,7 +258,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
position: player.number,
|
position: player.number,
|
||||||
clan: player.clan_tag,
|
clan: player.clan_tag,
|
||||||
nickname: player.nickname,
|
nickname: player.nickname,
|
||||||
}) satisfies SimplifiedPlayer
|
} satisfies SimplifiedPlayer)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
: await getArchivedRatingLeaderboard(region, season!).then(
|
: await getArchivedRatingLeaderboard(region, season!).then(
|
||||||
@@ -295,7 +295,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
.deleted_player,
|
.deleted_player,
|
||||||
{ id: player.id }
|
{ id: player.id }
|
||||||
),
|
),
|
||||||
}) satisfies SimplifiedPlayer
|
} satisfies SimplifiedPlayer)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@@ -349,7 +349,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
score: player.score,
|
score: player.score,
|
||||||
clan: player.clan_tag,
|
clan: player.clan_tag,
|
||||||
nickname: player.nickname,
|
nickname: player.nickname,
|
||||||
}) satisfies SimplifiedPlayer
|
} satisfies SimplifiedPlayer)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
: await getArchivedRatingLeaderboard(region, season!).then(
|
: await getArchivedRatingLeaderboard(region, season!).then(
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ export function localizationObject(
|
|||||||
(!strict || validNameRegex.test(translation)) && translation.length > 0;
|
(!strict || validNameRegex.test(translation)) && translation.length > 0;
|
||||||
|
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
console.warn(
|
// console.warn(
|
||||||
`Invalid localization for ${locale} (${path}): ${translation}; skipping...`
|
// `Invalid localization for ${locale} (${path}): ${translation}; skipping...`
|
||||||
);
|
// );
|
||||||
return localizations;
|
return localizations;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule packages/closed updated: 33b7d22419...5b4a85d503.
@@ -10,12 +10,14 @@
|
|||||||
"@octokit/rest": "^22.0.0",
|
"@octokit/rest": "^22.0.0",
|
||||||
"@prisma/client": "^6.16.2",
|
"@prisma/client": "^6.16.2",
|
||||||
"@types/adm-zip": "^0.5.7",
|
"@types/adm-zip": "^0.5.7",
|
||||||
|
"@types/bun": "^1.3.1",
|
||||||
"@types/lodash-es": "^4.17.12",
|
"@types/lodash-es": "^4.17.12",
|
||||||
"@types/lz4js": "^0.2.1",
|
"@types/lz4js": "^0.2.1",
|
||||||
"@types/three": "^0.180.0",
|
"@types/three": "^0.180.0",
|
||||||
"adm-zip": "^0.5.16",
|
"adm-zip": "^0.5.16",
|
||||||
"crc": "^4.3.2",
|
"crc": "^4.3.2",
|
||||||
"dotenv": "^17.2.2",
|
"dotenv": "^17.2.2",
|
||||||
|
"fast-xml-parser": "^5.3.2",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"lz4js": "^0.2.0",
|
"lz4js": "^0.2.0",
|
||||||
"pickleparser": "^0.2.1",
|
"pickleparser": "^0.2.1",
|
||||||
|
|||||||
@@ -1,32 +1,33 @@
|
|||||||
export * from './canSplash';
|
export * from "./canSplash";
|
||||||
export * from './clans';
|
export * from "./clans";
|
||||||
export * from './classes';
|
export * from "./classes";
|
||||||
export * from './constants';
|
export * from "./constants";
|
||||||
export * from './equipmentPrice';
|
export * from "./equipmentPrice";
|
||||||
export * from './fetchBlitz';
|
export * from "./fetchBlitz";
|
||||||
export * from './fetchGlossary';
|
export * from "./fetchGlossary";
|
||||||
export * from './generateStats';
|
export * from "./generateStats";
|
||||||
export * from './getAccountAchievements';
|
export * from "./getAccountAchievements";
|
||||||
export * from './getAccountInfo';
|
export * from "./getAccountInfo";
|
||||||
export * from './getClanAccountInfo';
|
export * from "./getClanAccountInfo";
|
||||||
export * from './getClanInfo';
|
export * from "./getClanInfo";
|
||||||
export * from './getLeagueFromScore';
|
export * from "./getLeagueFromScore";
|
||||||
export * from './getRatingInfo';
|
export * from "./getRatingInfo";
|
||||||
export * from './getRatingLeague';
|
export * from "./getRatingLeague";
|
||||||
export * from './getRatingNeighbors';
|
export * from "./getRatingNeighbors";
|
||||||
export * from './getTankStats';
|
export * from "./getTankStats";
|
||||||
export * from './idToRegion';
|
export * from "./idToRegion";
|
||||||
export * from './isOnGoingRatingSeason';
|
export * from "./isOnGoingRatingSeason";
|
||||||
export * from './isValidBlitzId';
|
export * from "./isValidBlitzId";
|
||||||
export * from './nations';
|
export * from "./nations";
|
||||||
export * from './normalizeExtra';
|
export * from "./normalizeExtra";
|
||||||
export * from './normalizeIds';
|
export * from "./normalizeIds";
|
||||||
export * from './permanentSkills';
|
export * from "./permanentSkills";
|
||||||
export * from './rating';
|
export * from "./rating";
|
||||||
export * from './regions';
|
export * from "./readDVPL";
|
||||||
export * from './regionSubdomainToRegion';
|
export * from "./regions";
|
||||||
export * from './regionToRegionSubdomain';
|
export * from "./regionSubdomainToRegion";
|
||||||
export * from './searchClansAcrossRegions';
|
export * from "./regionToRegionSubdomain";
|
||||||
export * from './searchCurrentRatingPlayers';
|
export * from "./searchClansAcrossRegions";
|
||||||
export * from './searchPlayersAcrossRegions';
|
export * from "./searchCurrentRatingPlayers";
|
||||||
export * from './toUniqueId';
|
export * from "./searchPlayersAcrossRegions";
|
||||||
|
export * from "./toUniqueId";
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import { crc32 } from 'crc';
|
import { crc32 } from "crc";
|
||||||
import { decompressBlock } from 'lz4js';
|
import { decompressBlock } from "lz4js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Thanks Maddoxkkm! Modified heavily to be modern.
|
* Thanks Maddoxkkm! Modified heavily to be modern.
|
||||||
@@ -9,10 +9,10 @@ export function readDVPL(buffer: Buffer) {
|
|||||||
const footerBuffer = buffer.subarray(buffer.length - 20, buffer.length);
|
const footerBuffer = buffer.subarray(buffer.length - 20, buffer.length);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
footerBuffer.toString('utf8', 16, 20) !== 'DVPL' ||
|
footerBuffer.toString("utf8", 16, 20) !== "DVPL" ||
|
||||||
footerBuffer.length !== 20
|
footerBuffer.length !== 20
|
||||||
) {
|
) {
|
||||||
throw new SyntaxError('Invalid DVPL footer');
|
throw new SyntaxError("Invalid DVPL footer");
|
||||||
}
|
}
|
||||||
|
|
||||||
const footerData = {
|
const footerData = {
|
||||||
@@ -24,15 +24,15 @@ export function readDVPL(buffer: Buffer) {
|
|||||||
const targetBlock = buffer.subarray(0, buffer.length - 20);
|
const targetBlock = buffer.subarray(0, buffer.length - 20);
|
||||||
|
|
||||||
if (targetBlock.length !== footerData.cSize) {
|
if (targetBlock.length !== footerData.cSize) {
|
||||||
throw new RangeError('DVPL size mismatch');
|
throw new RangeError("DVPL size mismatch");
|
||||||
}
|
}
|
||||||
if (crc32(targetBlock) !== footerData.crc32) {
|
if (crc32(targetBlock) !== footerData.crc32) {
|
||||||
throw new TypeError('DVPL CRC32 mismatch');
|
throw new TypeError("DVPL CRC32 mismatch");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (footerData.type === 0) {
|
if (footerData.type === 0) {
|
||||||
if (!(footerData.oSize === footerData.cSize && footerData.type === 0)) {
|
if (!(footerData.oSize === footerData.cSize && footerData.type === 0)) {
|
||||||
throw new RangeError('DVPL type and size mismatch');
|
throw new RangeError("DVPL type and size mismatch");
|
||||||
}
|
}
|
||||||
|
|
||||||
return targetBlock;
|
return targetBlock;
|
||||||
@@ -44,17 +44,17 @@ export function readDVPL(buffer: Buffer) {
|
|||||||
destination,
|
destination,
|
||||||
0,
|
0,
|
||||||
source.length,
|
source.length,
|
||||||
0,
|
0
|
||||||
);
|
);
|
||||||
|
|
||||||
if (decompressedSize !== footerData.oSize) {
|
if (decompressedSize !== footerData.oSize) {
|
||||||
throw new RangeError(
|
throw new RangeError(
|
||||||
`Decompressed DVPL size mismatch (${decompressedSize} vs ${footerData.oSize})`,
|
`Decompressed DVPL size mismatch (${decompressedSize} vs ${footerData.oSize})`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Buffer.from(destination);
|
return Buffer.from(destination);
|
||||||
} else {
|
} else {
|
||||||
throw new SyntaxError('Unknown DVPL format');
|
throw new SyntaxError("Unknown DVPL format");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { assertSecret } from './assertSecret';
|
import { assertSecret } from "./assertSecret";
|
||||||
|
|
||||||
export function asset(path: string) {
|
export function asset(path: string) {
|
||||||
return `${assertSecret(import.meta.env.PUBLIC_ASSET_BASE)}/${path}`;
|
return `${assertSecret(import.meta.env.PUBLIC_ASSET_BASE)}/${path}`;
|
||||||
|
|||||||
@@ -4,63 +4,54 @@ import {
|
|||||||
GunDefinition,
|
GunDefinition,
|
||||||
Provision,
|
Provision,
|
||||||
TankDefinition,
|
TankDefinition,
|
||||||
} from '../protos';
|
} from "../protos";
|
||||||
|
|
||||||
export function checkConsumableProvisionInclusivity(
|
export function checkConsumableProvisionInclusivity(
|
||||||
consumableProvision: Consumable | Provision,
|
consumableProvision: Consumable | Provision,
|
||||||
tank: TankDefinition,
|
tank: TankDefinition,
|
||||||
gun: GunDefinition,
|
gun: GunDefinition
|
||||||
) {
|
) {
|
||||||
const included =
|
const included = consumableProvision.include?.every((rule) => {
|
||||||
!consumableProvision.game_mode_exclusive &&
|
switch (rule.filter_type!.$case) {
|
||||||
consumableProvision.include?.every((rule) => {
|
case "tiers":
|
||||||
switch (rule.filter_type!.$case) {
|
return (
|
||||||
case 'tiers':
|
rule.filter_type!.value.min <= tank.tier &&
|
||||||
return (
|
tank.tier <= rule.filter_type!.value.max
|
||||||
rule.filter_type!.value.min <= tank.tier &&
|
);
|
||||||
tank.tier <= rule.filter_type!.value.max
|
|
||||||
);
|
|
||||||
|
|
||||||
case 'ids':
|
case "ids":
|
||||||
return rule.filter_type!.value.ids.includes(tank.id);
|
return rule.filter_type!.value.ids.includes(tank.id);
|
||||||
|
|
||||||
case 'nations':
|
case "nations":
|
||||||
return rule.filter_type!.value.nations.includes(tank.nation);
|
return rule.filter_type!.value.nations.includes(tank.nation);
|
||||||
|
|
||||||
case 'categories':
|
case "categories":
|
||||||
throw new SyntaxError('Category filtering found in include rule');
|
throw new SyntaxError("Category filtering found in include rule");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const excluded =
|
const excluded = consumableProvision.exclude?.some((rule) => {
|
||||||
consumableProvision.game_mode_exclusive ||
|
switch (rule.filter_type!.$case) {
|
||||||
consumableProvision.exclude?.some((rule) => {
|
case "tiers":
|
||||||
switch (rule.filter_type!.$case) {
|
return (
|
||||||
case 'tiers':
|
rule.filter_type!.value.min <= tank.tier &&
|
||||||
return (
|
tank.tier <= rule.filter_type!.value.max
|
||||||
rule.filter_type!.value.min <= tank.tier &&
|
);
|
||||||
tank.tier <= rule.filter_type!.value.max
|
|
||||||
);
|
|
||||||
|
|
||||||
case 'ids':
|
case "ids":
|
||||||
return rule.filter_type!.value.ids.includes(tank.id);
|
return rule.filter_type!.value.ids.includes(tank.id);
|
||||||
|
|
||||||
case 'nations':
|
case "nations":
|
||||||
return rule.filter_type!.value.nations.includes(tank.nation);
|
return rule.filter_type!.value.nations.includes(tank.nation);
|
||||||
|
|
||||||
case 'categories':
|
case "categories":
|
||||||
return rule.filter_type!.value.categories.some((category) => {
|
return rule.filter_type!.value.categories.some((category) => {
|
||||||
switch (category) {
|
switch (category) {
|
||||||
case ConsumableTankCategoryFilterCategory.CLIP:
|
case ConsumableTankCategoryFilterCategory.CLIP:
|
||||||
return gun.gun_type!.$case !== 'regular';
|
return gun.gun_type!.$case !== "regular";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return consumableProvision.include?.length > 0 && included && !excluded;
|
||||||
!consumableProvision.game_mode_exclusive &&
|
|
||||||
consumableProvision.include?.length > 0 &&
|
|
||||||
included &&
|
|
||||||
!excluded
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
@@ -17,7 +17,7 @@ export async function getArchivedLatestSeasonNumber() {
|
|||||||
if (ratingInfo.detail) {
|
if (ratingInfo.detail) {
|
||||||
const regionsURL = (
|
const regionsURL = (
|
||||||
(await fetch(
|
(await fetch(
|
||||||
`https://api.github.com/repos/tresabhi/${assertSecret(
|
`https://api.github.com/repos/${assertSecret(
|
||||||
import.meta.env.PUBLIC_ASSET_REPO
|
import.meta.env.PUBLIC_ASSET_REPO
|
||||||
)}/git/trees/main`
|
)}/git/trees/main`
|
||||||
).then((response) => response.json())) as GitHubTrees
|
).then((response) => response.json())) as GitHubTrees
|
||||||
|
|||||||
+10
-10
@@ -1,10 +1,10 @@
|
|||||||
export * from './blitz';
|
export * from "./blitz";
|
||||||
export * from './blitzkit';
|
export * from "./blitzkit";
|
||||||
export * from './imgur';
|
export * from "./imgur";
|
||||||
export * from './math';
|
export * from "./math";
|
||||||
export * from './patreon';
|
export * from "./patreon";
|
||||||
export * from './protobuf';
|
export * from "./protobuf";
|
||||||
export * from './protos';
|
export * from "./protos";
|
||||||
export * from './statistics';
|
export * from "./statistics";
|
||||||
export * from './streams';
|
export * from "./streams";
|
||||||
export * from './types';
|
export * from "./types";
|
||||||
@@ -15,7 +15,8 @@
|
|||||||
"hp": "{value}hp",
|
"hp": "{value}hp",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}°/s"
|
"deg_s": "{value}°/s",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
|
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
@@ -26,8 +27,8 @@
|
|||||||
|
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "AP",
|
"ap": "AP",
|
||||||
"apcr": "APCR",
|
"ap_cr": "APCR",
|
||||||
"heat": "HEAT",
|
"hc": "HEAT",
|
||||||
"he": "HE"
|
"he": "HE"
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -759,11 +760,17 @@
|
|||||||
"count_singular": "1 tank",
|
"count_singular": "1 tank",
|
||||||
"count_plural": "{count} tanks",
|
"count_plural": "{count} tanks",
|
||||||
"sorting_by": "Sorting by {name}",
|
"sorting_by": "Sorting by {name}",
|
||||||
|
"clear": "Clear",
|
||||||
|
"tier": "Tier {tier}",
|
||||||
|
"passive": "{name} (Passive)",
|
||||||
|
"active": "{name} (Active)",
|
||||||
|
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "No tanks found.",
|
"body": "No tanks found.",
|
||||||
"search_again": "Try searching again.",
|
"search_again": "Try searching again.",
|
||||||
"clear_filters": "Try clearing filters."
|
"clear_filters": "Try clearing filters."
|
||||||
},
|
},
|
||||||
|
|
||||||
"sort": {
|
"sort": {
|
||||||
"meta.none": "none",
|
"meta.none": "none",
|
||||||
"survivability.health": "health",
|
"survivability.health": "health",
|
||||||
@@ -906,8 +913,8 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "Guess the tank",
|
"name": "Guess",
|
||||||
"button": "Guess away",
|
"button": "What could it be?",
|
||||||
"description": "Silhouette mini-game",
|
"description": "Silhouette mini-game",
|
||||||
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -917,7 +924,16 @@
|
|||||||
"next": "Next",
|
"next": "Next",
|
||||||
"no_results": "No results"
|
"no_results": "No results"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} guessed correctly"
|
"stats": "{correct} / {total} correct, {streak} streak",
|
||||||
|
"help": {
|
||||||
|
"title": "Partially reveal tank?",
|
||||||
|
"description": "Reveals the tank without showing the name. This round will be considered incorrect and break your streak!",
|
||||||
|
"cancel": "Cancel",
|
||||||
|
"reveal": "Reveal"
|
||||||
|
},
|
||||||
|
"clear": "Clear",
|
||||||
|
"select_all": "Select all",
|
||||||
|
"tier": "Tier {tier}"
|
||||||
},
|
},
|
||||||
|
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
@@ -1267,10 +1283,12 @@
|
|||||||
"upgrade": "Upgrade"
|
"upgrade": "Upgrade"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "Clear"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "Clear"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
"hp": "{value}hp",
|
"hp": "{value}hp",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}°/s"
|
"deg_s": "{value}°/s",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
"auto_loader": "Auto cargador",
|
"auto_loader": "Auto cargador",
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "AP",
|
"ap": "AP",
|
||||||
"apcr": "APCR",
|
"ap_cr": "APCR",
|
||||||
"heat": "AEAC",
|
"hc": "HEAT",
|
||||||
"he": "AE"
|
"he": "AE"
|
||||||
},
|
},
|
||||||
"player_count_period": {
|
"player_count_period": {
|
||||||
@@ -668,6 +669,10 @@
|
|||||||
"count_singular": "1 tanque",
|
"count_singular": "1 tanque",
|
||||||
"count_plural": "{count} tanks",
|
"count_plural": "{count} tanks",
|
||||||
"sorting_by": "Sorting by {name}",
|
"sorting_by": "Sorting by {name}",
|
||||||
|
"clear": "Limpiar",
|
||||||
|
"tier": "Tier {tier}",
|
||||||
|
"passive": "{name} (Passive)",
|
||||||
|
"active": "{name} (Active)",
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "No se encontraron tanques.",
|
"body": "No se encontraron tanques.",
|
||||||
"search_again": "Intenta buscar de nuevo.",
|
"search_again": "Intenta buscar de nuevo.",
|
||||||
@@ -803,8 +808,8 @@
|
|||||||
"randomize": "Randomize"
|
"randomize": "Randomize"
|
||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "Guess the tank",
|
"name": "Guess",
|
||||||
"button": "Guess away",
|
"button": "What could it be?",
|
||||||
"description": "Silhouette mini-game",
|
"description": "Silhouette mini-game",
|
||||||
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -814,7 +819,16 @@
|
|||||||
"next": "Next",
|
"next": "Next",
|
||||||
"no_results": "Sin resultados"
|
"no_results": "Sin resultados"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} guessed correctly"
|
"stats": "{correct} / {total} correct, {streak} streak",
|
||||||
|
"help": {
|
||||||
|
"title": "Partially reveal tank?",
|
||||||
|
"description": "Reveals the tank without showing the name. This round will be considered incorrect and break your streak!",
|
||||||
|
"cancel": "Cancelar",
|
||||||
|
"reveal": "Reveal"
|
||||||
|
},
|
||||||
|
"clear": "Limpiar",
|
||||||
|
"select_all": "Seleccionar todo",
|
||||||
|
"tier": "Tier {tier}"
|
||||||
},
|
},
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
"search": "Search a stat...",
|
"search": "Search a stat...",
|
||||||
@@ -1135,10 +1149,12 @@
|
|||||||
"upgrade": "Mejorar"
|
"upgrade": "Mejorar"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "Limpiar"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "Limpiar"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
+111
-95
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"test": {
|
"test": {
|
||||||
"default": "teste",
|
"default": "teste",
|
||||||
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
|
"long": "Ceci est une longue chaîne de test. Vous ne DEVEZ JAMAIS le voir dans l'interface utilisateur. Mon fruit préféré est {fruit}, car il a la couleur {color}. Je l'aime tellement que je vais dire son nom 3 fois ! {fruit}! {fruit}! {fruit} ! Encore une fois, c'est {color}, pas {not_color}.",
|
||||||
"fox": "Le renard brun et rapide saute par-dessus le chien paresseux."
|
"fox": "Le renard brun et rapide saute par-dessus le chien paresseux."
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
@@ -10,10 +10,11 @@
|
|||||||
"m": "{value}m",
|
"m": "{value}m",
|
||||||
"mm": "{value}mm",
|
"mm": "{value}mm",
|
||||||
"deg": "{value}°",
|
"deg": "{value}°",
|
||||||
"hp": "{value}hp",
|
"hp": "{value}pv",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}°/s"
|
"deg_s": "{value}°/s",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
"auto_loader": "Chargement auto",
|
"auto_loader": "Chargement auto",
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "AP",
|
"ap": "AP",
|
||||||
"apcr": "APCR",
|
"ap_cr": "APCR",
|
||||||
"heat": "HEAT",
|
"hc": "HEAT",
|
||||||
"he": "HE"
|
"he": "HE"
|
||||||
},
|
},
|
||||||
"player_count_period": {
|
"player_count_period": {
|
||||||
@@ -186,11 +187,11 @@
|
|||||||
"bot": {
|
"bot": {
|
||||||
"common": {
|
"common": {
|
||||||
"errors": {
|
"errors": {
|
||||||
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
|
"clan_not_found": "# Impossible de trouver le clan\nImpossible de trouver «{search} ». Essayez de sélectionner un clan dans le résultat de la recherche.",
|
||||||
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
|
"player_not_found": "# Impossible de trouver l'utilisateur\nJe n'ai pas pu trouver l'utilisateur \"{search}\". Essayez de choisir un utilisateur dans le résultat de la recherche, en tapant un nom d'utilisateur valide, ou en utilisant la commande `/link`.",
|
||||||
"player_not_linked": "# Utilisez `/link` pour commencer\nJe ne sais pas qui vous êtes, mais vous pouvez me le dire aujourd'hui !",
|
"player_not_linked": "# Utilisez `/link` pour commencer\nJe ne sais pas qui vous êtes, mais vous pouvez me le dire aujourd'hui !",
|
||||||
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
|
"tank_name_not_found": "# Char introuvable\nImpossible de trouver le char sous le nom \"{search}\".",
|
||||||
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
|
"tank_id_not_found": "# Char introuvable\nImpossible de trouver le char avec l'ID \"{search}\". Essayez de taper le nom du char au lieu d'un nombre.",
|
||||||
"no_tank_stats": "# Aucune statistique de tank disponible\nCe joueur n'a pas de statistiques disponibles. Ce n'est peut-être pas le joueur que vous cherchez.",
|
"no_tank_stats": "# Aucune statistique de tank disponible\nCe joueur n'a pas de statistiques disponibles. Ce n'est peut-être pas le joueur que vous cherchez.",
|
||||||
"get_help": "Aidez le serveur Discord",
|
"get_help": "Aidez le serveur Discord",
|
||||||
"uncaught_error": "# Blitzkit a rencontré une erreur !\nNous sommes désolés de cela. N'hésitez pas à [rejoindre le serveur officiel Discord](https://discord.gg/nDt7AjGJQH) pour obtenir de l'aide.",
|
"uncaught_error": "# Blitzkit a rencontré une erreur !\nNous sommes désolés de cela. N'hésitez pas à [rejoindre le serveur officiel Discord](https://discord.gg/nDt7AjGJQH) pour obtenir de l'aide.",
|
||||||
@@ -284,19 +285,19 @@
|
|||||||
"name": "rang",
|
"name": "rang",
|
||||||
"description": "Rang",
|
"description": "Rang",
|
||||||
"choices": {
|
"choices": {
|
||||||
"tier": "Tier {tier_1} - {tier_2}"
|
"tier": "Rang {tier_}1 - {tier_}2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"periods": {
|
"periods": {
|
||||||
"career": "Carrière",
|
"career": "Carrière",
|
||||||
"today": "Aujourd'hui",
|
"today": "Aujourd'hui",
|
||||||
"days": "{days} days",
|
"days": "{days} jours",
|
||||||
"custom": "{day_1} - {day_2} days"
|
"custom": "{day_1} - {day_2} jours"
|
||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"none": "Aucun filtre",
|
"none": "Aucun filtre",
|
||||||
"tier": "Tier {tier}"
|
"tier": "Rang {tier}"
|
||||||
},
|
},
|
||||||
"no_data": {
|
"no_data": {
|
||||||
"battles_in_period": "",
|
"battles_in_period": "",
|
||||||
@@ -339,19 +340,19 @@
|
|||||||
"body": {
|
"body": {
|
||||||
"subtitle": "Recherche",
|
"subtitle": "Recherche",
|
||||||
"total": "Total",
|
"total": "Total",
|
||||||
"research": "Research: {cost}",
|
"research": "Recherche : {cost}",
|
||||||
"upgrades": "Upgrades: {cost}",
|
"upgrades": "Améliorations : {cost}",
|
||||||
"purchase": "Purchase: {cost}",
|
"purchase": "Achat : {cost}",
|
||||||
"equipment": "Equipment: {cost}",
|
"equipment": "Équipement : {cost}",
|
||||||
"estimation": "# Ceci est une estimation !\n\nCette liste peut inclure des chars déjà recherchés en raison de l'information inexacte fournie par Wargaming. Essayez de fournir un `char de départ` depuis la ligne lorsque vous utilisez la commande si vous le pouvez."
|
"estimation": "# Ceci est une estimation !\n\nCette liste peut inclure des chars déjà recherchés en raison de l'information inexacte fournie par Wargaming. Essayez de fournir un `char de départ` depuis la ligne lorsque vous utilisez la commande si vous le pouvez."
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
|
"non_tech_tree": "# {tank} n'est pas dans l'arbre technologique\n\nVous ne pouvez pas rechercher un char premium/de collection.",
|
||||||
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
|
"tier_1": "# {tank} est un char de rang I\n\nLe char de rang 1 sont déverrouillé gratuitement pour tous les joueurs.",
|
||||||
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
|
"already_researched": "# {tank} est déjà recherché\n\nEssayez de fournir un `char de départ` en utilisant la commande pour voir la progression d'une lignée.",
|
||||||
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
|
"start_end_equal": "# {tank} a été fourni deux fois\n\nAssurez-vous que `starting-tank` et `target-tank` sont différents.",
|
||||||
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
|
"tanks_not_on_line": "{tank_}1 et {tank_}2 ne sont pas sur la même ligne \n\nAssurez-vous que `starting-tank` et `target-tank` sont sur la même ligne d'arbre technologique.",
|
||||||
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
|
"unordered": "# {tank_1} niveau supérieur à {tank_2}\n\nAssurez-vous de fournir {tank_2} comme le `starting-tank` à la place car c'est le char de niveau inférieur."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"about": {
|
"about": {
|
||||||
@@ -394,7 +395,7 @@
|
|||||||
"wn8": "WN8",
|
"wn8": "WN8",
|
||||||
"winrate": "Taux de victoires",
|
"winrate": "Taux de victoires",
|
||||||
"damage": "Dégâts",
|
"damage": "Dégâts",
|
||||||
"unknown_tank": "Unknown tank {id}"
|
"unknown_tank": "Char {id} inconnu"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
@@ -430,12 +431,12 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"threshold": {
|
"threshold": {
|
||||||
"name": "seuil",
|
"name": "seuil",
|
||||||
"description": "The number of days inactive (default: {days} days)"
|
"description": "Le nombre de jours inactifs (par défaut: {days} jours)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"subtitle": "Inactive for {days}+ days",
|
"subtitle": "Inactif depuis plus de {days} jours",
|
||||||
"listing": "{days} days"
|
"listing": "{days} jours"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"full_stats": {
|
"full_stats": {
|
||||||
@@ -478,7 +479,7 @@
|
|||||||
"body": {
|
"body": {
|
||||||
"accounts_linked": "Comptes liés",
|
"accounts_linked": "Comptes liés",
|
||||||
"no_role_permissions": {
|
"no_role_permissions": {
|
||||||
"title": "{name} failed to verify",
|
"title": "La vérification de {name} a échouée",
|
||||||
"description": "Je n'ai pas l'autorisation de gérer les rôles."
|
"description": "Je n'ai pas l'autorisation de gérer les rôles."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -493,11 +494,11 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"limit": {
|
"limit": {
|
||||||
"name": "limite",
|
"name": "limite",
|
||||||
"description": "The max number of clan results (default: {limit})"
|
"description": "Nombre maximum de résultats du clan (par défaut: {limit})"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"title": "Clan search for {search} in region {region}",
|
"title": "Recherche de clan {search} dans la région {region}",
|
||||||
"no_results": "Pas de clan trouvé"
|
"no_results": "Pas de clan trouvé"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -507,11 +508,11 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"limit": {
|
"limit": {
|
||||||
"name": "limite",
|
"name": "limite",
|
||||||
"description": "The max number of player results (default: {limit})"
|
"description": "Le nombre maximum de résultats de joueur (par défaut: {limit})"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"title": "Player search for {search} in region {region}",
|
"title": "Recherche de {search} dans la région {region}",
|
||||||
"no_results": "Pas de joueur de trouvé"
|
"no_results": "Pas de joueur de trouvé"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -531,13 +532,13 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"limit": {
|
"limit": {
|
||||||
"name": "limite",
|
"name": "limite",
|
||||||
"description": "How many neighbors to display (default: {count})"
|
"description": "Combien de voisins afficher (par défaut : {count})"
|
||||||
},
|
},
|
||||||
"season": {
|
"season": {
|
||||||
"name": "saison",
|
"name": "saison",
|
||||||
"description": "Numéro de saison (défaut : courant)",
|
"description": "Numéro de saison (défaut : courant)",
|
||||||
"choices": {
|
"choices": {
|
||||||
"current": "{season} (current)"
|
"current": "{season} (actuel)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"league": {
|
"league": {
|
||||||
@@ -546,12 +547,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"top_players": "Top {count} players",
|
"top_players": "Top {count} joueurs",
|
||||||
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
|
"no_participation": "# {player} n'a pas joué de cotées dans la saison {season}\n\nCe joueur n'a pas participé à cette saison ou n'a pas dépassé l'étalonnage.",
|
||||||
"no_ongoing_season": "Pas de saison en cours\n\nIl n'y a pas de saison de notation en cours actuellement.",
|
"no_ongoing_season": "Pas de saison en cours\n\nIl n'y a pas de saison de notation en cours actuellement.",
|
||||||
"deleted_player": "Deleted {id}",
|
"deleted_player": "{id} supprimé",
|
||||||
"neighbors": "évaluer les voisins",
|
"neighbors": "évaluer les voisins",
|
||||||
"more": "+ {count} more"
|
"more": "+ {count} plus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"today": {
|
"today": {
|
||||||
@@ -566,7 +567,7 @@
|
|||||||
"name": "chars possédés",
|
"name": "chars possédés",
|
||||||
"description": "Affiche tous les chars d'un niveau",
|
"description": "Affiche tous les chars d'un niveau",
|
||||||
"body": {
|
"body": {
|
||||||
"title": "# {name}'s owned tier {tier} tanks\n\n"
|
"title": "# Les chars du palier {tier} possédés par {name}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
@@ -602,92 +603,96 @@
|
|||||||
"name": "info-joueur",
|
"name": "info-joueur",
|
||||||
"description": "Informations de base sur un joueur",
|
"description": "Informations de base sur un joueur",
|
||||||
"body": {
|
"body": {
|
||||||
"title": "{name}'s information",
|
"title": "Informations de {name}",
|
||||||
"nickname": "Nickname",
|
"nickname": "Pseudo",
|
||||||
"battles": "Batailles",
|
"battles": "Batailles",
|
||||||
"winrate": "Taux de victoires",
|
"winrate": "Taux de victoires",
|
||||||
"account_id": "Account ID",
|
"account_id": "Account ID",
|
||||||
"created": "Created",
|
"created": "Créé",
|
||||||
"last_battle": "Last battle"
|
"last_battle": "Dernière bataille"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rating": {
|
"rating": {
|
||||||
"name": "rating",
|
"name": "côtée",
|
||||||
"description": "Rating player's statistics",
|
"description": "Statistiques des batailles cotées du joueur",
|
||||||
"subcommands": {
|
"subcommands": {
|
||||||
"today": {
|
"today": {
|
||||||
"name": "aujourd'hui",
|
"name": "aujourd'hui",
|
||||||
"description": "Today's rating statistics"
|
"description": "Statistiques des batailles cotées d'aujourd'hui"
|
||||||
},
|
},
|
||||||
"season": {
|
"season": {
|
||||||
"name": "saison",
|
"name": "saison",
|
||||||
"description": "This season's rating statistics"
|
"description": "Statistiques des batailles cotées de cette saison"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"subtitle": {
|
"subtitle": {
|
||||||
"today": "Today's rating statistics",
|
"today": "Statistiques de batailles cotées d'aujourd'hui",
|
||||||
"season": "This season's rating statistics"
|
"season": "Statistiques de batailles cotées cette saison"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
|
"no_participation": "# {name} n’a pas joué en cotée\n\nCe joueur n’a pas participé au mode cotée cette saison.",
|
||||||
"unrecorded_stats": "# Statistics currently unavailable\n\nWargaming may be currently be facing server downtime. If there is an on-going season, statistics should be available withing 24 hours."
|
"unrecorded_stats": "# Statistiques actuellement indisponibles\n\nWargaming rencontre peut-être une interruption de service.\nSi une saison est en cours, les statistiques devraient être disponibles sous 24 heures."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"website": {
|
"website": {
|
||||||
"redirect": {
|
"redirect": {
|
||||||
"title": "301: moved permanently",
|
"title": "301 : déplacé définitivement",
|
||||||
"body": "This page has moved. Redirecting..."
|
"body": "Cette page a été déplacée. Redirection en cours…"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"title": "Settings",
|
"title": "Paramètres",
|
||||||
"description": "Change BlitzKit settings",
|
"description": "Modifier les paramètres de BlitzKit",
|
||||||
"dev_mode": "Development mode",
|
"dev_mode": "Mode développement",
|
||||||
"language": "Language"
|
"language": "Langue"
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"player_search": {
|
"player_search": {
|
||||||
"hint": "Search players...",
|
"hint": "Recherche de joueurs...",
|
||||||
"no_results": "No results",
|
"no_results": "Aucun résultat",
|
||||||
"searching": "Searching..."
|
"searching": "Recherche..."
|
||||||
},
|
},
|
||||||
"copy_button": {
|
"copy_button": {
|
||||||
"copied": "Copied!"
|
"copied": "Copié !"
|
||||||
},
|
},
|
||||||
"tank_search": {
|
"tank_search": {
|
||||||
"select_dialog_title": "Search for tanks",
|
"select_dialog_title": "Recherche de chars",
|
||||||
"swap_dialog_title": "Swap tank",
|
"swap_dialog_title": "Échanger le char",
|
||||||
"clear_filters": "Clear filters",
|
"clear_filters": "Supprimer les filtres",
|
||||||
"login": "Login to use this",
|
"login": "Connectez-vous pour utiliser ceci",
|
||||||
"search_bar_hint": "Search tanks...",
|
"search_bar_hint": "Recherche des tanks...",
|
||||||
"recent": "Recently viewed",
|
"recent": "Vu récemment",
|
||||||
"select_all": "Select all",
|
"select_all": "Sélectionner tout",
|
||||||
"count_singular": "1 tank",
|
"count_singular": "1 char",
|
||||||
"count_plural": "{count} tanks",
|
"count_plural": "{count} chars",
|
||||||
"sorting_by": "Sorting by {name}",
|
"sorting_by": "Trier par {name}",
|
||||||
|
"clear": "Effacer",
|
||||||
|
"tier": "Rang {tier}",
|
||||||
|
"passive": "{name} (Passif)",
|
||||||
|
"active": "{name} (actif)",
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "No tanks found.",
|
"body": "Aucun tank trouvé.",
|
||||||
"search_again": "Try searching again.",
|
"search_again": "Essayez de chercher à nouveau.",
|
||||||
"clear_filters": "Try clearing filters."
|
"clear_filters": "Essayez de supprimer les filtres."
|
||||||
},
|
},
|
||||||
"sort": {
|
"sort": {
|
||||||
"meta.none": "none",
|
"meta.none": "aucun",
|
||||||
"survivability.health": "health",
|
"survivability.health": "santé",
|
||||||
"survivability.viewRange": "view range",
|
"survivability.viewRange": "portée de vue",
|
||||||
"survivability.camouflageStill": "camouflage still",
|
"survivability.camouflageStill": "camouflage à l’arrêt",
|
||||||
"survivability.camouflageMoving": "camouflage moving",
|
"survivability.camouflageMoving": "camouflage en movement",
|
||||||
"survivability.camouflageShooting": "camouflage shooting",
|
"survivability.camouflageShooting": "camouflage en tirant",
|
||||||
"survivability.volume": "volume",
|
"survivability.volume": "volume",
|
||||||
"survivability.length": "length",
|
"survivability.length": "longueur",
|
||||||
"fire.dpm": "standard DPM",
|
"fire.dpm": "DPM standard",
|
||||||
"fire.dpmPremium": "premium DPM",
|
"fire.dpmPremium": "DPM premium",
|
||||||
"fire.reload": "reload",
|
"fire.reload": "rechargement",
|
||||||
"fire.caliber": "caliber",
|
"fire.caliber": "calibration",
|
||||||
"fire.standardPenetration": "standard penetration",
|
"fire.standardPenetration": "pénétration standard",
|
||||||
"fire.premiumPenetration": "premium penetration",
|
"fire.premiumPenetration": "pénétration premium",
|
||||||
"fire.tertiaryPenetration": "tertiary penetration",
|
"fire.tertiaryPenetration": "tertiary penetration",
|
||||||
"fire.damage": "damage",
|
"fire.damage": "damage",
|
||||||
"fire.moduleDamage": "module damage",
|
"fire.moduleDamage": "module damage",
|
||||||
@@ -803,8 +808,8 @@
|
|||||||
"randomize": "Randomize"
|
"randomize": "Randomize"
|
||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "Guess the tank",
|
"name": "Guess",
|
||||||
"button": "Guess away",
|
"button": "What could it be?",
|
||||||
"description": "Silhouette mini-game",
|
"description": "Silhouette mini-game",
|
||||||
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -812,9 +817,18 @@
|
|||||||
"skip": "Skip",
|
"skip": "Skip",
|
||||||
"guess": "Guess",
|
"guess": "Guess",
|
||||||
"next": "Next",
|
"next": "Next",
|
||||||
"no_results": "No results"
|
"no_results": "Aucun résultat"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} guessed correctly"
|
"stats": "{correct} / {total} guessed correctly",
|
||||||
|
"help": {
|
||||||
|
"title": "Partially reveal tank?",
|
||||||
|
"description": "Reveals the tank without showing the name. This round will be considered incorrect and break your streak!",
|
||||||
|
"cancel": "Cancel",
|
||||||
|
"reveal": "Reveal"
|
||||||
|
},
|
||||||
|
"clear": "Clear",
|
||||||
|
"select_all": "Sélectionner tout",
|
||||||
|
"tier": "Rang {tier}"
|
||||||
},
|
},
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
"search": "Search a stat...",
|
"search": "Search a stat...",
|
||||||
@@ -1135,10 +1149,12 @@
|
|||||||
"upgrade": "Upgrade"
|
"upgrade": "Upgrade"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "Clear"
|
"clear": "Clear",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "Clear"
|
"clear": "Clear",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1195,8 +1211,8 @@
|
|||||||
"seo_description": "Track your stats in real time as you play World of Tanks Blitz",
|
"seo_description": "Track your stats in real time as you play World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
"lookup": "Look up a player to get started",
|
"lookup": "Look up a player to get started",
|
||||||
"hint": "Search players...",
|
"hint": "Recherche de joueurs...",
|
||||||
"searching": "Searching...",
|
"searching": "Recherche...",
|
||||||
"no_results": "Pas de joueur de trouvé"
|
"no_results": "Pas de joueur de trouvé"
|
||||||
},
|
},
|
||||||
"controls": {
|
"controls": {
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
"hp": "{value}hp",
|
"hp": "{value}hp",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}°/s"
|
"deg_s": "{value}°/s",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
"auto_loader": "自動装填砲",
|
"auto_loader": "自動装填砲",
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "AP",
|
"ap": "AP",
|
||||||
"apcr": "APCR",
|
"ap_cr": "APCR",
|
||||||
"heat": "HEAT",
|
"hc": "HEAT",
|
||||||
"he": "HE"
|
"he": "HE"
|
||||||
},
|
},
|
||||||
"player_count_period": {
|
"player_count_period": {
|
||||||
@@ -186,11 +187,11 @@
|
|||||||
"bot": {
|
"bot": {
|
||||||
"common": {
|
"common": {
|
||||||
"errors": {
|
"errors": {
|
||||||
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
|
"clan_not_found": "",
|
||||||
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
|
"player_not_found": "# ユーザーが見つかりませんでした\nユーザー「{search}」が見つかりませんでした。検索結果からユーザーを選択するか、有効なユーザー名を入力するか、/link コマンドを使用してください。",
|
||||||
"player_not_linked": "# `/link`を使用して始めましょう\nはじめまして!あなたが誰か、私に教えてください。",
|
"player_not_linked": "# `/link`を使用して始めましょう\nはじめまして!あなたが誰か、私に教えてください。",
|
||||||
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
|
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
|
||||||
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
|
"tank_id_not_found": "# 車両が見つかりません\nID「{search}」の戦車が見つかりませんでした。数字ではなく戦車の名前を入力してみてください。",
|
||||||
"no_tank_stats": "# 利用可能な車輌統計がありません\nこのプレイヤーには利用可能な統計がありません。あなたが探しているプレイヤーではない可能性があります。",
|
"no_tank_stats": "# 利用可能な車輌統計がありません\nこのプレイヤーには利用可能な統計がありません。あなたが探しているプレイヤーではない可能性があります。",
|
||||||
"get_help": "Discordサーバーに参加する",
|
"get_help": "Discordサーバーに参加する",
|
||||||
"uncaught_error": "# BlitzKitがエラーに遭遇しました!\n申し訳ありません。お気軽に[公式Discordサーバー](https://discord.gg/nDt7AjGJQH)にお問い合わせください。",
|
"uncaught_error": "# BlitzKitがエラーに遭遇しました!\n申し訳ありません。お気軽に[公式Discordサーバー](https://discord.gg/nDt7AjGJQH)にお問い合わせください。",
|
||||||
@@ -394,7 +395,7 @@
|
|||||||
"wn8": "WN8",
|
"wn8": "WN8",
|
||||||
"winrate": "勝率",
|
"winrate": "勝率",
|
||||||
"damage": "ダメージ",
|
"damage": "ダメージ",
|
||||||
"unknown_tank": "Unknown tank {id}"
|
"unknown_tank": "不明な車両{id}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
@@ -559,7 +560,7 @@
|
|||||||
"description": "Today's played tanks and statistics"
|
"description": "Today's played tanks and statistics"
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"name": "stats",
|
"name": "",
|
||||||
"description": "Quick statistics for a period"
|
"description": "Quick statistics for a period"
|
||||||
},
|
},
|
||||||
"owned_tanks": {
|
"owned_tanks": {
|
||||||
@@ -668,6 +669,10 @@
|
|||||||
"count_singular": "1 輌",
|
"count_singular": "1 輌",
|
||||||
"count_plural": "{count} tanks",
|
"count_plural": "{count} tanks",
|
||||||
"sorting_by": "Sorting by {name}",
|
"sorting_by": "Sorting by {name}",
|
||||||
|
"clear": "クリア",
|
||||||
|
"tier": "Tier {tier}",
|
||||||
|
"passive": "{name} (Passive)",
|
||||||
|
"active": "{name} (Active)",
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "該当する車輌が存在しません。",
|
"body": "該当する車輌が存在しません。",
|
||||||
"search_again": "もう一度検索してください。",
|
"search_again": "もう一度検索してください。",
|
||||||
@@ -778,7 +783,7 @@
|
|||||||
"tank": "車輌名",
|
"tank": "車輌名",
|
||||||
"last_played": "Last played",
|
"last_played": "Last played",
|
||||||
"battles": "Career battles",
|
"battles": "Career battles",
|
||||||
"unrecorded": "--",
|
"unrecorded": "",
|
||||||
"wins": "勝利"
|
"wins": "勝利"
|
||||||
},
|
},
|
||||||
"large_warning": {
|
"large_warning": {
|
||||||
@@ -803,8 +808,8 @@
|
|||||||
"randomize": "Randomize"
|
"randomize": "Randomize"
|
||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "Guess the tank",
|
"name": "Guess",
|
||||||
"button": "Guess away",
|
"button": "What could it be?",
|
||||||
"description": "Silhouette mini-game",
|
"description": "Silhouette mini-game",
|
||||||
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -814,7 +819,16 @@
|
|||||||
"next": "Next",
|
"next": "Next",
|
||||||
"no_results": "該当なし"
|
"no_results": "該当なし"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} guessed correctly"
|
"stats": "{correct} / {total} correct, {streak} streak",
|
||||||
|
"help": {
|
||||||
|
"title": "Partially reveal tank?",
|
||||||
|
"description": "Reveals the tank without showing the name. This round will be considered incorrect and break your streak!",
|
||||||
|
"cancel": "Cancel",
|
||||||
|
"reveal": "Reveal"
|
||||||
|
},
|
||||||
|
"clear": "クリア",
|
||||||
|
"select_all": "全て選択",
|
||||||
|
"tier": "Tier {tier}"
|
||||||
},
|
},
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
"search": "Search a stat...",
|
"search": "Search a stat...",
|
||||||
@@ -1135,10 +1149,12 @@
|
|||||||
"upgrade": "最終装備"
|
"upgrade": "最終装備"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "クリア"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "クリア"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
"hp": "{value}hp",
|
"hp": "{value}hp",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}°/s"
|
"deg_s": "{value}°/s",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
"auto_loader": "Auto loader",
|
"auto_loader": "Auto loader",
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "AP",
|
"ap": "AP",
|
||||||
"apcr": "APCR",
|
"ap_cr": "APCR",
|
||||||
"heat": "HEAT",
|
"hc": "HEAT",
|
||||||
"he": "OB"
|
"he": "OB"
|
||||||
},
|
},
|
||||||
"player_count_period": {
|
"player_count_period": {
|
||||||
@@ -668,6 +669,10 @@
|
|||||||
"count_singular": "1 tank",
|
"count_singular": "1 tank",
|
||||||
"count_plural": "{count} tanks",
|
"count_plural": "{count} tanks",
|
||||||
"sorting_by": "Sorting by {name}",
|
"sorting_by": "Sorting by {name}",
|
||||||
|
"clear": "Clear",
|
||||||
|
"tier": "Tier {tier}",
|
||||||
|
"passive": "{name} (Passive)",
|
||||||
|
"active": "{name} (Active)",
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "No tanks found.",
|
"body": "No tanks found.",
|
||||||
"search_again": "Try searching again.",
|
"search_again": "Try searching again.",
|
||||||
@@ -803,8 +808,8 @@
|
|||||||
"randomize": "Randomize"
|
"randomize": "Randomize"
|
||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "Guess the tank",
|
"name": "Guess",
|
||||||
"button": "Guess away",
|
"button": "What could it be?",
|
||||||
"description": "Silhouette mini-game",
|
"description": "Silhouette mini-game",
|
||||||
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -814,7 +819,16 @@
|
|||||||
"next": "Next",
|
"next": "Next",
|
||||||
"no_results": "Brak wyników"
|
"no_results": "Brak wyników"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} guessed correctly"
|
"stats": "{correct} / {total} correct, {streak} streak",
|
||||||
|
"help": {
|
||||||
|
"title": "Partially reveal tank?",
|
||||||
|
"description": "Reveals the tank without showing the name. This round will be considered incorrect and break your streak!",
|
||||||
|
"cancel": "Cancel",
|
||||||
|
"reveal": "Reveal"
|
||||||
|
},
|
||||||
|
"clear": "Clear",
|
||||||
|
"select_all": "Select all",
|
||||||
|
"tier": "Tier {tier}"
|
||||||
},
|
},
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
"search": "Search a stat...",
|
"search": "Search a stat...",
|
||||||
@@ -1135,10 +1149,12 @@
|
|||||||
"upgrade": "Upgrade"
|
"upgrade": "Upgrade"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "Clear"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "Clear"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
"hp": "{value}hp",
|
"hp": "{value}hp",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}°/s"
|
"deg_s": "{value}°/s",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
"auto_loader": "Autocarregador",
|
"auto_loader": "Autocarregador",
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "AP",
|
"ap": "AP",
|
||||||
"apcr": "APCR",
|
"ap_cr": "APCR",
|
||||||
"heat": "HEAT",
|
"hc": "HEAT",
|
||||||
"he": "HE"
|
"he": "HE"
|
||||||
},
|
},
|
||||||
"player_count_period": {
|
"player_count_period": {
|
||||||
@@ -668,6 +669,10 @@
|
|||||||
"count_singular": "1 tanque",
|
"count_singular": "1 tanque",
|
||||||
"count_plural": "{count} tanks",
|
"count_plural": "{count} tanks",
|
||||||
"sorting_by": "Sorting by {name}",
|
"sorting_by": "Sorting by {name}",
|
||||||
|
"clear": "Limpar",
|
||||||
|
"tier": "Tier {tier}",
|
||||||
|
"passive": "{name} (Passive)",
|
||||||
|
"active": "{name} (Active)",
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "Nenhum tanque encontrado.",
|
"body": "Nenhum tanque encontrado.",
|
||||||
"search_again": "Tente pesquisar novamente.",
|
"search_again": "Tente pesquisar novamente.",
|
||||||
@@ -803,8 +808,8 @@
|
|||||||
"randomize": "Randomize"
|
"randomize": "Randomize"
|
||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "Guess the tank",
|
"name": "Guess",
|
||||||
"button": "Guess away",
|
"button": "What could it be?",
|
||||||
"description": "Silhouette mini-game",
|
"description": "Silhouette mini-game",
|
||||||
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -814,7 +819,16 @@
|
|||||||
"next": "Next",
|
"next": "Next",
|
||||||
"no_results": "Sem resultados"
|
"no_results": "Sem resultados"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} guessed correctly"
|
"stats": "{correct} / {total} correct, {streak} streak",
|
||||||
|
"help": {
|
||||||
|
"title": "Partially reveal tank?",
|
||||||
|
"description": "Reveals the tank without showing the name. This round will be considered incorrect and break your streak!",
|
||||||
|
"cancel": "Cancelar",
|
||||||
|
"reveal": "Reveal"
|
||||||
|
},
|
||||||
|
"clear": "Limpar",
|
||||||
|
"select_all": "Selecionar todos",
|
||||||
|
"tier": "Tier {tier}"
|
||||||
},
|
},
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
"search": "Search a stat...",
|
"search": "Search a stat...",
|
||||||
@@ -1135,10 +1149,12 @@
|
|||||||
"upgrade": "Melhorar"
|
"upgrade": "Melhorar"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "Limpar"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "Limpar"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
"hp": "{value}оп",
|
"hp": "{value}оп",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}°/с"
|
"deg_s": "{value}°/с",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
"auto_loader": "Барабан",
|
"auto_loader": "Барабан",
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "ББ",
|
"ap": "ББ",
|
||||||
"apcr": "БП",
|
"ap_cr": "БП",
|
||||||
"heat": "КС",
|
"hc": "ОФ",
|
||||||
"he": "ОФ"
|
"he": "ОФ"
|
||||||
},
|
},
|
||||||
"player_count_period": {
|
"player_count_period": {
|
||||||
@@ -296,7 +297,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"none": "Без фильтров",
|
"none": "Без фильтров",
|
||||||
"tier": " {tier} уровня"
|
"tier": "{tier} уровень"
|
||||||
},
|
},
|
||||||
"no_data": {
|
"no_data": {
|
||||||
"battles_in_period": "За этот период боёв не было",
|
"battles_in_period": "За этот период боёв не было",
|
||||||
@@ -668,6 +669,10 @@
|
|||||||
"count_singular": "1 танк",
|
"count_singular": "1 танк",
|
||||||
"count_plural": "Танков: {count}",
|
"count_plural": "Танков: {count}",
|
||||||
"sorting_by": "Сортировать по {name}",
|
"sorting_by": "Сортировать по {name}",
|
||||||
|
"clear": "Очистить",
|
||||||
|
"tier": "{tier} уровень",
|
||||||
|
"passive": "{name} (Пассивный)",
|
||||||
|
"active": "{name} (Активный)",
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "Танков не найдено.",
|
"body": "Танков не найдено.",
|
||||||
"search_again": "Попробуйте повторить поиск.",
|
"search_again": "Попробуйте повторить поиск.",
|
||||||
@@ -803,8 +808,8 @@
|
|||||||
"randomize": "Случайно"
|
"randomize": "Случайно"
|
||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "Угадай танк",
|
"name": "Угадать",
|
||||||
"button": "Угадать",
|
"button": "Что это за танк?",
|
||||||
"description": "Мини-игра «Силуэт»",
|
"description": "Мини-игра «Силуэт»",
|
||||||
"seo_description": "Играйте угадывая силуэт танка из World of Tanks Blitz",
|
"seo_description": "Играйте угадывая силуэт танка из World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -814,7 +819,16 @@
|
|||||||
"next": "Следующий",
|
"next": "Следующий",
|
||||||
"no_results": "Ничего не найденo"
|
"no_results": "Ничего не найденo"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} угадано верно"
|
"stats": "{correct} / {total} правильно, серия: {streak}",
|
||||||
|
"help": {
|
||||||
|
"title": "Частично раскрыть танк?",
|
||||||
|
"description": "Показывает танк не показывая название. Этот раунд будет считаться проигранным и прекратит серию!",
|
||||||
|
"cancel": "Отмена",
|
||||||
|
"reveal": "Раскрыть"
|
||||||
|
},
|
||||||
|
"clear": "Очистить",
|
||||||
|
"select_all": "Выбрать всё",
|
||||||
|
"tier": "{tier} уровень"
|
||||||
},
|
},
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
"search": "Поиск характеристик...",
|
"search": "Поиск характеристик...",
|
||||||
@@ -908,7 +922,7 @@
|
|||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"thickness_and_angle": "{thickness}мм {angle}°",
|
"thickness_and_angle": "{thickness}мм {angle}°",
|
||||||
"nominal": "{thickness}1мм номинала",
|
"nominal": "{thickness}мм номинала",
|
||||||
"ricochet_loss": "{loss}% пробития"
|
"ricochet_loss": "{loss}% пробития"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1135,10 +1149,12 @@
|
|||||||
"upgrade": "Топ"
|
"upgrade": "Топ"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "Очистить"
|
"clear": "Убрать",
|
||||||
|
"clear_all": "Убрать со всех"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "Очистить"
|
"clear": "Убрать",
|
||||||
|
"clear_all": "Убрать со всех"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
+128
-112
@@ -1,19 +1,20 @@
|
|||||||
{
|
{
|
||||||
"test": {
|
"test": {
|
||||||
"default": "тест",
|
"default": "тест",
|
||||||
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
|
"long": "{fruit}",
|
||||||
"fox": "Швидка бура лисиця перестрибує через лінивого собаку."
|
"fox": "Швидка бура лисиця перестрибує через лінивого собаку."
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"name": "BlitzKit",
|
"name": "BlitzKit",
|
||||||
"units": {
|
"units": {
|
||||||
"m": "{value}m",
|
"m": "{value}м",
|
||||||
"mm": "{value}mm",
|
"mm": "{value}мм",
|
||||||
"deg": "{value}°",
|
"deg": "{value}°",
|
||||||
"hp": "{value}hp",
|
"hp": "{value}од",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}°/s"
|
"deg_s": "{value}град/c",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
"auto_loader": "Магазинна система заряджання",
|
"auto_loader": "Магазинна система заряджання",
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "ББ",
|
"ap": "ББ",
|
||||||
"apcr": "БП",
|
"ap_cr": "APCR",
|
||||||
"heat": "КС",
|
"hc": "HEAT",
|
||||||
"he": "ОФ"
|
"he": "ОФ"
|
||||||
},
|
},
|
||||||
"player_count_period": {
|
"player_count_period": {
|
||||||
@@ -78,11 +79,11 @@
|
|||||||
"10": "Супер винятковий"
|
"10": "Супер винятковий"
|
||||||
},
|
},
|
||||||
"nations": {
|
"nations": {
|
||||||
"ussr": "СРСР",
|
"ussr": "С.Р.С.Р.",
|
||||||
"germany": "Німеччина",
|
"germany": "Німеччина",
|
||||||
"usa": "США",
|
"usa": "С.Ш.А.",
|
||||||
"china": "Китай",
|
"china": "Китай",
|
||||||
"uk": "Велика Британія",
|
"uk": "Сполучене Королівство ",
|
||||||
"france": "Франція",
|
"france": "Франція",
|
||||||
"japan": "Японія",
|
"japan": "Японія",
|
||||||
"european": "Європейська нація",
|
"european": "Європейська нація",
|
||||||
@@ -120,7 +121,7 @@
|
|||||||
"3": "ПТ-САУ"
|
"3": "ПТ-САУ"
|
||||||
},
|
},
|
||||||
"tree_type": {
|
"tree_type": {
|
||||||
"-1": "не розпізнано",
|
"-1": "не розпізнаний",
|
||||||
"0": "Звичайний",
|
"0": "Звичайний",
|
||||||
"1": "Преміум",
|
"1": "Преміум",
|
||||||
"2": "Колекційний"
|
"2": "Колекційний"
|
||||||
@@ -186,11 +187,11 @@
|
|||||||
"bot": {
|
"bot": {
|
||||||
"common": {
|
"common": {
|
||||||
"errors": {
|
"errors": {
|
||||||
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
|
"clan_not_found": "# Не вдалося знайти клан\nНе вдалося знайти \"{search}\". Спробуйте обрати клан з результату пошуку.",
|
||||||
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
|
"player_not_found": "# Не вдалося знайти користувача\nНе вдалося знайти користувача \"{search}\". Спробуйте вибрати користувача із результатів пошуку, ввівши правильне ім'я користувача, або скористайтеся командою `/link`.",
|
||||||
"player_not_linked": "# Використайте команду \"/link\" щоб почати\nЯ не знаю, хто ви, але ви можете сказати мені сьогодні!",
|
"player_not_linked": "# Використайте команду \"/link\" щоб почати\nЯ не знаю, хто ви, але ви можете сказати мені сьогодні!",
|
||||||
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
|
"tank_name_not_found": "# Танк не знайдено\nНе вдалося знайти танк із назвою «{search}».",
|
||||||
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
|
"tank_id_not_found": "# Танк не знайдено\nНе вдалося знайти танк з ID «{search}». Спробуйте ввести назву танка замість номера.",
|
||||||
"no_tank_stats": "# Немає статистики для танка\nЦей гравець не має статистики.\nМожливо, це не той гравець, якого ви шукаєте.",
|
"no_tank_stats": "# Немає статистики для танка\nЦей гравець не має статистики.\nМожливо, це не той гравець, якого ви шукаєте.",
|
||||||
"get_help": "Допомогти Discord серверу",
|
"get_help": "Допомогти Discord серверу",
|
||||||
"uncaught_error": "# Упс! BlitzKit зіткнувся з помилкою!\nНам дуже шкода. Можете попросити допомоги на [офіційному сервері Discord](https://discord.gg/nDt7AjGJQH).",
|
"uncaught_error": "# Упс! BlitzKit зіткнувся з помилкою!\nНам дуже шкода. Можете попросити допомоги на [офіційному сервері Discord](https://discord.gg/nDt7AjGJQH).",
|
||||||
@@ -284,19 +285,19 @@
|
|||||||
"name": "рівень",
|
"name": "рівень",
|
||||||
"description": "Рівень",
|
"description": "Рівень",
|
||||||
"choices": {
|
"choices": {
|
||||||
"tier": "Tier {tier_1} - {tier_2}"
|
"tier": "Рівень {tier_1} - {tier_2}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"periods": {
|
"periods": {
|
||||||
"career": "Кар'єра",
|
"career": "Кар'єра",
|
||||||
"today": "Сьогодні",
|
"today": "Сьогодні",
|
||||||
"days": "{days} days",
|
"days": "{days} днів",
|
||||||
"custom": "{day_1} - {day_2} days"
|
"custom": "{day_1} - {day_2} днів"
|
||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"none": "Немає фільтрів",
|
"none": "Немає фільтрів",
|
||||||
"tier": "Tier {tier}"
|
"tier": "Рівень {tier}"
|
||||||
},
|
},
|
||||||
"no_data": {
|
"no_data": {
|
||||||
"battles_in_period": "За цей період боїв не було",
|
"battles_in_period": "За цей період боїв не було",
|
||||||
@@ -339,19 +340,19 @@
|
|||||||
"body": {
|
"body": {
|
||||||
"subtitle": "Дослідження",
|
"subtitle": "Дослідження",
|
||||||
"total": "Загалом",
|
"total": "Загалом",
|
||||||
"research": "Research: {cost}",
|
"research": "Дослідження: {cost}",
|
||||||
"upgrades": "Upgrades: {cost}",
|
"upgrades": "Прокачування: {cost}",
|
||||||
"purchase": "Purchase: {cost}",
|
"purchase": "Вартість: {cost}",
|
||||||
"equipment": "Equipment: {cost}",
|
"equipment": "Спорядження: {cost}",
|
||||||
"estimation": "# Це оцінка!\n\nЦей список може включати вже досліджені танки через неточну інформацію для вантажу. Спробуйте використати \"початковий танк\" з рядка за допомогою команди."
|
"estimation": "# Це оцінка!\n\nЦей список може включати вже досліджені танки через неточну інформацію для вантажу. Спробуйте використати \"початковий танк\" з рядка за допомогою команди."
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
|
"non_tech_tree": "#{tank} відсутній в дереві дослідження\n\nВи не можете дослідити преміум/колеційний танк.",
|
||||||
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
|
"tier_1": "#{tank} І рівня \n\nТанки І рівня завжди розблоковані для всіх гравців безкоштовно",
|
||||||
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
|
"already_researched": "# {tank} вже було досліджено\n\nСпробуйте використати `початковий-танк` коли використовуєте команду для перегляду загальної гілки, яку ви вже дослідили",
|
||||||
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
|
"start_end_equal": "#{tank} було введено двічі \n\nПереконайтесь що `початковий-танк` та `ціль-танк` різні",
|
||||||
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
|
"tanks_not_on_line": "# {tank_1} та {tank_2} не в одній гілці\n\nПереконайтесь що `початковий-танк` та `ціль-танк` знаходяться в єдиній гілці дерева дослідження",
|
||||||
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
|
"unordered": "# {tank_1} вище рівнем відносно {tank_2}\n\nОбов’язково вкажіть {tank_2} як `початковий-танк`, оскільки це танк нижчого рівня."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"about": {
|
"about": {
|
||||||
@@ -394,7 +395,7 @@
|
|||||||
"wn8": "WN8",
|
"wn8": "WN8",
|
||||||
"winrate": "Відсоток перемог",
|
"winrate": "Відсоток перемог",
|
||||||
"damage": "Шкода",
|
"damage": "Шкода",
|
||||||
"unknown_tank": "Unknown tank {id}"
|
"unknown_tank": "Невідомий танк {id}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
@@ -430,12 +431,12 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"threshold": {
|
"threshold": {
|
||||||
"name": "поріг",
|
"name": "поріг",
|
||||||
"description": "The number of days inactive (default: {days} days)"
|
"description": "Кількість днів неактивності (за замовчуванням: {days} днів)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"subtitle": "Inactive for {days}+ days",
|
"subtitle": "Неактивний {days}+ днів",
|
||||||
"listing": "{days} days"
|
"listing": "{days} днів"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"full_stats": {
|
"full_stats": {
|
||||||
@@ -478,7 +479,7 @@
|
|||||||
"body": {
|
"body": {
|
||||||
"accounts_linked": "Прив'язані акаунти",
|
"accounts_linked": "Прив'язані акаунти",
|
||||||
"no_role_permissions": {
|
"no_role_permissions": {
|
||||||
"title": "{name} failed to verify",
|
"title": "{name} не вдалося перевірити",
|
||||||
"description": "У мене немає дозволу керувати ролями."
|
"description": "У мене немає дозволу керувати ролями."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -493,11 +494,11 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"limit": {
|
"limit": {
|
||||||
"name": "ліміт",
|
"name": "ліміт",
|
||||||
"description": "The max number of clan results (default: {limit})"
|
"description": "Максимальна кількість результатів клану (за замовчуванням: {limit})"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"title": "Clan search for {search} in region {region}",
|
"title": "Пошук клану для {search} в регіоні {region}",
|
||||||
"no_results": "Жодного клану не знайдено"
|
"no_results": "Жодного клану не знайдено"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -507,11 +508,11 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"limit": {
|
"limit": {
|
||||||
"name": "ліміт",
|
"name": "ліміт",
|
||||||
"description": "The max number of player results (default: {limit})"
|
"description": "Максимальна кількість результатів гравця (за замовчуванням: {limit})"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"title": "Player search for {search} in region {region}",
|
"title": "Пошук гравця для {search} у регіоні {region}",
|
||||||
"no_results": "Гравця не знайдено"
|
"no_results": "Гравця не знайдено"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -520,8 +521,8 @@
|
|||||||
"description": "Статистика рейтингових боїв",
|
"description": "Статистика рейтингових боїв",
|
||||||
"subcommands": {
|
"subcommands": {
|
||||||
"neighbors": {
|
"neighbors": {
|
||||||
"name": "neighbors",
|
"name": "сусіди",
|
||||||
"description": "Neighboring players on the leaderboard"
|
"description": "Сусідуючі гравці в лідерборді"
|
||||||
},
|
},
|
||||||
"league": {
|
"league": {
|
||||||
"name": "ліга",
|
"name": "ліга",
|
||||||
@@ -531,32 +532,32 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"limit": {
|
"limit": {
|
||||||
"name": "ліміт",
|
"name": "ліміт",
|
||||||
"description": "How many neighbors to display (default: {count})"
|
"description": "Скільки сусідів відобразити (за замовчуванням: {count})"
|
||||||
},
|
},
|
||||||
"season": {
|
"season": {
|
||||||
"name": "сезон",
|
"name": "сезон",
|
||||||
"description": "Базова інформація про гравця",
|
"description": "Базова інформація про гравця",
|
||||||
"choices": {
|
"choices": {
|
||||||
"current": "{season} (current)"
|
"current": "{season} (поточний)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"league": {
|
"league": {
|
||||||
"name": "ліга",
|
"name": "ліга",
|
||||||
"description": "The league to display"
|
"description": "Ліга для відображення"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"top_players": "Top {count} players",
|
"top_players": "Топ {count} гравців",
|
||||||
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
|
"no_participation": "# {player} не грав у рейтингу в сезоні {season}\n\nЦей гравець не брав участь у цьому сезоні або не проходив калібрування",
|
||||||
"no_ongoing_season": "# No ongoing season\n\nThere isn't a currently running rating season.",
|
"no_ongoing_season": "# Немає поточного сезону\n\nВ даний час немає сезону рейтингу.",
|
||||||
"deleted_player": "Deleted {id}",
|
"deleted_player": "",
|
||||||
"neighbors": "Rating neighbors",
|
"neighbors": "Сусіди по рейтингу",
|
||||||
"more": "+ {count} more"
|
"more": "+ {count} ще"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"today": {
|
"today": {
|
||||||
"name": "сьогодні",
|
"name": "сьогодні",
|
||||||
"description": "Today's played tanks and statistics"
|
"description": "Сьогодні зіграні танки та статистика"
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"name": "статистика",
|
"name": "статистика",
|
||||||
@@ -566,43 +567,43 @@
|
|||||||
"name": "отримані танки",
|
"name": "отримані танки",
|
||||||
"description": "Показує всі ваші танки даного рівня",
|
"description": "Показує всі ваші танки даного рівня",
|
||||||
"body": {
|
"body": {
|
||||||
"title": "# {name}'s owned tier {tier} tanks\n\n"
|
"title": "# {name} отриманих рівнів {tier} танків\n\n"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"name": "дозволи",
|
"name": "дозволи",
|
||||||
"description": "Checks wether the bot has the required permissions to function",
|
"description": "Перевіряє чи бот має необхідні дозволи для роботи",
|
||||||
"body": {
|
"body": {
|
||||||
"title": "# Permissions\n\n{body}",
|
"title": "# Дозволи\n\n{body}",
|
||||||
"view_channels": "View channels: needed to find the message the refresh button was used on",
|
"view_channels": "Перегляньте канали: необхідне для знаходження повідомлення, на якому використовувалася кнопка оновлення",
|
||||||
"read_message_history": "Read message history: needed to find the message to refresh",
|
"read_message_history": "Прочитайте історію повідомлень: потрібно знайти повідомлення для оновлення",
|
||||||
"attach_files": "Attach files: needed to add images to image-based commands",
|
"attach_files": "Закріпіть файли: потрібно для додавання зображень до команд на основі зображень",
|
||||||
"external_emojis": "External emojis: needed to add national flags and tank class emojis"
|
"external_emojis": "Зовнішні емодзі: потрібні для додавання емодзі національних прапорів та класів техніки"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"name": "",
|
"name": "",
|
||||||
"description": "Check wether the bot is alive.",
|
"description": "Перевірити чи бот живий",
|
||||||
"body": {
|
"body": {
|
||||||
"pong": "Pong 🏓",
|
"pong": "Понг🏓",
|
||||||
"pong_with_time": "Pong 🏓 - {time}ms"
|
"pong_with_time": "Понг🏓 - {time}мс"
|
||||||
},
|
},
|
||||||
"subcommands": {
|
"subcommands": {
|
||||||
"blitzkit": {
|
"blitzkit": {
|
||||||
"name": "blitzkit",
|
"name": "BlitzKit",
|
||||||
"description": "Ping BlitzKit"
|
"description": "Ping BlitzKit"
|
||||||
},
|
},
|
||||||
"wotb": {
|
"wotb": {
|
||||||
"name": "wotb",
|
"name": "WoTB",
|
||||||
"description": "Ping World of Tanks Blitz"
|
"description": "Ping World of Tanks Blitz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"player_info": {
|
"player_info": {
|
||||||
"name": "player-info",
|
"name": "інформація про гравця",
|
||||||
"description": "Базова інформація про гравця",
|
"description": "Базова інформація про гравця",
|
||||||
"body": {
|
"body": {
|
||||||
"title": "{name}'s information",
|
"title": "інформація про {name}",
|
||||||
"nickname": "Нік",
|
"nickname": "Нік",
|
||||||
"battles": "Бої",
|
"battles": "Бої",
|
||||||
"winrate": "Відсоток перемог",
|
"winrate": "Відсоток перемог",
|
||||||
@@ -613,39 +614,39 @@
|
|||||||
},
|
},
|
||||||
"rating": {
|
"rating": {
|
||||||
"name": "рейтинг",
|
"name": "рейтинг",
|
||||||
"description": "Rating player's statistics",
|
"description": "Статистика рейтингових боїв гравця ",
|
||||||
"subcommands": {
|
"subcommands": {
|
||||||
"today": {
|
"today": {
|
||||||
"name": "сьогодні",
|
"name": "сьогодні",
|
||||||
"description": "Today's rating statistics"
|
"description": "Сьогоднішня статистика рейтингових боїв"
|
||||||
},
|
},
|
||||||
"season": {
|
"season": {
|
||||||
"name": "сезон",
|
"name": "сезон",
|
||||||
"description": "This season's rating statistics"
|
"description": "Статистика рейтингових боїв поточного сезону"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"subtitle": {
|
"subtitle": {
|
||||||
"today": "Today's rating statistics",
|
"today": "Сьогоднішня статистика рейтингових боїв",
|
||||||
"season": "This season's rating statistics"
|
"season": "Статистика рейтингових боїв даного сезону"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
|
"no_participation": "# {name} не грав рейтингові бої\n\nЦей гравець не брав участь у рейтинговому режимі цього сезону.",
|
||||||
"unrecorded_stats": "# Statistics currently unavailable\n\nWargaming may be currently be facing server downtime. If there is an on-going season, statistics should be available withing 24 hours."
|
"unrecorded_stats": "# Статистика на цей момент недоступна\n\nWargaming наразі зіткнулась з технічними несправностями. Якщо зараз проходить сезон, статистика буде доступною в найближчі 24 години."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"website": {
|
"website": {
|
||||||
"redirect": {
|
"redirect": {
|
||||||
"title": "301: moved permanently",
|
"title": "301: переміщено назавжди",
|
||||||
"body": "This page has moved. Redirecting..."
|
"body": "This page has moved. Redirecting..."
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"title": "Settings",
|
"title": "Налаштування",
|
||||||
"description": "Change BlitzKit settings",
|
"description": "Змінити налаштування BlitzKit ",
|
||||||
"dev_mode": "Development mode",
|
"dev_mode": "Режим розробника",
|
||||||
"language": "Мова"
|
"language": "Мова"
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
@@ -658,16 +659,20 @@
|
|||||||
"copied": "Скопійовано!"
|
"copied": "Скопійовано!"
|
||||||
},
|
},
|
||||||
"tank_search": {
|
"tank_search": {
|
||||||
"select_dialog_title": "Search for tanks",
|
"select_dialog_title": "Знайти танк",
|
||||||
"swap_dialog_title": "Swap tank",
|
"swap_dialog_title": "Swap tank",
|
||||||
"clear_filters": "Clear filters",
|
"clear_filters": "Очистити",
|
||||||
"login": "Login to use this",
|
"login": "Увійдіть, щоб скористатися",
|
||||||
"search_bar_hint": "Шукайте техніку...",
|
"search_bar_hint": "Шукайте техніку...",
|
||||||
"recent": "Недавно переглянуті",
|
"recent": "Недавно переглянуті",
|
||||||
"select_all": "Вибрати все",
|
"select_all": "Вибрати все",
|
||||||
"count_singular": "1 танк",
|
"count_singular": "1 танк",
|
||||||
"count_plural": "{count} tanks",
|
"count_plural": "Танків: {count} ",
|
||||||
"sorting_by": "Sorting by {name}",
|
"sorting_by": "Відсортувати за {name}",
|
||||||
|
"clear": "Clear",
|
||||||
|
"tier": "Рівень {tier}",
|
||||||
|
"passive": "{name} (Passive)",
|
||||||
|
"active": "{name} (Active)",
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "Нічого не знайдено.",
|
"body": "Нічого не знайдено.",
|
||||||
"search_again": "Спробуйте шукати заново.",
|
"search_again": "Спробуйте шукати заново.",
|
||||||
@@ -731,7 +736,7 @@
|
|||||||
"home": {
|
"home": {
|
||||||
"pwa": {
|
"pwa": {
|
||||||
"title": "Install the BlitzKit App",
|
"title": "Install the BlitzKit App",
|
||||||
"new": "NEW",
|
"new": "",
|
||||||
"checking": "Checking compatibility...",
|
"checking": "Checking compatibility...",
|
||||||
"instructions": "Instructions for Apple devices.",
|
"instructions": "Instructions for Apple devices.",
|
||||||
"install": "Install",
|
"install": "Install",
|
||||||
@@ -763,20 +768,20 @@
|
|||||||
},
|
},
|
||||||
"tools": {
|
"tools": {
|
||||||
"playlist": {
|
"playlist": {
|
||||||
"reset": "Reset",
|
"reset": "Скинути",
|
||||||
"shuffle": "Shuffle",
|
"shuffle": "Перемішати",
|
||||||
"remove": "Remove played",
|
"remove": "Видалити зіграні",
|
||||||
"tracking": "BlitzKit is tracking your battles",
|
"tracking": "BlitzKit is tracking your battles",
|
||||||
"sort": {
|
"sort": {
|
||||||
"button": "Сортувати за",
|
"button": "Сортувати за",
|
||||||
"last_played": "Last played",
|
"last_played": "Остання гра",
|
||||||
"least_played": "Least played"
|
"least_played": "Найменше зіграно"
|
||||||
},
|
},
|
||||||
"table": {
|
"table": {
|
||||||
"index": "#",
|
"index": "#",
|
||||||
"never": "Never",
|
"never": "Ніколи",
|
||||||
"tank": "Танк",
|
"tank": "Танк",
|
||||||
"last_played": "Last played",
|
"last_played": "Остання гра",
|
||||||
"battles": "Career battles",
|
"battles": "Career battles",
|
||||||
"unrecorded": "--",
|
"unrecorded": "--",
|
||||||
"wins": "Перемоги"
|
"wins": "Перемоги"
|
||||||
@@ -784,14 +789,14 @@
|
|||||||
"large_warning": {
|
"large_warning": {
|
||||||
"title": "That's a lot of tanks!",
|
"title": "That's a lot of tanks!",
|
||||||
"description": "Are you sure you want to create a playlist of {count} tanks? That's {time} hours of gameplay at 50% winrate!",
|
"description": "Are you sure you want to create a playlist of {count} tanks? That's {time} hours of gameplay at 50% winrate!",
|
||||||
"cancel": "Cancel",
|
"cancel": "Скасувати",
|
||||||
"proceed": "Proceed"
|
"proceed": "Продовжити"
|
||||||
},
|
},
|
||||||
"generate": "Generate playlist",
|
"generate": "Згенерувати плейлист",
|
||||||
"name": "Playlist",
|
"name": "Плейлист",
|
||||||
"description": "Tank playlist generator",
|
"description": "Tank playlist generator",
|
||||||
"seo_description": "Don't know what to play in World of Tanks Blitz? Use BlitzKit Playlist to get suggestions!",
|
"seo_description": "Don't know what to play in World of Tanks Blitz? Use BlitzKit Playlist to get suggestions!",
|
||||||
"button": "Generate",
|
"button": "Створити",
|
||||||
"pool_size": "{count} possible tanks"
|
"pool_size": "{count} possible tanks"
|
||||||
},
|
},
|
||||||
"mixer": {
|
"mixer": {
|
||||||
@@ -803,8 +808,8 @@
|
|||||||
"randomize": "Randomize"
|
"randomize": "Randomize"
|
||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "Guess the tank",
|
"name": "Guess",
|
||||||
"button": "Guess away",
|
"button": "What could it be?",
|
||||||
"description": "Silhouette mini-game",
|
"description": "Silhouette mini-game",
|
||||||
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
"seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -814,7 +819,16 @@
|
|||||||
"next": "Next",
|
"next": "Next",
|
||||||
"no_results": "Немає результатів"
|
"no_results": "Немає результатів"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} guessed correctly"
|
"stats": "{correct} / {total} correct, {streak} streak",
|
||||||
|
"help": {
|
||||||
|
"title": "Partially reveal tank?",
|
||||||
|
"description": "Reveals the tank without showing the name. This round will be considered incorrect and break your streak!",
|
||||||
|
"cancel": "Cancel",
|
||||||
|
"reveal": "Reveal"
|
||||||
|
},
|
||||||
|
"clear": "Clear",
|
||||||
|
"select_all": "Вибрати все",
|
||||||
|
"tier": "Рівень {tier}"
|
||||||
},
|
},
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
"search": "Search a stat...",
|
"search": "Search a stat...",
|
||||||
@@ -823,33 +837,33 @@
|
|||||||
"description": "Танкова енциклопедія",
|
"description": "Танкова енциклопедія",
|
||||||
"seo_description": "Характеристики, броня та інше для всіх танків WoT Blitz",
|
"seo_description": "Характеристики, броня та інше для всіх танків WoT Blitz",
|
||||||
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
|
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
|
||||||
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
|
"tank_seo_description": "{name} броня, характеристики, обладнання, амуніція і т.д. {dpm} шкода на хвилину, {alpha} разова шкода, {penetration}мм пробиття, {speed} км/год максимальна швидкість, {health} міцність.",
|
||||||
"visualizers": {
|
"visualizers": {
|
||||||
"reload": {
|
"reload": {
|
||||||
"skip": "Skip"
|
"skip": "Пропустити"
|
||||||
},
|
},
|
||||||
"assault": {
|
"assault": {
|
||||||
"title": "Assault shells"
|
"title": "Штурмові снаряди"
|
||||||
},
|
},
|
||||||
"rotator": {
|
"rotator": {
|
||||||
"hull": "Hull",
|
"hull": "Корпус",
|
||||||
"turret": "Turret",
|
"turret": "Башта",
|
||||||
"hard": "Hard",
|
"hard": "Жорстко",
|
||||||
"medium": "Середній",
|
"medium": "Середній",
|
||||||
"soft": "Soft",
|
"soft": "Ніжно",
|
||||||
"effective": "Effective"
|
"effective": "Ефективний"
|
||||||
},
|
},
|
||||||
"ricochet": {
|
"ricochet": {
|
||||||
"angle": "Angle",
|
"angle": "Кут",
|
||||||
"normalization": "Нормалізація",
|
"normalization": "Нормалізація",
|
||||||
"effective_angle": "Effective angle",
|
"effective_angle": "Ефективний кут",
|
||||||
"armor": "Броня",
|
"armor": "Броня",
|
||||||
"no_ricochet": "Explosive shells don't ricochet"
|
"no_ricochet": "Фугасні снаряди не рикошетять"
|
||||||
},
|
},
|
||||||
"view_range": {
|
"view_range": {
|
||||||
"camo": "Camo",
|
"camo": "Камуфляж",
|
||||||
"ghost_factory": "Ghost Factory",
|
"ghost_factory": "Промзона",
|
||||||
"dead_rail": "Dead Rail"
|
"dead_rail": "Ешелон"
|
||||||
},
|
},
|
||||||
"flexibility": {
|
"flexibility": {
|
||||||
"yaw": "Yaw",
|
"yaw": "Yaw",
|
||||||
@@ -1135,10 +1149,12 @@
|
|||||||
"upgrade": "Upgrade"
|
"upgrade": "Upgrade"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "Clear"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "Clear"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
"hp": "{value} 生命值",
|
"hp": "{value} 生命值",
|
||||||
"x": "x{value}",
|
"x": "x{value}",
|
||||||
"percentage": "{value}%",
|
"percentage": "{value}%",
|
||||||
"deg_s": "{value}度°/秒"
|
"deg_s": "{value}度°/秒",
|
||||||
|
"plus": "+{value}"
|
||||||
},
|
},
|
||||||
"gun_types": {
|
"gun_types": {
|
||||||
"auto_loader": "弹夹型坦克",
|
"auto_loader": "弹夹型坦克",
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"shells": {
|
"shells": {
|
||||||
"ap": "穿甲弹",
|
"ap": "穿甲弹",
|
||||||
"apcr": "硬式复合穿甲弹",
|
"ap_cr": "硬式复合穿甲弹",
|
||||||
"heat": "反战车高爆弹",
|
"hc": "反战车高爆弹",
|
||||||
"he": "高爆弹"
|
"he": "高爆弹"
|
||||||
},
|
},
|
||||||
"player_count_period": {
|
"player_count_period": {
|
||||||
@@ -668,6 +669,10 @@
|
|||||||
"count_singular": "1辆战车",
|
"count_singular": "1辆战车",
|
||||||
"count_plural": "{count} 辆坦克",
|
"count_plural": "{count} 辆坦克",
|
||||||
"sorting_by": "按 {name} 排序",
|
"sorting_by": "按 {name} 排序",
|
||||||
|
"clear": "清除",
|
||||||
|
"tier": "{tier} 阶",
|
||||||
|
"passive": "{name} (被动)",
|
||||||
|
"active": "{name} (主动)",
|
||||||
"no_tanks_found": {
|
"no_tanks_found": {
|
||||||
"body": "找不到战车。",
|
"body": "找不到战车。",
|
||||||
"search_again": "请尝试重新搜索。",
|
"search_again": "请尝试重新搜索。",
|
||||||
@@ -803,8 +808,8 @@
|
|||||||
"randomize": "随机搭配"
|
"randomize": "随机搭配"
|
||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "猜坦克",
|
"name": "猜测",
|
||||||
"button": "猜猜看",
|
"button": "这会是什么?",
|
||||||
"description": "坦克剪影小游戏",
|
"description": "坦克剪影小游戏",
|
||||||
"seo_description": "看剪影猜坦克",
|
"seo_description": "看剪影猜坦克",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -814,7 +819,16 @@
|
|||||||
"next": "下一个",
|
"next": "下一个",
|
||||||
"no_results": "沒有結果"
|
"no_results": "沒有結果"
|
||||||
},
|
},
|
||||||
"stats": "猜对了 {correct} / {total}"
|
"stats": "猜对了 {correct} / {total}",
|
||||||
|
"help": {
|
||||||
|
"title": "显示坦克?",
|
||||||
|
"description": "显示坦克而不显示名字。这轮会被视为不正确,并打破你的连续记录!",
|
||||||
|
"cancel": "取消",
|
||||||
|
"reveal": "显示"
|
||||||
|
},
|
||||||
|
"clear": "清除",
|
||||||
|
"select_all": "全选",
|
||||||
|
"tier": "{tier} 阶"
|
||||||
},
|
},
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
"search": "搜索属性……",
|
"search": "搜索属性……",
|
||||||
@@ -1135,10 +1149,12 @@
|
|||||||
"upgrade": "顶级配置"
|
"upgrade": "顶级配置"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "清除"
|
"clear": "清除",
|
||||||
|
"clear_all": "清除所有坦克"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "清除"
|
"clear": "清除",
|
||||||
|
"clear_all": "清除所有坦克"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
"@types/lodash-es": "^4.17.12",
|
"@types/lodash-es": "^4.17.12",
|
||||||
"@types/lz4js": "^0.2.1",
|
"@types/lz4js": "^0.2.1",
|
||||||
"@types/progress": "^2.0.7",
|
"@types/progress": "^2.0.7",
|
||||||
|
"@types/steam-user": "^5.1.0",
|
||||||
"@types/three": "^0.180.0",
|
"@types/three": "^0.180.0",
|
||||||
"crc": "^4.3.2",
|
"crc": "^4.3.2",
|
||||||
"csv-parse": "^6.1.0",
|
"csv-parse": "^6.1.0",
|
||||||
@@ -27,8 +28,10 @@
|
|||||||
"progress": "^2.0.3",
|
"progress": "^2.0.3",
|
||||||
"puppeteer": "^24.22.3",
|
"puppeteer": "^24.22.3",
|
||||||
"sharp": "^0.34.4",
|
"sharp": "^0.34.4",
|
||||||
|
"steam-user": "^5.2.3",
|
||||||
"three": "^0.180.0",
|
"three": "^0.180.0",
|
||||||
"ts-proto": "^2.7.7",
|
"ts-proto": "^2.7.7",
|
||||||
|
"unzipit": "^1.4.3",
|
||||||
"yaml": "^2.8.1"
|
"yaml": "^2.8.1"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
@@ -42,8 +45,10 @@
|
|||||||
"build:bot": "bun src/buildBot.ts",
|
"build:bot": "bun src/buildBot.ts",
|
||||||
"build:ratingleaderboard": "bun src/buildRatingLeaderboard.ts",
|
"build:ratingleaderboard": "bun src/buildRatingLeaderboard.ts",
|
||||||
"build:proxyclient": "bun src/buildProxyClient.ts",
|
"build:proxyclient": "bun src/buildProxyClient.ts",
|
||||||
|
"build:catalogitemaccesssor": "bun src/buildCatalogItemAccessor.ts",
|
||||||
"prunestrings": "bun src/pruneStrings.ts",
|
"prunestrings": "bun src/pruneStrings.ts",
|
||||||
"build:protos": "bun src/protos.ts"
|
"build:protos": "bun src/protos.ts",
|
||||||
|
"patchnotes": "bun src/patchNotes.ts"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
||||||
@@ -4,12 +4,10 @@ import { mkdir, writeFile } from "fs/promises";
|
|||||||
import { parse as parsePath } from "path";
|
import { parse as parsePath } from "path";
|
||||||
import ProgressBar from "progress";
|
import ProgressBar from "progress";
|
||||||
import { parse as parseYaml, stringify as stringifyYaml } from "yaml";
|
import { parse as parseYaml, stringify as stringifyYaml } from "yaml";
|
||||||
import { readStringDVPL } from "../src/core/blitz/readStringDVPL";
|
import { vfs } from "./buildAssets/constants";
|
||||||
import { DATA } from "./buildAssets/constants";
|
|
||||||
import { readYAMLDVPL } from "./core/blitz/readYAMLDVPL";
|
|
||||||
import { writeDVPL } from "./core/blitz/writeDVPL";
|
import { writeDVPL } from "./core/blitz/writeDVPL";
|
||||||
|
|
||||||
const versionTextFile = await readStringDVPL(`${DATA}/version.txt`);
|
const versionTextFile = await vfs.text(`Data/version.txt`);
|
||||||
const currentVersion = versionTextFile
|
const currentVersion = versionTextFile
|
||||||
.split(" ")[0]
|
.split(" ")[0]
|
||||||
.split(".")
|
.split(".")
|
||||||
@@ -51,7 +49,7 @@ while (true) {
|
|||||||
const { dir } = parsePath(path);
|
const { dir } = parsePath(path);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await mkdir(`${DATA}/${dir}`, { recursive: true });
|
await mkdir(`Data/${dir}`, { recursive: true });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn(`Failed to make directory "${dir}"`);
|
console.warn(`Failed to make directory "${dir}"`);
|
||||||
}
|
}
|
||||||
@@ -60,7 +58,7 @@ while (true) {
|
|||||||
const buffer = Buffer.from(data);
|
const buffer = Buffer.from(data);
|
||||||
|
|
||||||
await writeFile(
|
await writeFile(
|
||||||
`${DATA}/${path}${isDvpl ? "" : ".dvpl"}`,
|
`Data/${path}${isDvpl ? "" : ".dvpl"}`,
|
||||||
new Uint8Array(isDvpl ? buffer : writeDVPL(buffer))
|
new Uint8Array(isDvpl ? buffer : writeDVPL(buffer))
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -76,14 +74,14 @@ while (true) {
|
|||||||
}/en.yaml`
|
}/en.yaml`
|
||||||
);
|
);
|
||||||
const newStrings = parseYaml(await localizationsResponse.text());
|
const newStrings = parseYaml(await localizationsResponse.text());
|
||||||
const oldStrings = await readYAMLDVPL<Record<string, string>>(
|
const oldStrings = await vfs.yaml<Record<string, string>>(
|
||||||
`${DATA}/Strings/en.yaml`
|
`Data/Strings/en.yaml`
|
||||||
);
|
);
|
||||||
const patchedStrings = { ...oldStrings, ...newStrings };
|
const patchedStrings = { ...oldStrings, ...newStrings };
|
||||||
const patchedContent = stringifyYaml(patchedStrings);
|
const patchedContent = stringifyYaml(patchedStrings);
|
||||||
|
|
||||||
await writeFile(
|
await writeFile(
|
||||||
`${DATA}/Strings/en.yaml`,
|
`Data/Strings/en.yaml`,
|
||||||
new Uint8Array(writeDVPL(Buffer.from(patchedContent)))
|
new Uint8Array(writeDVPL(Buffer.from(patchedContent)))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
import { readdir } from "fs/promises";
|
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../../src/core/blitz/readDVPLFile";
|
|
||||||
import { readStringDVPL } from "../../src/core/blitz/readStringDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
|
|
||||||
export async function boosterIcons() {
|
export async function boosterIcons() {
|
||||||
console.log("Building booster icons...");
|
console.log("Building booster icons...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("booster icons");
|
const uploader = new AssetUploader("booster icons");
|
||||||
const boosterFiles = (await readdir(`${DATA}/Gfx/Shared/boosters`)).filter(
|
const boosterFiles = vfs
|
||||||
(file) => !file.includes("@2x.txt") && !file.startsWith("texture0")
|
.dir("Data/Gfx/Shared/boosters")
|
||||||
);
|
.filter(
|
||||||
|
(file) => !file.includes("@2x.txt") && !file.startsWith("texture0")
|
||||||
|
);
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await readDVPLFile(`${DATA}/Gfx/Shared/boosters/texture0.packed.webp`)
|
await vfs.file(`Data/Gfx/Shared/boosters/texture0.packed.webp`)
|
||||||
);
|
);
|
||||||
|
|
||||||
for (const file of boosterFiles) {
|
for (const file of boosterFiles) {
|
||||||
@@ -21,7 +20,7 @@ export async function boosterIcons() {
|
|||||||
|
|
||||||
if (name === undefined) continue;
|
if (name === undefined) continue;
|
||||||
|
|
||||||
const sizes = (await readStringDVPL(`${DATA}/Gfx/Shared/boosters/${file}`))
|
const sizes = (await vfs.text(`Data/Gfx/Shared/boosters/${file}`))
|
||||||
.split("\n")[4]
|
.split("\n")[4]
|
||||||
.split(" ")
|
.split(" ")
|
||||||
.map(Number);
|
.map(Number);
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
import { readDVPLFile } from "../../src/core/blitz/readDVPLFile";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
|
|
||||||
export async function camouflageIcons() {
|
export async function camouflageIcons() {
|
||||||
console.log("Building camouflage icons...");
|
console.log("Building camouflage icons...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("camo icons");
|
using uploader = new AssetUploader("camo icons");
|
||||||
const content = await readDVPLFile(
|
const content = await vfs.file(
|
||||||
`${DATA}/Gfx/UI/Hangar/IconCamouflage.packed.webp`
|
`Data/Gfx/UI/Hangar/IconCamouflage.packed.webp`
|
||||||
);
|
);
|
||||||
|
|
||||||
await uploader.add({ content, path: "icons/camo.webp" });
|
await uploader.add({ content, path: "icons/camo.webp" });
|
||||||
|
|||||||
@@ -1,32 +1,33 @@
|
|||||||
import { readdir } from "fs/promises";
|
import { assertSecret } from "@blitzkit/core";
|
||||||
import { argv } from "process";
|
import { AbstractVFS } from "../core/vfs/abstract";
|
||||||
|
import { SteamVFS } from "../core/vfs/steam";
|
||||||
|
import { ZipVFS } from "../core/vfs/zip";
|
||||||
|
|
||||||
const WINDOWS_APPS = "C:/Program Files/WindowsApps";
|
const steamPattern = /steam:(\d+)\/(\d+)/;
|
||||||
const wotbPackageRegex = /7458BE2C\..+_\d+(\.\d+)+_x64__.+/;
|
const zipPattern = /zip:(.+)/;
|
||||||
|
|
||||||
const isManual = argv.includes("--manual");
|
const source = Bun.argv
|
||||||
|
.find((arg) => arg.startsWith("--source="))
|
||||||
|
?.split("=")[1];
|
||||||
|
|
||||||
let data: string;
|
let resolved: AbstractVFS;
|
||||||
let compressed: boolean;
|
|
||||||
|
|
||||||
if (isManual) {
|
if (!source) {
|
||||||
data = "../../temp/game/Data";
|
throw new Error("No source specified");
|
||||||
compressed = true;
|
} else if (steamPattern.test(source)) {
|
||||||
|
const [, app, depot] = source.match(steamPattern)!.map(Number);
|
||||||
|
|
||||||
|
resolved = await new SteamVFS(
|
||||||
|
assertSecret(import.meta.env.STEAM_USERNAME),
|
||||||
|
assertSecret(import.meta.env.STEAM_PASSWORD),
|
||||||
|
app,
|
||||||
|
depot
|
||||||
|
).init();
|
||||||
|
} else if (zipPattern.test(source)) {
|
||||||
|
const [, url] = source.match(zipPattern)!;
|
||||||
|
resolved = await new ZipVFS(url).init();
|
||||||
} else {
|
} else {
|
||||||
const directories = await readdir(WINDOWS_APPS).then((files) =>
|
throw new Error("No valid source specified");
|
||||||
files.filter((file) => wotbPackageRegex.test(file))
|
|
||||||
);
|
|
||||||
|
|
||||||
if (directories.length !== 1) {
|
|
||||||
throw new Error(
|
|
||||||
`Expected 1 directory for WoTB Windows App, got ${directories.length}.`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
const [windowsApp] = directories;
|
|
||||||
data = `${WINDOWS_APPS}/${windowsApp}/Data`;
|
|
||||||
compressed = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const DATA = data;
|
export const vfs = resolved;
|
||||||
export const DATA_COMPRESSED = compressed;
|
|
||||||
@@ -1,11 +1,6 @@
|
|||||||
import { existsSync } from "fs";
|
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../../src/core/blitz/readDVPLFile";
|
|
||||||
import { readStringDVPL } from "../../src/core/blitz/readStringDVPL";
|
|
||||||
import { readXMLDVPL } from "../core/blitz/readXMLDVPL";
|
|
||||||
import { readYAMLDVPL } from "../core/blitz/readYAMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
import { ConsumablesCommon, ProvisionsCommon } from "./definitions";
|
import { ConsumablesCommon, ProvisionsCommon } from "./definitions";
|
||||||
|
|
||||||
interface Mappings {
|
interface Mappings {
|
||||||
@@ -33,20 +28,20 @@ export async function consumableProvisionIcons() {
|
|||||||
styles.map(async (path) =>
|
styles.map(async (path) =>
|
||||||
Object.values(
|
Object.values(
|
||||||
(
|
(
|
||||||
await readYAMLDVPL<Mappings>(`${DATA}/${path}`)
|
await vfs.yaml<Mappings>(`Data/${path}`)
|
||||||
).StyleSheets
|
).StyleSheets
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
).then((array) => array.flat());
|
).then((array) => array.flat());
|
||||||
|
|
||||||
for (const match of (
|
for (const match of (
|
||||||
await readStringDVPL(
|
await vfs.text(
|
||||||
`${DATA}/XML/item_defs/vehicles/common/consumables/list.xml`
|
`Data/XML/item_defs/vehicles/common/consumables/list.xml`
|
||||||
)
|
)
|
||||||
).matchAll(listItemsPattern)) {
|
).matchAll(listItemsPattern)) {
|
||||||
const consumablesCommon = await readXMLDVPL<{
|
const consumablesCommon = await vfs.xml<{
|
||||||
root: ConsumablesCommon;
|
root: ConsumablesCommon;
|
||||||
}>(`${DATA}/XML/item_defs/vehicles/common/consumables/${match[1]}.xml`);
|
}>(`Data/XML/item_defs/vehicles/common/consumables/${match[1]}.xml`);
|
||||||
|
|
||||||
for (const consumable of Object.values(consumablesCommon.root)) {
|
for (const consumable of Object.values(consumablesCommon.root)) {
|
||||||
const styleSheet = styleSheets.find((styleSheet) =>
|
const styleSheet = styleSheets.find((styleSheet) =>
|
||||||
@@ -67,9 +62,9 @@ export async function consumableProvisionIcons() {
|
|||||||
.replace(".psd", "")
|
.replace(".psd", "")
|
||||||
.replace(".txt", "");
|
.replace(".txt", "");
|
||||||
|
|
||||||
if (existsSync(`${DATA}/${configPath}.packed.webp`)) {
|
if (vfs.resolve(`Data/${configPath}.packed.webp`)) {
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await readDVPLFile(`${DATA}/${configPath}.packed.webp`)
|
await vfs.file(`Data/${configPath}.packed.webp`)
|
||||||
);
|
);
|
||||||
const content = await image.trim({ threshold: 100 }).toBuffer();
|
const content = await image.trim({ threshold: 100 }).toBuffer();
|
||||||
|
|
||||||
@@ -79,14 +74,14 @@ export async function consumableProvisionIcons() {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const consumablesTexture = sharp(
|
const consumablesTexture = sharp(
|
||||||
await readDVPLFile(
|
await vfs.file(
|
||||||
`${`${DATA}/${configPath}`
|
`${`Data/${configPath}`
|
||||||
.split("/")
|
.split("/")
|
||||||
.slice(0, -1)
|
.slice(0, -1)
|
||||||
.join("/")}/texture0.packed.webp`
|
.join("/")}/texture0.packed.webp`
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
const sizes = (await readStringDVPL(`${DATA}/${configPath}.txt`))
|
const sizes = (await vfs.text(`Data/${configPath}.txt`))
|
||||||
.split("\n")[4]
|
.split("\n")[4]
|
||||||
.split(" ")
|
.split(" ")
|
||||||
.map(Number);
|
.map(Number);
|
||||||
@@ -109,13 +104,13 @@ export async function consumableProvisionIcons() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const match of (
|
for (const match of (
|
||||||
await readStringDVPL(
|
await vfs.text(
|
||||||
`${DATA}/XML/item_defs/vehicles/common/provisions/list.xml`
|
`Data/XML/item_defs/vehicles/common/provisions/list.xml`
|
||||||
)
|
)
|
||||||
).matchAll(listItemsPattern)) {
|
).matchAll(listItemsPattern)) {
|
||||||
const provisionsCommon = await readXMLDVPL<{
|
const provisionsCommon = await vfs.xml<{
|
||||||
root: ProvisionsCommon;
|
root: ProvisionsCommon;
|
||||||
}>(`${DATA}/XML/item_defs/vehicles/common/provisions/${match[1]}.xml`);
|
}>(`Data/XML/item_defs/vehicles/common/provisions/${match[1]}.xml`);
|
||||||
|
|
||||||
for (const provision of Object.values(provisionsCommon.root)) {
|
for (const provision of Object.values(provisionsCommon.root)) {
|
||||||
const styleSheet = styleSheets.find((styleSheet) =>
|
const styleSheet = styleSheets.find((styleSheet) =>
|
||||||
@@ -136,9 +131,9 @@ export async function consumableProvisionIcons() {
|
|||||||
.replace(".psd", "")
|
.replace(".psd", "")
|
||||||
.replace(".txt", "");
|
.replace(".txt", "");
|
||||||
|
|
||||||
if (existsSync(`${DATA}/${configPath}.packed.webp`)) {
|
if (vfs.resolve(`Data/${configPath}.packed.webp`)) {
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await readDVPLFile(`${DATA}/${configPath}.packed.webp`)
|
await vfs.file(`Data/${configPath}.packed.webp`)
|
||||||
);
|
);
|
||||||
const content = await image.trim({ threshold: 100 }).toBuffer();
|
const content = await image.trim({ threshold: 100 }).toBuffer();
|
||||||
|
|
||||||
@@ -148,14 +143,14 @@ export async function consumableProvisionIcons() {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const provisionsTexture = sharp(
|
const provisionsTexture = sharp(
|
||||||
await readDVPLFile(
|
await vfs.file(
|
||||||
`${`${DATA}/${configPath}`
|
`${`Data/${configPath}`
|
||||||
.split("/")
|
.split("/")
|
||||||
.slice(0, -1)
|
.slice(0, -1)
|
||||||
.join("/")}/texture0.packed.webp`
|
.join("/")}/texture0.packed.webp`
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
const sizes = (await readStringDVPL(`${DATA}/${configPath}.txt`))
|
const sizes = (await vfs.text(`Data/${configPath}.txt`))
|
||||||
.split("\n")[4]
|
.split("\n")[4]
|
||||||
.split(" ")
|
.split(" ")
|
||||||
.map(Number);
|
.map(Number);
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
import { assertSecret, BlitzGlossary } from "@blitzkit/core";
|
import { assertSecret, BlitzGlossary } from "@blitzkit/core";
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../../src/core/blitz/readDVPLFile";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
|
|
||||||
const ICONS = [
|
const ICONS = [
|
||||||
["currency_silver_m.packed.webp", "silver"],
|
["currency_silver_m.packed.webp", "silver"],
|
||||||
@@ -21,7 +20,7 @@ export async function currencies() {
|
|||||||
|
|
||||||
for (const [file, name] of ICONS) {
|
for (const [file, name] of ICONS) {
|
||||||
const content = await sharp(
|
const content = await sharp(
|
||||||
await readDVPLFile(`${DATA}/Gfx/Lobby/currency/${file}`)
|
await vfs.file(`Data/Gfx/Lobby/currency/${file}`)
|
||||||
)
|
)
|
||||||
.trim()
|
.trim()
|
||||||
.toBuffer();
|
.toBuffer();
|
||||||
|
|||||||
@@ -32,16 +32,12 @@ import {
|
|||||||
} from "@blitzkit/core";
|
} from "@blitzkit/core";
|
||||||
import { SUPPORTED_LOCALE_BLITZ_MAP } from "@blitzkit/i18n";
|
import { SUPPORTED_LOCALE_BLITZ_MAP } from "@blitzkit/i18n";
|
||||||
import locales from "@blitzkit/i18n/locales.json";
|
import locales from "@blitzkit/i18n/locales.json";
|
||||||
import { readdir } from "fs/promises";
|
|
||||||
import { deburr } from "lodash-es";
|
import { deburr } from "lodash-es";
|
||||||
import { parse as parsePath } from "path";
|
import { parse as parsePath } from "path";
|
||||||
import type { Vector3Tuple } from "three";
|
import type { Vector3Tuple } from "three";
|
||||||
import { parse as parseYaml } from "yaml";
|
import { parse as parseYaml } from "yaml";
|
||||||
import { readStringDVPL } from "../core/blitz/readStringDVPL";
|
|
||||||
import { readXMLDVPL } from "../core/blitz/readXMLDVPL";
|
|
||||||
import { readYAMLDVPL } from "../core/blitz/readYAMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
import type { Avatar } from "./skillIcons";
|
import type { Avatar } from "./skillIcons";
|
||||||
import type { TankParameters } from "./tankIcons";
|
import type { TankParameters } from "./tankIcons";
|
||||||
|
|
||||||
@@ -538,11 +534,11 @@ const blitzModuleTypeToBlitzkit: Record<keyof BlitzModuleType, ModuleType> = {
|
|||||||
export async function definitions() {
|
export async function definitions() {
|
||||||
console.log("Building definitions...");
|
console.log("Building definitions...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("definitions");
|
const uploader = new AssetUploader("definitions");
|
||||||
const gameDefinitions: GameDefinitions = {
|
const gameDefinitions: GameDefinitions = {
|
||||||
version: (await readStringDVPL(`${DATA}/version.txt`)).split(" ")[0],
|
version: (await vfs.text("Data/version.txt")).split(" ")[0],
|
||||||
nations: (
|
nations: (
|
||||||
await readYAMLDVPL<AvailableNationsYaml>(`${DATA}/available_nations.yaml`)
|
await vfs.yaml<AvailableNationsYaml>("Data/available_nations.yaml")
|
||||||
).available_nations,
|
).available_nations,
|
||||||
gameModes: {},
|
gameModes: {},
|
||||||
roles: {},
|
roles: {},
|
||||||
@@ -565,12 +561,12 @@ export async function definitions() {
|
|||||||
[TankClass.TANK_DESTROYER]: { skills: [] },
|
[TankClass.TANK_DESTROYER]: { skills: [] },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const nations = await readdir(`${DATA}/XML/item_defs/vehicles`).then(
|
const nations = vfs
|
||||||
(nations) => nations.filter((nation) => nation !== "common")
|
.dir("Data/XML/item_defs/vehicles")
|
||||||
);
|
.filter((nation) => nation !== "common");
|
||||||
const tankStringIdMap: Record<string, number> = {};
|
const tankStringIdMap: Record<string, number> = {};
|
||||||
const optionalDevices = await readXMLDVPL<{ root: OptionalDevices }>(
|
const optionalDevices = await vfs.xml<{ root: OptionalDevices }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/common/optional_devices.xml`
|
"Data/XML/item_defs/vehicles/common/optional_devices.xml"
|
||||||
);
|
);
|
||||||
const stringsI18n: Record<string, Record<string, string>> = {};
|
const stringsI18n: Record<string, Record<string, string>> = {};
|
||||||
|
|
||||||
@@ -582,8 +578,8 @@ export async function definitions() {
|
|||||||
)
|
)
|
||||||
.then((response) => response.text())
|
.then((response) => response.text())
|
||||||
.then((string) => parseYaml(string) as BlitzStrings);
|
.then((string) => parseYaml(string) as BlitzStrings);
|
||||||
const preInstalled = await readYAMLDVPL<BlitzStrings>(
|
const preInstalled = await vfs.yaml<BlitzStrings>(
|
||||||
`${DATA}/Strings/${blitzLocale}.yaml`
|
`Data/Strings/${blitzLocale}.yaml`
|
||||||
);
|
);
|
||||||
|
|
||||||
stringsI18n[locale] = {
|
stringsI18n[locale] = {
|
||||||
@@ -616,67 +612,63 @@ export async function definitions() {
|
|||||||
return { locales: collection } satisfies I18nString;
|
return { locales: collection } satisfies I18nString;
|
||||||
}
|
}
|
||||||
|
|
||||||
const optionalDeviceSlots = await readXMLDVPL<{
|
const optionalDeviceSlots = await vfs.xml<{
|
||||||
root: OptionalDeviceSlots;
|
root: OptionalDeviceSlots;
|
||||||
}>(`${DATA}/XML/item_defs/vehicles/common/optional_device_slots.xml`);
|
}>(`Data/XML/item_defs/vehicles/common/optional_device_slots.xml`);
|
||||||
const consumables: ConsumablesCommon = {};
|
const consumables: ConsumablesCommon = {};
|
||||||
const provisions: ProvisionsCommon = {};
|
const provisions: ProvisionsCommon = {};
|
||||||
|
|
||||||
for (const match of (
|
for (const match of (
|
||||||
await readStringDVPL(
|
await vfs.text(`Data/XML/item_defs/vehicles/common/consumables/list.xml`)
|
||||||
`${DATA}/XML/item_defs/vehicles/common/consumables/list.xml`
|
|
||||||
)
|
|
||||||
).matchAll(/<items path="(.+)\.xml"\/>/g)) {
|
).matchAll(/<items path="(.+)\.xml"\/>/g)) {
|
||||||
if (match[1] === "prototypes") continue;
|
if (match[1] === "prototypes") continue;
|
||||||
|
|
||||||
Object.assign(
|
Object.assign(
|
||||||
consumables,
|
consumables,
|
||||||
(
|
(
|
||||||
await readXMLDVPL<{ root: ConsumablesCommon }>(
|
await vfs.xml<{ root: ConsumablesCommon }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/common/consumables/${match[1]}.xml`
|
`Data/XML/item_defs/vehicles/common/consumables/${match[1]}.xml`
|
||||||
)
|
)
|
||||||
).root
|
).root
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const match of (
|
for (const match of (
|
||||||
await readStringDVPL(
|
await vfs.text(`Data/XML/item_defs/vehicles/common/provisions/list.xml`)
|
||||||
`${DATA}/XML/item_defs/vehicles/common/provisions/list.xml`
|
|
||||||
)
|
|
||||||
).matchAll(/<items path="(.+)\.xml"\/>/g)) {
|
).matchAll(/<items path="(.+)\.xml"\/>/g)) {
|
||||||
if (match[1] === "prototypes") continue;
|
if (match[1] === "prototypes") continue;
|
||||||
|
|
||||||
Object.assign(
|
Object.assign(
|
||||||
provisions,
|
provisions,
|
||||||
(
|
(
|
||||||
await readXMLDVPL<{ root: ConsumablesCommon }>(
|
await vfs.xml<{ root: ConsumablesCommon }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/common/provisions/${match[1]}.xml`
|
`Data/XML/item_defs/vehicles/common/provisions/${match[1]}.xml`
|
||||||
)
|
)
|
||||||
).root
|
).root
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const avatar = await readXMLDVPL<{ root: Avatar }>(
|
const avatar = await vfs.xml<{ root: Avatar }>(
|
||||||
`${DATA}/XML/item_defs/tankmen/avatar.xml`
|
`Data/XML/item_defs/tankmen/avatar.xml`
|
||||||
);
|
);
|
||||||
const maps = await readYAMLDVPL<Maps>(`${DATA}/maps.yaml`);
|
const maps = await vfs.yaml<Maps>(`Data/maps.yaml`);
|
||||||
const tankXps = new Map<number, ResearchCost>();
|
const tankXps = new Map<number, ResearchCost>();
|
||||||
const camouflagesXml = await readXMLDVPL<{ root: CamouflagesXML }>(
|
const camouflagesXml = await vfs.xml<{ root: CamouflagesXML }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/common/camouflages.xml`
|
`Data/XML/item_defs/vehicles/common/camouflages.xml`
|
||||||
);
|
);
|
||||||
const camouflagesYaml = await readYAMLDVPL<CamouflagesYaml>(
|
const camouflagesYaml = await vfs.yaml<CamouflagesYaml>(
|
||||||
`${DATA}/camouflages.yaml`
|
`Data/camouflages.yaml`
|
||||||
);
|
);
|
||||||
const camouflagesXmlEntries = Object.entries(camouflagesXml.root.camouflages);
|
const camouflagesXmlEntries = Object.entries(camouflagesXml.root.camouflages);
|
||||||
const squadBattleTypeStyles = await readYAMLDVPL<SquadBattleTypeStyles>(
|
const squadBattleTypeStyles = await vfs.yaml<SquadBattleTypeStyles>(
|
||||||
`${DATA}/UI/Screens3/Lobby/Hangar/Squad/SquadBattleType.yaml`
|
`Data/UI/Screens3/Lobby/Hangar/Squad/SquadBattleType.yaml`
|
||||||
);
|
);
|
||||||
const gameTypeSelectorStyles = await readYAMLDVPL<SquadBattleTypeStyles>(
|
const gameTypeSelectorStyles = await vfs.yaml<SquadBattleTypeStyles>(
|
||||||
`${DATA}/UI/Screens/Lobby/Hangar/GameTypeSelector.yaml`
|
`Data/UI/Screens/Lobby/Hangar/GameTypeSelector.yaml`
|
||||||
);
|
);
|
||||||
const gameModeNativeNames: Record<string, number> = {};
|
const gameModeNativeNames: Record<string, number> = {};
|
||||||
const combatRoles = await readYAMLDVPL<CombatRolesYaml>(
|
const combatRoles = await vfs.yaml<CombatRolesYaml>(
|
||||||
`${DATA}/XML/item_defs/vehicles/common/combat_roles.yaml`
|
`Data/XML/item_defs/vehicles/common/combat_roles.yaml`
|
||||||
);
|
);
|
||||||
const consumableNativeNames: Record<string, number> = {};
|
const consumableNativeNames: Record<string, number> = {};
|
||||||
const provisionNativeNames: Record<string, number> = {};
|
const provisionNativeNames: Record<string, number> = {};
|
||||||
@@ -727,8 +719,8 @@ export async function definitions() {
|
|||||||
const idToNation: Record<number, string> = {};
|
const idToNation: Record<number, string> = {};
|
||||||
|
|
||||||
for (const nation of nations) {
|
for (const nation of nations) {
|
||||||
const tankList = await readXMLDVPL<{ root: VehicleDefinitionList }>(
|
const tankList = await vfs.xml<{ root: VehicleDefinitionList }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/${nation}/list.xml`
|
`Data/XML/item_defs/vehicles/${nation}/list.xml`
|
||||||
);
|
);
|
||||||
|
|
||||||
for (const tankKey in tankList.root) {
|
for (const tankKey in tankList.root) {
|
||||||
@@ -811,24 +803,24 @@ export async function definitions() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
for (const nation of nations) {
|
for (const nation of nations) {
|
||||||
const tankList = await readXMLDVPL<{ root: VehicleDefinitionList }>(
|
const tankList = await vfs.xml<{ root: VehicleDefinitionList }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/${nation}/list.xml`
|
`Data/XML/item_defs/vehicles/${nation}/list.xml`
|
||||||
);
|
);
|
||||||
const turretList = await readXMLDVPL<{
|
const turretList = await vfs.xml<{
|
||||||
root: TurretDefinitionsList;
|
root: TurretDefinitionsList;
|
||||||
}>(`${DATA}/XML/item_defs/vehicles/${nation}/components/turrets.xml`);
|
}>(`Data/XML/item_defs/vehicles/${nation}/components/turrets.xml`);
|
||||||
const gunList = await readXMLDVPL<{
|
const gunList = await vfs.xml<{
|
||||||
root: GunDefinitionsList;
|
root: GunDefinitionsList;
|
||||||
}>(`${DATA}/XML/item_defs/vehicles/${nation}/components/guns.xml`);
|
}>(`Data/XML/item_defs/vehicles/${nation}/components/guns.xml`);
|
||||||
const shellList = await readXMLDVPL<{
|
const shellList = await vfs.xml<{
|
||||||
root: ShellDefinitionsList;
|
root: ShellDefinitionsList;
|
||||||
}>(`${DATA}/XML/item_defs/vehicles/${nation}/components/shells.xml`);
|
}>(`Data/XML/item_defs/vehicles/${nation}/components/shells.xml`);
|
||||||
const enginesList = await readXMLDVPL<{
|
const enginesList = await vfs.xml<{
|
||||||
root: EngineDefinitionsList;
|
root: EngineDefinitionsList;
|
||||||
}>(`${DATA}/XML/item_defs/vehicles/${nation}/components/engines.xml`);
|
}>(`Data/XML/item_defs/vehicles/${nation}/components/engines.xml`);
|
||||||
const chassisList = await readXMLDVPL<{
|
const chassisList = await vfs.xml<{
|
||||||
root: ChassisDefinitionsList;
|
root: ChassisDefinitionsList;
|
||||||
}>(`${DATA}/XML/item_defs/vehicles/${nation}/components/chassis.xml`);
|
}>(`Data/XML/item_defs/vehicles/${nation}/components/chassis.xml`);
|
||||||
|
|
||||||
function resolveUnlocks(unlocks?: BlitzModuleType) {
|
function resolveUnlocks(unlocks?: BlitzModuleType) {
|
||||||
if (!unlocks) return [];
|
if (!unlocks) return [];
|
||||||
@@ -879,11 +871,11 @@ export async function definitions() {
|
|||||||
const trackXps = new Map<number, ResearchCost>();
|
const trackXps = new Map<number, ResearchCost>();
|
||||||
const tank = tankList.root[tankKey];
|
const tank = tankList.root[tankKey];
|
||||||
let tankPrice: TankPrice;
|
let tankPrice: TankPrice;
|
||||||
const tankDefinition = await readXMLDVPL<{ root: VehicleDefinitions }>(
|
const tankDefinition = await vfs.xml<{ root: VehicleDefinitions }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/${nation}/${tankKey}.xml`
|
`Data/XML/item_defs/vehicles/${nation}/${tankKey}.xml`
|
||||||
);
|
);
|
||||||
const tankParameters = await readYAMLDVPL<TankParameters>(
|
const tankParameters = await vfs.yaml<TankParameters>(
|
||||||
`${DATA}/3d/Tanks/Parameters/${nation}/${tankKey}.yaml`
|
`Data/3d/Tanks/Parameters/${nation}/${tankKey}.yaml`
|
||||||
);
|
);
|
||||||
const turretOrigin = tankDefinition.root.hull.turretPositions.turret
|
const turretOrigin = tankDefinition.root.hull.turretPositions.turret
|
||||||
.split(" ")
|
.split(" ")
|
||||||
@@ -1565,87 +1557,85 @@ export async function definitions() {
|
|||||||
const includeRaw = consumable.vehicleFilter?.include.vehicle;
|
const includeRaw = consumable.vehicleFilter?.include.vehicle;
|
||||||
const excludeRaw = consumable.vehicleFilter?.exclude?.vehicle;
|
const excludeRaw = consumable.vehicleFilter?.exclude?.vehicle;
|
||||||
|
|
||||||
if (!entry.game_mode_exclusive) {
|
if (includeRaw) {
|
||||||
if (includeRaw) {
|
entry.include = [];
|
||||||
entry.include = [];
|
|
||||||
|
|
||||||
if ("minLevel" in includeRaw) {
|
if ("minLevel" in includeRaw) {
|
||||||
entry.include.push({
|
entry.include.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: "tiers",
|
$case: "tiers",
|
||||||
value: {
|
value: {
|
||||||
min: includeRaw.minLevel,
|
min: includeRaw.minLevel,
|
||||||
max: includeRaw.maxLevel,
|
max: includeRaw.maxLevel,
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
} else if ("name" in includeRaw) {
|
});
|
||||||
entry.include.push({
|
} else if ("name" in includeRaw) {
|
||||||
filter_type: {
|
entry.include.push({
|
||||||
$case: "ids",
|
filter_type: {
|
||||||
value: {
|
$case: "ids",
|
||||||
ids: includeRaw.name.split(/ +/).map((key) => {
|
value: {
|
||||||
return tankStringIdMap[key];
|
ids: includeRaw.name.split(/ +/).map((key) => {
|
||||||
}),
|
return tankStringIdMap[key];
|
||||||
},
|
}),
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
} else throw new SyntaxError("Unhandled include type");
|
});
|
||||||
|
} else throw new SyntaxError("Unhandled include type");
|
||||||
|
|
||||||
if (consumable.vehicleFilter?.include.nations) {
|
if (consumable.vehicleFilter?.include.nations) {
|
||||||
entry.include.push({
|
entry.include.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: "nations",
|
$case: "nations",
|
||||||
value: {
|
value: {
|
||||||
nations: consumable.vehicleFilter.include.nations.split(" "),
|
nations: consumable.vehicleFilter.include.nations.split(" "),
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (excludeRaw) {
|
if (excludeRaw) {
|
||||||
entry.exclude = [];
|
entry.exclude = [];
|
||||||
|
|
||||||
if ("name" in excludeRaw) {
|
if ("name" in excludeRaw) {
|
||||||
entry.exclude!.push({
|
entry.exclude!.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: "ids",
|
$case: "ids",
|
||||||
value: {
|
value: {
|
||||||
ids: excludeRaw.name.split(/ +/).map((key) => {
|
ids: excludeRaw.name.split(/ +/).map((key) => {
|
||||||
return tankStringIdMap[key];
|
return tankStringIdMap[key];
|
||||||
}),
|
}),
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
} else if ("extendedTags" in excludeRaw) {
|
});
|
||||||
entry.exclude!.push({
|
} else if ("extendedTags" in excludeRaw) {
|
||||||
filter_type: {
|
entry.exclude!.push({
|
||||||
$case: "categories",
|
filter_type: {
|
||||||
value: {
|
$case: "categories",
|
||||||
categories: excludeRaw.extendedTags
|
value: {
|
||||||
.split(" ")
|
categories: excludeRaw.extendedTags
|
||||||
.map(
|
.split(" ")
|
||||||
(item) =>
|
.map(
|
||||||
blitzTankFilterDefinitionCategoryToBlitzkit[
|
(item) =>
|
||||||
item as BlitzTankFilterDefinitionCategory
|
blitzTankFilterDefinitionCategoryToBlitzkit[
|
||||||
]
|
item as BlitzTankFilterDefinitionCategory
|
||||||
),
|
]
|
||||||
},
|
),
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
} else throw new SyntaxError("Unhandled exclude type");
|
});
|
||||||
|
} else throw new SyntaxError("Unhandled exclude type");
|
||||||
|
|
||||||
if (consumable.vehicleFilter?.exclude?.nations) {
|
if (consumable.vehicleFilter?.exclude?.nations) {
|
||||||
entry.exclude!.push({
|
entry.exclude!.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: "nations",
|
$case: "nations",
|
||||||
value: {
|
value: {
|
||||||
nations: consumable.vehicleFilter.exclude.nations.split(" "),
|
nations: consumable.vehicleFilter.exclude.nations.split(" "),
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -1665,87 +1655,85 @@ export async function definitions() {
|
|||||||
const includeRaw = provision.vehicleFilter?.include.vehicle;
|
const includeRaw = provision.vehicleFilter?.include.vehicle;
|
||||||
const excludeRaw = provision.vehicleFilter?.exclude?.vehicle;
|
const excludeRaw = provision.vehicleFilter?.exclude?.vehicle;
|
||||||
|
|
||||||
if (!entry.game_mode_exclusive) {
|
if (includeRaw) {
|
||||||
if (includeRaw) {
|
entry.include = [];
|
||||||
entry.include = [];
|
|
||||||
|
|
||||||
if ("minLevel" in includeRaw) {
|
if ("minLevel" in includeRaw) {
|
||||||
entry.include.push({
|
entry.include.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: "tiers",
|
$case: "tiers",
|
||||||
value: {
|
value: {
|
||||||
min: includeRaw.minLevel,
|
min: includeRaw.minLevel,
|
||||||
max: includeRaw.maxLevel,
|
max: includeRaw.maxLevel,
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
} else if ("name" in includeRaw) {
|
});
|
||||||
entry.include.push({
|
} else if ("name" in includeRaw) {
|
||||||
filter_type: {
|
entry.include.push({
|
||||||
$case: "ids",
|
filter_type: {
|
||||||
value: {
|
$case: "ids",
|
||||||
ids: includeRaw.name.split(/ +/).map((key) => {
|
value: {
|
||||||
return tankStringIdMap[key];
|
ids: includeRaw.name.split(/ +/).map((key) => {
|
||||||
}),
|
return tankStringIdMap[key];
|
||||||
},
|
}),
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
} else throw new SyntaxError("Unhandled include type");
|
});
|
||||||
|
} else throw new SyntaxError("Unhandled include type");
|
||||||
|
|
||||||
if (provision.vehicleFilter?.include.nations) {
|
if (provision.vehicleFilter?.include.nations) {
|
||||||
entry.include.push({
|
entry.include.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: "nations",
|
$case: "nations",
|
||||||
value: {
|
value: {
|
||||||
nations: provision.vehicleFilter.include.nations.split(" "),
|
nations: provision.vehicleFilter.include.nations.split(" "),
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (excludeRaw) {
|
if (excludeRaw) {
|
||||||
entry.exclude = [];
|
entry.exclude = [];
|
||||||
|
|
||||||
if ("name" in excludeRaw) {
|
if ("name" in excludeRaw) {
|
||||||
entry.exclude!.push({
|
entry.exclude!.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: "ids",
|
$case: "ids",
|
||||||
value: {
|
value: {
|
||||||
ids: excludeRaw.name
|
ids: excludeRaw.name
|
||||||
.split(/ +/)
|
.split(/ +/)
|
||||||
.map((key) => tankStringIdMap[key]),
|
.map((key) => tankStringIdMap[key]),
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
} else if ("extendedTags" in excludeRaw) {
|
});
|
||||||
entry.exclude!.push({
|
} else if ("extendedTags" in excludeRaw) {
|
||||||
filter_type: {
|
entry.exclude!.push({
|
||||||
$case: "categories",
|
filter_type: {
|
||||||
value: {
|
$case: "categories",
|
||||||
categories: excludeRaw.extendedTags
|
value: {
|
||||||
.split(" ")
|
categories: excludeRaw.extendedTags
|
||||||
.map(
|
.split(" ")
|
||||||
(item) =>
|
.map(
|
||||||
blitzTankFilterDefinitionCategoryToBlitzkit[
|
(item) =>
|
||||||
item as BlitzTankFilterDefinitionCategory
|
blitzTankFilterDefinitionCategoryToBlitzkit[
|
||||||
]
|
item as BlitzTankFilterDefinitionCategory
|
||||||
),
|
]
|
||||||
},
|
),
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
} else throw new SyntaxError("Unhandled exclude type");
|
});
|
||||||
|
} else throw new SyntaxError("Unhandled exclude type");
|
||||||
|
|
||||||
if (provision.vehicleFilter?.exclude?.nations) {
|
if (provision.vehicleFilter?.exclude?.nations) {
|
||||||
entry.exclude!.push({
|
entry.exclude!.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: "nations",
|
$case: "nations",
|
||||||
value: {
|
value: {
|
||||||
nations: provision.vehicleFilter.exclude.nations.split(" "),
|
nations: provision.vehicleFilter.exclude.nations.split(" "),
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../../src/core/blitz/readDVPLFile";
|
|
||||||
import { readStringDVPL } from "../../src/core/blitz/readStringDVPL";
|
|
||||||
import { readXMLDVPL } from "../core/blitz/readXMLDVPL";
|
|
||||||
import { readYAMLDVPL } from "../core/blitz/readYAMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
import { OptionalDevices } from "./definitions";
|
import { OptionalDevices } from "./definitions";
|
||||||
|
|
||||||
interface Mappings {
|
interface Mappings {
|
||||||
@@ -20,15 +16,15 @@ export async function equipmentIcons() {
|
|||||||
console.log("Building equipment icons...");
|
console.log("Building equipment icons...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("equipment icons");
|
using uploader = new AssetUploader("equipment icons");
|
||||||
const optionalDevices = await readXMLDVPL<{ root: OptionalDevices }>(
|
const optionalDevices = await vfs.xml<{ root: OptionalDevices }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/common/optional_devices.xml`
|
`Data/XML/item_defs/vehicles/common/optional_devices.xml`
|
||||||
);
|
);
|
||||||
const mappings = await readYAMLDVPL<Mappings>(
|
const mappings = await vfs.yaml<Mappings>(
|
||||||
`${DATA}/UI/Screens3/Lobby/Inventory/OptionalDevices/OptionalDevicesItemImage.style.yaml`
|
`Data/UI/Screens3/Lobby/Inventory/OptionalDevices/OptionalDevicesItemImage.style.yaml`
|
||||||
);
|
);
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await readDVPLFile(
|
await vfs.file(
|
||||||
`${DATA}/Gfx/UI/InventoryIcons/Big/OptionalDevices/texture0.packed.webp`
|
`Data/Gfx/UI/InventoryIcons/Big/OptionalDevices/texture0.packed.webp`
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -54,7 +50,7 @@ export async function equipmentIcons() {
|
|||||||
if (configPath.startsWith("Gfx/Lobby")) {
|
if (configPath.startsWith("Gfx/Lobby")) {
|
||||||
const configPathWebp = configPath.replace(".txt", "");
|
const configPathWebp = configPath.replace(".txt", "");
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await readDVPLFile(`${DATA}/${configPathWebp}.packed.webp`)
|
await vfs.file(`Data/${configPathWebp}.packed.webp`)
|
||||||
);
|
);
|
||||||
const content = await image.trim().toBuffer();
|
const content = await image.trim().toBuffer();
|
||||||
|
|
||||||
@@ -63,7 +59,7 @@ export async function equipmentIcons() {
|
|||||||
content,
|
content,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const config = await readStringDVPL(`${DATA}/${configPath}`);
|
const config = await vfs.text(`Data/${configPath}`);
|
||||||
const sizes = config.split("\n")[4].split(" ").map(Number);
|
const sizes = config.split("\n")[4].split(" ").map(Number);
|
||||||
const content = await image
|
const content = await image
|
||||||
.clone()
|
.clone()
|
||||||
|
|||||||
@@ -1,37 +1,28 @@
|
|||||||
import { readdir } from "fs/promises";
|
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../core/blitz/readDVPLFile";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
|
|
||||||
export async function flags() {
|
export async function flags() {
|
||||||
console.log("Building flags...");
|
console.log("Building flags...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("flags");
|
using uploader = new AssetUploader("flags");
|
||||||
const circleFiles = await readdir(`${DATA}/Gfx/Lobby/flags`).then((files) =>
|
const circleFiles = vfs.dir(`Data/Gfx/Lobby/flags`).filter(
|
||||||
files.filter(
|
|
||||||
(flag) =>
|
(flag) =>
|
||||||
flag.startsWith("flag_profile-stat_") &&
|
flag.startsWith("flag_profile-stat_") &&
|
||||||
!flag.endsWith("@2x.packed.webp")
|
!flag.endsWith("@2x.packed.webp")
|
||||||
)
|
);
|
||||||
);
|
const scratchedFiles = vfs.dir(`Data/Gfx/Lobby/flags`).filter(
|
||||||
const scratchedFiles = await readdir(`${DATA}/Gfx/Lobby/flags`).then(
|
|
||||||
(files) =>
|
|
||||||
files.filter(
|
|
||||||
(flag) =>
|
(flag) =>
|
||||||
flag.startsWith("flag_tutor-tank_") &&
|
flag.startsWith("flag_tutor-tank_") &&
|
||||||
!flag.endsWith("@2x.packed.webp")
|
!flag.endsWith("@2x.packed.webp")
|
||||||
)
|
)
|
||||||
);
|
const fadedFiles = vfs.dir(`Data/Gfx/Lobby/flags`).filter(
|
||||||
const fadedFiles = await readdir(`${DATA}/Gfx/Lobby/flags`).then((files) =>
|
|
||||||
files.filter(
|
|
||||||
(flag) =>
|
(flag) =>
|
||||||
flag.startsWith("flag_filter_") && flag.endsWith("@2x.packed.webp")
|
flag.startsWith("flag_filter_") && flag.endsWith("@2x.packed.webp")
|
||||||
)
|
)
|
||||||
);
|
|
||||||
|
|
||||||
for (const flag of circleFiles) {
|
for (const flag of circleFiles) {
|
||||||
const image = sharp(await readDVPLFile(`${DATA}/Gfx/Lobby/flags/${flag}`));
|
const image = sharp(await vfs.file(`Data/Gfx/Lobby/flags/${flag}`));
|
||||||
const content = await image.trim({ threshold: 100 }).toBuffer();
|
const content = await image.trim({ threshold: 100 }).toBuffer();
|
||||||
const name = flag.match(/flag_profile-stat_(.+)\.packed\.webp/)![1];
|
const name = flag.match(/flag_profile-stat_(.+)\.packed\.webp/)![1];
|
||||||
|
|
||||||
@@ -42,7 +33,7 @@ export async function flags() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const flag of scratchedFiles) {
|
for (const flag of scratchedFiles) {
|
||||||
const content = await readDVPLFile(`${DATA}/Gfx/Lobby/flags/${flag}`);
|
const content = await vfs.file(`Data/Gfx/Lobby/flags/${flag}`);
|
||||||
const name = flag.match(/flag_tutor-tank_(.+)\.packed\.webp/)![1];
|
const name = flag.match(/flag_tutor-tank_(.+)\.packed\.webp/)![1];
|
||||||
|
|
||||||
uploader.add({
|
uploader.add({
|
||||||
@@ -53,7 +44,7 @@ export async function flags() {
|
|||||||
|
|
||||||
for (const flag of fadedFiles) {
|
for (const flag of fadedFiles) {
|
||||||
const content = await sharp(
|
const content = await sharp(
|
||||||
await readDVPLFile(`${DATA}/Gfx/Lobby/flags/${flag}`)
|
await vfs.file(`Data/Gfx/Lobby/flags/${flag}`)
|
||||||
)
|
)
|
||||||
.trim({
|
.trim({
|
||||||
threshold: 100,
|
threshold: 100,
|
||||||
|
|||||||
@@ -1,19 +1,17 @@
|
|||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../../src/core/blitz/readDVPLFile";
|
|
||||||
import { readYAMLDVPL } from "../core/blitz/readYAMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
import { SquadBattleTypeStyles } from "./definitions";
|
import { SquadBattleTypeStyles } from "./definitions";
|
||||||
|
|
||||||
export async function gameModeBanners() {
|
export async function gameModeBanners() {
|
||||||
console.log("Building game mode banners...");
|
console.log("Building game mode banners...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("game mode banners");
|
using uploader = new AssetUploader("game mode banners");
|
||||||
const gameTypeSelectorStyles = await readYAMLDVPL<SquadBattleTypeStyles>(
|
const gameTypeSelectorStyles = await vfs.yaml<SquadBattleTypeStyles>(
|
||||||
`${DATA}/UI/Screens/Lobby/Hangar/GameTypeSelector.yaml`
|
`Data/UI/Screens/Lobby/Hangar/GameTypeSelector.yaml`
|
||||||
);
|
);
|
||||||
const squadBattleTypeStyles = await readYAMLDVPL<SquadBattleTypeStyles>(
|
const squadBattleTypeStyles = await vfs.yaml<SquadBattleTypeStyles>(
|
||||||
`${DATA}/UI/Screens3/Lobby/Hangar/Squad/SquadBattleType.yaml`
|
`Data/UI/Screens3/Lobby/Hangar/Squad/SquadBattleType.yaml`
|
||||||
);
|
);
|
||||||
const bannerMatches: { name: string; path: string }[] = [];
|
const bannerMatches: { name: string; path: string }[] = [];
|
||||||
|
|
||||||
@@ -37,7 +35,7 @@ export async function gameModeBanners() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const content = await sharp(
|
const content = await sharp(
|
||||||
await readDVPLFile(`${DATA}${path}.packed.webp`)
|
await vfs.file(`Data${path}.packed.webp`)
|
||||||
)
|
)
|
||||||
.trim({ background: { r: 0, g: 0, b: 0, alpha: 0 } })
|
.trim({ background: { r: 0, g: 0, b: 0, alpha: 0 } })
|
||||||
.toBuffer();
|
.toBuffer();
|
||||||
|
|||||||
@@ -1,16 +1,8 @@
|
|||||||
import { config } from "dotenv";
|
import { config } from "dotenv";
|
||||||
import { argv } from "process";
|
import { argv } from "process";
|
||||||
|
|
||||||
config();
|
|
||||||
|
|
||||||
const allTargets = argv.includes("--all-targets");
|
|
||||||
const targets = argv
|
|
||||||
.find((argument) => argument.startsWith("--target"))
|
|
||||||
?.split("=")[1]
|
|
||||||
.split(",");
|
|
||||||
|
|
||||||
import { boosterIcons } from "./boosterIcons";
|
import { boosterIcons } from "./boosterIcons";
|
||||||
import { camouflageIcons } from "./camouflageIcons";
|
import { camouflageIcons } from "./camouflageIcons";
|
||||||
|
import { vfs } from "./constants";
|
||||||
import { consumableProvisionIcons } from "./consumableProvisionIcons";
|
import { consumableProvisionIcons } from "./consumableProvisionIcons";
|
||||||
import { currencies } from "./currencies";
|
import { currencies } from "./currencies";
|
||||||
import { definitions } from "./definitions";
|
import { definitions } from "./definitions";
|
||||||
@@ -27,6 +19,14 @@ import { tankArmors } from "./tankArmors";
|
|||||||
import { tankIcons } from "./tankIcons";
|
import { tankIcons } from "./tankIcons";
|
||||||
import { tankModels } from "./tankModels";
|
import { tankModels } from "./tankModels";
|
||||||
|
|
||||||
|
config();
|
||||||
|
|
||||||
|
const allTargets = argv.includes("--all-targets");
|
||||||
|
const targets = argv
|
||||||
|
.find((argument) => argument.startsWith("--target"))
|
||||||
|
?.split("=")[1]
|
||||||
|
.split(",");
|
||||||
|
|
||||||
if (!targets && !allTargets) throw new Error("No target(s) specified");
|
if (!targets && !allTargets) throw new Error("No target(s) specified");
|
||||||
|
|
||||||
const methods = [
|
const methods = [
|
||||||
@@ -59,3 +59,6 @@ for (const method of methods) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vfs.dispose();
|
||||||
|
process.exit(0);
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
import { toUniqueId } from "@blitzkit/core";
|
import { toUniqueId } from "@blitzkit/core";
|
||||||
import { readdir } from "fs/promises";
|
|
||||||
import { readXMLDVPL } from "../core/blitz/readXMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
import { VehicleDefinitionList } from "./definitions";
|
import { VehicleDefinitionList } from "./definitions";
|
||||||
|
|
||||||
export async function migration() {
|
export async function migration() {
|
||||||
@@ -10,13 +8,11 @@ export async function migration() {
|
|||||||
|
|
||||||
using uploader = new AssetUploader("migration map");
|
using uploader = new AssetUploader("migration map");
|
||||||
const map: Record<string, number> = {};
|
const map: Record<string, number> = {};
|
||||||
const nations = await readdir(`${DATA}/XML/item_defs/vehicles`).then(
|
const nations = vfs.dir(`Data/XML/item_defs/vehicles`).filter((nation) => nation !== "common");
|
||||||
(nations) => nations.filter((nation) => nation !== "common")
|
|
||||||
);
|
|
||||||
|
|
||||||
for (const nation of nations) {
|
for (const nation of nations) {
|
||||||
const tankList = await readXMLDVPL<{ root: VehicleDefinitionList }>(
|
const tankList = await vfs.xml<{ root: VehicleDefinitionList }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/${nation}/list.xml`
|
`Data/XML/item_defs/vehicles/${nation}/list.xml`
|
||||||
);
|
);
|
||||||
|
|
||||||
for (const tankKey in tankList.root) {
|
for (const tankKey in tankList.root) {
|
||||||
|
|||||||
@@ -1,24 +1,20 @@
|
|||||||
import { readdir } from "fs/promises";
|
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../../src/core/blitz/readDVPLFile";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
|
|
||||||
export async function moduleIcons() {
|
export async function moduleIcons() {
|
||||||
console.log("Building module icons...");
|
console.log("Building module icons...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("module icons");
|
using uploader = new AssetUploader("module icons");
|
||||||
const files = await readdir(`${DATA}/Gfx/UI/ModulesTechTree`).then((dir) =>
|
const files = vfs.dir(`Data/Gfx/UI/ModulesTechTree`).filter(
|
||||||
dir.filter(
|
|
||||||
(file) => !file.endsWith("@2x.packed.webp") && file.startsWith("vehicle")
|
(file) => !file.endsWith("@2x.packed.webp") && file.startsWith("vehicle")
|
||||||
)
|
)
|
||||||
);
|
|
||||||
|
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
const nameRaw = file.match(/vehicle(.+)\.packed\.webp/)![1];
|
const nameRaw = file.match(/vehicle(.+)\.packed\.webp/)![1];
|
||||||
const name = nameRaw[0].toLowerCase() + nameRaw.slice(1);
|
const name = nameRaw[0].toLowerCase() + nameRaw.slice(1);
|
||||||
const content = await sharp(
|
const content = await sharp(
|
||||||
await readDVPLFile(`${DATA}/Gfx/UI/ModulesTechTree/${file}`)
|
await vfs.file(`Data/Gfx/UI/ModulesTechTree/${file}`)
|
||||||
)
|
)
|
||||||
.trim()
|
.trim()
|
||||||
.toBuffer();
|
.toBuffer();
|
||||||
|
|||||||
@@ -1,28 +1,25 @@
|
|||||||
import { readdir } from "fs/promises";
|
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../../src/core/blitz/readDVPLFile";
|
|
||||||
import { readStringDVPL } from "../../src/core/blitz/readStringDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
|
|
||||||
export async function shellIcons() {
|
export async function shellIcons() {
|
||||||
console.log("Building shell icons...");
|
console.log("Building shell icons...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("shell icons");
|
using uploader = new AssetUploader("shell icons");
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await readDVPLFile(
|
await vfs.file(
|
||||||
`${DATA}/Gfx/Shared/tank-supply/ammunition/big/texture0.packed.webp`
|
`Data/Gfx/Shared/tank-supply/ammunition/big/texture0.packed.webp`
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
const files = await readdir(
|
const files = vfs.dir(
|
||||||
`${DATA}/Gfx/Shared/tank-supply/ammunition/big`
|
`Data/Gfx/Shared/tank-supply/ammunition/big`
|
||||||
).then((files) => files.filter((file) => file.endsWith("_l.txt")));
|
).filter((file) => file.endsWith("_l.txt"))
|
||||||
|
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
const name = file.match(/(.+)_l\.txt/)![1];
|
const name = file.match(/(.+)_l\.txt/)![1];
|
||||||
const sizes = (
|
const sizes = (
|
||||||
await readStringDVPL(
|
await vfs.text(
|
||||||
`${DATA}/Gfx/Shared/tank-supply/ammunition/big/${file}`
|
`Data/Gfx/Shared/tank-supply/ammunition/big/${file}`
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.split("\n")[4]
|
.split("\n")[4]
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
import { TankClass } from "@blitzkit/core";
|
import { TankClass } from "@blitzkit/core";
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import { readDVPLFile } from "../core/blitz/readDVPLFile";
|
|
||||||
import { readXMLDVPL } from "../core/blitz/readXMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
|
|
||||||
interface SkillIcon {
|
interface SkillIcon {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -27,17 +25,17 @@ export interface Avatar {
|
|||||||
export async function skillIcons() {
|
export async function skillIcons() {
|
||||||
console.log("Building skill icons...");
|
console.log("Building skill icons...");
|
||||||
|
|
||||||
const avatar = await readXMLDVPL<{ root: Avatar }>(
|
const avatar = await vfs.xml<{ root: Avatar }>(
|
||||||
`${DATA}/XML/item_defs/tankmen/avatar.xml`
|
`Data/XML/item_defs/tankmen/avatar.xml`
|
||||||
);
|
);
|
||||||
using uploader = new AssetUploader("skill icons");
|
const uploader = new AssetUploader("skill icons");
|
||||||
|
|
||||||
for (const key in avatar.root.skills) {
|
for (const key in avatar.root.skills) {
|
||||||
const skill = avatar.root.skills[key];
|
const skill = avatar.root.skills[key];
|
||||||
const icon = Array.isArray(skill.icon) ? skill.icon[0] : skill.icon;
|
const icon = Array.isArray(skill.icon) ? skill.icon[0] : skill.icon;
|
||||||
const name = icon.name.split("/").at(-1)!.replace(/_\d$/, "");
|
const name = icon.name.split("/").at(-1)!.replace(/_\d$/, "");
|
||||||
const path = `${DATA}${icon.name.replace("~res:", "")}.packed.webp`;
|
const path = `Data${icon.name.replace("~res:", "")}.packed.webp`;
|
||||||
const image = sharp(await readDVPLFile(path)).trim();
|
const image = sharp(await vfs.file(path)).trim();
|
||||||
const content = await image.toBuffer();
|
const content = await image.toBuffer();
|
||||||
|
|
||||||
await uploader.add({ content, path: `icons/skills/${name}.webp` });
|
await uploader.add({ content, path: `icons/skills/${name}.webp` });
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
import { toUniqueId } from "@blitzkit/core";
|
import { toUniqueId } from "@blitzkit/core";
|
||||||
import { NodeIO } from "@gltf-transform/core";
|
import { NodeIO } from "@gltf-transform/core";
|
||||||
import { readdir } from "fs/promises";
|
|
||||||
import { extractArmor } from "../core/blitz/extractArmor";
|
import { extractArmor } from "../core/blitz/extractArmor";
|
||||||
import { readXMLDVPL } from "../core/blitz/readXMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
import { VehicleDefinitionList } from "./definitions";
|
import { VehicleDefinitionList } from "./definitions";
|
||||||
|
|
||||||
export async function tankArmors() {
|
export async function tankArmors() {
|
||||||
@@ -12,13 +10,11 @@ export async function tankArmors() {
|
|||||||
|
|
||||||
using uploader = new AssetUploader("tank armors");
|
using uploader = new AssetUploader("tank armors");
|
||||||
const nodeIO = new NodeIO();
|
const nodeIO = new NodeIO();
|
||||||
const nations = await readdir(`${DATA}/XML/item_defs/vehicles`).then(
|
const nations = vfs.dir(`Data/XML/item_defs/vehicles`).filter((nation) => nation !== "common");
|
||||||
(nations) => nations.filter((nation) => nation !== "common")
|
|
||||||
);
|
|
||||||
|
|
||||||
for (const nation of nations) {
|
for (const nation of nations) {
|
||||||
const tanks = await readXMLDVPL<{ root: VehicleDefinitionList }>(
|
const tanks = await vfs.xml<{ root: VehicleDefinitionList }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/${nation}/list.xml`
|
`Data/XML/item_defs/vehicles/${nation}/list.xml`
|
||||||
);
|
);
|
||||||
|
|
||||||
for (const tankKey in tanks.root) {
|
for (const tankKey in tanks.root) {
|
||||||
@@ -27,7 +23,7 @@ export async function tankArmors() {
|
|||||||
if (tankKey.includes("tutorial_bot")) continue;
|
if (tankKey.includes("tutorial_bot")) continue;
|
||||||
|
|
||||||
const id = toUniqueId(nation, tank.id);
|
const id = toUniqueId(nation, tank.id);
|
||||||
const model = await extractArmor(DATA, `${nation}-${tankKey}`);
|
const model = await extractArmor(vfs, `${nation}-${tankKey}`);
|
||||||
const content = await nodeIO.writeBinary(model);
|
const content = await nodeIO.writeBinary(model);
|
||||||
|
|
||||||
await uploader.add({ path: `3d/tanks/armor/${id}.glb`, content });
|
await uploader.add({ path: `3d/tanks/armor/${id}.glb`, content });
|
||||||
|
|||||||
@@ -1,12 +1,8 @@
|
|||||||
import { NATION_IDS } from "@blitzkit/core";
|
import { NATION_IDS } from "@blitzkit/core";
|
||||||
import { readdir } from "fs/promises";
|
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import type { Vector3Tuple } from "three";
|
import type { Vector3Tuple } from "three";
|
||||||
import { readDVPLFile } from "../core/blitz/readDVPLFile";
|
|
||||||
import { readXMLDVPL } from "../core/blitz/readXMLDVPL";
|
|
||||||
import { readYAMLDVPL } from "../core/blitz/readYAMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
import type { VehicleDefinitionList } from "./definitions";
|
import type { VehicleDefinitionList } from "./definitions";
|
||||||
|
|
||||||
export interface TankParameters {
|
export interface TankParameters {
|
||||||
@@ -45,13 +41,11 @@ export async function tankIcons() {
|
|||||||
console.log("Building tank icons...");
|
console.log("Building tank icons...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("tank icons");
|
using uploader = new AssetUploader("tank icons");
|
||||||
const nations = await readdir(`${DATA}/XML/item_defs/vehicles`).then(
|
const nations = vfs.dir(`Data/XML/item_defs/vehicles`).filter((nation) => nation !== "common")
|
||||||
(nations) => nations.filter((nation) => nation !== "common")
|
|
||||||
);
|
|
||||||
|
|
||||||
for (const nation of nations) {
|
for (const nation of nations) {
|
||||||
const tanks = await readXMLDVPL<{ root: VehicleDefinitionList }>(
|
const tanks = await vfs.xml<{ root: VehicleDefinitionList }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/${nation}/list.xml`
|
`Data/XML/item_defs/vehicles/${nation}/list.xml`
|
||||||
);
|
);
|
||||||
|
|
||||||
for (const tankKey in tanks.root) {
|
for (const tankKey in tanks.root) {
|
||||||
@@ -62,19 +56,19 @@ export async function tankIcons() {
|
|||||||
const nationVehicleId = tank.id;
|
const nationVehicleId = tank.id;
|
||||||
const id = (nationVehicleId << 8) + (NATION_IDS[nation] << 4) + 1;
|
const id = (nationVehicleId << 8) + (NATION_IDS[nation] << 4) + 1;
|
||||||
|
|
||||||
const parameters = await readYAMLDVPL<TankParameters>(
|
const parameters = await vfs.yaml<TankParameters>(
|
||||||
`${DATA}/3d/Tanks/Parameters/${nation}/${tankKey}.yaml`
|
`Data/3d/Tanks/Parameters/${nation}/${tankKey}.yaml`
|
||||||
);
|
);
|
||||||
const smallPath = `${DATA}/${parameters.resourcesPath.smallIconPath
|
const smallPath = `Data/${parameters.resourcesPath.smallIconPath
|
||||||
.replace(/~res:\//, "")
|
.replace(/~res:\//, "")
|
||||||
.replace(/\..+/, "")}.packed.webp`;
|
.replace(/\..+/, "")}.packed.webp`;
|
||||||
const bigPath = `${DATA}/${parameters.resourcesPath.bigIconPath
|
const bigPath = `Data/${parameters.resourcesPath.bigIconPath
|
||||||
.replace(/~res:\//, "")
|
.replace(/~res:\//, "")
|
||||||
.replace(/\..+/, "")}.packed.webp`;
|
.replace(/\..+/, "")}.packed.webp`;
|
||||||
const big = await sharp(await readDVPLFile(bigPath))
|
const big = await sharp(await vfs.file(bigPath))
|
||||||
.trim()
|
.trim()
|
||||||
.toBuffer();
|
.toBuffer();
|
||||||
const small = await sharp(await readDVPLFile(smallPath))
|
const small = await sharp(await vfs.file(smallPath))
|
||||||
.trim()
|
.trim()
|
||||||
.toBuffer();
|
.toBuffer();
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,9 @@
|
|||||||
import { toUniqueId } from "@blitzkit/core";
|
import { toUniqueId } from "@blitzkit/core";
|
||||||
import { NodeIO } from "@gltf-transform/core";
|
import { NodeIO } from "@gltf-transform/core";
|
||||||
import { ALL_EXTENSIONS } from "@gltf-transform/extensions";
|
import { ALL_EXTENSIONS } from "@gltf-transform/extensions";
|
||||||
import { readdir } from "fs/promises";
|
|
||||||
import { extractModel } from "../core/blitz/extractModel";
|
import { extractModel } from "../core/blitz/extractModel";
|
||||||
import { readXMLDVPL } from "../core/blitz/readXMLDVPL";
|
|
||||||
import { readYAMLDVPL } from "../core/blitz/readYAMLDVPL";
|
|
||||||
import { AssetUploader } from "../core/github/assetUploader";
|
import { AssetUploader } from "../core/github/assetUploader";
|
||||||
import { DATA } from "./constants";
|
import { vfs } from "./constants";
|
||||||
import { VehicleDefinitionList } from "./definitions";
|
import { VehicleDefinitionList } from "./definitions";
|
||||||
import { TankParameters } from "./tankIcons";
|
import { TankParameters } from "./tankIcons";
|
||||||
|
|
||||||
@@ -15,14 +12,12 @@ export async function tankModels() {
|
|||||||
|
|
||||||
using uploader = new AssetUploader("tank models");
|
using uploader = new AssetUploader("tank models");
|
||||||
const nodeIO = new NodeIO().registerExtensions(ALL_EXTENSIONS);
|
const nodeIO = new NodeIO().registerExtensions(ALL_EXTENSIONS);
|
||||||
const nations = await readdir(`${DATA}/XML/item_defs/vehicles`).then(
|
const nations = vfs.dir(`Data/XML/item_defs/vehicles`).filter((nation) => nation !== "common")
|
||||||
(nations) => nations.filter((nation) => nation !== "common")
|
|
||||||
);
|
|
||||||
|
|
||||||
for (const nationIndex in nations) {
|
for (const nationIndex in nations) {
|
||||||
const nation = nations[nationIndex];
|
const nation = nations[nationIndex];
|
||||||
const tanks = await readXMLDVPL<{ root: VehicleDefinitionList }>(
|
const tanks = await vfs.xml<{ root: VehicleDefinitionList }>(
|
||||||
`${DATA}/XML/item_defs/vehicles/${nation}/list.xml`
|
`Data/XML/item_defs/vehicles/${nation}/list.xml`
|
||||||
);
|
);
|
||||||
const entries = Object.entries(tanks.root);
|
const entries = Object.entries(tanks.root);
|
||||||
|
|
||||||
@@ -30,11 +25,11 @@ export async function tankModels() {
|
|||||||
if (tankKey.includes("tutorial_bot")) continue;
|
if (tankKey.includes("tutorial_bot")) continue;
|
||||||
|
|
||||||
const id = toUniqueId(nation, tank.id);
|
const id = toUniqueId(nation, tank.id);
|
||||||
const parameters = await readYAMLDVPL<TankParameters>(
|
const parameters = await vfs.yaml<TankParameters>(
|
||||||
`${DATA}/3d/Tanks/Parameters/${nation}/${tankKey}.yaml`
|
`Data/3d/Tanks/Parameters/${nation}/${tankKey}.yaml`
|
||||||
);
|
);
|
||||||
const model = await extractModel(
|
const model = await extractModel(
|
||||||
DATA,
|
vfs,
|
||||||
parameters.resourcesPath.blitzModelPath.replace(/\.sc2$/, "")
|
parameters.resourcesPath.blitzModelPath.replace(/\.sc2$/, "")
|
||||||
);
|
);
|
||||||
const content = Buffer.from(await nodeIO.writeBinary(model));
|
const content = Buffer.from(await nodeIO.writeBinary(model));
|
||||||
|
|||||||
@@ -2,12 +2,15 @@ import { build } from "esbuild";
|
|||||||
import { cp, readdir, rm } from "fs/promises";
|
import { cp, readdir, rm } from "fs/promises";
|
||||||
import { argv } from "process";
|
import { argv } from "process";
|
||||||
|
|
||||||
|
const dev = argv.includes("--dev");
|
||||||
|
|
||||||
const projectDir = "../..";
|
const projectDir = "../..";
|
||||||
const srcRoot = `${projectDir}/packages/bot`;
|
const srcRoot = `${projectDir}/packages/bot`;
|
||||||
const distRoot = `${projectDir}/dist/bot`;
|
const distRoot = `${projectDir}/dist/bot`;
|
||||||
const modulesRoot = `${projectDir}/packages/bot/node_modules`;
|
const modulesRoot = dev
|
||||||
|
? "../../packages/bot/node_modules"
|
||||||
|
: "../../node_modules";
|
||||||
const workers = await readdir(`${srcRoot}/src/workers`);
|
const workers = await readdir(`${srcRoot}/src/workers`);
|
||||||
const dev = argv.includes("--dev");
|
|
||||||
|
|
||||||
await rm(distRoot, { recursive: true, force: true });
|
await rm(distRoot, { recursive: true, force: true });
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,62 @@
|
|||||||
|
import { readdir, readFile, writeFile } from "fs/promises";
|
||||||
|
|
||||||
|
const SOURCES = "../../packages/closed/protos";
|
||||||
|
const TARGET = "../../packages/closed/src/unreal/catalogItemAccessor.ts";
|
||||||
|
|
||||||
|
const componentPattern = /^message (\w+)Component {/gm;
|
||||||
|
|
||||||
|
const files = await readdir(SOURCES).then((files) =>
|
||||||
|
files.filter(
|
||||||
|
(file) =>
|
||||||
|
file.startsWith("blitz_static_") && file.endsWith("_component.proto")
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
const imports: { name: string; file: string }[] = [];
|
||||||
|
|
||||||
|
for (const file of files) {
|
||||||
|
const content = await readFile(`${SOURCES}/${file}`).then((buffer) =>
|
||||||
|
buffer.toString()
|
||||||
|
);
|
||||||
|
const components = content.matchAll(componentPattern);
|
||||||
|
|
||||||
|
for (const match of components) {
|
||||||
|
const name = match[1];
|
||||||
|
const duplicate = imports.find((_import) => _import.name === name);
|
||||||
|
|
||||||
|
if (duplicate) {
|
||||||
|
console.warn(
|
||||||
|
`Duplicate component ${name} across ${duplicate.file}.proto and ${file}`
|
||||||
|
);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
const importFile = file.replace(".proto", "");
|
||||||
|
|
||||||
|
imports.push({ name, file: importFile });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let content = "";
|
||||||
|
|
||||||
|
for (const _import of imports) {
|
||||||
|
content += `import { ${_import.name}Component } from "@protos/${_import.file}";\n`;
|
||||||
|
}
|
||||||
|
|
||||||
|
content +=
|
||||||
|
'import { BaseCatalogItemAccessor } from "./baseCatalogItemAccessor";\n\n';
|
||||||
|
content +=
|
||||||
|
"export class CatalogItemAccessor extends BaseCatalogItemAccessor {\n";
|
||||||
|
|
||||||
|
for (const _import of imports) {
|
||||||
|
const strippedName = _import.name.replace("BlitzStatic", "");
|
||||||
|
const defaultName = strippedName[0].toLowerCase() + strippedName.slice(1);
|
||||||
|
|
||||||
|
content += ` ${strippedName}(name = "${defaultName}Component") {\n`;
|
||||||
|
content += ` return this.component(name, ${_import.name}Component);\n`;
|
||||||
|
content += " }\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
content += "}\n";
|
||||||
|
|
||||||
|
await writeFile(TARGET, content);
|
||||||
@@ -4,21 +4,18 @@ const IMPORT = "@protos/auto_legacy_proxy_client";
|
|||||||
const SOURCE = "../../packages/closed/protos/auto_legacy_proxy_client.proto";
|
const SOURCE = "../../packages/closed/protos/auto_legacy_proxy_client.proto";
|
||||||
const TARGET = "../../packages/closed/src/unreal/methodPopulatedProxyClient.ts";
|
const TARGET = "../../packages/closed/src/unreal/methodPopulatedProxyClient.ts";
|
||||||
|
|
||||||
const requestPattern = /message (\w+)Request {/g;
|
const requestPattern = /^message (\w+)Request {/gm;
|
||||||
const source = await readFile(SOURCE).then((buffer) => buffer.toString());
|
const source = await readFile(SOURCE).then((buffer) => buffer.toString());
|
||||||
const requests = source.matchAll(requestPattern);
|
const requests = source.matchAll(requestPattern);
|
||||||
|
|
||||||
const imports: string[] = [];
|
const imports: string[] = [];
|
||||||
const methods: { name: string; method: string }[] = [];
|
const names: string[] = [];
|
||||||
|
|
||||||
for (const match of requests) {
|
for (const match of requests) {
|
||||||
const name = match[1];
|
const name = match[1];
|
||||||
// const method =
|
|
||||||
// name.charAt(0).toLowerCase() + name.slice(1).replace(/Async$/, "");
|
|
||||||
const method = name;
|
|
||||||
|
|
||||||
imports.push(`${name}Request`, `${name}Response`);
|
imports.push(`${name}Request`, `${name}Response`);
|
||||||
methods.push({ name, method });
|
names.push(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
let content = "";
|
let content = "";
|
||||||
@@ -31,9 +28,9 @@ content += 'import { BaseProxyClient } from "./baseProxyClient";\n\n';
|
|||||||
|
|
||||||
content +=
|
content +=
|
||||||
"export abstract class MethodPopulatedProxyClient extends BaseProxyClient {\n";
|
"export abstract class MethodPopulatedProxyClient extends BaseProxyClient {\n";
|
||||||
content += methods
|
content += names
|
||||||
.map(({ name, method }) => {
|
.map((name) => {
|
||||||
return ` ${method}(data: ${name}Request) {
|
return ` ${name}(data: ${name}Request) {
|
||||||
return this.request("${name}Request", ${name}Request, data, ${name}Response);
|
return this.request("${name}Request", ${name}Request, data, ${name}Response);
|
||||||
}\n`;
|
}\n`;
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -3,23 +3,23 @@ import {
|
|||||||
Sc2ReadStream,
|
Sc2ReadStream,
|
||||||
ScgReadStream,
|
ScgReadStream,
|
||||||
VertexAttribute,
|
VertexAttribute,
|
||||||
} from '@blitzkit/core';
|
} from "@blitzkit/core";
|
||||||
import { Accessor, Document, Node, Scene } from '@gltf-transform/core';
|
import { Accessor, Document, Node, Scene } from "@gltf-transform/core";
|
||||||
import { times } from 'lodash-es';
|
import { times } from "lodash-es";
|
||||||
|
import { SteamVFS } from "../vfs/vfs";
|
||||||
import {
|
import {
|
||||||
vertexAttributeGLTFName,
|
vertexAttributeGLTFName,
|
||||||
vertexAttributeGltfVectorSizes,
|
vertexAttributeGltfVectorSizes,
|
||||||
} from './extractModel/constants';
|
} from "./extractModel/constants";
|
||||||
import { readDVPLFile } from './readDVPLFile';
|
|
||||||
|
|
||||||
export async function extractArmor(data: string, fileName: string) {
|
export async function extractArmor(vfs: SteamVFS, fileName: string) {
|
||||||
const sc2Path = `${data}/3d/Tanks/CollisionMeshes/${fileName}.sc2`;
|
const sc2Path = `Data/3d/Tanks/CollisionMeshes/${fileName}.sc2`;
|
||||||
const scgPath = `${data}/3d/Tanks/CollisionMeshes/${fileName}.scg`;
|
const scgPath = `Data/3d/Tanks/CollisionMeshes/${fileName}.scg`;
|
||||||
const sc2 = new Sc2ReadStream(
|
const sc2 = new Sc2ReadStream(
|
||||||
(await readDVPLFile(sc2Path)).buffer as ArrayBuffer,
|
(await vfs.file(sc2Path)).buffer as ArrayBuffer
|
||||||
).sc2();
|
).sc2();
|
||||||
const scg = new ScgReadStream(
|
const scg = new ScgReadStream(
|
||||||
(await readDVPLFile(scgPath)).buffer as ArrayBuffer,
|
(await vfs.file(scgPath)).buffer as ArrayBuffer
|
||||||
).scg();
|
).scg();
|
||||||
const document = new Document();
|
const document = new Document();
|
||||||
const scene = document.createScene();
|
const scene = document.createScene();
|
||||||
@@ -29,21 +29,21 @@ export async function extractArmor(data: string, fileName: string) {
|
|||||||
hierarchies.forEach((hierarchy) => {
|
hierarchies.forEach((hierarchy) => {
|
||||||
const components = times(
|
const components = times(
|
||||||
hierarchy.components.count,
|
hierarchy.components.count,
|
||||||
(index) => hierarchy.components[index.toString().padStart(4, '0')],
|
(index) => hierarchy.components[index.toString().padStart(4, "0")]
|
||||||
);
|
);
|
||||||
|
|
||||||
components.forEach((component) => {
|
components.forEach((component) => {
|
||||||
switch (component['comp.typename']) {
|
switch (component["comp.typename"]) {
|
||||||
case 'TransformComponent':
|
case "TransformComponent":
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'RenderComponent': {
|
case "RenderComponent": {
|
||||||
const batch = component['rc.renderObj']['ro.batches']['0000'];
|
const batch = component["rc.renderObj"]["ro.batches"]["0000"];
|
||||||
const polygonGroup = scg.get(batch['rb.datasource']);
|
const polygonGroup = scg.get(batch["rb.datasource"]);
|
||||||
|
|
||||||
if (!polygonGroup) {
|
if (!polygonGroup) {
|
||||||
console.warn(
|
console.warn(
|
||||||
`Missing polygon group ${batch['rb.datasource']} (${hierarchy.name}); skipping...`,
|
`Missing polygon group ${batch["rb.datasource"]} (${hierarchy.name}); skipping...`
|
||||||
);
|
);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
@@ -73,7 +73,7 @@ export async function extractArmor(data: string, fileName: string) {
|
|||||||
VertexAttribute.TANGENT,
|
VertexAttribute.TANGENT,
|
||||||
attributes
|
attributes
|
||||||
.get(VertexAttribute.TANGENT)!
|
.get(VertexAttribute.TANGENT)!
|
||||||
.map((tangent) => [...tangent, 1]),
|
.map((tangent) => [...tangent, 1])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ export async function extractArmor(data: string, fileName: string) {
|
|||||||
const vertexSize = vertexAttributeGltfVectorSizes[attribute];
|
const vertexSize = vertexAttributeGltfVectorSizes[attribute];
|
||||||
const accessor = document
|
const accessor = document
|
||||||
.createAccessor(name)
|
.createAccessor(name)
|
||||||
.setType(vertexSize === 1 ? 'SCALAR' : `VEC${vertexSize}`)
|
.setType(vertexSize === 1 ? "SCALAR" : `VEC${vertexSize}`)
|
||||||
.setArray(new Float32Array(value.flat()))
|
.setArray(new Float32Array(value.flat()))
|
||||||
.setBuffer(buffer);
|
.setBuffer(buffer);
|
||||||
|
|
||||||
@@ -94,19 +94,19 @@ export async function extractArmor(data: string, fileName: string) {
|
|||||||
|
|
||||||
hardJointIndices.forEach((hardJointIndex) => {
|
hardJointIndices.forEach((hardJointIndex) => {
|
||||||
const node = document.createNode(
|
const node = document.createNode(
|
||||||
`${hierarchy.name}_armor_${hardJointIndex}`,
|
`${hierarchy.name}_armor_${hardJointIndex}`
|
||||||
);
|
);
|
||||||
const mesh = document.createMesh(batch['##name']);
|
const mesh = document.createMesh(batch["##name"]);
|
||||||
const indicesAccessor = document
|
const indicesAccessor = document
|
||||||
.createAccessor()
|
.createAccessor()
|
||||||
.setType('SCALAR')
|
.setType("SCALAR")
|
||||||
.setArray(
|
.setArray(
|
||||||
new Uint16Array(
|
new Uint16Array(
|
||||||
polygonGroup.indices.filter(
|
polygonGroup.indices.filter(
|
||||||
(index) =>
|
(index) =>
|
||||||
vertexHardJointIndices.get(index) === hardJointIndex,
|
vertexHardJointIndices.get(index) === hardJointIndex
|
||||||
),
|
)
|
||||||
),
|
)
|
||||||
)
|
)
|
||||||
.setBuffer(buffer);
|
.setBuffer(buffer);
|
||||||
const primitive = document
|
const primitive = document
|
||||||
@@ -127,18 +127,18 @@ export async function extractArmor(data: string, fileName: string) {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
throw new TypeError(
|
throw new TypeError(
|
||||||
`Unhandled component type: ${component['comp.typename']}`,
|
`Unhandled component type: ${component["comp.typename"]}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (hierarchy['#hierarchy']) {
|
if (hierarchy["#hierarchy"]) {
|
||||||
parseHierarchies(hierarchy['#hierarchy'], parent);
|
parseHierarchies(hierarchy["#hierarchy"], parent);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
parseHierarchies(sc2['#hierarchy'], scene);
|
parseHierarchies(sc2["#hierarchy"], scene);
|
||||||
|
|
||||||
return document;
|
return document;
|
||||||
}
|
}
|
||||||
@@ -9,8 +9,8 @@ import { Document, Material, Node, Scene } from "@gltf-transform/core";
|
|||||||
import { dedup, prune } from "@gltf-transform/functions";
|
import { dedup, prune } from "@gltf-transform/functions";
|
||||||
import { times } from "lodash-es";
|
import { times } from "lodash-es";
|
||||||
import { dirname } from "path";
|
import { dirname } from "path";
|
||||||
|
import { SteamVFS } from "../../vfs/vfs";
|
||||||
import { readBaseColor } from "../readBaseColor";
|
import { readBaseColor } from "../readBaseColor";
|
||||||
import { readDVPLFile } from "../readDVPLFile";
|
|
||||||
import { readNormal } from "../readNormal";
|
import { readNormal } from "../readNormal";
|
||||||
import { readRoughnessMetallic } from "../readRoughnessMetallic";
|
import { readRoughnessMetallic } from "../readRoughnessMetallic";
|
||||||
import {
|
import {
|
||||||
@@ -25,14 +25,14 @@ const omitMeshNames = {
|
|||||||
end: ["_POINT"],
|
end: ["_POINT"],
|
||||||
};
|
};
|
||||||
|
|
||||||
export async function extractModel(data: string, path: string) {
|
export async function extractModel(vfs: SteamVFS, path: string) {
|
||||||
const sc2Path = `${data}/3d/${path}.sc2`;
|
const sc2Path = `Data/3d/${path}.sc2`;
|
||||||
const scgPath = `${data}/3d/${path}.scg`;
|
const scgPath = `Data/3d/${path}.scg`;
|
||||||
const sc2 = new Sc2ReadStream(
|
const sc2 = new Sc2ReadStream(
|
||||||
(await readDVPLFile(sc2Path)).buffer as ArrayBuffer
|
(await vfs.file(sc2Path)).buffer as ArrayBuffer
|
||||||
).sc2();
|
).sc2();
|
||||||
const scg = new ScgReadStream(
|
const scg = new ScgReadStream(
|
||||||
(await readDVPLFile(scgPath)).buffer as ArrayBuffer
|
(await vfs.file(scgPath)).buffer as ArrayBuffer
|
||||||
).scg();
|
).scg();
|
||||||
const document = new Document();
|
const document = new Document();
|
||||||
const scene = document.createScene();
|
const scene = document.createScene();
|
||||||
@@ -67,11 +67,11 @@ export async function extractModel(data: string, path: string) {
|
|||||||
.setMimeType("image/webp")
|
.setMimeType("image/webp")
|
||||||
.setImage(
|
.setImage(
|
||||||
await readBaseColor(
|
await readBaseColor(
|
||||||
`${data}/3d/${dirname(path)}/${
|
`Data/3d/${dirname(path)}/${
|
||||||
textures.baseColorMap ?? textures.albedo
|
textures.baseColorMap ?? textures.albedo
|
||||||
}`,
|
}`,
|
||||||
textures.miscMap
|
textures.miscMap
|
||||||
? `${data}/3d/${dirname(path)}/${textures.miscMap}`
|
? `Data/3d/${dirname(path)}/${textures.miscMap}`
|
||||||
: undefined
|
: undefined
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -103,7 +103,7 @@ export async function extractModel(data: string, path: string) {
|
|||||||
.setMimeType("image/webp")
|
.setMimeType("image/webp")
|
||||||
.setImage(
|
.setImage(
|
||||||
await readRoughnessMetallic(
|
await readRoughnessMetallic(
|
||||||
`${data}/3d/${dirname(path)}/${textures.baseRMMap}`
|
`Data/3d/${dirname(path)}/${textures.baseRMMap}`
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -118,7 +118,7 @@ export async function extractModel(data: string, path: string) {
|
|||||||
.setMimeType("image/webp")
|
.setMimeType("image/webp")
|
||||||
.setImage(
|
.setImage(
|
||||||
await readNormal(
|
await readNormal(
|
||||||
`${data}/3d/${dirname(path)}/${
|
`Data/3d/${dirname(path)}/${
|
||||||
textures.baseNormalMap ?? textures.normalmap
|
textures.baseNormalMap ?? textures.normalmap
|
||||||
}`,
|
}`,
|
||||||
isBase
|
isBase
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
import { readDVPLFile } from './readDVPLFile';
|
|
||||||
|
|
||||||
export async function readBase64DVPL(file: string) {
|
|
||||||
const buffer = await readDVPLFile(file);
|
|
||||||
return buffer.toString('base64');
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
import { readFile } from 'fs/promises';
|
|
||||||
import { DATA_COMPRESSED } from '../../buildAssets/constants';
|
|
||||||
import { readDVPL } from './readDVPL';
|
|
||||||
|
|
||||||
export async function readDVPLFile(file: string) {
|
|
||||||
let path: string;
|
|
||||||
|
|
||||||
if (DATA_COMPRESSED) {
|
|
||||||
path = file.endsWith('.dvpl') ? file : `${file}.dvpl`;
|
|
||||||
} else {
|
|
||||||
path = file.replace('.dvpl', '');
|
|
||||||
}
|
|
||||||
|
|
||||||
const content = await readFile(path);
|
|
||||||
|
|
||||||
if (!DATA_COMPRESSED) return content;
|
|
||||||
|
|
||||||
const dvpl = readDVPL(content);
|
|
||||||
|
|
||||||
return dvpl;
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
import { readDVPLFile } from './readDVPLFile';
|
|
||||||
|
|
||||||
export async function readStringDVPL(file: string) {
|
|
||||||
const buffer = await readDVPLFile(file);
|
|
||||||
return buffer.toString();
|
|
||||||
}
|
|
||||||
@@ -1,81 +1,17 @@
|
|||||||
import { DdsReadStream, PvrReadStream } from "@blitzkit/core";
|
import { DdsReadStream, PvrReadStream } from "@blitzkit/core";
|
||||||
import { existsSync } from "fs";
|
import { vfs } from "../../../buildAssets/constants";
|
||||||
import { DATA_COMPRESSED } from "../../../buildAssets/constants";
|
|
||||||
import { readDVPLFile } from "../readDVPLFile";
|
|
||||||
|
|
||||||
export async function readTexture(path: string) {
|
export async function readTexture(path: string) {
|
||||||
const ddsTexturePath = path.replace(".tex", ".dx11.dds");
|
const ddsTexturePath = path.replace(".tex", ".dx11.dds");
|
||||||
const isDds = existsSync(
|
const isDds = vfs.resolve(ddsTexturePath);
|
||||||
`${ddsTexturePath}${DATA_COMPRESSED ? ".dvpl" : ""}`
|
|
||||||
);
|
|
||||||
const resolvedTexturePath = isDds
|
const resolvedTexturePath = isDds
|
||||||
? ddsTexturePath
|
? ddsTexturePath
|
||||||
: ddsTexturePath.replace(".dds", ".pvr");
|
: ddsTexturePath.replace(".dds", ".pvr");
|
||||||
const decompressedDvpl = await readDVPLFile(`${resolvedTexturePath}.dvpl`);
|
const file = await vfs.file(resolvedTexturePath);
|
||||||
|
|
||||||
const raw = isDds
|
const raw = isDds
|
||||||
? await new DdsReadStream(decompressedDvpl.buffer as ArrayBuffer).dds()
|
? await new DdsReadStream(file.buffer as ArrayBuffer).dds()
|
||||||
: new PvrReadStream(decompressedDvpl.buffer as ArrayBuffer).pvr();
|
: new PvrReadStream(file.buffer as ArrayBuffer).pvr();
|
||||||
|
|
||||||
return raw;
|
return raw;
|
||||||
|
|
||||||
// switch (mutation) {
|
|
||||||
// case TextureMutation.Normal: {
|
|
||||||
// const bytes = 4 * raw.width * raw.height;
|
|
||||||
// for (let index = 0; index < bytes; index += 4) {
|
|
||||||
// /**
|
|
||||||
// * Red is always 255 and blue is always 0. Only alpha and green contain any
|
|
||||||
// * sort of information.
|
|
||||||
// */
|
|
||||||
// let x = raw.data[index + 3] * (2 / 255) - 1;
|
|
||||||
// let y = raw.data[index + 1] * (2 / 255) - 1;
|
|
||||||
// const underSqrt = 1 - x ** 2 - y ** 2;
|
|
||||||
// let z = underSqrt > 0 ? Math.sqrt(underSqrt) : -Math.sqrt(-underSqrt);
|
|
||||||
|
|
||||||
// raw.data[index] = Math.round((x + 1) * (255 / 2));
|
|
||||||
// raw.data[index + 1] = Math.round((y + 1) * (255 / 2));
|
|
||||||
// raw.data[index + 2] = Math.round((z + 1) * (255 / 2));
|
|
||||||
// raw.data[index + 3] = 255;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// return await sharp(raw.data, { raw }).jpeg().toBuffer();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// case TextureMutation.RoughnessMetallicness: {
|
|
||||||
// const newImage = sharp(Buffer.alloc(raw.width * raw.height), {
|
|
||||||
// raw: { ...raw, channels: 1 },
|
|
||||||
// });
|
|
||||||
// const metallicness = sharp(raw.data, { raw })
|
|
||||||
// .extractChannel("green")
|
|
||||||
// .jpeg()
|
|
||||||
// .toBuffer();
|
|
||||||
// const roughness = sharp(raw.data, { raw })
|
|
||||||
// .extractChannel("alpha")
|
|
||||||
// .jpeg()
|
|
||||||
// .toBuffer();
|
|
||||||
|
|
||||||
// return await newImage
|
|
||||||
// .joinChannel(await Promise.all([roughness, metallicness]))
|
|
||||||
// .jpeg()
|
|
||||||
// .toBuffer();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// case TextureMutation.Miscellaneous: {
|
|
||||||
// /**
|
|
||||||
// * Alpha is ambient occlusion and green is emissive. But very few tanks
|
|
||||||
// * use emissive so I am ignoring it for now.
|
|
||||||
// */
|
|
||||||
// return await sharp(raw.data, { raw })
|
|
||||||
// .extractChannel("alpha")
|
|
||||||
// .jpeg()
|
|
||||||
// .toBuffer();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// case TextureMutation.Albedo: {
|
|
||||||
// return await sharp(raw.data, { raw }).removeAlpha().jpeg().toBuffer();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// default:
|
|
||||||
// return await sharp(raw.data, { raw }).jpeg().toBuffer();
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
import { XMLParser } from 'fast-xml-parser';
|
|
||||||
import { readStringDVPL } from './readStringDVPL';
|
|
||||||
|
|
||||||
export async function readXMLDVPL<Type>(file: string) {
|
|
||||||
const parser = new XMLParser();
|
|
||||||
const xml = await readStringDVPL(file);
|
|
||||||
|
|
||||||
return parser.parse(xml) as Type;
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
import { readFile } from 'fs/promises';
|
|
||||||
import { parse } from 'yaml';
|
|
||||||
|
|
||||||
export async function readYAML<Type>(file: string) {
|
|
||||||
const yaml = (await readFile(file)).toString();
|
|
||||||
return parse(yaml) as Type;
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
import { parse } from 'yaml';
|
|
||||||
import { readStringDVPL } from './readStringDVPL';
|
|
||||||
|
|
||||||
export async function readYAMLDVPL<Type>(file: string) {
|
|
||||||
const yaml = await readStringDVPL(file);
|
|
||||||
|
|
||||||
return parse(yaml) as Type;
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
import { readDVPL } from "@blitzkit/core";
|
||||||
|
import { XMLParser } from "fast-xml-parser";
|
||||||
|
import { normalize } from "path/posix";
|
||||||
|
import { parse } from "yaml";
|
||||||
|
|
||||||
|
export abstract class AbstractVFS {
|
||||||
|
textDecoder = new TextDecoder();
|
||||||
|
private xmlParser = new XMLParser();
|
||||||
|
|
||||||
|
abstract init(): Promise<typeof this>;
|
||||||
|
|
||||||
|
abstract dispose(): void;
|
||||||
|
|
||||||
|
abstract has(path: string): boolean;
|
||||||
|
|
||||||
|
abstract raw(path: string): Promise<Uint8Array>;
|
||||||
|
|
||||||
|
abstract paths(): string[];
|
||||||
|
|
||||||
|
resolve(path: string) {
|
||||||
|
const normalized = normalize(path);
|
||||||
|
if (this.has(normalized)) return normalized;
|
||||||
|
|
||||||
|
const dvplPath = `${normalized}.dvpl`;
|
||||||
|
if (this.has(dvplPath)) return dvplPath;
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
assert(path: string) {
|
||||||
|
const resolved = this.resolve(path);
|
||||||
|
|
||||||
|
if (resolved === null) throw new Error(`File not found: ${path}`);
|
||||||
|
|
||||||
|
return resolved;
|
||||||
|
}
|
||||||
|
|
||||||
|
async file(file: string) {
|
||||||
|
const resolved = this.assert(file);
|
||||||
|
const raw = await this.raw(resolved);
|
||||||
|
let buffer = raw;
|
||||||
|
|
||||||
|
if (resolved.endsWith(".dvpl")) {
|
||||||
|
buffer = new Uint8Array(readDVPL(Buffer.from(raw)));
|
||||||
|
}
|
||||||
|
|
||||||
|
return buffer;
|
||||||
|
}
|
||||||
|
|
||||||
|
dir(path: string) {
|
||||||
|
const parentSegments = path.split("/").length;
|
||||||
|
const children = new Set<string>();
|
||||||
|
|
||||||
|
for (const child of this.paths()) {
|
||||||
|
if (!child.startsWith(path) || child === path) continue;
|
||||||
|
|
||||||
|
const childSegments = child.split("/");
|
||||||
|
const nextSegment = childSegments[parentSegments];
|
||||||
|
|
||||||
|
children.add(nextSegment);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Array.from(children);
|
||||||
|
}
|
||||||
|
|
||||||
|
async text(path: string) {
|
||||||
|
const file = await this.file(path);
|
||||||
|
return this.textDecoder.decode(file);
|
||||||
|
}
|
||||||
|
|
||||||
|
async yaml<Type>(path: string) {
|
||||||
|
const file = await this.text(path);
|
||||||
|
return parse(file) as Type;
|
||||||
|
}
|
||||||
|
|
||||||
|
async xml<Type>(path: string) {
|
||||||
|
const file = await this.text(path);
|
||||||
|
return this.xmlParser.parse(file) as Type;
|
||||||
|
}
|
||||||
|
|
||||||
|
[Symbol.dispose]() {
|
||||||
|
this.dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,98 @@
|
|||||||
|
import SteamUser, { EConnectionProtocol } from "steam-user";
|
||||||
|
import { AbstractVFS } from "./abstract";
|
||||||
|
|
||||||
|
interface SteamManifestFile {
|
||||||
|
chunks: {
|
||||||
|
sha: string;
|
||||||
|
crc: number;
|
||||||
|
offset: string;
|
||||||
|
cb_original: number;
|
||||||
|
cb_compressed: number;
|
||||||
|
}[];
|
||||||
|
filename: string;
|
||||||
|
size: string;
|
||||||
|
flags: number;
|
||||||
|
sha_filename: string;
|
||||||
|
sha_content: string;
|
||||||
|
linktarget: unknown;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SteamManifest {
|
||||||
|
files: SteamManifestFile[];
|
||||||
|
depot_id: number;
|
||||||
|
gid_manifest: string;
|
||||||
|
creation_time: number;
|
||||||
|
filenames_encrypted: boolean;
|
||||||
|
cb_disk_original: string;
|
||||||
|
cb_disk_compressed: string;
|
||||||
|
unique_chunks: number;
|
||||||
|
crc_encrypted: number;
|
||||||
|
crc_clear: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
export class SteamVFS extends AbstractVFS {
|
||||||
|
private steam = new SteamUser({ protocol: EConnectionProtocol.TCP });
|
||||||
|
private manifest: Map<string, SteamManifestFile> = new Map();
|
||||||
|
|
||||||
|
constructor(
|
||||||
|
private username: string,
|
||||||
|
private password: string,
|
||||||
|
private app: number,
|
||||||
|
private depot: number
|
||||||
|
) {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
async init() {
|
||||||
|
this.steam.logOn({
|
||||||
|
accountName: this.username,
|
||||||
|
password: this.password,
|
||||||
|
});
|
||||||
|
|
||||||
|
await new Promise((resolve) => this.steam.once("loggedOn", resolve));
|
||||||
|
|
||||||
|
const productInfo = await this.steam.getProductInfo([this.app], []);
|
||||||
|
const manifest: SteamManifest = await new Promise((resolve) => {
|
||||||
|
// @ts-expect-error
|
||||||
|
this.steam.getManifest(
|
||||||
|
this.app,
|
||||||
|
this.depot,
|
||||||
|
productInfo.apps[this.app].appinfo.depots[this.depot].manifests.public
|
||||||
|
.gid,
|
||||||
|
"public",
|
||||||
|
// @ts-expect-error
|
||||||
|
(_, response) => {
|
||||||
|
resolve(response);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
for (const file of manifest.files) {
|
||||||
|
const path = file.filename.replaceAll("\\", "/");
|
||||||
|
this.manifest.set(path, file);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
has(path: string) {
|
||||||
|
return this.manifest.has(path);
|
||||||
|
}
|
||||||
|
|
||||||
|
async raw(path: string) {
|
||||||
|
const fileManifest = this.manifest.get(path)!;
|
||||||
|
const downloaded: { type: "complete"; file: Buffer } =
|
||||||
|
// @ts-expect-error
|
||||||
|
await this.steam.downloadFile(this.app, this.depot, fileManifest);
|
||||||
|
|
||||||
|
return new Uint8Array(downloaded.file);
|
||||||
|
}
|
||||||
|
|
||||||
|
paths() {
|
||||||
|
return Array.from(this.manifest.keys());
|
||||||
|
}
|
||||||
|
|
||||||
|
dispose() {
|
||||||
|
this.steam.logOff();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
import { normalize } from "path/posix";
|
||||||
|
import { HTTPRangeReader, unzip, ZipEntry } from "unzipit";
|
||||||
|
import { AbstractVFS } from "./abstract";
|
||||||
|
|
||||||
|
export class ZipVFS extends AbstractVFS {
|
||||||
|
entries = new Map<string, ZipEntry>();
|
||||||
|
|
||||||
|
constructor(private url: string, private root = "app/") {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
async init() {
|
||||||
|
const reader = new HTTPRangeReader(this.url);
|
||||||
|
const { entries } = await unzip(reader);
|
||||||
|
|
||||||
|
for (const entry of Object.values(entries)) {
|
||||||
|
const normalized = normalize(entry.name.slice(this.root.length));
|
||||||
|
this.entries.set(normalized, entry);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
has(path: string) {
|
||||||
|
return this.entries.has(path);
|
||||||
|
}
|
||||||
|
|
||||||
|
async raw(path: string) {
|
||||||
|
const arrayBuffer = await this.entries.get(path)!.arrayBuffer();
|
||||||
|
return new Uint8Array(arrayBuffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
paths() {
|
||||||
|
return Array.from(this.entries.keys());
|
||||||
|
}
|
||||||
|
|
||||||
|
dispose() {}
|
||||||
|
}
|
||||||
@@ -0,0 +1,314 @@
|
|||||||
|
import {
|
||||||
|
availableProvisions,
|
||||||
|
createDefaultProvisions,
|
||||||
|
createDefaultSkills,
|
||||||
|
fetchConsumableDefinitions,
|
||||||
|
fetchEquipmentDefinitions,
|
||||||
|
fetchModelDefinitions,
|
||||||
|
fetchProvisionDefinitions,
|
||||||
|
fetchSkillDefinitions,
|
||||||
|
fetchTankDefinitions,
|
||||||
|
TankDefinition,
|
||||||
|
tankIcon,
|
||||||
|
} from "@blitzkit/core";
|
||||||
|
import { checkConsumableProvisionInclusivity } from "@blitzkit/core/src/blitzkit/checkConsumableProvisionInclusivity";
|
||||||
|
import strings from "@blitzkit/i18n/strings/en.json";
|
||||||
|
import { writeFile } from "fs/promises";
|
||||||
|
import { isEqual } from "lodash-es";
|
||||||
|
import { tankCharacteristics } from "../../website/src/core/blitzkit/tankCharacteristics";
|
||||||
|
import { genericDefaultEquipmentMatrix } from "../../website/src/stores/duel/constants";
|
||||||
|
|
||||||
|
const domain = "https://opentest.blitzkit.app";
|
||||||
|
|
||||||
|
import.meta.env.PUBLIC_ASSET_BASE = "https://blitzkit.github.io/assets";
|
||||||
|
const currentTankDefinitions = await fetchTankDefinitions();
|
||||||
|
const currentConsumableDefinitions = await fetchConsumableDefinitions();
|
||||||
|
const currentProvisionDefinitions = await fetchProvisionDefinitions();
|
||||||
|
const currentEquipmentDefinitions = await fetchEquipmentDefinitions();
|
||||||
|
const currentSkillDefinitions = await fetchSkillDefinitions();
|
||||||
|
const currentModelDefinitions = await fetchModelDefinitions();
|
||||||
|
|
||||||
|
import.meta.env.PUBLIC_ASSET_BASE = "https://blitzkit.github.io/assets-preview";
|
||||||
|
const previewTankDefinitions = await fetchTankDefinitions();
|
||||||
|
const previewConsumableDefinitions = await fetchConsumableDefinitions();
|
||||||
|
const previewProvisionDefinitions = await fetchProvisionDefinitions();
|
||||||
|
const previewEquipmentDefinitions = await fetchEquipmentDefinitions();
|
||||||
|
const previewSkillDefinitions = await fetchSkillDefinitions();
|
||||||
|
const previewModelDefinitions = await fetchModelDefinitions();
|
||||||
|
|
||||||
|
let notes = "# BlitzKit OpenTest Patch Notes\n\n";
|
||||||
|
|
||||||
|
const newTanks: TankDefinition[] = [];
|
||||||
|
|
||||||
|
for (const id in previewTankDefinitions.tanks) {
|
||||||
|
if (!(id in currentTankDefinitions.tanks)) {
|
||||||
|
newTanks.push(previewTankDefinitions.tanks[id]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
newTanks.sort((a, b) => b.tier - a.tier);
|
||||||
|
|
||||||
|
import.meta.env.PUBLIC_ASSET_BASE = "https://blitzkit.github.io/assets-preview";
|
||||||
|
if (newTanks.length > 0) {
|
||||||
|
notes += "## New Tanks\n\n";
|
||||||
|
|
||||||
|
for (const tank of newTanks) {
|
||||||
|
notes += `### [${tank.name.locales.en}](${domain}/tanks/${tank.slug})\n`;
|
||||||
|
notes += `})\n\n`;
|
||||||
|
}
|
||||||
|
|
||||||
|
notes += "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
const changedTanks: [TankDefinition, TankDefinition][] = [];
|
||||||
|
|
||||||
|
for (const stringId in previewTankDefinitions.tanks) {
|
||||||
|
const id = Number(stringId);
|
||||||
|
|
||||||
|
if (newTanks.some((tank) => tank.id === id)) continue;
|
||||||
|
|
||||||
|
const current = currentTankDefinitions.tanks[id];
|
||||||
|
const preview = previewTankDefinitions.tanks[id];
|
||||||
|
|
||||||
|
if (isEqual(current, preview)) continue;
|
||||||
|
|
||||||
|
changedTanks.push([current, preview]);
|
||||||
|
}
|
||||||
|
|
||||||
|
changedTanks.sort((a, b) => b[1].tier - a[1].tier);
|
||||||
|
|
||||||
|
import.meta.env.PUBLIC_ASSET_BASE = "https://blitzkit.github.io/assets";
|
||||||
|
if (changedTanks.length > 0) {
|
||||||
|
notes += "## Changed Tanks\n\n";
|
||||||
|
|
||||||
|
for (const [current, preview] of changedTanks) {
|
||||||
|
const currentTurret = current.turrets.at(-1)!;
|
||||||
|
const previewTurret = preview.turrets.at(-1)!;
|
||||||
|
const currentGun = currentTurret.guns.at(-1)!;
|
||||||
|
const previewGun = previewTurret.guns.at(-1)!;
|
||||||
|
const currentShell = currentGun.shells[0];
|
||||||
|
const previewShell = previewGun.shells[0];
|
||||||
|
const currentEngine = current.engines.at(-1)!;
|
||||||
|
const previewEngine = preview.engines.at(-1)!;
|
||||||
|
const currentTracks = current.tracks.at(-1)!;
|
||||||
|
const previewTracks = preview.tracks.at(-1)!;
|
||||||
|
const currentTankModel = currentModelDefinitions.models[current.id];
|
||||||
|
const previewTankModel = previewModelDefinitions.models[preview.id];
|
||||||
|
|
||||||
|
const currentConsumables = Object.values(
|
||||||
|
currentConsumableDefinitions.consumables
|
||||||
|
).filter((consumable) =>
|
||||||
|
checkConsumableProvisionInclusivity(consumable, current, currentGun)
|
||||||
|
);
|
||||||
|
const previewConsumables = Object.values(
|
||||||
|
previewConsumableDefinitions.consumables
|
||||||
|
).filter((consumable) =>
|
||||||
|
checkConsumableProvisionInclusivity(consumable, preview, previewGun)
|
||||||
|
);
|
||||||
|
const addedConsumables = previewConsumables.filter(
|
||||||
|
(previewConsumable) =>
|
||||||
|
!currentConsumables.some(
|
||||||
|
(currentConsumable) => currentConsumable.id === previewConsumable.id
|
||||||
|
)
|
||||||
|
);
|
||||||
|
const removedConsumables = currentConsumables.filter(
|
||||||
|
(currentConsumable) =>
|
||||||
|
!previewConsumables.some(
|
||||||
|
(previewConsumable) => previewConsumable.id === currentConsumable.id
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
const currentProvisions = availableProvisions(
|
||||||
|
current,
|
||||||
|
currentGun,
|
||||||
|
currentProvisionDefinitions
|
||||||
|
);
|
||||||
|
const previewProvisions = availableProvisions(
|
||||||
|
preview,
|
||||||
|
previewGun,
|
||||||
|
previewProvisionDefinitions
|
||||||
|
);
|
||||||
|
const addedProvisions = previewProvisions.filter(
|
||||||
|
(previewProvision) =>
|
||||||
|
!currentProvisions.some(
|
||||||
|
(currentProvision) => currentProvision.id === previewProvision.id
|
||||||
|
)
|
||||||
|
);
|
||||||
|
const removedProvisions = currentProvisions.filter(
|
||||||
|
(currentProvision) =>
|
||||||
|
!previewProvisions.some(
|
||||||
|
(previewProvision) => previewProvision.id === currentProvision.id
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
const currentEquipment = currentEquipmentDefinitions.presets[
|
||||||
|
current.equipment_preset
|
||||||
|
].slots
|
||||||
|
.map(({ left, right }) => [left, right])
|
||||||
|
.flat();
|
||||||
|
const previewEquipment = previewEquipmentDefinitions.presets[
|
||||||
|
preview.equipment_preset
|
||||||
|
].slots
|
||||||
|
.map(({ left, right }) => [left, right])
|
||||||
|
.flat();
|
||||||
|
const addedEquipment = previewEquipment
|
||||||
|
.filter(
|
||||||
|
(previewEquipment) =>
|
||||||
|
!currentEquipment.some(
|
||||||
|
(currentEquipment) => currentEquipment === previewEquipment
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.map((id) => previewEquipmentDefinitions.equipments[id]);
|
||||||
|
const removedEquipment = currentEquipment
|
||||||
|
.filter(
|
||||||
|
(currentEquipment) =>
|
||||||
|
!previewEquipment.some(
|
||||||
|
(previewEquipment) => previewEquipment === currentEquipment
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.map((id) => currentEquipmentDefinitions.equipments[id]);
|
||||||
|
|
||||||
|
const currentCharacteristics = tankCharacteristics(
|
||||||
|
{
|
||||||
|
tank: current,
|
||||||
|
gun: currentGun,
|
||||||
|
shell: currentShell,
|
||||||
|
applyDynamicArmor: false,
|
||||||
|
applyReactiveArmor: false,
|
||||||
|
applySpallLiner: false,
|
||||||
|
assaultDistance: 0,
|
||||||
|
crewSkills: createDefaultSkills(currentSkillDefinitions),
|
||||||
|
camouflage: true,
|
||||||
|
consumables: [],
|
||||||
|
engine: currentEngine,
|
||||||
|
provisions: createDefaultProvisions(
|
||||||
|
current,
|
||||||
|
currentGun,
|
||||||
|
currentProvisionDefinitions
|
||||||
|
),
|
||||||
|
equipmentMatrix: genericDefaultEquipmentMatrix,
|
||||||
|
stockEngine: current.engines[0],
|
||||||
|
stockGun: current.turrets[0].guns[0],
|
||||||
|
stockTrack: current.tracks[0],
|
||||||
|
stockTurret: current.turrets[0],
|
||||||
|
track: currentTracks,
|
||||||
|
turret: currentTurret,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
equipmentDefinitions: currentEquipmentDefinitions,
|
||||||
|
provisionDefinitions: currentProvisionDefinitions,
|
||||||
|
tankModelDefinition: currentTankModel,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
const previewCharacteristics = tankCharacteristics(
|
||||||
|
{
|
||||||
|
tank: preview,
|
||||||
|
gun: previewGun,
|
||||||
|
shell: previewShell,
|
||||||
|
applyDynamicArmor: false,
|
||||||
|
applyReactiveArmor: false,
|
||||||
|
applySpallLiner: false,
|
||||||
|
assaultDistance: 0,
|
||||||
|
crewSkills: createDefaultSkills(previewSkillDefinitions),
|
||||||
|
camouflage: true,
|
||||||
|
consumables: [],
|
||||||
|
engine: previewEngine,
|
||||||
|
provisions: createDefaultProvisions(
|
||||||
|
preview,
|
||||||
|
previewGun,
|
||||||
|
previewProvisionDefinitions
|
||||||
|
),
|
||||||
|
equipmentMatrix: genericDefaultEquipmentMatrix,
|
||||||
|
stockEngine: preview.engines[0],
|
||||||
|
stockGun: preview.turrets[0].guns[0],
|
||||||
|
stockTrack: preview.tracks[0],
|
||||||
|
stockTurret: preview.turrets[0],
|
||||||
|
track: previewTracks,
|
||||||
|
turret: previewTurret,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
equipmentDefinitions: previewEquipmentDefinitions,
|
||||||
|
provisionDefinitions: previewProvisionDefinitions,
|
||||||
|
tankModelDefinition: previewTankModel,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
const changedCharacteristics: string[] = [];
|
||||||
|
|
||||||
|
for (const key in currentCharacteristics) {
|
||||||
|
const characteristicKey = key as keyof typeof currentCharacteristics;
|
||||||
|
if (
|
||||||
|
currentCharacteristics[characteristicKey] !==
|
||||||
|
previewCharacteristics[characteristicKey]
|
||||||
|
) {
|
||||||
|
changedCharacteristics.push(characteristicKey);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
notes += `### [${preview.name.locales.en}](${domain}/tanks/${preview.slug})\n`;
|
||||||
|
notes += `})\n\n`;
|
||||||
|
|
||||||
|
if (addedConsumables.length + removedConsumables.length > 0) {
|
||||||
|
notes += `Consumables: `;
|
||||||
|
notes += [
|
||||||
|
...addedConsumables.map(
|
||||||
|
(consumable) => `🟢 ${consumable.name.locales.en}`
|
||||||
|
),
|
||||||
|
...removedConsumables.map(
|
||||||
|
(consumable) => `🔴 ${consumable.name.locales.en}`
|
||||||
|
),
|
||||||
|
].join(", ");
|
||||||
|
notes += `\n`;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (addedProvisions.length + removedProvisions.length > 0) {
|
||||||
|
notes += `Provisions: `;
|
||||||
|
notes += [
|
||||||
|
...addedProvisions.map(
|
||||||
|
(provision) => `🟢 ${provision.name.locales.en}`
|
||||||
|
),
|
||||||
|
...removedProvisions.map(
|
||||||
|
(provision) => `🔴 ${provision.name.locales.en}`
|
||||||
|
),
|
||||||
|
].join(", ");
|
||||||
|
notes += `\n`;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (addedEquipment.length + removedEquipment.length > 0) {
|
||||||
|
notes += `-Equipment: `;
|
||||||
|
notes += [
|
||||||
|
...addedEquipment.map((equipment) => `🟢 ${equipment.name.locales.en}`),
|
||||||
|
...removedEquipment.map(
|
||||||
|
(equipment) => `🔴 ${equipment.name.locales.en}`
|
||||||
|
),
|
||||||
|
].join(", ");
|
||||||
|
notes += `\n`;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (changedCharacteristics.length > 0) {
|
||||||
|
notes += `Characteristics:\n`;
|
||||||
|
|
||||||
|
for (const characteristicUntyped of changedCharacteristics) {
|
||||||
|
const characteristic =
|
||||||
|
characteristicUntyped as keyof typeof currentCharacteristics;
|
||||||
|
const name =
|
||||||
|
strings.website.tools.tankopedia.characteristics.values[
|
||||||
|
characteristic
|
||||||
|
];
|
||||||
|
const before = currentCharacteristics[characteristic];
|
||||||
|
const after = previewCharacteristics[characteristic];
|
||||||
|
|
||||||
|
notes += `- ${
|
||||||
|
typeof before === "number" && typeof after === "number"
|
||||||
|
? after > before
|
||||||
|
? "⬆️"
|
||||||
|
: "🔻"
|
||||||
|
: "✏️"
|
||||||
|
} ${name}: \`${
|
||||||
|
typeof before === "number" ? before.toFixed(2) : before
|
||||||
|
}\` → \`${typeof after === "number" ? after.toFixed(2) : after}\`\n`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
await writeFile("../../temp/patch-notes.md", notes);
|
||||||
@@ -4,6 +4,10 @@ import { readdir, rm } from "fs/promises";
|
|||||||
import { promisify } from "util";
|
import { promisify } from "util";
|
||||||
|
|
||||||
const MAX_COMMAND_LENGTH = 2 ** 11;
|
const MAX_COMMAND_LENGTH = 2 ** 11;
|
||||||
|
const TS_PROTO_EXECUTABLE_LOCATIONS = [
|
||||||
|
"./node_modules/.bin/protoc-gen-ts_proto",
|
||||||
|
"../../node_modules/.bin/protoc-gen-ts_proto",
|
||||||
|
];
|
||||||
|
|
||||||
const roots = [
|
const roots = [
|
||||||
// "../../packages/core/src/protos",
|
// "../../packages/core/src/protos",
|
||||||
@@ -12,12 +16,24 @@ const roots = [
|
|||||||
|
|
||||||
const exec = promisify(execSync);
|
const exec = promisify(execSync);
|
||||||
|
|
||||||
let executableFileExtension: string;
|
let tsProtoExecutableLocation: string | undefined = undefined;
|
||||||
|
|
||||||
if (existsSync("node_modules/.bin/protoc-gen-ts_proto.exe")) {
|
for (const location of TS_PROTO_EXECUTABLE_LOCATIONS) {
|
||||||
executableFileExtension = ".exe";
|
if (existsSync(location)) {
|
||||||
} else {
|
tsProtoExecutableLocation = location;
|
||||||
executableFileExtension = "";
|
break;
|
||||||
|
} else if (existsSync(`${location}.exe`)) {
|
||||||
|
tsProtoExecutableLocation = `${location}.exe`;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!tsProtoExecutableLocation) {
|
||||||
|
throw new Error(
|
||||||
|
`Could not find ts-proto executable. Checked locations: ${TS_PROTO_EXECUTABLE_LOCATIONS.join(
|
||||||
|
", "
|
||||||
|
)}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const root of roots) {
|
for (const root of roots) {
|
||||||
@@ -32,7 +48,7 @@ for (const root of roots) {
|
|||||||
while (files.length > 0) {
|
while (files.length > 0) {
|
||||||
let command = [
|
let command = [
|
||||||
"protoc",
|
"protoc",
|
||||||
`--plugin=./node_modules/.bin/protoc-gen-ts_proto${executableFileExtension}`,
|
`--plugin=${tsProtoExecutableLocation}`,
|
||||||
"--ts_proto_opt=esModuleInterop=true",
|
"--ts_proto_opt=esModuleInterop=true",
|
||||||
"--ts_proto_opt=oneof=unions-value",
|
"--ts_proto_opt=oneof=unions-value",
|
||||||
// "--ts_proto_opt=removeEnumPrefix=true",
|
// "--ts_proto_opt=removeEnumPrefix=true",
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ for (const tank of tanksSanitized) {
|
|||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(`${++done} done; found ${items.length} for ${tank.name}`);
|
console.log(`${++done} done; found ${items.length} for ${tank.name.locales.en}`);
|
||||||
|
|
||||||
await new Promise((resolve) => setTimeout(resolve, 1000 / 5));
|
await new Promise((resolve) => setTimeout(resolve, 1000 / 5));
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -1,39 +1,39 @@
|
|||||||
import decompress from 'decompress';
|
import decompress from "decompress";
|
||||||
import { existsSync } from 'fs';
|
import { existsSync } from "fs";
|
||||||
import { mkdir, readdir, writeFile } from 'fs/promises';
|
import { mkdir, readdir, writeFile } from "fs/promises";
|
||||||
|
|
||||||
if (!existsSync('../../temp')) {
|
if (!existsSync("../../temp")) {
|
||||||
console.log('Creating temp directory...');
|
console.log("Creating temp directory...");
|
||||||
await mkdir('../../temp');
|
await mkdir("../../temp");
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Downloading depot downloader...');
|
console.log("Downloading depot downloader...");
|
||||||
await fetch(
|
await fetch(
|
||||||
'https://api.github.com/repos/SteamRE/DepotDownloader/releases/latest',
|
"https://api.github.com/repos/SteamRE/DepotDownloader/releases/latest"
|
||||||
)
|
)
|
||||||
.then(
|
.then(
|
||||||
(response) =>
|
(response) =>
|
||||||
response.json() as Promise<{
|
response.json() as Promise<{
|
||||||
assets: { browser_download_url: string; name: string }[];
|
assets: { browser_download_url: string; name: string }[];
|
||||||
}>,
|
}>
|
||||||
)
|
)
|
||||||
.then(({ assets }) => {
|
.then(({ assets }) => {
|
||||||
const asset = assets.find(({ name }) => name.includes('linux-x64'));
|
const asset = assets.find(({ name }) => name.includes("linux-x64"));
|
||||||
if (!asset) throw new Error('No asset found');
|
if (!asset) throw new Error("No asset found");
|
||||||
return fetch(asset.browser_download_url);
|
return fetch(asset.browser_download_url);
|
||||||
})
|
})
|
||||||
.then((response) => response.arrayBuffer())
|
.then((response) => response.arrayBuffer())
|
||||||
.then((arrayBuffer) =>
|
.then((arrayBuffer) =>
|
||||||
writeFile('../../temp/depotDownloader.zip', new Uint8Array(arrayBuffer)),
|
writeFile("../../temp/depotDownloader.zip", new Uint8Array(arrayBuffer))
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log('Unzipping...');
|
console.log("Unzipping...");
|
||||||
await decompress(
|
await decompress(
|
||||||
'../../temp/depotDownloader.zip',
|
"../../temp/depotDownloader.zip",
|
||||||
'../../temp/depotDownloader',
|
"../../temp/depotDownloader"
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
'Download complete; files:',
|
"Download complete; files:",
|
||||||
await readdir('../../temp/depotDownloader'),
|
await readdir("../../temp/depotDownloader")
|
||||||
);
|
);
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"include": ["src/**/*"]
|
"include": ["src/**/*", "../core/src/blitz/readDVPL.ts"]
|
||||||
}
|
}
|
||||||
Binary file not shown.
@@ -67,7 +67,9 @@ export const PrimaryArmorScene = memo(() => {
|
|||||||
<group ref={turretContainer}>
|
<group ref={turretContainer}>
|
||||||
{armorNodes.map((node) => {
|
{armorNodes.map((node) => {
|
||||||
const isCurrentTurret = node.name.startsWith(
|
const isCurrentTurret = node.name.startsWith(
|
||||||
`turret_${turretModelDefinition.model_id.toString().padStart(2, "0")}`
|
`turret_${turretModelDefinition.model_id
|
||||||
|
.toString()
|
||||||
|
.padStart(2, "0")}`
|
||||||
);
|
);
|
||||||
const isVisible = isCurrentTurret;
|
const isVisible = isCurrentTurret;
|
||||||
const armorId = nameToArmorId(node.name);
|
const armorId = nameToArmorId(node.name);
|
||||||
|
|||||||
+12
-1
@@ -4,6 +4,7 @@ import {
|
|||||||
resolvePenetrationCoefficient,
|
resolvePenetrationCoefficient,
|
||||||
} from "@blitzkit/core";
|
} from "@blitzkit/core";
|
||||||
import { invalidate, useFrame } from "@react-three/fiber";
|
import { invalidate, useFrame } from "@react-three/fiber";
|
||||||
|
import type { QuicklimeEvent } from "quicklime";
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import {
|
import {
|
||||||
MeshBasicMaterial,
|
MeshBasicMaterial,
|
||||||
@@ -21,6 +22,7 @@ import { jsxTree } from "../../../../core/blitzkit/jsxTree";
|
|||||||
import { Duel, type EquipmentMatrix } from "../../../../stores/duel";
|
import { Duel, type EquipmentMatrix } from "../../../../stores/duel";
|
||||||
import { Tankopedia } from "../../../../stores/tankopedia";
|
import { Tankopedia } from "../../../../stores/tankopedia";
|
||||||
import { TankopediaPersistent } from "../../../../stores/tankopediaPersistent";
|
import { TankopediaPersistent } from "../../../../stores/tankopediaPersistent";
|
||||||
|
import { transitionEvent } from "../../../Tankopedia/HeroSection/components/TankSandbox/components/Lighting";
|
||||||
import fragmentShader from "./shaders/fragment.glsl?raw";
|
import fragmentShader from "./shaders/fragment.glsl?raw";
|
||||||
import vertexShader from "./shaders/vertex.glsl?raw";
|
import vertexShader from "./shaders/vertex.glsl?raw";
|
||||||
import { spacedArmorRenderTarget } from "./target";
|
import { spacedArmorRenderTarget } from "./target";
|
||||||
@@ -72,6 +74,8 @@ export function PrimaryArmorSceneComponent({
|
|||||||
resolution: { value: new Vector2() },
|
resolution: { value: new Vector2() },
|
||||||
spacedArmorBuffer: { value: null },
|
spacedArmorBuffer: { value: null },
|
||||||
spacedArmorDepth: { value: null },
|
spacedArmorDepth: { value: null },
|
||||||
|
|
||||||
|
opacity: { value: 0 },
|
||||||
},
|
},
|
||||||
]),
|
]),
|
||||||
});
|
});
|
||||||
@@ -154,6 +158,10 @@ export function PrimaryArmorSceneComponent({
|
|||||||
if (!noInvalidate) invalidate();
|
if (!noInvalidate) invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleTransitionEvent(event: QuicklimeEvent<number>) {
|
||||||
|
material.uniforms.opacity.value = event.data;
|
||||||
|
}
|
||||||
|
|
||||||
handleShellChange();
|
handleShellChange();
|
||||||
handleGreenPenetrationChange(TankopediaPersistent.state.greenPenetration);
|
handleGreenPenetrationChange(TankopediaPersistent.state.greenPenetration);
|
||||||
handleAdvancedHighlightingChange(
|
handleAdvancedHighlightingChange(
|
||||||
@@ -164,6 +172,8 @@ export function PrimaryArmorSceneComponent({
|
|||||||
handleProtagonistEquipmentChange(Duel.state.protagonist.equipmentMatrix);
|
handleProtagonistEquipmentChange(Duel.state.protagonist.equipmentMatrix);
|
||||||
handleAntagonistEquipmentChange(Duel.state.antagonist.equipmentMatrix);
|
handleAntagonistEquipmentChange(Duel.state.antagonist.equipmentMatrix);
|
||||||
|
|
||||||
|
transitionEvent.on(handleTransitionEvent);
|
||||||
|
|
||||||
const unsubscribes = [
|
const unsubscribes = [
|
||||||
Duel.on((state) => state.antagonist.shell, handleShellChange),
|
Duel.on((state) => state.antagonist.shell, handleShellChange),
|
||||||
Tankopedia.on((state) => state.customShell, handleShellChange),
|
Tankopedia.on((state) => state.customShell, handleShellChange),
|
||||||
@@ -184,12 +194,13 @@ export function PrimaryArmorSceneComponent({
|
|||||||
(state) => state.antagonist.equipmentMatrix,
|
(state) => state.antagonist.equipmentMatrix,
|
||||||
(equipment) => handleAntagonistEquipmentChange(equipment)
|
(equipment) => handleAntagonistEquipmentChange(equipment)
|
||||||
),
|
),
|
||||||
|
() => transitionEvent.off(handleTransitionEvent),
|
||||||
];
|
];
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
unsubscribes.forEach((unsubscribe) => unsubscribe());
|
unsubscribes.forEach((unsubscribe) => unsubscribe());
|
||||||
};
|
};
|
||||||
});
|
}, []);
|
||||||
|
|
||||||
useFrame(({ gl, camera }) => {
|
useFrame(({ gl, camera }) => {
|
||||||
gl.getSize(material.uniforms.resolution.value).multiplyScalar(
|
gl.getSize(material.uniforms.resolution.value).multiplyScalar(
|
||||||
|
|||||||
+2
-5
@@ -1,12 +1,9 @@
|
|||||||
precision mediump float;
|
precision mediump float;
|
||||||
|
|
||||||
#define USE_FOG
|
|
||||||
|
|
||||||
#include <fog_pars_fragment>
|
|
||||||
|
|
||||||
varying vec3 vNormal;
|
varying vec3 vNormal;
|
||||||
varying vec3 vViewPosition;
|
varying vec3 vViewPosition;
|
||||||
|
|
||||||
|
uniform float opacity;
|
||||||
uniform float thickness;
|
uniform float thickness;
|
||||||
uniform float penetration;
|
uniform float penetration;
|
||||||
uniform float caliber;
|
uniform float caliber;
|
||||||
@@ -119,5 +116,5 @@ void main() {
|
|||||||
gl_FragColor = vec4(baseColor, (1.0 - penetrationChance) * alpha);
|
gl_FragColor = vec4(baseColor, (1.0 - penetrationChance) * alpha);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <fog_fragment>
|
gl_FragColor.a *= opacity;
|
||||||
}
|
}
|
||||||
-6
@@ -1,9 +1,5 @@
|
|||||||
precision mediump float;
|
precision mediump float;
|
||||||
|
|
||||||
#define USE_FOG
|
|
||||||
|
|
||||||
#include <fog_pars_vertex>
|
|
||||||
|
|
||||||
varying vec3 vNormal;
|
varying vec3 vNormal;
|
||||||
varying vec3 vViewPosition;
|
varying vec3 vViewPosition;
|
||||||
|
|
||||||
@@ -14,6 +10,4 @@ void main() {
|
|||||||
vNormal = normalMatrix * normal;
|
vNormal = normalMatrix * normal;
|
||||||
|
|
||||||
gl_Position = projectionMatrix * mvPosition;
|
gl_Position = projectionMatrix * mvPosition;
|
||||||
|
|
||||||
#include <fog_vertex>
|
|
||||||
}
|
}
|
||||||
@@ -24,6 +24,7 @@ import {
|
|||||||
} from "../../../core/blitzkit/modelTransform";
|
} from "../../../core/blitzkit/modelTransform";
|
||||||
import { discardClippingPlane } from "../../../core/three/discardClippingPlane";
|
import { discardClippingPlane } from "../../../core/three/discardClippingPlane";
|
||||||
import { Tankopedia } from "../../../stores/tankopedia";
|
import { Tankopedia } from "../../../stores/tankopedia";
|
||||||
|
import { transitionEvent } from "../../Tankopedia/HeroSection/components/TankSandbox/components/Lighting";
|
||||||
import { ArmorType } from "./SpacedArmorScene";
|
import { ArmorType } from "./SpacedArmorScene";
|
||||||
import type {
|
import type {
|
||||||
ArmorUserData,
|
ArmorUserData,
|
||||||
@@ -108,10 +109,11 @@ export function StaticArmorSceneComponent({
|
|||||||
() =>
|
() =>
|
||||||
new MeshBasicMaterial({
|
new MeshBasicMaterial({
|
||||||
color,
|
color,
|
||||||
opacity,
|
transparent: true,
|
||||||
transparent: opacity < 1,
|
|
||||||
depthWrite,
|
depthWrite,
|
||||||
...(props.clip ? { clippingPlanes: [props.clip] } : {}),
|
...(props.clip ? { clippingPlanes: [props.clip] } : {}),
|
||||||
|
opacity: 0,
|
||||||
|
userData: { opacity0: opacity },
|
||||||
}),
|
}),
|
||||||
[thickness]
|
[thickness]
|
||||||
);
|
);
|
||||||
@@ -121,6 +123,8 @@ export function StaticArmorSceneComponent({
|
|||||||
color: color
|
color: color
|
||||||
.clone()
|
.clone()
|
||||||
.multiplyScalar(props.type === ArmorType.Spaced ? 2 ** 2 : 2 ** -1),
|
.multiplyScalar(props.type === ArmorType.Spaced ? 2 ** 2 : 2 ** -1),
|
||||||
|
opacity: 0,
|
||||||
|
transparent: true,
|
||||||
}),
|
}),
|
||||||
[thickness]
|
[thickness]
|
||||||
);
|
);
|
||||||
@@ -163,11 +167,22 @@ export function StaticArmorSceneComponent({
|
|||||||
surfaceMaterial.needsUpdate = true;
|
surfaceMaterial.needsUpdate = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleTransitionEvent(event: QuicklimeEvent<number>) {
|
||||||
|
surfaceMaterial.opacity = surfaceMaterial.userData.opacity0 * event.data;
|
||||||
|
outlineMaterial.opacity = event.data;
|
||||||
|
|
||||||
|
surfaceMaterial.transparent = surfaceMaterial.opacity < 1;
|
||||||
|
outlineMaterial.transparent = outlineMaterial.opacity < 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
transitionEvent.on(handleTransitionEvent);
|
||||||
|
|
||||||
const unsubscribes = [
|
const unsubscribes = [
|
||||||
Tankopedia.on(
|
Tankopedia.on(
|
||||||
(state) => state.highlightArmor?.name,
|
(state) => state.highlightArmor?.name,
|
||||||
handleHighlightArmor
|
handleHighlightArmor
|
||||||
),
|
),
|
||||||
|
() => transitionEvent.off(handleTransitionEvent),
|
||||||
];
|
];
|
||||||
|
|
||||||
if (props.clip) {
|
if (props.clip) {
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
import { tankIcon } from "@blitzkit/core";
|
||||||
|
import { Flex, Heading, Link, Strong, Text } from "@radix-ui/themes";
|
||||||
|
---
|
||||||
|
|
||||||
|
<Flex justify="center" px="4">
|
||||||
|
<Link
|
||||||
|
color="gray"
|
||||||
|
highContrast
|
||||||
|
style={{ display: "content" }}
|
||||||
|
href="/docs/guides/christmas-2025"
|
||||||
|
underline="none"
|
||||||
|
>
|
||||||
|
<Flex
|
||||||
|
mt="3"
|
||||||
|
px="5"
|
||||||
|
py="4"
|
||||||
|
style={{
|
||||||
|
borderRadius: "var(--radius-3)",
|
||||||
|
backgroundImage: "url(https://i.imgur.com/LRYmSkg.png)",
|
||||||
|
backgroundSize: "cover",
|
||||||
|
backgroundPosition: "center",
|
||||||
|
boxSizing: "border-box",
|
||||||
|
}}
|
||||||
|
align="center"
|
||||||
|
gap="5"
|
||||||
|
>
|
||||||
|
<img src={tankIcon(25169)} style={{ height: "min(15vw, 5rem)" }} />
|
||||||
|
|
||||||
|
<Flex direction="column">
|
||||||
|
<Heading size={{ initial: "4", sm: "6" }}>Christmas 2025</Heading>
|
||||||
|
<Text size={{ initial: "2", sm: "3" }}>
|
||||||
|
Win the <Strong>GSOR the TANK</Strong> and more!
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
|
</Flex>
|
||||||
|
</Link>
|
||||||
|
</Flex>
|
||||||
@@ -3,6 +3,7 @@ import { Flex, Heading, IconButton, Table } from "@radix-ui/themes";
|
|||||||
import type { TankCharacteristics } from "../../core/blitzkit/tankCharacteristics";
|
import type { TankCharacteristics } from "../../core/blitzkit/tankCharacteristics";
|
||||||
import { useLocale } from "../../hooks/useLocale";
|
import { useLocale } from "../../hooks/useLocale";
|
||||||
import { CompareEphemeral } from "../../stores/compareEphemeral";
|
import { CompareEphemeral } from "../../stores/compareEphemeral";
|
||||||
|
import { CompareCellDirection } from "../CompareCell";
|
||||||
import { StickyColumnHeaderCell } from "../StickyColumnHeaderCell";
|
import { StickyColumnHeaderCell } from "../StickyColumnHeaderCell";
|
||||||
import { CompareRow } from "./CompareRow";
|
import { CompareRow } from "./CompareRow";
|
||||||
import { CompareSectionTitle } from "./CompareSectionTitle";
|
import { CompareSectionTitle } from "./CompareSectionTitle";
|
||||||
@@ -79,7 +80,7 @@ export function Body({ stats }: BodyProps) {
|
|||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
name={strings.website.tools.tankopedia.characteristics.values.reload}
|
name={strings.website.tools.tankopedia.characteristics.values.reload}
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
value={(stats) =>
|
value={(stats) =>
|
||||||
stats.shellReload ??
|
stats.shellReload ??
|
||||||
stats.shellReloads!.reduce((a, b) => a + b, 0) /
|
stats.shellReloads!.reduce((a, b) => a + b, 0) /
|
||||||
@@ -95,7 +96,7 @@ export function Body({ stats }: BodyProps) {
|
|||||||
<>
|
<>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
value="intraClip"
|
value="intraClip"
|
||||||
decimals={2}
|
decimals={2}
|
||||||
/>
|
/>
|
||||||
@@ -107,7 +108,7 @@ export function Body({ stats }: BodyProps) {
|
|||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
value="shellRicochet"
|
value="shellRicochet"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={0}
|
decimals={0}
|
||||||
/>
|
/>
|
||||||
<CompareRow stats={stats} value="shellVelocity" decimals={0} />
|
<CompareRow stats={stats} value="shellVelocity" decimals={0} />
|
||||||
@@ -116,48 +117,48 @@ export function Body({ stats }: BodyProps) {
|
|||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
value="aimTime"
|
value="aimTime"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={2}
|
decimals={2}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
value="dispersion"
|
value="dispersion"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={3}
|
decimals={3}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="dispersionMoving"
|
value="dispersionMoving"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={3}
|
decimals={3}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="dispersionHullTraversing"
|
value="dispersionHullTraversing"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={3}
|
decimals={3}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="dispersionTurretTraversing"
|
value="dispersionTurretTraversing"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={3}
|
decimals={3}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="dispersionShooting"
|
value="dispersionShooting"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={3}
|
decimals={3}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="dispersionGunDamaged"
|
value="dispersionGunDamaged"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={3}
|
decimals={3}
|
||||||
/>
|
/>
|
||||||
<CompareRow stats={stats} value="gunDepression" decimals={1} />
|
<CompareRow stats={stats} value="gunDepression" decimals={1} />
|
||||||
@@ -186,21 +187,21 @@ export function Body({ stats }: BodyProps) {
|
|||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
value="hardTerrainCoefficientRaw"
|
value="hardTerrainCoefficientRaw"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={2}
|
decimals={2}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="mediumTerrainCoefficientRaw"
|
value="mediumTerrainCoefficientRaw"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={2}
|
decimals={2}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="softTerrainCoefficientRaw"
|
value="softTerrainCoefficientRaw"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={2}
|
decimals={2}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
@@ -246,7 +247,7 @@ export function Body({ stats }: BodyProps) {
|
|||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
value="fireChance"
|
value="fireChance"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
display={(stats) => (stats.fireChance * 100).toFixed(0)}
|
display={(stats) => (stats.fireChance * 100).toFixed(0)}
|
||||||
deltaNominalDisplay={(delta) => (delta * 100).toFixed(0)}
|
deltaNominalDisplay={(delta) => (delta * 100).toFixed(0)}
|
||||||
/>
|
/>
|
||||||
@@ -288,28 +289,28 @@ export function Body({ stats }: BodyProps) {
|
|||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
value="volume"
|
value="volume"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={1}
|
decimals={1}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="width"
|
value="width"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={1}
|
decimals={1}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="height"
|
value="height"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={1}
|
decimals={1}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
indent
|
indent
|
||||||
value="length"
|
value="length"
|
||||||
deltaType="lowerIsBetter"
|
deltaType={CompareCellDirection.LOWER_IS_BETTER}
|
||||||
decimals={1}
|
decimals={1}
|
||||||
/>
|
/>
|
||||||
</Table.Body>
|
</Table.Body>
|
||||||
|
|||||||
@@ -6,17 +6,17 @@ import {
|
|||||||
import { Flex, IconButton, Table, Text } from "@radix-ui/themes";
|
import { Flex, IconButton, Table, Text } from "@radix-ui/themes";
|
||||||
import { useRef } from "react";
|
import { useRef } from "react";
|
||||||
import type { TankCharacteristics } from "../../core/blitzkit/tankCharacteristics";
|
import type { TankCharacteristics } from "../../core/blitzkit/tankCharacteristics";
|
||||||
import { Var } from "../../core/radix/var";
|
|
||||||
import { useLocale } from "../../hooks/useLocale";
|
import { useLocale } from "../../hooks/useLocale";
|
||||||
import { CompareEphemeral } from "../../stores/compareEphemeral";
|
import { CompareEphemeral } from "../../stores/compareEphemeral";
|
||||||
import { ComparePersistent } from "../../stores/comparePersistent";
|
import { ComparePersistent } from "../../stores/comparePersistent";
|
||||||
|
import { CompareCell, CompareCellDirection } from "../CompareCell";
|
||||||
import { StickyRowHeaderCell } from "../StickyRowHeaderCell";
|
import { StickyRowHeaderCell } from "../StickyRowHeaderCell";
|
||||||
|
|
||||||
type CompareRowProps = {
|
type CompareRowProps = {
|
||||||
display?: (
|
display?: (
|
||||||
member: Awaited<TankCharacteristics>
|
member: Awaited<TankCharacteristics>
|
||||||
) => number | string | undefined;
|
) => number | string | undefined;
|
||||||
deltaType?: "higherIsBetter" | "lowerIsBetter";
|
deltaType?: CompareCellDirection;
|
||||||
decimals?: number;
|
decimals?: number;
|
||||||
deltaNominalDisplay?: (delta: number) => string | number;
|
deltaNominalDisplay?: (delta: number) => string | number;
|
||||||
indent?: boolean;
|
indent?: boolean;
|
||||||
@@ -33,7 +33,7 @@ type CompareRowProps = {
|
|||||||
|
|
||||||
export function CompareRow({
|
export function CompareRow({
|
||||||
display,
|
display,
|
||||||
deltaType = "higherIsBetter",
|
deltaType = CompareCellDirection.HIGHER_IS_BETTER,
|
||||||
decimals,
|
decimals,
|
||||||
deltaNominalDisplay,
|
deltaNominalDisplay,
|
||||||
indent,
|
indent,
|
||||||
@@ -108,33 +108,18 @@ export function CompareRow({
|
|||||||
{values.map((value, index) => {
|
{values.map((value, index) => {
|
||||||
const delta = value - values[0];
|
const delta = value - values[0];
|
||||||
const deltaPercentage = value / values[0] - 1;
|
const deltaPercentage = value / values[0] - 1;
|
||||||
const normalizedDeltaPercentage = Math.round(
|
|
||||||
Math.min(100, Math.abs(deltaPercentage) * 2 * 100 + 25)
|
|
||||||
);
|
|
||||||
const resolvedDisplayValue = display
|
const resolvedDisplayValue = display
|
||||||
? display(stats[index])
|
? display(stats[index])
|
||||||
: decimals === undefined
|
: decimals === undefined
|
||||||
? value
|
? value
|
||||||
: value?.toFixed(decimals);
|
: value?.toFixed(decimals);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Table.Cell
|
<CompareCell
|
||||||
key={index}
|
key={index}
|
||||||
style={{
|
truth={values[0]}
|
||||||
backgroundColor:
|
value={value}
|
||||||
index === 0 ||
|
direction={deltaType}
|
||||||
value === undefined ||
|
|
||||||
values[0] === undefined ||
|
|
||||||
value === values[0]
|
|
||||||
? undefined
|
|
||||||
: (
|
|
||||||
deltaType === "higherIsBetter"
|
|
||||||
? value > values[0]
|
|
||||||
: value < values[0]
|
|
||||||
)
|
|
||||||
? `color-mix(in srgb, ${Var("green-7")} ${normalizedDeltaPercentage}%, ${Var("green-3")})`
|
|
||||||
: `color-mix(in srgb, ${Var("red-7")} ${normalizedDeltaPercentage}%, ${Var("red-3")})`,
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<Flex
|
<Flex
|
||||||
align="center"
|
align="center"
|
||||||
@@ -160,8 +145,8 @@ export function CompareRow({
|
|||||||
deltaNominalDisplay
|
deltaNominalDisplay
|
||||||
? deltaNominalDisplay(delta)
|
? deltaNominalDisplay(delta)
|
||||||
: decimals === undefined
|
: decimals === undefined
|
||||||
? delta
|
? delta
|
||||||
: delta.toFixed(decimals)
|
: delta.toFixed(decimals)
|
||||||
}`}
|
}`}
|
||||||
)
|
)
|
||||||
</Text>
|
</Text>
|
||||||
@@ -179,7 +164,7 @@ export function CompareRow({
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
</Table.Cell>
|
</CompareCell>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</Table.Row>
|
</Table.Row>
|
||||||
|
|||||||
@@ -51,19 +51,17 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
variant="surface"
|
variant="surface"
|
||||||
style={{
|
style={{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
width: "100%",
|
maxWidth: "100%",
|
||||||
height: "100%",
|
height: "100%",
|
||||||
borderRadius: 0,
|
borderBottomRightRadius: 0,
|
||||||
|
borderBottomLeftRadius: 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Table.Header>
|
<Table.Header>
|
||||||
<Table.Row>
|
<Table.Row>
|
||||||
<StickyColumnHeaderCell width="0" style={{ height: "100%" }}>
|
<StickyColumnHeaderCell width="0" style={{ height: "100%" }}>
|
||||||
<Flex
|
<Flex
|
||||||
style={{
|
style={{ width: "100%", height: "100%" }}
|
||||||
width: "100%",
|
|
||||||
height: "100%",
|
|
||||||
}}
|
|
||||||
align="center"
|
align="center"
|
||||||
justify="center"
|
justify="center"
|
||||||
>
|
>
|
||||||
@@ -107,8 +105,8 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
crewSkills[skill] === 0
|
crewSkills[skill] === 0
|
||||||
? Var("gray-11")
|
? Var("gray-11")
|
||||||
: permanentSkills.includes(skill)
|
: permanentSkills.includes(skill)
|
||||||
? Var("crimson-11")
|
? Var("crimson-11")
|
||||||
: Var("amber-11"),
|
: Var("amber-11"),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
@@ -279,14 +277,14 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
</Popover.Content>
|
</Popover.Content>
|
||||||
</Popover.Root>
|
</Popover.Root>
|
||||||
|
|
||||||
<Flex align="center" justify="center" gap="3">
|
<Flex justify="center" gap="3">
|
||||||
<Popover.Root>
|
<Popover.Root>
|
||||||
<Popover.Trigger>
|
<Popover.Trigger>
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
radius="large"
|
radius="large"
|
||||||
style={{
|
style={{
|
||||||
height: "100%",
|
height: "2rem",
|
||||||
width: 12,
|
width: 12,
|
||||||
position: "relative",
|
position: "relative",
|
||||||
}}
|
}}
|
||||||
@@ -347,7 +345,24 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Flex justify="end" mt="4">
|
|
||||||
|
<Flex justify="end" mt="4" gap="3">
|
||||||
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
onClick={() => {
|
||||||
|
CompareEphemeral.mutate((draft) => {
|
||||||
|
draft.members.map((member) => {
|
||||||
|
member.provisions = [];
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{
|
||||||
|
strings.website.tools.compare.table.provisions
|
||||||
|
.clear_all
|
||||||
|
}
|
||||||
|
</Button>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -475,7 +490,7 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
variant="ghost"
|
variant="ghost"
|
||||||
radius="large"
|
radius="large"
|
||||||
style={{
|
style={{
|
||||||
height: "100%",
|
height: "2rem",
|
||||||
width: 12,
|
width: 12,
|
||||||
position: "relative",
|
position: "relative",
|
||||||
}}
|
}}
|
||||||
@@ -538,7 +553,23 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Flex justify="end" mt="4">
|
<Flex justify="end" mt="4" gap="4">
|
||||||
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
onClick={() => {
|
||||||
|
CompareEphemeral.mutate((draft) => {
|
||||||
|
draft.members.map((member) => {
|
||||||
|
member.consumables = [];
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{
|
||||||
|
strings.website.tools.compare.table.consumables
|
||||||
|
.clear_all
|
||||||
|
}
|
||||||
|
</Button>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ export function TankCard({ index, tank }: TankCardProps) {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StickyColumnHeaderCell>
|
<StickyColumnHeaderCell width="0">
|
||||||
<Flex direction="column" align="center" justify="between" gap="2">
|
<Flex direction="column" align="center" justify="between" gap="2">
|
||||||
<TankControl index={index} key={tank.id} slug={tank.slug} />
|
<TankControl index={index} key={tank.id} slug={tank.slug} />
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
import { Table } from "@radix-ui/themes";
|
||||||
|
import type { CellProps } from "@radix-ui/themes/components/table";
|
||||||
|
|
||||||
|
export enum CompareCellDirection {
|
||||||
|
HIGHER_IS_BETTER,
|
||||||
|
LOWER_IS_BETTER,
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CompareCellProps extends CellProps {
|
||||||
|
value: number;
|
||||||
|
truth: number;
|
||||||
|
direction?: CompareCellDirection;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function CompareCell({
|
||||||
|
value,
|
||||||
|
truth,
|
||||||
|
style,
|
||||||
|
direction = CompareCellDirection.HIGHER_IS_BETTER,
|
||||||
|
...props
|
||||||
|
}: CompareCellProps) {
|
||||||
|
const percentage = value / truth - 1;
|
||||||
|
const shiftedPercentage = Math.round(
|
||||||
|
Math.min(100, Math.abs(percentage) * 2 * 100 + 25)
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Table.Cell
|
||||||
|
style={{
|
||||||
|
backgroundColor:
|
||||||
|
value === truth
|
||||||
|
? undefined
|
||||||
|
: (direction === CompareCellDirection.HIGHER_IS_BETTER) ===
|
||||||
|
value > truth
|
||||||
|
? `color-mix(in srgb, var(--green-7) ${shiftedPercentage}%, var(--green-3))`
|
||||||
|
: `color-mix(in srgb, var(--red-7) ${shiftedPercentage}%, var(--red-3))`,
|
||||||
|
}}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { Consumable } from '@blitzkit/core';
|
import type { Consumable } from "@blitzkit/core";
|
||||||
import { Flex, type FlexProps } from '@radix-ui/themes';
|
import { Flex, type FlexProps } from "@radix-ui/themes";
|
||||||
import { ConsumableButton } from './ModuleButtons/ConsumableButton';
|
import { ConsumableButton } from "./ModuleButtons/ConsumableButton";
|
||||||
|
|
||||||
type ConsumablesManagerProps = FlexProps & {
|
type ConsumablesManagerProps = FlexProps & {
|
||||||
consumables: Consumable[];
|
consumables: Consumable[];
|
||||||
@@ -27,6 +27,8 @@ export function ConsumablesManager({
|
|||||||
return (
|
return (
|
||||||
<Flex wrap="wrap" gap="2" {...props}>
|
<Flex wrap="wrap" gap="2" {...props}>
|
||||||
{consumables.map((consumable) => {
|
{consumables.map((consumable) => {
|
||||||
|
if (consumable.game_mode_exclusive) return null;
|
||||||
|
|
||||||
const isSelected = selected.some((id) => id === consumable.id);
|
const isSelected = selected.some((id) => id === consumable.id);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -0,0 +1,89 @@
|
|||||||
|
import { Code, Flex, Heading, Link, Text } from "@radix-ui/themes";
|
||||||
|
import { useEffect, useState, type ReactNode } from "react";
|
||||||
|
import type { MaybeSkeletonComponentProps } from "../types/maybeSkeletonComponentProps";
|
||||||
|
import { InlineSkeleton } from "./InlineSkeleton";
|
||||||
|
|
||||||
|
const TIME = 1764898200 * 1000;
|
||||||
|
|
||||||
|
export function Giveaway({ skeleton }: MaybeSkeletonComponentProps) {
|
||||||
|
const [timeLeft, setTimeLeft] = useState<number>(TIME - Date.now());
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const interval = setInterval(() => {
|
||||||
|
setTimeLeft(TIME - Date.now());
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
|
return () => {
|
||||||
|
clearInterval(interval);
|
||||||
|
};
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
let string: ReactNode;
|
||||||
|
|
||||||
|
if (timeLeft > 0) {
|
||||||
|
const hours = Math.floor(timeLeft / (1000 * 60 * 60));
|
||||||
|
const minutes = Math.floor((timeLeft / (1000 * 60)) % 60)
|
||||||
|
.toString()
|
||||||
|
.padStart(2, "0");
|
||||||
|
const seconds = Math.floor((timeLeft / 1000) % 60)
|
||||||
|
.toString()
|
||||||
|
.padStart(2, "0");
|
||||||
|
|
||||||
|
string = (
|
||||||
|
<>
|
||||||
|
in{" "}
|
||||||
|
<Code highContrast>
|
||||||
|
{hours}h {minutes}m {seconds}s
|
||||||
|
</Code>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
string = "has ended. Come again later!";
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Flex justify="center" px="4">
|
||||||
|
<Link
|
||||||
|
color="gray"
|
||||||
|
highContrast
|
||||||
|
style={{ display: "content" }}
|
||||||
|
href="https://discord.gg/njQdBhNS?event=1446208951136813117"
|
||||||
|
underline="none"
|
||||||
|
>
|
||||||
|
<Flex
|
||||||
|
mt="3"
|
||||||
|
px="5"
|
||||||
|
py="4"
|
||||||
|
style={{
|
||||||
|
borderRadius: "var(--radius-3)",
|
||||||
|
backgroundImage: "url(https://i.imgur.com/LRYmSkg.png)",
|
||||||
|
backgroundSize: "cover",
|
||||||
|
backgroundPosition: "center",
|
||||||
|
boxSizing: "border-box",
|
||||||
|
boxShadow: "0 0 var(--space-7) var(--blue-a5)",
|
||||||
|
}}
|
||||||
|
align="center"
|
||||||
|
gap="5"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src="https://i.imgur.com/mvmJQgB.png"
|
||||||
|
style={{
|
||||||
|
height: "min(15vw, 5rem)",
|
||||||
|
filter: "drop-shadow(0.5rem 0.5rem 1rem #00000080)",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Flex direction="column">
|
||||||
|
<Heading size={{ initial: "4", sm: "6" }}>
|
||||||
|
Music Box giveaway {!skeleton && string}{" "}
|
||||||
|
{skeleton && <InlineSkeleton width="10rem" />}
|
||||||
|
</Heading>
|
||||||
|
<Text size={{ initial: "2", sm: "3" }}>
|
||||||
|
Join the BlitzKit Discord server event
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
|
</Flex>
|
||||||
|
</Link>
|
||||||
|
</Flex>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loaded 100 of 137 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user