mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-20 03:25:56 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
954088192e | ||
|
|
2f04207d50 | ||
|
|
9f6d35fb9f | ||
|
|
41977442e9 | ||
|
|
c75785d13e | ||
|
|
2b9021ce07 |
No files matched your search
@@ -8,6 +8,12 @@ Published releases and previews. Pre-release entries do not change the stable up
|
||||
|
||||
Dates follow GitHub publication (UTC); legacy records retain their archived dates. Newest releases first.
|
||||
|
||||
## 0.9.15 — 2026-11-19
|
||||
|
||||
- The Custom Races client update brings version 2.0.2.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.9.15) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.9.14...v0.9.15)
|
||||
|
||||
## 0.9.14 — 2026-11-16
|
||||
|
||||
- Install community addons from the Manager.
|
||||
|
||||
Generated
+4
-4
@@ -586,7 +586,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "coa-core"
|
||||
version = "0.9.14"
|
||||
version = "0.9.15"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"chrono",
|
||||
@@ -621,7 +621,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "coa-launcher"
|
||||
version = "0.9.14"
|
||||
version = "0.9.15"
|
||||
dependencies = [
|
||||
"coa-core",
|
||||
"serde_json",
|
||||
@@ -644,7 +644,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "coa-release"
|
||||
version = "0.9.14"
|
||||
version = "0.9.15"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"coa-core",
|
||||
@@ -782,7 +782,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "csm-modules-preview"
|
||||
version = "0.9.14"
|
||||
version = "0.9.15"
|
||||
dependencies = [
|
||||
"coa-control-proto",
|
||||
"coa-core",
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ members = ["crates/coa-core", "crates/coa-launcher", "crates/coa-release", "crat
|
||||
exclude = ["services/coa-registry", "services/coa-registry-e2e", "services/coa-coordinator", "services/coa-relay"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.9.14"
|
||||
version = "0.9.15"
|
||||
edition = "2021"
|
||||
license = "AGPL-3.0-only"
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
area: manager
|
||||
type: changed
|
||||
audience: players
|
||||
title: The Custom Races client update brings version 2.0.2
|
||||
---
|
||||
Updating the Custom Races client now installs 2.0.2: the retail body model files, the subclass and HD patches, the current CoACustomRace.exe and the newer subclass interface with the Two-Players bar. The 2.0 archives already downloaded are reused, so about 4.4 GB of new files are fetched. Update the Manager before the server: the matching server release needs this version.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
area: manager
|
||||
type: fixed
|
||||
audience: admins
|
||||
title: Installing the C++ Build Tools now gets the exact compiler the core needs
|
||||
---
|
||||
Plugins must be built by the same compiler build as the core. On a PC whose Visual Studio Build Tools were installed earlier, the installer kept the older compiler and the modules stayed switched off. When the existing Build Tools cannot supply the compiler this core names, the Manager now installs Microsoft's current Build Tools next to them and leaves the existing installation untouched.
|
||||
+13
-1
@@ -190,7 +190,8 @@
|
||||
"Corfirean/coa-server-manager:20261115-scheduled-restart.md",
|
||||
"Corfirean/coa-server-manager:20261115-v2-feature-switches.md",
|
||||
"Corfirean/coa-server-manager:20261116-companions-wildcard-reborn.md",
|
||||
"Corfirean/coa-server-manager:20261116-custom-race-characters-off.md"
|
||||
"Corfirean/coa-server-manager:20261116-custom-race-characters-off.md",
|
||||
"Corfirean/coa-server-manager:20261118-custom-races-2-0-2-client.md"
|
||||
],
|
||||
"releases": [
|
||||
{
|
||||
@@ -970,6 +971,17 @@
|
||||
],
|
||||
"commit": "1f64da3ae064b3f02d2bb11d818c44d26a557045",
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.9.13...v0.9.14"
|
||||
},
|
||||
{
|
||||
"tag": "v0.9.15",
|
||||
"version": "0.9.15",
|
||||
"date": "2026-11-19",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.9.15",
|
||||
"notes": [
|
||||
"The Custom Races client update brings version 2.0.2"
|
||||
],
|
||||
"commit": "2b9021ce072e3b6c7e9c8106f8a54f59f1b37424",
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.9.14...v0.9.15"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -14,24 +14,34 @@ use crate::download::Cancel;
|
||||
use crate::error::{Error, Result};
|
||||
use crate::fsx;
|
||||
|
||||
pub const CLIENT_VERSION: &str = "2.0";
|
||||
pub const CLIENT_VERSION: &str = "2.0.2";
|
||||
pub const MANIFEST_FILENAME: &str = "custom_races_patch_manifest.txt";
|
||||
/// Files earlier releases installed that the current release no longer ships (removed on update).
|
||||
#[cfg(test)]
|
||||
const RETIRED_FILES: &[&str] = &["Ascension.exe"];
|
||||
/// The client archives of the coa-custom-2.0 release. The server archive is read only for its client
|
||||
/// addons (files/addons: subclass interface, dev menu, teleports, spell activation overlay).
|
||||
/// The client archives of the coa-custom-2.0.2 release. Clients 1 to 9 are byte for byte the 2.0 archives and keep their
|
||||
/// 2.0 file names, so a verified copy in the cache or in Downloads is not fetched again. The server archive is read
|
||||
/// only for its client addons; the SkinCollection (Skinshifter) addon in Client 17 is not installed (see RACE_ADDONS).
|
||||
/// Order matters: a later archive replaces a file of an earlier one, and Client 17 carries the newer Ascension_Subclass.
|
||||
pub const ARCHIVES: &[(&str, &str)] = &[
|
||||
("CoA-Custom-V2-Client-1.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-1.zip"),
|
||||
("CoA-Custom-V2-Client-2.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-2.zip"),
|
||||
("CoA-Custom-V2-Client-3.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-3.zip"),
|
||||
("CoA-Custom-V2-Client-4.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-4.zip"),
|
||||
("CoA-Custom-V2-Client-5.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-5.zip"),
|
||||
("CoA-Custom-V2-Client-6.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-6.zip"),
|
||||
("CoA-Custom-V2-Client-7.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-7.zip"),
|
||||
("CoA-Custom-V2-Client-8.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-8.zip"),
|
||||
("CoA-Custom-V2-Client-9.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-9.zip"),
|
||||
("CoA-Custom-V2-Server.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Server.zip"),
|
||||
("CoA-Custom-V2-Client-1.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-1.zip"),
|
||||
("CoA-Custom-V2-Client-2.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-2.zip"),
|
||||
("CoA-Custom-V2-Client-3.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-3.zip"),
|
||||
("CoA-Custom-V2-Client-4.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-4.zip"),
|
||||
("CoA-Custom-V2-Client-5.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-5.zip"),
|
||||
("CoA-Custom-V2-Client-6.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-6.zip"),
|
||||
("CoA-Custom-V2-Client-7.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-7.zip"),
|
||||
("CoA-Custom-V2-Client-8.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-8.zip"),
|
||||
("CoA-Custom-V2-Client-9.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-9.zip"),
|
||||
("CoA-Custom-V2.0.2-Client-10.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-10.zip"),
|
||||
("CoA-Custom-V2.0.2-Client-11.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-11.zip"),
|
||||
("CoA-Custom-V2.0.2-Client-12.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-12.zip"),
|
||||
("CoA-Custom-V2.0.2-Client-13.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-13.zip"),
|
||||
("CoA-Custom-V2.0.2-Client-14.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-14.zip"),
|
||||
("CoA-Custom-V2.0.2-Client-15.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-15.zip"),
|
||||
("CoA-Custom-V2.0.2-Client-16.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-16.zip"),
|
||||
("CoA-Custom-V2.0.2-Server.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Server.zip"),
|
||||
("CoA-Custom-V2.0.2-Client-17.zip", "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0.2/CoA-Custom-V2.0.2-Client-17.zip"),
|
||||
];
|
||||
|
||||
pub const RACE_MPQS: &[&str] = &[
|
||||
@@ -111,6 +121,24 @@ pub const RACE_MPQS: &[&str] = &[
|
||||
"patch-ZZZZZW.MPQ",
|
||||
"patch-ZZZZZX.MPQ",
|
||||
"patch-ZZZZZY.MPQ",
|
||||
"patch-ZZZZZY-SUBMA.MPQ",
|
||||
"patch-ZZZZZY-SUBVA.MPQ",
|
||||
"patch-ZZZZZY-SUBVB.MPQ",
|
||||
"patch-ZZZZZY-SUBVC.MPQ",
|
||||
"patch-ZZZZZY-SUBXA-HD.MPQ",
|
||||
"patch-ZZZZZY-SUBXB-HD.MPQ",
|
||||
"patch-ZZZZZY-SUBXC-HD.MPQ",
|
||||
"patch-ZZZZZZ.MPQ",
|
||||
"patch-ZZZZZZA.MPQ",
|
||||
"patch-ZZZZZZB.MPQ",
|
||||
"patch-ZZZZZZC.MPQ",
|
||||
"patch-ZZZZZZD.MPQ",
|
||||
"patch-ZZZZZZE.MPQ",
|
||||
"patch-retail-001.mpq",
|
||||
"patch-retail-002.mpq",
|
||||
"patch-retail-003.mpq",
|
||||
"patch-retail-004.mpq",
|
||||
"patch-retail-005.mpq",
|
||||
];
|
||||
|
||||
pub const RACE_ADDONS: &[&str] = &[
|
||||
@@ -118,13 +146,18 @@ pub const RACE_ADDONS: &[&str] = &[
|
||||
"Ascension_Subclass/Ascension_Subclass.toc",
|
||||
"Ascension_Subclass/Bindings.xml",
|
||||
"Ascension_Subclass/SubclassBar.lua",
|
||||
"Ascension_Subclass/SubclassBonk.lua",
|
||||
"Ascension_Subclass/SubclassCarry.lua",
|
||||
"Ascension_Subclass/SubclassCastBar.lua",
|
||||
"Ascension_Subclass/SubclassChoices.lua",
|
||||
"Ascension_Subclass/SubclassGlow.lua",
|
||||
"Ascension_Subclass/SubclassNodes.lua",
|
||||
"Ascension_Subclass/SubclassOrbs.lua",
|
||||
"Ascension_Subclass/SubclassPairs.lua",
|
||||
"Ascension_Subclass/SubclassPetBar.lua",
|
||||
"Ascension_Subclass/SubclassPowerBar.lua",
|
||||
"Ascension_Subclass/SubclassRaceBackground.lua",
|
||||
"Ascension_Subclass/Textures/IceFrame.tga",
|
||||
"CoAHideArmor/CoAHideArmor.lua",
|
||||
"CoAHideArmor/CoAHideArmor.toc",
|
||||
"CoAQuestSafe/CoAQuestSafe.lua",
|
||||
@@ -405,6 +438,8 @@ fn patch_files(client: &Path) -> Result<Vec<PatchFile>> {
|
||||
include_str!("custom_races_hashes_1_9_1.json")
|
||||
} else if manifest.lines().any(|line| line == "# CoA Custom 1.9.2") {
|
||||
include_str!("custom_races_hashes_1_9_2.json")
|
||||
} else if manifest.lines().any(|line| line == "# CoA Custom 2.0") {
|
||||
include_str!("custom_races_hashes_2_0.json")
|
||||
} else {
|
||||
include_str!("custom_races_hashes.json")
|
||||
};
|
||||
@@ -1100,9 +1135,41 @@ fn archive_job(filename: &str, url: &str, cache: &Path) -> Result<crate::downloa
|
||||
195_235_400,
|
||||
"0764893543084a12d15578fe734f66ba4519740794a6b3b3a38a08594c38c640",
|
||||
),
|
||||
"CoA-Custom-V2-Server.zip" => (
|
||||
63_983_587,
|
||||
"8970d61eea40f53cea4c27481edd85d2b2647cd32eb88932e0077da3b4a77d23",
|
||||
"CoA-Custom-V2.0.2-Client-10.zip" => (
|
||||
73_099_250,
|
||||
"035720776b66a18b965bbd7262154ea398f5425b8cd116fdfc5f663cd800316e",
|
||||
),
|
||||
"CoA-Custom-V2.0.2-Client-11.zip" => (
|
||||
178_667_276,
|
||||
"9a66f782be47f66ce4ec9f4f70cb1970218fe48950a031b39aa79c091008901b",
|
||||
),
|
||||
"CoA-Custom-V2.0.2-Client-12.zip" => (
|
||||
1_053_880_101,
|
||||
"f7a90890a0248967eb4572c641f5dee1bd0cafba12d1841360821b79cd5b1c3e",
|
||||
),
|
||||
"CoA-Custom-V2.0.2-Client-13.zip" => (
|
||||
950_360_503,
|
||||
"8ae00b9bebc4e21d6d6d32ddbf319c341f3c418349a3aeb3d840dffb0fa14d3f",
|
||||
),
|
||||
"CoA-Custom-V2.0.2-Client-14.zip" => (
|
||||
971_472_467,
|
||||
"511ec3fd1933b9342920262f6a5eae7e451671a49679e93612632b77c31ba57f",
|
||||
),
|
||||
"CoA-Custom-V2.0.2-Client-15.zip" => (
|
||||
1_106_537_793,
|
||||
"b65505a047508cbd15f4fec670d3953873014250efc484aa3bdb75cb3b3cbbf1",
|
||||
),
|
||||
"CoA-Custom-V2.0.2-Client-16.zip" => (
|
||||
11_874_081,
|
||||
"5442dc06147e60140c43eebfae14f6ad5f19e6fed974db471b65211497609a27",
|
||||
),
|
||||
"CoA-Custom-V2.0.2-Client-17.zip" => (
|
||||
947_478,
|
||||
"707e09c8b95926e2d83bdc16adab763901951566caf6bf4fcebfdf4d7ba0e62a",
|
||||
),
|
||||
"CoA-Custom-V2.0.2-Server.zip" => (
|
||||
96_857_277,
|
||||
"36d0cba993623064ce01f364116f99330423cec3cef22101e50cf941dfd85afe",
|
||||
),
|
||||
_ => return Err(Error::Invalid("Unknown custom races archive.".into())),
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"CoACustomRace.exe": "428e41f5cb349f66b9ac133c711c2ffb92bd2be28c595f67268924df8a5c89cc",
|
||||
"CoACustomRace.exe": "8c283dcd464418e6859217dd53ad522b6a61f064c6db349c77d3cb90412690d9",
|
||||
"CoAVolFog-regions.ini": "a21c2616c866ea29bdf2c75af2607e8cb982fdaaef1167375b23f1490325a0a5",
|
||||
"CoAVolFog.dll": "65c9abb6d44ce41bc943b25a83ab4292dd0697d6490a60385e75610fe66801ce",
|
||||
"CoAVolFog.ini": "921d99e3dd5a85db4d815c4baf94851639e85e74a5bb5b5f610548a0fbf94483",
|
||||
@@ -4798,7 +4798,7 @@
|
||||
"Data/patch-ZZZZX.MPQ": "d4b1352e62f3b47b2a8fe38cf751825f20f58e4feee0a1b04e935e2211554f30",
|
||||
"Data/patch-ZZZZY.MPQ": "f9d05e9e0b0c31264c5d5dfd3bb3d486acfd0f3380186a3dec73cd2fa92c4859",
|
||||
"Data/patch-ZZZZZ.MPQ": "9d94a39178f2e8b34e612321ed1ad484d60be395520a38818546b5a8e96c94f4",
|
||||
"Data/patch-ZZZZZA.MPQ": "23d62f92116106039afbe37e7ad8199a99ec8401e6c65728d6293c8155591e89",
|
||||
"Data/patch-ZZZZZA.MPQ": "dad9d283885b69d4f11daacfd667acec691220cfc22d3abbbad557739a38da51",
|
||||
"Data/patch-ZZZZZB.MPQ": "07146bfd6501d3022133bf661786f1061e57393993b79b6115b12ddc77e9946c",
|
||||
"Data/patch-ZZZZZC.MPQ": "94b21941edef2e81b4461716f8945d7b19e8f0fb09071f4b777c26d9dccd2670",
|
||||
"Data/patch-ZZZZZM.MPQ": "cebe58e8c25192593afeabab9e23ec2757de6811e944823350af709ba15b6ab8",
|
||||
@@ -4813,7 +4813,25 @@
|
||||
"Data/patch-ZZZZZV.MPQ": "f0a7c595575ae2bbb58b6c525fc61c613ae2960e9b76742c128a83247f6b240c",
|
||||
"Data/patch-ZZZZZW.MPQ": "80d9288310710cb6a438621f95dfa22798f335a347b4a62c7cabd22a656b431b",
|
||||
"Data/patch-ZZZZZX.MPQ": "775539db1818068f4d676cbcb7fb1f87f61f303f0952d9843e273fe105eba019",
|
||||
"Data/patch-ZZZZZY-SUBMA.MPQ": "389255c799b27a8c82d2f39911433cc3e91c4f4ad1f244cccc9661ccb1dc82a2",
|
||||
"Data/patch-ZZZZZY-SUBVA.MPQ": "93c6aad4289ade86eee6c49377d21f34b7b29fa92edb31bb1798df9cc66b1494",
|
||||
"Data/patch-ZZZZZY-SUBVB.MPQ": "ea1d10a77c84dae77f137ff7307bc00e27891ee873789a58ddf924681e0ada5b",
|
||||
"Data/patch-ZZZZZY-SUBVC.MPQ": "23b02a87cde6a443046de12ac13fc7b1ea3e1a74e7f5ce3723292da24ff3f099",
|
||||
"Data/patch-ZZZZZY-SUBXA-HD.MPQ": "19c88cd704511375ee98730d05e9aded49894c9497d9ee2ad7823028b0104668",
|
||||
"Data/patch-ZZZZZY-SUBXB-HD.MPQ": "7fb6172edd64f6fc27816964d0ed13ba351afc9c07b2920564a5d41694e5ae1b",
|
||||
"Data/patch-ZZZZZY-SUBXC-HD.MPQ": "765a0158bc501c435b828e64923f06f981a1408ea27b42a38b9ea2b467dcd54f",
|
||||
"Data/patch-ZZZZZY.MPQ": "05b8cbd7a45cc9933a84ee991ff3193063cb2d040296843b947e190e8c64e741",
|
||||
"Data/patch-ZZZZZZ.MPQ": "b3f95a34f2c5d2157f54191124e864db4d2cb559156d2b7fccb119d9ae247ec8",
|
||||
"Data/patch-ZZZZZZA.MPQ": "2c8f9caef8e3f3cf33b9b35bf5782123b4759a8fecb92a326be59d2f918608f7",
|
||||
"Data/patch-ZZZZZZB.MPQ": "cb3107c155b57e6b77e92d881be3f2113a5401c101be185175d06b0a7ffdf6ab",
|
||||
"Data/patch-ZZZZZZC.MPQ": "0fbd43a7208a11ee02a2ed31ed1da90bf4240074e7e508ed801f20de50e697d4",
|
||||
"Data/patch-ZZZZZZD.MPQ": "53f4dac665280030ac8764cd2b45fc8ff65c5e85981b3f3ddcff34d5bc8d3c7f",
|
||||
"Data/patch-ZZZZZZE.MPQ": "64fb42fc12367bc0b8b95489315c882d36c195c90732bd5a8ed449f7373653cf",
|
||||
"Data/patch-retail-001.mpq": "1b0fafbdc6d01b92b5f09566f05510361972879a0407a79c03d1146f3440b764",
|
||||
"Data/patch-retail-002.mpq": "6802c1c9530a9fb4107fd56bf18185484257cda69ead36a170ab557cea5b64d3",
|
||||
"Data/patch-retail-003.mpq": "ae3f030fdb0b340a420ee9a3f027c47798e2646ab73bcac62b6f6b6c8589ca9b",
|
||||
"Data/patch-retail-004.mpq": "ed857958adcf96266d25c2ab2da882359fc302d9d2f2da9032010061a0ca0a37",
|
||||
"Data/patch-retail-005.mpq": "4fb237c92ccfccb7de90ff3ef184d04edb08dfda0ed2b2f16de802dff0455a5e",
|
||||
"EsteriaAppearance.bin": "90d9cfaeaf6de10f014f1d1610ea10453ec9b240255759aea99513cac488a3ec",
|
||||
"EsteriaAppearance.dll": "88e268d3be9eca3b0644f543d823f4bdcc04a9700a6e8ed73fd2a1260ad191af",
|
||||
"EsteriaAppearanceGeometry.bin": "cacd2086eabf43391bca07b622e17444de91b30593827e9e1e54758fe4dcd8e7",
|
||||
@@ -4894,17 +4912,22 @@
|
||||
"EsteriaVulperaTextures.bin": "1ab844e74684aced2b069f1b91cd563aade45e05bd5e23f866a6c0c301cb098e",
|
||||
"EsteriaWretched.bin": "a407b49ef55e6d76411bee2f522a2087b3571e8ec5d12b630a859cdbcdbde890",
|
||||
"EsteriaWretchedTextures.bin": "837774377ca055e6a5c79c1a4cfd8151e7c1f7ce2c16990b00fd445281137433",
|
||||
"Interface/AddOns/Ascension_Subclass/Ascension_Subclass.lua": "30710edd3d3bbdf393c6665850bd022f5cabffa58ae66bd1476769799635c7a0",
|
||||
"Interface/AddOns/Ascension_Subclass/Ascension_Subclass.toc": "9498ac1dd7f810d3314b0bf4a2404c3f49df9825b73469952a72c28c2419ff7c",
|
||||
"Interface/AddOns/Ascension_Subclass/Ascension_Subclass.lua": "b769f6c64d93c5e1850456782cfaebca073e97ad23fbf5e6b0068a58399d64ad",
|
||||
"Interface/AddOns/Ascension_Subclass/Ascension_Subclass.toc": "c840e4396adb66534586f5d55ee58586d0f2343108383322e6de5bbbceee563c",
|
||||
"Interface/AddOns/Ascension_Subclass/Bindings.xml": "cd057da400c0d40277ca5b310f021b78ac2b4e95b6a9445460b8651fffa83b8e",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassBar.lua": "c3b809a024780ba7fac3689b329dc3b906aa046ede233fc5ef522a029d7ed2fe",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassBar.lua": "af91304e5628d6e0327dfa2472fcbf9ad317ee32ca7777b3c09cfe60062174fe",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassBonk.lua": "3cdc86792529c75d4186accaa1ed5b8a7541c17b0b9a022cf3ebdadf802b4c54",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassCarry.lua": "e915f4a2e52f0d417e46654d5e5d438cc258be429661018c0155c4cd007aacb9",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassCastBar.lua": "395ccda4bc0733cfa34dd506a2578ae73867305b5cd09dc988ff615a7d8a1e78",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassChoices.lua": "3e313f30eade45b32c7827d8e045ed74ff05ff5fb9263d8f28e4c6c98ad74288",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassGlow.lua": "c9a4c900c97a4f215f00ed3fd3c703058522c4f5180d8c4dd76e60b1611e0366",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassNodes.lua": "cdc91d73d066664133bc3f621c4994360474486bd6ffe1bc96964bfc35faf2c7",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassOrbs.lua": "cc29fbabe955cdd994d0f3281dff758ea4146dbe5fd6e65e0ad87b8b5fd2238e",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassOrbs.lua": "e4d337628d267f338846b5d0aefe5204de91e1dec6d933a4bca208eccfdf0052",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassPairs.lua": "670b67e6fc400ead68ef0324172467219e14342dce9b9015e674414d1a6efc5d",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassPetBar.lua": "ab487a1b2eabef221a2c23eb8e3f52dfb90194a75db46c88c006e3fad3ac5926",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassPowerBar.lua": "609819307864810cdc36bb52305ab0525094466e5e2be135d96c878081cf69f6",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassRaceBackground.lua": "b63fa918438386a0c1cd861b4655785cd63b1089e721c6e3bd9585e372950b68",
|
||||
"Interface/AddOns/Ascension_Subclass/SubclassRaceBackground.lua": "d38352928ee3e546eaa25c77e0e961ddfe1bd383020904f84907a4b3f5fce132",
|
||||
"Interface/AddOns/Ascension_Subclass/Textures/IceFrame.tga": "91cefa31a6f32a847c888651bc3f90a2a91fb07b7a33c74bf8090efc92d22705",
|
||||
"Interface/AddOns/CoAHideArmor/CoAHideArmor.lua": "8c1c7403524fc9bd56c0809b4101b141da700ba163701209bf1420f2ef106aa7",
|
||||
"Interface/AddOns/CoAHideArmor/CoAHideArmor.toc": "123580d92fd5ceee258e96296f42c359b7e83cdff151af49c50c6c4e2059677c",
|
||||
"Interface/AddOns/CoAQuestSafe/CoAQuestSafe.lua": "062de55c91228971553f482fd2c8753f4752993b4e8e49d4ded04fa18b98bde7",
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -59,7 +59,7 @@ fn hide_window(cmd: &mut Command) {
|
||||
let _ = cmd;
|
||||
}
|
||||
|
||||
const SCRIPT: &str = r#"param([string]$Dir, [string]$Url, [string]$InstallPath, [string]$Components)
|
||||
const SCRIPT: &str = r#"param([string]$Dir, [string]$Url, [string]$InstallPath, [string]$Components, [switch]$NewInstance)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
New-Item -ItemType Directory -Force -Path $Dir | Out-Null
|
||||
@@ -71,35 +71,67 @@ if ($sig.Status -ne 'Valid' -or $sig.SignerCertificate.Subject -notmatch 'O=Micr
|
||||
"RESULT=bad-signature $($sig.Status)"; exit 0
|
||||
}
|
||||
$a = @()
|
||||
if ($InstallPath) { $a += @('modify', '--installPath', ('"' + $InstallPath + '"')) }
|
||||
if ($InstallPath -and $NewInstance) { $a += @('--installPath', ('"' + $InstallPath + '"')) }
|
||||
elseif ($InstallPath) { $a += @('modify', '--installPath', ('"' + $InstallPath + '"')) }
|
||||
$a += @('--wait', '--norestart', '--nocache')
|
||||
foreach ($c in $Components.Split(',')) { $a += @('--add', $c) }
|
||||
try { $p = Start-Process -FilePath $bt -ArgumentList $a -Wait -PassThru } catch { "RESULT=not-started $($_.Exception.Message)"; exit 0 }
|
||||
"RESULT=exit $($p.ExitCode)"
|
||||
"#;
|
||||
|
||||
/// Where the second, separate Build Tools instance goes when the existing one cannot supply the compiler.
|
||||
fn separate_instance_dir() -> PathBuf {
|
||||
let pf86 = std::env::var("ProgramFiles(x86)").unwrap_or_else(|_| "C:\\Program Files (x86)".into());
|
||||
Path::new(&pf86).join("Microsoft Visual Studio").join("18").join("BuildTools-CoA")
|
||||
}
|
||||
|
||||
/// Whether the installer finished but the compiler this core's SDK names is still missing. `modify --add` keeps
|
||||
/// the toolset an existing instance already has, so an older instance stays on an older compiler build.
|
||||
fn needs_separate_instance(modified_existing: bool, installed: bool, toolchain: &ToolchainStatus) -> bool {
|
||||
modified_existing && installed && !toolchain.ready && toolchain.required_cl_version.is_some()
|
||||
}
|
||||
|
||||
/// One run of Microsoft's installer: `(result line, stderr)`. With `new_instance` the instance is installed at
|
||||
/// `install_path` as a separate one next to the existing Build Tools; otherwise `install_path` is modified.
|
||||
fn run_installer(install_path: &str, new_instance: bool) -> Result<(String, String)> {
|
||||
let dir = std::env::temp_dir().join("coa-msvc-setup");
|
||||
std::fs::create_dir_all(&dir)?;
|
||||
let script = dir.join("install-build-tools.ps1");
|
||||
std::fs::write(&script, SCRIPT)?;
|
||||
let mut cmd = Command::new("powershell.exe");
|
||||
cmd.args(["-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-File"])
|
||||
.arg(&script)
|
||||
.args(["-Dir"]).arg(dir.join("bootstrapper"))
|
||||
.args(["-Url", BOOTSTRAPPER_URL, "-InstallPath", install_path, "-Components", &COMPONENTS.join(",")]);
|
||||
if new_instance {
|
||||
cmd.arg("-NewInstance");
|
||||
}
|
||||
hide_window(&mut cmd);
|
||||
let out = cmd.output()?;
|
||||
let text = String::from_utf8_lossy(&out.stdout);
|
||||
let result = text.lines().find_map(|l| l.trim().strip_prefix("RESULT=")).unwrap_or("").to_string();
|
||||
Ok((result, String::from_utf8_lossy(&out.stderr).into_owned()))
|
||||
}
|
||||
|
||||
/// Runs Microsoft's installer and reports whether plugins can now be built for `realm_root`'s core.
|
||||
/// Blocks until the installer window is closed.
|
||||
pub fn install_build_tools(realm_root: Option<&Path>) -> Result<MsvcSetupOutcome> {
|
||||
if !cfg!(windows) {
|
||||
return Err(Error::Invalid("The C++ Build Tools installer is only available on Windows.".into()));
|
||||
}
|
||||
let dir = std::env::temp_dir().join("coa-msvc-setup");
|
||||
std::fs::create_dir_all(&dir)?;
|
||||
let script = dir.join("install-build-tools.ps1");
|
||||
std::fs::write(&script, SCRIPT)?;
|
||||
let install_path = existing_build_tools().map(|p| p.to_string_lossy().into_owned()).unwrap_or_default();
|
||||
let mut cmd = Command::new("powershell.exe");
|
||||
cmd.args(["-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-File"])
|
||||
.arg(&script)
|
||||
.args(["-Dir"]).arg(dir.join("bootstrapper"))
|
||||
.args(["-Url", BOOTSTRAPPER_URL, "-InstallPath", &install_path, "-Components", &COMPONENTS.join(",")]);
|
||||
hide_window(&mut cmd);
|
||||
let out = cmd.output()?;
|
||||
let text = String::from_utf8_lossy(&out.stdout);
|
||||
let result = text.lines().find_map(|l| l.trim().strip_prefix("RESULT=")).unwrap_or("").to_string();
|
||||
let (installed, restart, message) = interpret(&result, &String::from_utf8_lossy(&out.stderr));
|
||||
let toolchain = detect_toolchain_for(realm_root);
|
||||
let existing = existing_build_tools().map(|p| p.to_string_lossy().into_owned()).unwrap_or_default();
|
||||
let (result, stderr) = run_installer(&existing, false)?;
|
||||
let (mut installed, mut restart, mut message) = interpret(&result, &stderr);
|
||||
let mut toolchain = detect_toolchain_for(realm_root);
|
||||
if needs_separate_instance(!existing.is_empty(), installed, &toolchain) {
|
||||
let target = separate_instance_dir().to_string_lossy().into_owned();
|
||||
let (result, stderr) = run_installer(&target, true)?;
|
||||
let second = interpret(&result, &stderr);
|
||||
installed = second.0;
|
||||
restart = restart || second.1;
|
||||
message = second.2;
|
||||
toolchain = detect_toolchain_for(realm_root);
|
||||
}
|
||||
let ready = installed && toolchain.ready;
|
||||
let message = if installed && !toolchain.ready {
|
||||
format!("The installer finished, but the compiler still does not match this core: {}", toolchain.diagnostic_message)
|
||||
@@ -138,6 +170,22 @@ mod tests {
|
||||
assert!(interpret("", "boom").2.contains("boom"));
|
||||
}
|
||||
|
||||
fn status(ready: bool, required: Option<&str>) -> ToolchainStatus {
|
||||
let mut t = detect_toolchain_for(None);
|
||||
t.ready = ready;
|
||||
t.required_cl_version = required.map(String::from);
|
||||
t
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_separate_instance_is_installed_only_when_the_existing_one_lacks_the_named_compiler() {
|
||||
assert!(needs_separate_instance(true, true, &status(false, Some("19.44.35230"))));
|
||||
assert!(!needs_separate_instance(true, true, &status(true, Some("19.44.35230"))));
|
||||
assert!(!needs_separate_instance(false, true, &status(false, Some("19.44.35230"))));
|
||||
assert!(!needs_separate_instance(true, false, &status(false, Some("19.44.35230"))));
|
||||
assert!(!needs_separate_instance(true, true, &status(false, None)));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn the_components_name_the_pinned_toolset() {
|
||||
assert!(COMPONENTS.iter().any(|c| c.contains("VC.14.44")));
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "coa-server-manager",
|
||||
"version": "0.9.14",
|
||||
"version": "0.9.15",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coa-server-manager",
|
||||
"version": "0.9.14",
|
||||
"version": "0.9.15",
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2.12.0",
|
||||
"@tauri-apps/plugin-dialog": "^2.8.0",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "coa-server-manager",
|
||||
"private": true,
|
||||
"version": "0.9.14",
|
||||
"version": "0.9.15",
|
||||
"license": "AGPL-3.0-only",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "CSM Modules Preview",
|
||||
"version": "0.9.14",
|
||||
"version": "0.9.15",
|
||||
"identifier": "com.corfirean.csm-modules-preview",
|
||||
"build": {
|
||||
"beforeBuildCommand": "npm run build",
|
||||
|
||||
@@ -52,7 +52,8 @@
|
||||
"Restart the world every day at a chosen time": "Ежедневный перезапуск мира в выбранное время",
|
||||
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Переключатели подклассов, героических рас и меню /dev из Custom Races V2",
|
||||
"Companion bots on Wildcard and Warcraft Reborn": "Боты-компаньоны на Wildcard и Warcraft Reborn",
|
||||
"The Custom Races card tells which characters stay out while races are off": "Карточка Custom Races показывает, какие персонажи не войдут в мир, пока расы выключены"
|
||||
"The Custom Races card tells which characters stay out while races are off": "Карточка Custom Races показывает, какие персонажи не войдут в мир, пока расы выключены",
|
||||
"The Custom Races client update brings version 2.0.2": "Обновление клиента Custom Races приносит версию 2.0.2"
|
||||
},
|
||||
"de": {
|
||||
"Choose Parallel or Global level scaling in module settings": "Parallele oder globale Levelskalierung in den Moduleinstellungen wählen",
|
||||
@@ -106,7 +107,8 @@
|
||||
"Restart the world every day at a chosen time": "Die Welt täglich zu einer gewählten Uhrzeit neu starten",
|
||||
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Schalter für die Unterklassen, Heldenvölker und das /dev-Menü von Custom Races V2",
|
||||
"Companion bots on Wildcard and Warcraft Reborn": "Begleiter-Bots auf Wildcard und Warcraft Reborn",
|
||||
"The Custom Races card tells which characters stay out while races are off": "Die Custom-Races-Karte zeigt, welche Figuren draußen bleiben, solange die Völker aus sind"
|
||||
"The Custom Races card tells which characters stay out while races are off": "Die Custom-Races-Karte zeigt, welche Figuren draußen bleiben, solange die Völker aus sind",
|
||||
"The Custom Races client update brings version 2.0.2": "Das Update des Custom-Races-Clients bringt Version 2.0.2"
|
||||
},
|
||||
"fr": {
|
||||
"Choose Parallel or Global level scaling in module settings": "Choisissez une progression parallèle ou globale des niveaux dans les paramètres du module",
|
||||
@@ -160,7 +162,8 @@
|
||||
"Restart the world every day at a chosen time": "Redémarrez le monde chaque jour à l'heure choisie",
|
||||
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Interrupteurs pour les sous-classes, races héroïques et le menu /dev de Custom Races V2",
|
||||
"Companion bots on Wildcard and Warcraft Reborn": "Bots compagnons sur Wildcard et Warcraft Reborn",
|
||||
"The Custom Races card tells which characters stay out while races are off": "La carte Custom Races indique quels personnages restent hors du monde quand les races sont désactivées"
|
||||
"The Custom Races card tells which characters stay out while races are off": "La carte Custom Races indique quels personnages restent hors du monde quand les races sont désactivées",
|
||||
"The Custom Races client update brings version 2.0.2": "La mise à jour du client Custom Races apporte la version 2.0.2"
|
||||
},
|
||||
"es": {
|
||||
"Choose Parallel or Global level scaling in module settings": "Elige escalado de nivel paralelo o global en los ajustes del módulo",
|
||||
@@ -214,7 +217,8 @@
|
||||
"Restart the world every day at a chosen time": "Reinicia el mundo cada día a la hora elegida",
|
||||
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Interruptores para las subclases, razas heroicas y el menú /dev de Custom Races V2",
|
||||
"Companion bots on Wildcard and Warcraft Reborn": "Bots acompañantes en Wildcard y Warcraft Reborn",
|
||||
"The Custom Races card tells which characters stay out while races are off": "La tarjeta Custom Races indica qué personajes quedan fuera mientras las razas están desactivadas"
|
||||
"The Custom Races card tells which characters stay out while races are off": "La tarjeta Custom Races indica qué personajes quedan fuera mientras las razas están desactivadas",
|
||||
"The Custom Races client update brings version 2.0.2": "La actualización del cliente de Custom Races trae la versión 2.0.2"
|
||||
},
|
||||
"zh": {
|
||||
"Choose Parallel or Global level scaling in module settings": "在模块设置中选择并行或全局等级缩放",
|
||||
@@ -268,7 +272,8 @@
|
||||
"Restart the world every day at a chosen time": "每天在选定时间重启世界",
|
||||
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Custom Races V2 副职业、英雄种族和 /dev 菜单的开关",
|
||||
"Companion bots on Wildcard and Warcraft Reborn": "Wildcard 和 Warcraft Reborn 上的伙伴机器人",
|
||||
"The Custom Races card tells which characters stay out while races are off": "Custom Races 卡片会显示种族关闭时哪些角色无法进入世界"
|
||||
"The Custom Races card tells which characters stay out while races are off": "Custom Races 卡片会显示种族关闭时哪些角色无法进入世界",
|
||||
"The Custom Races client update brings version 2.0.2": "Custom Races 客户端更新带来 2.0.2 版本"
|
||||
}
|
||||
},
|
||||
"server": {
|
||||
|
||||
Reference in new issue
Block a user