- fixed hdif applying errors during base game updating (approved issue 1)
This commit is contained in:
Observer KRypt0n_ 2023-04-12 15:18:25 +02:00
parent a36215db46
commit 5b4403956f
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "anime-launcher-sdk"
version = "0.5.16"
version = "0.5.17"
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
license = "GPL-3.0"
readme = "README.md"
@ -8,7 +8,7 @@ edition = "2021"
[dependencies.anime-game-core]
git = "https://github.com/an-anime-team/anime-game-core"
tag = "1.6.1"
tag = "1.6.2"
features = ["genshin", "all"]
# path = "../anime-game-core" # ! for dev purposes only

View file

@ -101,8 +101,8 @@ impl LauncherState {
let old_audio_folder_base = data_folder.join("StreamingAssets/Audio");
let old_audio_folder = old_audio_folder_base.join("GeneratedSoundBanks/Windows");
// Migrate pre-3.6 voiceovers format to post-3.6 if the base game is updated
if old_audio_folder.exists() && game.get_version()?.version == [3, 6, 0] {
// Migrate pre-3.6 voiceovers format to post-3.6
if old_audio_folder.exists() {
return Ok(Self::FolderMigrationRequired {
from: old_audio_folder,
to: data_folder.join("StreamingAssets/AudioAssets"),
@ -149,6 +149,7 @@ impl LauncherState {
let patch = Patch::new(&params.patch_folder);
// Sync local patch folder with remote if needed
// TODO: maybe I shouldn't do it here?
if patch.is_sync(&params.patch_servers)?.is_none() {
for server in &params.patch_servers {
if patch.sync(server).is_ok() {