diff --git a/bun.lock b/bun.lock index 0643c9701..8821c5262 100644 --- a/bun.lock +++ b/bun.lock @@ -76,7 +76,6 @@ "dotenv": "^17.2.2", "fast-xml-parser": "^5.3.2", "lodash-es": "^4.17.21", - "lz4js": "^0.2.0", "pickleparser": "^0.2.1", "protobufjs": "^7.5.4", "three": "^0.184.0", @@ -123,7 +122,6 @@ "fast-xml-parser": "^5.2.5", "googleapis": "^162.0.0", "lodash-es": "^4.17.21", - "lz4js": "^0.2.0", "progress": "^2.0.3", "puppeteer": "^24.22.3", "sharp": "^0.34.4", diff --git a/docs/changelogs/1.30.4.md b/docs/changelogs/1.30.4.md new file mode 100644 index 000000000..cebe9a7fd --- /dev/null +++ b/docs/changelogs/1.30.4.md @@ -0,0 +1,5 @@ +# BlitzKit 1.30.4 + +## Fixes + +- BlitzKit now correctly implements minor WoTB updates diff --git a/docs/changelogs/1.30.5.md b/docs/changelogs/1.30.5.md new file mode 100644 index 000000000..f858f4602 --- /dev/null +++ b/docs/changelogs/1.30.5.md @@ -0,0 +1,8 @@ +# BlitzKit 1.30.5 + +## Features + +- Reduced the amount of code that executes for every rendered frame, hopefully improving performance +- Reduced the number of lights by 20% to decrease the amount of shadow calculations +- Decreased the ground size by 80% for an equal reduction in shadow texture sizes +- Added the ability for BlitzKit to dismount the components that handled the intro lighting animation when not animating, reducing checks running every frame diff --git a/docs/changelogs/1.30.6.md b/docs/changelogs/1.30.6.md new file mode 100644 index 000000000..1e5c9e2a3 --- /dev/null +++ b/docs/changelogs/1.30.6.md @@ -0,0 +1,7 @@ +# BlitzKit 1.30.6 + +## Fixes + +- Tanks no longer "randomly" appear dark in Tankopedia and Mixer +- The ground is now as dark as other modes when Static Armor is selected in Tankopedia +- Fixed some naming issues with the "equal" icon, improving performance a tiny tiny bit diff --git a/packages/core/package.json b/packages/core/package.json index 00eb2455a..85971fe3e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -19,7 +19,6 @@ "dotenv": "^17.2.2", "fast-xml-parser": "^5.3.2", "lodash-es": "^4.17.21", - "lz4js": "^0.2.0", "pickleparser": "^0.2.1", "protobufjs": "^7.5.4", "three": "^0.184.0", diff --git a/packages/i18n/strings/uk.json b/packages/i18n/strings/uk.json index e30623ee7..02820dbfe 100644 --- a/packages/i18n/strings/uk.json +++ b/packages/i18n/strings/uk.json @@ -876,7 +876,7 @@ "yaw": "Yaw", "pitch": "Pitch", "min": "Min", - "max": "Max" + "max": "Макс" } }, "sandbox": { @@ -908,7 +908,7 @@ "normalization": "Нормалізація", "ricochet": "Рикошет", "explosion_radius": "Радіус розльоту уламків", - "exit": "Exit", + "exit": "Вийти", "reset": "Reset" }, "advanced": "Advanced highlighting", @@ -919,13 +919,13 @@ "external": "External", "gap": "Gap", "gun": "Gun", - "track": "Tracks" + "track": "Гусениці" }, "status": { - "penetration": "{damage}hp penetration", - "blocked": "Blocked", + "penetration": "{damage} од. шкоди з пробиттям", + "blocked": "Заблоковано", "ricochet": "Рикошет", - "splash": "{damage}hp splash" + "splash": "{damage} Од" }, "stats": { "thickness_and_angle": "{thickness}mm {angle}°", @@ -1048,7 +1048,7 @@ "caliber": "Калібр", "penetration": "Бронепробиття", "damage": "Шкода", - "damageWithoutAssault": "Damage without assault shells", + "damageWithoutAssault": "Шкода без урахування золотих снарядів", "clipDamage": "Clipping potential", "moduleDamage": "Шкода по модулях", "explosionRadius": "Радіус розльоту уламків", @@ -1057,7 +1057,7 @@ "dispersion": "Нерухомо", "dispersionMoving": "У русі", "dispersionHullTraversing": "Hull traversing", - "dispersionTurretTraversing": "Turret traversing", + "dispersionTurretTraversing": "Обертання башти", "dispersionShooting": "Shooting", "dispersionGunDamaged": "Gun damaged", "gunDepression": "Depression", @@ -1174,7 +1174,7 @@ }, "performance": { "name": "Performance", - "button": "View tanks", + "button": "Переглянути танки", "description": "Tank performance statistics", "seo_description": "Best tanks and their performances in World of Tanks Blitz", "estimation": { diff --git a/packages/scripts/package.json b/packages/scripts/package.json index c3ef7f9e3..4d68427b0 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -33,7 +33,6 @@ "fast-xml-parser": "^5.2.5", "googleapis": "^162.0.0", "lodash-es": "^4.17.21", - "lz4js": "^0.2.0", "progress": "^2.0.3", "puppeteer": "^24.22.3", "sharp": "^0.34.4", diff --git a/packages/scripts/src/core/vfs/mixed.ts b/packages/scripts/src/core/vfs/mixed.ts new file mode 100644 index 000000000..1d3358ddb --- /dev/null +++ b/packages/scripts/src/core/vfs/mixed.ts @@ -0,0 +1,49 @@ +import { AbstractVFS } from "./abstract"; + +export class MixedVFS extends AbstractVFS { + constructor(private vfses: AbstractVFS[]) { + super(); + } + + async init() { + for (const vfs of this.vfses) { + await vfs.init(); + } + + return this; + } + + dispose() { + for (const vfs of this.vfses) { + vfs.dispose(); + } + } + + async has(path: string) { + for (const vfs of this.vfses) { + if (await vfs.has(path)) return true; + } + + return false; + } + + async raw(path: string) { + for (const vfs of this.vfses) { + if (await vfs.has(path)) return await vfs.raw(path); + } + + throw new Error(`File not found: ${path}`); + } + + async dir(path: string) { + const files = new Set(); + + for (const vfs of this.vfses) { + for (const file of await vfs.dir(path)) { + files.add(file); + } + } + + return Array.from(files); + } +}