an-anime-team / the-honkers-railway-launcher

The Honkers Railway launcher for Linux with automatic patching and telemetry disabling
https://discord.gg/ck37X6UWBp
GNU General Public License v3.0
649 stars 16 forks source link

game freezes on cutscenes #138

Closed fasel closed 5 months ago

fasel commented 6 months ago

the game freezes on every cutscene (video sequence). actually it seems to freeze right on the last frame before it should switch back into interactive game. in the beginning of the game it worked but i think somewhere in or shortly before penacony it started and since then it happens each time.

i tried repairing the game files with no effect. i also tried different wine versions (9.4, 9.5, 9.8) - no difference

as a workaround i have to watch the cutscene on mobile, then i can continue on the desktop.

some infos: wine-9.8-staging-tkg-amd64

flatpack launcher version: 1.5.4

Anime Launcher SDK: 1.12.8 Anime Game Core: 1.17.6

gtk: 4.12.5 libadwaita: 1.4.4 pango: 1.51.2 cairo: 1.18.0

debug log from last crash:


  2024-05-09T19:35:20.135410Z DEBUG honkers_railway_launcher::ui::main: Called main window event: HideWindow
    at src/ui/main/mod.rs:1015
    in relm4::component::sync::builder::update_with_view with input: HideWindow, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffc1a9e6298"

  2024-05-09T19:35:20.142345Z  WARN anime_launcher_sdk::games::star_rail::sessions: Session file doesn't exist. Returning default value
    at /run/build/railway/cargo/vendor/anime-launcher-sdk/src/games/star_rail/sessions.rs:38
    in anime_launcher_sdk::games::star_rail::game::run

  2024-05-09T19:35:20.142374Z  INFO anime_launcher_sdk::games::star_rail::game: Running the game with command:  GST_PLUGIN_PATH="" LD_LIBRARY_PATH="/home/twix/.var/app/moe.launcher.the-honkers-railway-launcher/runners/wine-9.8-staging-tkg-amd64/lib:/home/twix/.var/app/moe.launcher.the-honkers-railway-launcher/runners/wine-9.8-staging-tkg-amd64/lib/wine/x86_64-unix:/home/twix/.var/app/moe.launcher.the-honkers-railway-launcher/runners/wine-9.8-staging-tkg-amd64/lib/wine/i386-unix" WINEARCH="win64" WINEFSYNC="1" WINEPREFIX="/home/twix/.var/app/moe.launcher.the-honkers-railway-launcher/prefix" WINE_FULLSCREEN_FSR="0" bash -c "'/home/twix/.var/app/moe.launcher.the-honkers-railway-launcher/runners/wine-9.8-staging-tkg-amd64/bin/wine64'  '/home/twix/.var/app/moe.launcher.the-honkers-railway-launcher/patch/jadeite.exe' 'Z:\/home/twix/.var/app/moe.launcher.the-honkers-railway-launcher/HSR/StarRail.exe' --  -screen-fullscreen 0 -popupwindow "
    at /run/build/railway/cargo/vendor/anime-launcher-sdk/src/games/star_rail/game.rs:242
    in anime_launcher_sdk::games::star_rail::game::run

  2024-05-09T19:37:12.905885Z  WARN anime_launcher_sdk::games::star_rail::sessions: Session file doesn't exist. Returning default value
    at /run/build/railway/cargo/vendor/anime-launcher-sdk/src/games/star_rail/sessions.rs:38
    in anime_launcher_sdk::games::star_rail::game::run

  2024-05-09T19:37:12.905905Z  INFO anime_launcher_sdk::games::star_rail::game: return: Ok(())
    at /run/build/railway/cargo/vendor/anime-launcher-sdk/src/games/star_rail/game.rs:49
    in anime_launcher_sdk::games::star_rail::game::run

  2024-05-09T19:37:12.906074Z DEBUG honkers_railway_launcher::ui::main: Called main window event: ShowWindow
    at src/ui/main/mod.rs:1015
    in relm4::component::sync::builder::update_with_view with input: ShowWindow, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffc1a9e6298"

  2024-05-09T19:42:38.618332Z DEBUG honkers_railway_launcher::ui::main: Called main window event: OpenPreferences
    at src/ui/main/mod.rs:1015
    in relm4::component::sync::builder::update_with_view with input: OpenPreferences, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffc1a9e6298"

  2024-05-09T19:43:15.332433Z DEBUG anime_launcher_sdk::config: Flushing config data
    at /run/build/railway/cargo/vendor/anime-launcher-sdk/src/config/mod.rs:76

  2024-05-09T19:43:15.332496Z DEBUG anime_launcher_sdk::config: Updating config data
    at /run/build/railway/cargo/vendor/anime-launcher-sdk/src/config/mod.rs:66
sleepy-day commented 6 months ago

Does it give you a backtrace when it crashes? I had an issue with msvcrt.dll where it would crash at specific points which changed depending on what settings were set, I had to run WINEPREFIX=<star rail prefix location> winecfg and override the msvcrt.dll by setting the option to use builtin then native and it seemed to resolve the issue for me after testing a bit.

Currently on my Windows partition at the moment so I can't confirm the specifics but if it gave you a backtrace I can check if it looked similar to mine.

fasel commented 5 months ago

Does it give you a backtrace when it crashes? I had an issue with msvcrt.dll where it would crash at specific points which changed depending on what settings were set, I had to run WINEPREFIX=<star rail prefix location> winecfg and override the msvcrt.dll by setting the option to use builtin then native and it seemed to resolve the issue for me after testing a bit.

Currently on my Windows partition at the moment so I can't confirm the specifics but if it gave you a backtrace I can check if it looked similar to mine.

i didn't see a backtrace. can i adjust the debug level to see more output?

also, i wasn't precise with my wording. the game doesn't crash in the sense that the process exits, it just freezes, then i need to kill the process. i updated the description

sleepy-day commented 5 months ago

I think it'd be different from what I had, have you tried running the launcher from the cli to see if Wine is outputting any error messages? If there's anything labelled with an err it might give you a hint if something's missing.

fasel commented 5 months ago

i upgraded the launcher to 1.5.5 and now i can see cutscenes again just fine.

today there also were patch notes mentioning cutscene problems, so i'm not sure what fixed it in the end