an-anime-team/an-anime-game-launcher

fps-unlocker path not found

Jlov0 opened this issue · 2 comments

As mentioned in the title, the fps unlocker cannot start because the path is not found. I double checked the pathing and found no issues. Everything seems to be correct, permissions are correct. I did change the installation of the game into my /data/ directory if that maybe messed up the path. fpsunlock.exe is also within the directory path.

I am running on Arch with KDE de

These are the terminal logs.

F:\>start GenshinImpact.exe -screen-fullscreen 0 -popupwindow

F:\>Z:

Z:\>cd "/data/genshin/fps-unlocker"
Path not found.


Z:\>start fpsunlock.exe 200 5000
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
014c:fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found. `

Might as well add my debug logs

2024-04-28T15:14:55.519910Z DEBUG anime_launcher_sdk::games::genshin::fps_unlocker: Downloading FPS unlocker
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/f4133c0/src/games/genshin/fps_unlocker.rs:39
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:55.520011Z TRACE minreq::connection: Setting up TLS parameters for codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:164
 
  2024-04-28T15:14:55.520114Z TRACE minreq::connection: Establishing TCP connection to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:172
 
  2024-04-28T15:14:55.568215Z TRACE minreq::connection: Timeout requested, it is currently: Ok(Some(7.951707701s))
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:151
 
  2024-04-28T15:14:55.672946Z TRACE minreq::connection: Establishing TLS session to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:176
 
  2024-04-28T15:14:55.672971Z TRACE minreq::connection: Writing HTTPS request to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:178
 
  2024-04-28T15:14:55.672976Z TRACE minreq::connection: Timeout requested, it is currently: Ok(Some(7.846941264s))
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:151
 
  2024-04-28T15:14:55.784312Z TRACE minreq::connection: Reading HTTPS response from codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:183
 
  2024-04-28T15:14:56.023857Z DEBUG anime_game_core::installer::downloader: Creating output file
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/55dd60f/src/installer/downloader.rs:180
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.023929Z DEBUG anime_game_core::installer::downloader: Checking free space availability
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/55dd60f/src/installer/downloader.rs:195
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.024245Z TRACE minreq::connection: Setting up TLS parameters for codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:164
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.024380Z TRACE minreq::connection: Establishing TCP connection to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:172
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.063586Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:151
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.169900Z TRACE minreq::connection: Establishing TLS session to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:176
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.169931Z TRACE minreq::connection: Writing HTTPS request to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:178
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.169938Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:151
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.277710Z TRACE minreq::connection: Reading HTTPS response from codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:183
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.507670Z TRACE minreq::connection: Setting up TLS parameters for codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:164
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.507780Z TRACE minreq::connection: Establishing TCP connection to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:172
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.537362Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:151
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.644512Z TRACE minreq::connection: Establishing TLS session to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:176
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.644540Z TRACE minreq::connection: Writing HTTPS request to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:178
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.644543Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:151
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:56.755907Z TRACE minreq::connection: Reading HTTPS response from codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.11.0/src/connection.rs:183
    in anime_launcher_sdk::games::genshin::fps_unlocker::download with dir: "/data/genshin/fps-unlocker"
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:57.108291Z DEBUG anime_game_core::games::genshin::game: Trying to get installed game version
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/55dd60f/src/games/genshin/game.rs:53
    in anime_game_core::games::genshin::game::get_version with self: Game { path: "/data/genshin/Genshin Impact", edition: Global }
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:57.118447Z DEBUG anime_game_core::games::genshin::game: return: Ok(4.6.0)
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/55dd60f/src/games/genshin/game.rs:51
    in anime_game_core::games::genshin::game::get_version with self: Game { path: "/data/genshin/Genshin Impact", edition: Global }
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:57.121678Z  INFO anime_launcher_sdk::games::genshin::sessions: Applying session 'jlov' to prefix: "/data/genshin/prefix"
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/f4133c0/src/games/genshin/sessions.rs:82
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:14:57.122357Z  INFO anime_launcher_sdk::games::genshin::game: Running the game with command:  DXVK_ASYNC="1" DXVK_HUD="fps,frametimes,version,gpuload" GST_PLUGIN_PATH="" LD_LIBRARY_PATH="/data/genshin/runners/wine-9.5-staging-tkg-amd64/lib:/data/genshin/runners/wine-9.5-staging-tkg-amd64/lib/wine/x86_64-unix:/data/genshin/runners/wine-9.5-staging-tkg-amd64/lib/wine/i386-unix" WINEARCH="win64" WINEFSYNC="1" WINEPREFIX="/data/genshin/prefix" WINE_FULLSCREEN_FSR="0" bash -c "gamemoderun '/data/genshin/runners/wine-9.5-staging-tkg-amd64/bin/wine64'  fps_unlocker.bat  -screen-fullscreen 0 -popupwindow "
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/f4133c0/src/games/genshin/game.rs:300
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:17:13.838779Z  INFO anime_launcher_sdk::games::genshin::sessions: Updating session 'jlov' from prefix: "/data/genshin/prefix"
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/f4133c0/src/games/genshin/sessions.rs:53
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:17:13.839472Z  INFO anime_launcher_sdk::games::genshin::game: return: Ok(())
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/f4133c0/src/games/genshin/game.rs:52
    in anime_launcher_sdk::games::genshin::game::run
 
  2024-04-28T15:17:13.839586Z DEBUG anime_game_launcher::ui::main: Called main window event: ShowWindow
    at src/ui/main/mod.rs:930
    in relm4::component::sync::builder::update_with_view with input: ShowWindow, component: "anime_game_launcher::ui::main::App", id: "0x7ffedc314e30" 

config file

{
  "launcher": {
    "language": "en-us",
    "edition": "Global",
    "style": "Classic",
    "temp": "/data/genshin",
    "repairer": {
      "threads": 4,
      "fast": false
    },
    "discord_rpc": {
      "app_id": 901534333360304168,
      "enabled": true,
      "title": "Researching the world",
      "subtitle": "of Teyvat",
      "icon": "launcher"
    },
    "environment": "PC",
    "behavior": "Hide"
  },
  "game": {
    "path": {
      "global": "/data/genshin/Genshin Impact",
      "china": "/data/genshin/YuanShen"
    },
    "voices": [
      "ja-jp"
    ],
    "wine": {
      "prefix": "/data/genshin/prefix",
      "builds": "/data/genshin/runners",
      "selected": "wine-9.5-staging-tkg-amd64",
      "sync": "FSync",
      "language": "System",
      "borderless": true,
      "drives": {
        "drive_c": true,
        "game_folder": "G",
        "map_folders": {}
      },
      "virtual_desktop": {
        "enabled": false,
        "width": 1920,
        "height": 1080
      },
      "shared_libraries": {
        "wine": true,
        "gstreamer": true
      }
    },
    "dxvk": {
      "builds": "/data/genshin/dxvks"
    },
    "enhancements": {
      "fsr": {
        "strength": 2,
        "quality": "Ultra",
        "enabled": false
      },
      "gamemode": true,
      "hud": "DXVK",
      "fps_unlocker": {
        "path": "/data/genshin/fps-unlocker",
        "enabled": true,
        "config": {
          "fps": 200,
          "interval": 5000
        }
      },
      "gamescope": {
        "enabled": false,
        "game": {
          "width": 0,
          "height": 0
        },
        "gamescope": {
          "width": 0,
          "height": 0
        },
        "framerate": {
          "focused": 0,
          "unfocused": 0
        },
        "integer_scaling": true,
        "fsr": false,
        "nis": false,
        "window_type": "Borderless",
        "force_grab_cursor": false
      }
    },
    "environment": {},
    "command": null
  },
  "sandbox": {
    "enabled": false,
    "isolate_home": true,
    "hostname": null,
    "args": null,
    "private": [],
    "mounts": {
      "read_only": {},
      "bind": {},
      "symlinks": {}
    }
  },
  "components": {
    "path": "/data/genshin/components",
    "servers": [
      "https://github.com/an-anime-team/components"
    ]
  }
}